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>chapter5</artifactId> <groupId>org.ktest.javaee.study.ejb3-in-action</groupId> <version>DYNAMIC-SNAPSHOT</version> </parent> <artifactId>chapter5-ear</artifactId> <packaging>ear</packaging> <name>chapter5-ear</name> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <finalName>chapter5</finalName> <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> <modules> <ejbModule> <groupId>org.ktest.javaee.study.ejb3-in-action</groupId> <artifactId>chapter5-ejb</artifactId> <bundleFileName>chapter5-ejb.jar</bundleFileName> </ejbModule> </modules> <version>6</version> <defaultLibBundleDir>lib</defaultLibBundleDir> </configuration> </plugin> <plugin> <groupId>org.glassfish.maven.plugin</groupId> <artifactId>maven-glassfish-plugin</artifactId> <version>2.1</version> <configuration> <glassfishDirectory>${glassfish.home}</glassfishDirectory> <user>${glassfish.user}</user> <adminPassword>${glassfish.user.password}</adminPassword> <!-- <passFile>path/to/asadmin/passfile</passFile> --> <autoCreate>false</autoCreate> <debug>false</debug> <echo>true</echo> <terse>true</terse> <skip>false</skip> <domain> <name>${glassfish.domain}</name> <adminPort>4848</adminPort> <httpPort>8080</httpPort> <httpsPort>8443</httpsPort> <iiopPort>3700</iiopPort> <jmsPort>7676</jmsPort> <reuse>false</reuse> </domain> <components> <component> <name>${project.artifactId}</name> <artifact>${project.build.directory}/${project.build.finalName}.ear</artifact> </component> </components> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.ktest.javaee.study.ejb3-in-action</groupId> <artifactId>chapter5-ejb</artifactId> <version>DYNAMIC-SNAPSHOT</version> <type>ejb</type> </dependency> </dependencies> </project>