63 lines
2.3 KiB
XML
63 lines
2.3 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>
|
|
|
|
<parent>
|
|
<groupId>com.baeldung.wildfly</groupId>
|
|
<artifactId>wildfly-example</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>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> |