2019-10-31 21:43:47 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2019-12-05 09:56:52 -05:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-ejb-remote</artifactId>
|
|
|
|
<name>spring-ejb-remote</name>
|
|
|
|
<packaging>ejb</packaging>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung.spring.ejb</groupId>
|
|
|
|
<artifactId>spring-ejb</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax</groupId>
|
|
|
|
<artifactId>javaee-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertj.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<!-- mvn clean package cargo:run -Pwildfly-standalone -->
|
|
|
|
<profile>
|
|
|
|
<id>wildfly-standalone</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</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>https://download.jboss.org/wildfly/12.0.0.Final/wildfly-12.0.0.Final.zip</url>
|
|
|
|
</zipUrlInstaller>
|
|
|
|
</container>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
<properties>
|
|
|
|
<cargo.hostname>127.0.0.1</cargo.hostname>
|
|
|
|
<cargo.jboss.configuration>standalone-full</cargo.jboss.configuration>
|
|
|
|
<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>
|
|
|
|
<version>${wildfly-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<hostname>127.0.0.1</hostname>
|
|
|
|
<port>9990</port>
|
|
|
|
<username>testUser</username>
|
|
|
|
<password>admin1234!</password>
|
|
|
|
<filename>${project.build.finalName}.jar</filename>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<assertj.version>3.9.0</assertj.version>
|
|
|
|
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
|
|
|
<wildfly-maven-plugin.version>1.1.0.Alpha5</wildfly-maven-plugin.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|