2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-14 08:12:38 -04:00
|
|
|
<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">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung.singletonsession</groupId>
|
|
|
|
<artifactId>ejb-beans</artifactId>
|
2020-07-07 07:18:10 -04:00
|
|
|
<name>ejb-beans</name>
|
2019-10-31 21:43:47 -04:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung.spring.ejb</groupId>
|
2022-06-04 04:49:00 -04:00
|
|
|
<artifactId>spring-ejb-modules</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian</groupId>
|
|
|
|
<artifactId>arquillian-bom</artifactId>
|
|
|
|
<version>${arquillian-bom.version}</version>
|
|
|
|
<scope>import</scope>
|
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- https://mvnrepository.com/artifact/javax/javaee-api -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax</groupId>
|
|
|
|
<artifactId>javaee-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2021-10-29 00:07:04 -04:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.tomee/tomee-embedded -->
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
2021-10-29 00:07:04 -04:00
|
|
|
<groupId>org.apache.tomee</groupId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<artifactId>tomee-embedded</artifactId>
|
|
|
|
<version>${tomee-embedded.version}</version>
|
|
|
|
</dependency>
|
2020-02-18 16:42:50 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<version>${springframework.version}</version>
|
|
|
|
</dependency>
|
2021-05-14 08:12:38 -04:00
|
|
|
<!-- Dependency for EJB javax -->
|
2020-02-18 16:42:50 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.ejb</groupId>
|
|
|
|
<artifactId>javax.ejb-api</artifactId>
|
|
|
|
<version>${javax.ejb-api.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Spring JMS -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-jms</artifactId>
|
|
|
|
<version>${springframework.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<!-- ActiveMQ -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq</groupId>
|
|
|
|
<artifactId>activemq-broker</artifactId>
|
2023-10-15 12:25:42 -04:00
|
|
|
<version>${activemq-broker.version}</version>
|
2020-02-18 16:42:50 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.activemq.tooling</groupId>
|
|
|
|
<artifactId>activemq-junit</artifactId>
|
2023-10-15 12:25:42 -04:00
|
|
|
<version>${activemq-junit.version}</version>
|
2020-02-18 16:42:50 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.junit</groupId>
|
|
|
|
<artifactId>arquillian-junit-container</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-10-29 00:07:04 -04:00
|
|
|
<!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>joda-time</groupId>
|
|
|
|
<artifactId>joda-time</artifactId>
|
|
|
|
<version>${joda-time.version}</version>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependencies>
|
2019-12-05 09:56:52 -05:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<profiles>
|
2020-07-08 01:51:35 -04:00
|
|
|
<profile>
|
|
|
|
<id>wildfly-managed-arquillian</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<dependencies>
|
2022-06-08 04:58:41 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-arquillian-container-managed</artifactId>
|
|
|
|
<version>${wildfly.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-07-08 01:51:35 -04:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>${maven-dependency-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<skip>${maven.test.skip}</skip>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack</id>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.wildfly</groupId>
|
|
|
|
<artifactId>wildfly-dist</artifactId>
|
|
|
|
<version>${wildfly.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>false</overWrite>
|
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- Fork every test because it will launch a separate AS instance -->
|
|
|
|
<forkMode>always</forkMode>
|
2020-08-30 08:35:18 -04:00
|
|
|
<systemProperties>
|
|
|
|
<property>
|
|
|
|
<name>java.util.logging.config.file</name>
|
|
|
|
<value>src/test/resources/logging.properties</value>
|
|
|
|
</property>
|
|
|
|
</systemProperties>
|
2020-07-08 01:51:35 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2019-10-31 21:43:47 -04:00
|
|
|
<profile>
|
|
|
|
<id>arquillian-glassfish-embedded</id>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.arquillian.container</groupId>
|
|
|
|
<artifactId>arquillian-glassfish-embedded-3.1</artifactId>
|
|
|
|
<version>${arquillian-glassfish-embedded-3.1.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.main.extras</groupId>
|
|
|
|
<artifactId>glassfish-embedded-all</artifactId>
|
|
|
|
<version>${glassfish-embedded-all.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>${maven-war-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
2021-10-29 00:07:04 -04:00
|
|
|
<arquillian-bom.version>1.6.0.Final</arquillian-bom.version>
|
2022-06-08 04:58:41 -04:00
|
|
|
<tomee-embedded.version>8.0.8</tomee-embedded.version>
|
2021-10-29 00:07:04 -04:00
|
|
|
<glassfish-embedded-all.version>6.2.2</glassfish-embedded-all.version>
|
|
|
|
<arquillian-glassfish-embedded-3.1.version>1.0.2</arquillian-glassfish-embedded-3.1.version>
|
2020-07-08 01:51:35 -04:00
|
|
|
<wildfly.version>8.2.1.Final</wildfly.version>
|
2020-02-18 16:42:50 -05:00
|
|
|
<javax.ejb-api.version>3.2</javax.ejb-api.version>
|
|
|
|
<springframework.version>5.2.3.RELEASE</springframework.version>
|
2023-10-15 12:25:42 -04:00
|
|
|
<activemq-broker.version>5.16.3</activemq-broker.version>
|
|
|
|
<activemq-junit.version>5.16.3</activemq-junit.version>
|
2020-07-08 01:51:35 -04:00
|
|
|
<maven-dependency-plugin.version>2.8</maven-dependency-plugin.version>
|
|
|
|
<wildfly-ejb.version>8.2.1.Final</wildfly-ejb.version>
|
2023-11-13 05:00:45 -05:00
|
|
|
<joda-time.version>2.12.5</joda-time.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
2021-05-14 08:12:38 -04:00
|
|
|
</project>
|