<plugin>
<groupId>com.orctom.mojo</groupId>
<artifactId>was-maven-plugin</artifactId>e
<version>1.0.8</version>
<executions>
<execution>
<id>deploy</id>
<phase>install</phase>
<goals>
<goal>deploy</goal>
</goals>
<configuration>
<wasHome>${env.WAS_HOME}</wasHome>
<applicationName>${project.build.finalName}</applicationName>
<host>${local or remote address}</host>
<server>server01</server>
<node>node01</node>
<virtualHost>default_host</virtualHost>
<verbose>true</verbose>
</configuration>
</execution>
</executions>
</plugin>
从https://github.com/orctom/was-maven-plugin
更新于GitHub上2014年5月29日
开发这个插件的状态,“1.0.1
和1.0.2
不能正常工作,请不要使用它们!“,所以我已更新此答案以显示版本1.0.3
。
更新于2015年1月27日
更新为 '1.0.8'。
来源
2014-04-16 13:48:14
Hao
从进一步的研究看来,似乎蚂蚁路线是今天唯一的路线。进一步谷歌搜索出现这些帖子: http://stackoverflow.com/questions/3117785/using-ant-to-deploy-ear-to-remote-websphere-application-server http://stackoverflow.com/questions/3117785/using-ant-to-deploy-ear-to-remote-websphere-application-server 我想我最大的希望是websphere7am-maven-plugin或Cargo能够解决这个问题。我曾在IBM网站上读过,ANT脚本是今天唯一的方法。来吧,IBM maven已经有一段时间了...... – theINtoy
您可能想通过链接http://www.ibm.com/developerworks/rfe/execute?use_case=submitRfe&BRAND_ID=181&PROD_FAM_ID=262&PROD_ID=提交功能请求544&COMP_ID = 17&OS_ID = 16&PRI_ID = 3&PRESELECT_DROPDOWNS = true 至少Liberty Profile团队的响应速度非常快。 – fnt
我已添加一个链接到IBM论坛,以确认此问题与原问题 – theINtoy