69 lines
2.5 KiB
XML
69 lines
2.5 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>
|
|
<artifactId>wildfly-ear</artifactId>
|
|
<packaging>ear</packaging>
|
|
<name>wildfly-ear</name>
|
|
|
|
<parent>
|
|
<groupId>com.baeldung.wildfly</groupId>
|
|
<artifactId>wildfly</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<!-- Dependency for web module -->
|
|
<dependency>
|
|
<groupId>com.baeldung.wildfly</groupId>
|
|
<artifactId>widlfly-web</artifactId>
|
|
<version>${wildlfy.version}</version>
|
|
<type>war</type>
|
|
</dependency>
|
|
<!-- Dependency for web module -->
|
|
<dependency>
|
|
<groupId>com.baeldung.wildfly</groupId>
|
|
<artifactId>wildfly-jpa</artifactId>
|
|
<version>${wildlfy.version}</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>${maven-ear-plugin.version}</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>${wildfly-maven-plugin.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<maven-ear-plugin.version>2.10.1</maven-ear-plugin.version>
|
|
<wildfly-maven-plugin.version>1.2.0.Final</wildfly-maven-plugin.version>
|
|
</properties>
|
|
</project> |