【发布时间】:2017-06-13 13:48:46
【问题描述】:
我需要帮助才能使用 Jenkins 将 OSB 组合部署到 Weblogic 服务器上。我使用 maven 作为我的构建工具。现在我正在使用 mvn pre-integration-test 命令部署项目。我需要帮助来编写部署脚本/插件以将我的工件部署到 weblogic 服务器上。
这是我的 osbProject POM.xml,它使用服务总线插件生成 sbar,我正在使用 DEV 配置文件将生成的 sbar 部署到 weblogic 12c 上
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.oracle.servicebus</groupId>
<artifactId>sbar-project-common</artifactId>
<version>12.2.1-1-0</version>
<relativePath></relativePath>
</parent>
<groupId>ServiceBusApplication1</groupId>
<artifactId>SBProject</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>sbar</packaging>
<description/>
<build>
<plugins>
<plugin>
<groupId>com.oracle.servicebus-plugin</groupId>
<artifactId>oracle-servicebus-plugin</artifactId>
<version>12.2.1-1-0</version>
<configuration>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>Dev</id>
<properties>
<oracleServerUrl>http://serverDev.com:7001</oracleServerUrl>
<oracleUsername>username</oracleUsername>
<oraclePassword>password</oraclePassword>
<oracleHome>path to oracle home</oracleHome>
<customization>path to configuration file</customization>
</properties>
</profile>
</profiles>
</project>
This deploy onto sbconsole of SOADEV server
【问题讨论】:
标签: maven jenkins-plugins soa weblogic12c