76 lines
2.7 KiB
XML
Executable File
76 lines
2.7 KiB
XML
Executable File
<?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"
|
|
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>
|
|
<artifactId>ejb-remote-for-spring</artifactId>
|
|
<packaging>ejb</packaging>
|
|
|
|
<parent>
|
|
<groupId>com.baeldung.spring.ejb</groupId>
|
|
<artifactId>ejb-for-spring</artifactId>
|
|
<version>1.0.1</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>3.9.0</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>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.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>
|
|
</profiles>
|
|
|
|
<properties>
|
|
<javaee-api.version>7.0</javaee-api.version>
|
|
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
|
</properties>
|
|
|
|
</project>
|
|
|
|
|