File tree 1 file changed +24
-0
lines changed
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.
96
96
<executions >
97
97
<execution >
98
98
<id >assemble</id >
99
+ <phase >package</phase >
99
100
<goals >
100
101
<goal >assemble</goal >
101
102
</goals >
102
103
</execution >
103
104
</executions >
104
105
</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 >
105
129
<plugin >
106
130
<groupId >org.apache.maven.plugins</groupId >
107
131
<artifactId >maven-assembly-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments