0
我正在使用appassembler爲solaris-sparc-64生成shell腳本,但不知何故失敗。它給出以下警告信息。錯誤maven appassembler爲solaris-sparc-64生成守護進程
[WARNING] Lib file for wrapper-windows-x86-32 not found in map.
[WARNING] Lib file for solaris-sparc-32-exec not found in map.
[WARNING] Lib file for solaris-sparc-64-exec not found in map.
[WARNING] Exec file for wrapper-windows-x86-32 not found in map.
[WARNING] Exec file for solaris-sparc-32-exec not found in map.
[WARNING] Exec file for solaris-sparc-64-exec not found in map.
,並沒有創造任何solaris的腳本文件。誰能幫幫我嗎?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>appassembler-maven-plugin</artifactId>
<version>1.2.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>generate-daemons</goal>
</goals>
</execution>
</executions>
<configuration>
<daemons>
<daemon>
<id>app</id>
<mainClass>com.app.MainApp</mainClass>
<jvmSettings>
<extraArguments>
<extraArgument>-DENVIRONMENT=00</extraArgument>
</extraArguments>
</jvmSettings>
<platforms>
<platform>jsw</platform>
</platforms>
<generatorConfigurations>
<generatorConfiguration>
<generator>jsw</generator>
<includes>
<include>linux-x86-32</include>
<include>wrapper-windows-x86-32</include>
<include>solaris-sparc-32-exec</include>
<include>solaris-sparc-64-exec</include>
</includes>
</generatorConfiguration>
</generatorConfigurations>
</daemon>
</daemons>
</configuration>
</plugin>
首先,您應該刪除包含部分中的「-exec」,例如solaris-sparc-32-exec,solaris-sparc-64-exec – khmarbaise
此外,移除wrapper-windows-x86-32前面的「包裝器」。 – khmarbaise