File tree Expand file tree Collapse file tree 2 files changed +39
-15
lines changed
Expand file tree Collapse file tree 2 files changed +39
-15
lines changed Original file line number Diff line number Diff line change 4545/logs /
4646/thor-client-sdk4j.iml
4747/.vscode /
48- /target
48+ /target
49+
50+ dependency-reduced-pom.xml
Original file line number Diff line number Diff line change 55
66 <groupId >com.vechain.client</groupId >
77 <artifactId >thor-client-sdk4j</artifactId >
8- <version >0.1.0 -SNAPSHOT</version >
8+ <version >0.1.1 -SNAPSHOT</version >
99 <packaging >jar</packaging >
1010
1111 <modelVersion >4.0.0</modelVersion >
246246 <plugins >
247247 <plugin >
248248 <groupId >org.apache.maven.plugins</groupId >
249- <artifactId >maven-assembly-plugin</artifactId >
250- <version >3.7.1</version >
251- <configuration >
252- <appendAssemblyId >false</appendAssemblyId >
253- <descriptorRefs >
254- <descriptorRef >jar-with-dependencies</descriptorRef >
255- </descriptorRefs >
256- <archive >
257- <manifest >
258- <mainClass >com.vechain.thorclient.console.Main</mainClass >
259- </manifest >
260- </archive >
261- </configuration >
249+ <artifactId >maven-shade-plugin</artifactId >
250+ <version >3.6.0</version >
251+
252+ <executions >
253+ <execution >
254+ <phase >package</phase >
255+ <goals >
256+ <goal >shade</goal >
257+ </goals >
258+ <configuration >
259+ <!-- don't create dependency-reduced POM if you don't want it -->
260+ <createDependencyReducedPom >false</createDependencyReducedPom >
261+
262+ <!-- strip existing signatures from all shaded dependencies -->
263+ <filters >
264+ <filter >
265+ <artifact >*:*</artifact >
266+ <excludes >
267+ <exclude >META-INF/*.SF</exclude >
268+ <exclude >META-INF/*.DSA</exclude >
269+ <exclude >META-INF/*.RSA</exclude >
270+ </excludes >
271+ </filter >
272+ </filters >
273+
274+ <!-- set the Main-Class of the shaded jar -->
275+ <transformers >
276+ <transformer
277+ implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
278+ <mainClass >com.vechain.thorclient.console.Main</mainClass >
279+ </transformer >
280+ </transformers >
281+ </configuration >
282+ </execution >
283+ </executions >
262284 </plugin >
263285 <plugin >
264286 <groupId >org.apache.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments