File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -96,12 +96,36 @@ Copyright (c) 2012 - Jeremy Long. All Rights Reserved.
9696 <executions >
9797 <execution >
9898 <id >assemble</id >
99+ <phase >package</phase >
99100 <goals >
100101 <goal >assemble</goal >
101102 </goals >
102103 </execution >
103104 </executions >
104105 </plugin >
106+ <plugin >
107+ <groupId >org.apache.maven.plugins</groupId >
108+ <artifactId >maven-antrun-plugin</artifactId >
109+ <executions >
110+ <execution >
111+ <id >fix-windows-shell-script</id >
112+ <phase >package</phase >
113+ <goals >
114+ <goal >run</goal >
115+ </goals >
116+ <configuration >
117+ <!-- Hack/workaround for https://github.com/mojohaus/appassembler/issues/114 -->
118+ <target >
119+ <replace file =" ${project.build.directory}/release/bin/dependency-check.bat"
120+ token =" %JAVACMD% %JAVA_OPTS%"
121+ value =" " %JAVACMD%" %JAVA_OPTS%"
122+ failOnNoReplacements =" true"
123+ />
124+ </target >
125+ </configuration >
126+ </execution >
127+ </executions >
128+ </plugin >
105129 <plugin >
106130 <groupId >org.apache.maven.plugins</groupId >
107131 <artifactId >maven-assembly-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments