java-tutorials/ejb/wildfly/wildfly-ear/pom.xml

62 lines
1.8 KiB
XML

<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>
<parent>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>wildfly-example</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>wildfly-ear</artifactId>
<packaging>ear</packaging>
<dependencies>
<!-- Dependency for web module -->
<dependency>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>widlfly-web</artifactId>
<version>0.0.1-SNAPSHOT</version>
<type>war</type>
</dependency>
<!-- Dependency for web module -->
<dependency>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>wildfly-jpa</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!-- Dependency for EJB -->
<dependency>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>wildfly-ejb</artifactId>
</dependency>
<!-- Dependency for EJB -->
<dependency>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>wildfly-ejb-interfaces</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-ear-plugin</artifactId>
<version>2.10.1</version>
<configuration>
<defaultLibBundleDir>lib/</defaultLibBundleDir>
<version>7</version>
<modules>
<webModule>
<groupId>com.baeldung.wildfly</groupId>
<artifactId>widlfly-web</artifactId>
<contextRoot>/wildfly</contextRoot>
</webModule>
</modules>
</configuration>
</plugin>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>1.2.0.Final</version>
</plugin>
</plugins>
</build>
</project>