我正在使用appassembler为solaris-sparc-64生成shell脚本,但不知何故它失败了。它给出了以下警告信息。
[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>
答案 0 :(得分:0)
我建议删除“-exec”部分,并在您的配置中包含平台中的“wrapper-”前缀。此外,如果从文档中提取此信息?如果是,我会感激你,如果你提交issue into the tracking system。