2016-10-15 17:40:20 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2017-01-04 16:42:19 -05:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2018-04-26 02:50:35 -04:00
|
|
|
<artifactId>ejb-remote</artifactId>
|
|
|
|
<packaging>ejb</packaging>
|
2017-01-04 16:42:19 -05:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung.ejb</groupId>
|
|
|
|
<artifactId>ejb</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax</groupId>
|
|
|
|
<artifactId>javaee-api</artifactId>
|
|
|
|
<version>${javaee-api.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<!-- mvn clean package cargo:run -->
|
|
|
|
<profile>
|
|
|
|
<id>wildfly-standalone</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>${cargo-maven2-plugin.version}</version>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<container>
|
|
|
|
<containerId>wildfly10x</containerId>
|
|
|
|
<zipUrlInstaller>
|
|
|
|
<url>http://download.jboss.org/wildfly/10.1.0.Final/wildfly-10.1.0.Final.zip</url>
|
|
|
|
</zipUrlInstaller>
|
|
|
|
</container>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
<properties>
|
|
|
|
<cargo.hostname>127.0.0.1</cargo.hostname>
|
|
|
|
<cargo.jboss.management-http.port>9990</cargo.jboss.management-http.port>
|
|
|
|
<cargo.servlet.users>testUser:admin1234!</cargo.servlet.users>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
<!--mvn clean install wildfly:deploy -Pwildfly-runtime-->
|
|
|
|
<profile>
|
|
|
|
<id>wildfly-runtime</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.wildfly.plugins</groupId>
|
|
|
|
<artifactId>wildfly-maven-plugin</artifactId>
|
2018-04-26 02:50:35 -04:00
|
|
|
<version>${wildfly-maven-plugin.version}</version>
|
2017-01-04 16:42:19 -05:00
|
|
|
<configuration>
|
|
|
|
<hostname>127.0.0.1</hostname>
|
|
|
|
<port>9990</port>
|
|
|
|
<username>testUser</username>
|
|
|
|
<password>admin1234!</password>
|
|
|
|
<filename>${build.finalName}.jar</filename>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<javaee-api.version>7.0</javaee-api.version>
|
|
|
|
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
2018-04-26 08:37:47 -04:00
|
|
|
<wildfly-maven-plugin.version>1.1.0.Alpha5</wildfly-maven-plugin.version>
|
2017-01-04 16:42:19 -05:00
|
|
|
</properties>
|
|
|
|
|
2018-04-26 02:50:35 -04:00
|
|
|
</project>
|