Capsule maven latest plugin build fail
bwzhang2011 opened this issue · comments
Hi, I encountered some problem while building with capsule maven plugin since upgrading from 0.10.8 to the latest one. here came the stack trace as follows:
what's more, my configuration with capsule was like this, please help me if I were wrong with such:
<plugin>
<groupId>com.github.chrischristo</groupId>
<artifactId>capsule-maven-plugin</artifactId>
<version>${capsule.maven.plugin.version}</version>
<configuration>
<!-- Main class -->
<appClass>com.mama100.platform.test.rocetmqdemo.RocketMQDemoMain</appClass>
<!-- direct launch -->
<trampoline>true</trampoline>
<!-- output type and suffix -->
<types>fat</types>
<customDescriptorFat>-all</customDescriptorFat>
<!-- manifest -->
<manifest>
<entry>
<key>Min-Java-Version</key>
<value>1.7.0</value>
</entry>
<entry>
<key>BuildBy</key>
<value>bwzhang</value>
</entry>
</manifest>
</configuration>
<executions>
<execution>
<goals>
<goal>build</goal>
</goals>
</execution>
</executions>
</plugin>
@chrischristo, any update with such issue ?
looking into this
Ah this is due to the plugin trying to use the chmod
command which it needs in order to create the executable files (from marking <chmod>true</chmod>
or <trampoline>true</trampoline>
). This command is typically only available on unix systems (Mac, Linux etc). On Windows one would need to have something like Cygwin installed. I've managed to create a workaround so Windows users wouldn't need this. Await next release for this.
@chrischristo, thanks for feed back and hope such could be provided not long in the future.
See v1.0.5
@chrischristo, thanks a lot for your great work.