File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 78
78
</compilerArgs >
79
79
</configuration >
80
80
</plugin >
81
-
81
+ <plugin >
82
+ <groupId >org.apache.maven.plugins</groupId >
83
+ <artifactId >maven-shade-plugin</artifactId >
84
+ <version >3.2.3</version >
85
+ <executions >
86
+ <execution >
87
+ <phase >package</phase >
88
+ <goals >
89
+ <goal >shade</goal >
90
+ </goals >
91
+ </execution >
92
+ </executions >
93
+ <configuration >
94
+ <transformers >
95
+ <transformer implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
96
+ <manifestEntries >
97
+ <Main-Class >io.openepcis.epc.eventhash.main.HashGenerator</Main-Class >
98
+ <Specification-Title >${project.artifactId} </Specification-Title >
99
+ <Specification-Version >${project.version} </Specification-Version >
100
+ <Implementation-Title >${project.artifactId} </Implementation-Title >
101
+ <Implementation-Version >${project.version} </Implementation-Version >
102
+ <Implementation-Vendor-Id >${project.groupId} </Implementation-Vendor-Id >
103
+ </manifestEntries >
104
+ </transformer >
105
+ </transformers >
106
+ <finalName >${project.artifactId} -${project.version} -jar-with-dependencies</finalName >
107
+ </configuration >
108
+ </plugin >
109
+ <!--
82
110
<plugin>
83
111
<groupId>org.apache.maven.plugins</groupId>
84
112
<artifactId>maven-assembly-plugin</artifactId>
104
132
</archive>
105
133
</configuration>
106
134
</plugin>
135
+ -->
107
136
</plugins >
108
137
</build >
109
138
<profiles >
You can’t perform that action at this time.
0 commit comments