File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 212212 <target >${java.target} </target >
213213 </configuration >
214214 </plugin >
215+ <!-- we need to create a uber war for https://github.com/ktoso/maven-git-commit-id-plugin/issues/196 -->
216+ <plugin >
217+ <groupId >org.apache.maven.plugins</groupId >
218+ <artifactId >maven-shade-plugin</artifactId >
219+ <version >2.3</version >
220+ <executions >
221+ <execution >
222+ <phase >package</phase >
223+ <goals >
224+ <goal >shade</goal >
225+ </goals >
226+ <configuration >
227+ <createDependencyReducedPom >false</createDependencyReducedPom >
228+ <transformers >
229+ <transformer implementation =" org.apache.maven.plugins.shade.resource.ManifestResourceTransformer" >
230+ <mainClass >pl.project13.maven.git.GitCommitIdMojo</mainClass >
231+ </transformer >
232+ </transformers >
233+ <artifactSet >
234+ <includes >
235+ <include >org.slf4j:*</include >
236+ </includes >
237+ </artifactSet >
238+ </configuration >
239+ </execution >
240+ </executions >
241+ </plugin >
215242
216243 <!-- <plugin>-->
217244 <!-- <artifactId>maven-plugin-plugin</artifactId>-->
You can’t perform that action at this time.
0 commit comments