maven nsis:避免将重复文件上载到nexus
我正在使用maven nsis maven plugin.1.0插件,它在目标文件夹下创建myapp-1.0.1_Setup_INTERNAL.exe。maven nsis:避免将重复文件上载到nexus,maven,Maven,我正在使用maven nsis maven plugin.1.0插件,它在目标文件夹下创建myapp-1.0.1_Setup_INTERNAL.exe。 这将在内部调用maven安装插件:2.3.1:install并附加myapp-1.0.1.exe。 这是我的困惑,尽管我在首选的.exe文件中提到了标记,但NSIS没有考虑它 所以,最后有2个前男友被上传到Nexus。一个是myapp-1.0.1_Setup_INTERNAL.exe,另一个是myapp-1.0.1.exe。 我希望避免上载文件
这将在内部调用maven安装插件:2.3.1:install并附加myapp-1.0.1.exe。
这是我的困惑,尽管我在首选的.exe文件中提到了
标记,但NSIS没有考虑它
所以,最后有2个前男友被上传到Nexus。一个是myapp-1.0.1_Setup_INTERNAL.exe,另一个是myapp-1.0.1.exe。
我希望避免上载文件myapp-1.0.1.exe
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nsis-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<configuration>
<makensisBin>${project.build.directory}/NSIS/makensis.exe</makensisBin>
<outputFile>${project.build.directory}/${project.build.finalName}_Setup_INTERNAL.exe</outputFile>
<setupScript>${project.build.directory}/gen/internal-installer.nsi</setupScript>
</configuration>
</plugin>
org.codehaus.mojo
nsis maven插件
1
包裹
编译
${project.build.directory}/NSIS/makensis.exe
${project.build.directory}/${project.build.finalName}\u Setup\u INTERNAL.exe
${project.build.directory}/gen/internal-installer.nsi