java-tutorials/ejb/wildfly/pom.xml

81 lines
2.5 KiB
XML
Raw Normal View History

<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>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>wildfly-example</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<modules>
<module>widlfly-web</module>
<module>wildfly-ear</module>
<module>wildfly-jpa</module>
<module>wildfly-ejb-interfaces</module>
<module>wildfly-ejb</module>
</modules>
<dependencyManagement>
<dependencies>
<!-- Dependencies for other libraries -->
<!-- Dependency for java ee -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>7.0</version>
<scope>provided</scope>
</dependency>
<!-- Dependency for wildfly -->
<dependency>
<groupId>org.wildfly.bom</groupId>
<artifactId>wildfly-javaee7</artifactId>
<version>10.1.0.Final</version>
<scope>import</scope>
<type>pom</type>
</dependency>
<!-- Dependency on Hibernate -->
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.3.Final</version>
<scope>provided</scope>
</dependency>
<!-- Dependency for ear module -->
<dependency>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>wildlfy-ear</artifactId>
<version>0.0.1-SNAPSHOT</version>
<type>ear</type>
</dependency>
<!-- Dependency for web module -->
<dependency>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>wildlfy-web</artifactId>
<version>0.0.1-SNAPSHOT</version>
<type>war</type>
</dependency>
<!-- Dependency for jpa module -->
<dependency>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>wildlfy-jpa</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!-- Dependency for EJB -->
<dependency>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>wildfly-ejb</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!-- Dependency for EJB interfaces -->
<dependency>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>wildfly-ejb-interfaces</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>