|
8 | 8 | </parent>
|
9 | 9 | <groupId>org.robotframework</groupId>
|
10 | 10 | <artifactId>remoteswinglibrary</artifactId>
|
11 |
| - <version>2.2.5</version> |
| 11 | + <version>2.2.6</version> |
12 | 12 | <packaging>jar</packaging>
|
13 | 13 |
|
14 | 14 | <name>robotframework-remoteswinglibrary</name>
|
|
63 | 63 | <configuration>
|
64 | 64 | <source>8</source>
|
65 | 65 | <target>8</target>
|
| 66 | + <compilerArgs> |
| 67 | + <arg>-Xlint:unchecked</arg> |
| 68 | + </compilerArgs> |
66 | 69 | </configuration>
|
67 | 70 | </plugin>
|
68 | 71 | <plugin>
|
|
89 | 92 | </execution>
|
90 | 93 | </executions>
|
91 | 94 | </plugin>
|
92 |
| - <plugin> |
93 |
| - <groupId>org.sonatype.plugins</groupId> |
94 |
| - <artifactId>jarjar-maven-plugin</artifactId> |
95 |
| - <version>1.9</version> |
96 |
| - <executions> |
97 |
| - <execution> |
98 |
| - <phase>package</phase> |
99 |
| - <goals> |
100 |
| - <goal>jarjar</goal> |
101 |
| - </goals> |
102 |
| - <configuration> |
103 |
| - <output>${project.build.directory}/jarjarred</output> |
104 |
| - <overwrite>true</overwrite> |
105 |
| - <includes> |
106 |
| - <include>abbot:abbot</include> |
107 |
| - <include>com.thoughtworks.paranamer:paranamer</include> |
108 |
| - <include>commons-collections:commons-collections</include> |
109 |
| - <include>commons-logging:commons-logging</include> |
110 |
| - <include>gnu-regexp:gnu-regexp</include> |
111 |
| - <include>javax.servlet:javax.servlet-api</include> |
112 |
| - <include>junit:junit</include> |
113 |
| - <include>org.apache.commons:commons-collections</include> |
114 |
| - <include>org.apache.commons:commons-lang3</include> |
115 |
| - <include>org.apache.commons:commons-text</include> |
116 |
| - <include>org.apache.logging.log4j:log4j-api</include> |
117 |
| - <include>org.apache.logging.log4j:log4j-core</include> |
118 |
| - <include>org.apache.logging.log4j:log4j-jcl</include> |
119 |
| - <include>org.apache.ws.commons.util:ws-commons-util</include> |
120 |
| - <include>org.apache.xmlrpc:xmlrpc-common</include> |
121 |
| - <include>org.apache.xmlrpc:xmlrpc-server</include> |
122 |
| - <include>org.eclipse.jetty:jetty-http</include> |
123 |
| - <include>org.eclipse.jetty:jetty-io</include> |
124 |
| - <include>org.eclipse.jetty:jetty-security</include> |
125 |
| - <include>org.eclipse.jetty:jetty-server</include> |
126 |
| - <include>org.eclipse.jetty:jetty-servlet</include> |
127 |
| - <include>org.eclipse.jetty:jetty-util</include> |
128 |
| - <include>org.jretrofit:jretrofit</include> |
129 |
| - <include>org.netbeans:jemmy</include> |
130 |
| - <include>org.robotframework:javalib-core</include> |
131 |
| - <include>org.robotframework:jrobotremoteserver</include> |
132 |
| - <include>org.robotframework:swinglibrary</include> |
133 |
| - <include>xml-apis:xml-apis</include> |
134 |
| - </includes> |
135 |
| - <rules> |
136 |
| - </rules> |
137 |
| - </configuration> |
138 |
| - </execution> |
139 |
| - </executions> |
140 |
| - </plugin> |
141 | 95 | <plugin>
|
142 | 96 | <groupId>org.apache.maven.plugins</groupId>
|
143 |
| - <artifactId>maven-jar-plugin</artifactId> |
144 |
| - <version>2.4</version> |
| 97 | + <artifactId>maven-shade-plugin</artifactId> |
| 98 | + <version>3.2.4</version> |
145 | 99 | <executions>
|
146 | 100 | <execution>
|
147 | 101 | <phase>package</phase>
|
148 | 102 | <goals>
|
149 |
| - <goal>jar</goal> |
| 103 | + <goal>shade</goal> |
150 | 104 | </goals>
|
151 | 105 | <configuration>
|
152 |
| - <classesDirectory>${project.build.directory}/jarjarred</classesDirectory> |
153 |
| - <archive> |
154 |
| - <manifestEntries> |
155 |
| - <Premain-Class>org.robotframework.remoteswinglibrary.agent.JavaAgent</Premain-Class> |
156 |
| - <Main-Class>org.robotframework.remoteswinglibrary.agent.JavaAgent</Main-Class> |
157 |
| - </manifestEntries> |
158 |
| - </archive> |
| 106 | + <filters> |
| 107 | + <filter> |
| 108 | + <artifact>*:*</artifact> |
| 109 | + <excludes> |
| 110 | + <exclude>com/**</exclude> |
| 111 | + <exclude>Log4j-*</exclude> |
| 112 | + <exclude>*.class</exclude> |
| 113 | + <exclude>META-INF/**</exclude> |
| 114 | + <exclude>about.html</exclude> |
| 115 | + </excludes> |
| 116 | + </filter> |
| 117 | + </filters> |
| 118 | + <transformers> |
| 119 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 120 | + <manifestEntries> |
| 121 | + <Premain-Class>org.robotframework.remoteswinglibrary.agent.JavaAgent</Premain-Class> |
| 122 | + <Main-Class>org.robotframework.remoteswinglibrary.agent.JavaAgent</Main-Class> |
| 123 | + </manifestEntries> |
| 124 | + </transformer> |
| 125 | + </transformers> |
| 126 | + <relocations> |
| 127 | + <relocation> |
| 128 | + <pattern>javax.servlet.</pattern> |
| 129 | + <shadedPattern>org.robotframework.remoteswinglibrary.javax.servlet.</shadedPattern> |
| 130 | + </relocation> |
| 131 | + <relocation> |
| 132 | + <pattern>org.apache.</pattern> |
| 133 | + <shadedPattern>org.robotframework.remoteswinglibrary.apache.</shadedPattern> |
| 134 | + </relocation> |
| 135 | + </relocations> |
| 136 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
159 | 137 | </configuration>
|
160 | 138 | </execution>
|
161 | 139 | </executions>
|
|
224 | 202 | <arguments>
|
225 | 203 | <argument>target/classes/swinglibrary.py</argument>
|
226 | 204 | </arguments>
|
| 205 | + <cleanupDaemonThreads>false</cleanupDaemonThreads> |
227 | 206 | </configuration>
|
228 | 207 | </execution>
|
229 | 208 | </executions>
|
|
0 commit comments