Last active
December 7, 2016 17:27
-
-
Save isidromerayo/ba1e72b67ed4aa23b5d2ddcae19c4306 to your computer and use it in GitHub Desktop.
Maven profiles Weblogic 12.1.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profile> | |
<id>weblogic-1213</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>com.oracle.weblogic</groupId> | |
<artifactId>weblogic-maven-plugin</artifactId> | |
<version>${weblogic.version.server}</version> | |
<!-- You can find and redefine the following variables in the parent | |
pom file arccording to your environment. oracleMiddlewareHome oracleServerUrl | |
oracleUsername oraclePassword oracleServerName --> | |
<configuration> | |
<middlewareHome>${weblogic.home.user}</middlewareHome> | |
</configuration> | |
<executions> | |
<!--Deploy the application to the server --> | |
<execution> | |
<phase>pre-integration-test</phase> | |
<goals> | |
<goal>deploy</goal> | |
</goals> | |
<configuration> | |
<!--The admin URL where the app is deployed. Here use the plugin's | |
default value t3://localhost:7001 --> | |
<!--adminurl>${oracleServerUrl}</adminurl --> | |
<user>${weblogic.admin.user}</user> | |
<password>${weblogic.admin.password}</password> | |
<targets>${weblogic.targets}</targets> | |
<!--The location of the file or directory to be deployed --> | |
<source>${project.build.directory}/${project.build.finalName}.${project.packaging}</source> | |
<!--The target servers where the application is deployed. Here use | |
the plugin's default value AdminServer --> | |
<!--targets>${oracleServerName}</targets --> | |
<verbose>true</verbose> | |
<!--The deployment name of the application --> | |
<name>${project.build.finalName}</name> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment