Red Hat Application Migration Toolkit
<?xml version="1.0" encoding="UTF-8"?> <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> <artifactId>Cloudental</artifactId> <groupId>com.mpdmal.cloudental</groupId> <version>1.0-SNAPSHOT</version> </parent> <artifactId>Cloudental-ear</artifactId> <packaging>ear</packaging> <name>Cloudental-ear</name> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> <version>2.6</version> <configuration> <version>6</version> <defaultLibBundleDir>lib</defaultLibBundleDir> <fileNameMapping>no-version</fileNameMapping> </configuration> </plugin> <plugin> <groupId>org.glassfish.maven.plugin</groupId> <artifactId>maven-glassfish-plugin</artifactId> <version>2.1</version> <configuration> <user>${local.glassfish.user}</user> <passwordFile>${local.glassfish.passfile}</passwordFile> <glassfishDirectory>${local.glassfish.home}</glassfishDirectory> <components> <component> <name>${project.artifactId}</name> <artifact>${project.build.directory}/${project.build.finalName}.ear</artifact> </component> </components> <domain> <name>${local.glassfish.domain}</name> <adminPort>4848</adminPort> <httpPort>8080</httpPort> <httpsPort>8443</httpsPort> </domain> <domainDirectory>${local.glassfish.home}/glassfish</domainDirectory> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.mpdmal.cloudental</groupId> <artifactId>Cloudental-ejb</artifactId> <version>1.0-SNAPSHOT</version> <type>ejb</type> </dependency> <dependency> <groupId>com.mpdmal.cloudental</groupId> <artifactId>Cloudental-cdi</artifactId> <version>1.0-SNAPSHOT</version> <type>war</type> </dependency> </dependencies> </project>