<profiles>
<profile>
<id>linuxfix</id>
<activation>
<os>
<family>unix</family>
</os>
</activation>
<build>
<plugins>
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
<execution>
<id>chmodsh</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>target/release/bin/linuxfix.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
maven startup sh file
原创
©著作权归作者所有:来自51CTO博客作者espcto的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Tomcat -bash: ./startup.sh: Permission denied
在执行./startup.sh,或者
tomcat shell linux -
docker下面tomcat执行startup.sh问题
在做docker的时候,碰到了如果使用startup.sh是无法成功启动tomcat,一
java 运维 操作系统 JAVA apache -
new sh file
创建新文件
linux bash 其他