File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 136136 <url >file:${project.basedir} /repo</url >
137137 </repository >
138138 </repositories >
139+ <pluginRepositories >
140+ <pluginRepository >
141+ <id >evgenyg</id >
142+ <name >Evgeny Goldin repo</name >
143+ <url >http://evgenyg.artifactoryonline.com/evgenyg/repo/com/github/goldin/</url >
144+ </pluginRepository >
145+ </pluginRepositories >
139146 <build >
140147 <plugins >
141148 <plugin >
207214 </manifest >
208215 </archive >
209216 <descriptorRefs >
210- <descriptorRef >jar-with-dependencies </descriptorRef >
217+ <descriptorRef >${project.build.withDependencies} </descriptorRef >
211218 </descriptorRefs >
212219 </configuration >
213220 <executions >
220227 </execution >
221228 </executions >
222229 </plugin >
230+ <plugin >
231+ <groupId >com.github.goldin</groupId >
232+ <artifactId >copy-maven-plugin</artifactId >
233+ <version >0.2.5</version >
234+ <executions >
235+ <execution >
236+ <id >create-archive</id >
237+ <phase >package</phase >
238+ <goals >
239+ <goal >copy</goal >
240+ </goals >
241+ <configuration >
242+ <resources >
243+ <resource >
244+ <targetPath >${project.build.directory} </targetPath >
245+ <file >target/${project.build.finalName} .jar</file >
246+ <destFileName >${project.artifactId} .jar</destFileName >
247+ </resource >
248+ <resource >
249+ <targetPath >${project.build.directory} </targetPath >
250+ <file >${project.build.directory} /${project.build.finalName} -${project.build.withDependencies} .jar</file >
251+ <destFileName >${project.artifactId} -${project.build.withDependencies} .jar</destFileName >
252+ </resource >
253+ </resources >
254+ </configuration >
255+ </execution >
256+ </executions >
257+ </plugin >
223258 </plugins >
224259 </build >
225260 <properties >
226261 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
262+ <project .build.withDependencies>jar-with-dependencies</project .build.withDependencies>
227263 </properties >
228264</project >
You can’t perform that action at this time.
0 commit comments