Commits

Vineet Reynolds  committed 5e2621e Draft

[maven-release-plugin] prepare release info.galleria-0.0.1

  • Participants
  • Parent commits 7e947b3
  • Tags info.galleria-0.0.1

Comments (0)

Files changed (4)

File galleria-ear/pom.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>
-    <artifactId>info.galleria</artifactId>
-    <groupId>name.reynolds.vineet</groupId>
-    <version>0.0.1-SNAPSHOT</version>
-    <relativePath>..</relativePath>
-  </parent>
-  <artifactId>galleria-ear</artifactId>
-  <packaging>ear</packaging>
-  <name>Galleria EAR</name>
-  <description>The EAR module for the Galleria project</description>
-  <dependencies>
-		<dependency>
-			<groupId>name.reynolds.vineet</groupId>
-			<artifactId>galleria-ejb</artifactId>
-			<version>0.0.1-SNAPSHOT</version>
-			<type>ejb</type>
-		</dependency>
-		<dependency>
-			<groupId>name.reynolds.vineet</groupId>
-			<artifactId>galleria-jsf</artifactId>
-			<version>0.0.1-SNAPSHOT</version>
-			<type>war</type>
-		</dependency>
-		<dependency>
-			<groupId>commons-codec</groupId>
-			<artifactId>commons-codec</artifactId>
-			<version>1.5</version>
-		</dependency>
-	</dependencies>
-	<build>
-		<plugins>
-			<plugin>
-				<artifactId>maven-ear-plugin</artifactId>
-				<version>2.6</version>
-				<configuration>
-					<version>6</version>
-					<modules>
-						<webModule>
-							<groupId>name.reynolds.vineet</groupId>
-							<artifactId>galleria-jsf</artifactId>
-							<contextRoot>/Galleria</contextRoot>
-						</webModule>
-						<ejbModule>
-							<groupId>name.reynolds.vineet</groupId>
-							<artifactId>galleria-ejb</artifactId>
-						</ejbModule>
-						<jarModule>
-							<groupId>commons-codec</groupId>
-							<artifactId>commons-codec</artifactId>
-							<bundleDir>/lib</bundleDir>
-						</jarModule>
-					</modules>
-				</configuration>
-			</plugin>
-			<plugin>
-				<groupId>org.glassfish.maven.plugin</groupId>
-				<artifactId>maven-glassfish-plugin</artifactId>
-				<version>2.1</version>
-				<configuration>
-					<user>${galleria.glassfish.productionDomain.user}</user>
-					<passwordFile>${galleria.glassfish.productionDomain.passwordFile}</passwordFile>
-					<glassfishDirectory>${galleria.glassfish.productionDomain.glassfishDirectory}</glassfishDirectory>
-					<components>
-						<component>
-							<name>${project.artifactId}</name>
-							<artifact>${project.build.directory}/${project.build.finalName}.ear</artifact>
-						</component>
-					</components>
-					<domain>
-						<name>${galleria.glassfish.productionDomain.domainName}</name>
-						<adminPort>${galleria.glassfish.productionDomain.adminPort}</adminPort>
-						<httpPort>${galleria.glassfish.productionDomain.httpPort}</httpPort>
-						<httpsPort>${galleria.glassfish.productionDomain.httpsPort}</httpsPort>
-					</domain>
-					<debug>true</debug>
-					<echo>true</echo>
-					<terse>false</terse>
-					<autoCreate>false</autoCreate>
-				</configuration>
-			</plugin>
-		</plugins>
-	</build>
-	<pluginRepositories>
-		<pluginRepository>
-			<id>maven.java.net</id>
-			<name>Java.net Maven2 Repository</name>
-			<url>http://download.java.net/maven/2</url>
-		</pluginRepository>
-	</pluginRepositories>
+<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>info.galleria</artifactId>
+    <groupId>name.reynolds.vineet</groupId>
+    <version>0.0.1</version>
+    <relativePath>..</relativePath>
+  </parent>
+  <artifactId>galleria-ear</artifactId>
+  <packaging>ear</packaging>
+  <name>Galleria EAR</name>
+  <description>The EAR module for the Galleria project</description>
+  <dependencies>
+		<dependency>
+			<groupId>name.reynolds.vineet</groupId>
+			<artifactId>galleria-ejb</artifactId>
+			<version>0.0.1</version>
+			<type>ejb</type>
+		</dependency>
+		<dependency>
+			<groupId>name.reynolds.vineet</groupId>
+			<artifactId>galleria-jsf</artifactId>
+			<version>0.0.1</version>
+			<type>war</type>
+		</dependency>
+		<dependency>
+			<groupId>commons-codec</groupId>
+			<artifactId>commons-codec</artifactId>
+			<version>1.5</version>
+		</dependency>
+	</dependencies>
+	<build>
+		<plugins>
+			<plugin>
+				<artifactId>maven-ear-plugin</artifactId>
+				<version>2.6</version>
+				<configuration>
+					<version>6</version>
+					<modules>
+						<webModule>
+							<groupId>name.reynolds.vineet</groupId>
+							<artifactId>galleria-jsf</artifactId>
+							<contextRoot>/Galleria</contextRoot>
+						</webModule>
+						<ejbModule>
+							<groupId>name.reynolds.vineet</groupId>
+							<artifactId>galleria-ejb</artifactId>
+						</ejbModule>
+						<jarModule>
+							<groupId>commons-codec</groupId>
+							<artifactId>commons-codec</artifactId>
+							<bundleDir>/lib</bundleDir>
+						</jarModule>
+					</modules>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.glassfish.maven.plugin</groupId>
+				<artifactId>maven-glassfish-plugin</artifactId>
+				<version>2.1</version>
+				<configuration>
+					<user>${galleria.glassfish.productionDomain.user}</user>
+					<passwordFile>${galleria.glassfish.productionDomain.passwordFile}</passwordFile>
+					<glassfishDirectory>${galleria.glassfish.productionDomain.glassfishDirectory}</glassfishDirectory>
+					<components>
+						<component>
+							<name>${project.artifactId}</name>
+							<artifact>${project.build.directory}/${project.build.finalName}.ear</artifact>
+						</component>
+					</components>
+					<domain>
+						<name>${galleria.glassfish.productionDomain.domainName}</name>
+						<adminPort>${galleria.glassfish.productionDomain.adminPort}</adminPort>
+						<httpPort>${galleria.glassfish.productionDomain.httpPort}</httpPort>
+						<httpsPort>${galleria.glassfish.productionDomain.httpsPort}</httpsPort>
+					</domain>
+					<debug>true</debug>
+					<echo>true</echo>
+					<terse>false</terse>
+					<autoCreate>false</autoCreate>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	<pluginRepositories>
+		<pluginRepository>
+			<id>maven.java.net</id>
+			<name>Java.net Maven2 Repository</name>
+			<url>http://download.java.net/maven/2</url>
+		</pluginRepository>
+	</pluginRepositories>
 </project>

File galleria-ejb/pom.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>
-		<artifactId>info.galleria</artifactId>
-		<groupId>name.reynolds.vineet</groupId>
-		<version>0.0.1-SNAPSHOT</version>
-		<relativePath>..</relativePath>
-	</parent>
-	<artifactId>galleria-ejb</artifactId>
-	<packaging>ejb</packaging>
-	<description>The EJB module containing Session EJBs and JPA entities.</description>
-	<dependencies>
-		<dependency>
-			<groupId>org.slf4j</groupId>
-			<artifactId>slf4j-api</artifactId>
-			<version>1.5.6</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>commons-codec</groupId>
-			<artifactId>commons-codec</artifactId>
-			<version>1.5</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.slf4j</groupId>
-			<artifactId>slf4j-jdk14</artifactId>
-			<version>1.5.6</version>
-			<scope>provided</scope>
-		</dependency>
-		<!-- <dependency>
-			<groupId>org.eclipse.persistence</groupId>
-			<artifactId>javax.persistence</artifactId>
-			<version>2.0.0</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.eclipse.persistence</groupId>
-			<artifactId>eclipselink</artifactId>
-			<version>2.3.0</version>
-			<scope>test</scope>
-		</dependency> -->
-		<dependency>
-			<groupId>org.hibernate</groupId>
-			<artifactId>hibernate-entitymanager</artifactId>
-			<version>3.6.5.Final</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.hibernate</groupId>
-			<artifactId>hibernate-validator</artifactId>
-			<version>4.2.0.Final</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>nl.jqno.equalsverifier</groupId>
-			<artifactId>equalsverifier</artifactId>
-			<version>1.0.1</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.derby</groupId>
-			<artifactId>derbyclient</artifactId>
-			<version>10.8.1.2</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.glassfish.extras</groupId>
-			<artifactId>glassfish-embedded-all</artifactId>
-			<version>3.1</version>
-			<scope>test</scope>
-		</dependency>
-		<!-- Dependencies for DbUnit --> 
-		<dependency>
-			<groupId>org.dbunit</groupId>
-			<artifactId>dbunit</artifactId>
-			<version>2.4.8</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>commons-collections</groupId>
-			<artifactId>commons-collections</artifactId>
-			<version>3.2.1</version>
-			<scope>test</scope>
-		</dependency>
-	</dependencies>
-	<build>
-		<testResources>
-			<testResource>
-				<directory>src/test/resources</directory>
-				<filtering>true</filtering>
-			</testResource>
-		</testResources>
-		<plugins>
-			<plugin>
-				<artifactId>maven-ejb-plugin</artifactId>
-				<version>2.3</version>
-				<configuration>
-					<!-- Used to set the facet version of the EJB project to 3.1 in Eclipse. 
-						Works against m2e 1.0 -->
-					<ejbVersion>3.1</ejbVersion>
-				</configuration>
-			</plugin>
-			<plugin>
-				<artifactId>maven-surefire-plugin</artifactId>
-				<version>2.7.1</version>
-				<configuration>
-					<includes>
-						<!-- Used to include JUnit 4 Test Suites in the unit-testing phase -->
-						<include>**/*Suite.java</include>
-						<!-- Used to include test classes in the unit-testing phase -->
-						<include>**/*Test.java</include>
-						<include>**/*TestCase.java</include>
-					</includes>
-					<excludes>
-						<!-- Used to ignore IntegrationTest classes in the unit-testing phase -->
-						<exclude>**/*IntegrationSuite.java</exclude>
-						<exclude>**/*IntegrationTest.java</exclude>
-					</excludes>
-				</configuration>
-			</plugin>
-			<plugin>
-				<artifactId>maven-antrun-plugin</artifactId>
-				<executions>
-					<execution>
-						<id>copy-test-persistence</id>
-						<phase>process-test-resources</phase>
-						<configuration>
-							<tasks>
-								<!--backup the "proper" persistence.xml -->
-								<copy
-									file="${project.build.outputDirectory}/META-INF/persistence.xml"
-									tofile="${project.build.outputDirectory}/META-INF/persistence.xml.proper" overwrite="true" />
-								<!--replace the "proper" persistence.xml with the "test" version -->
-								<copy
-									file="${project.build.testOutputDirectory}/META-INF/persistence-test.xml"
-									tofile="${project.build.outputDirectory}/META-INF/persistence.xml" overwrite="true" />
-								<!-- copy the "test" version also to the instrumented classes directory 
-									of Cobertura. This is for Sonar and for any future usage of Cobertura -->
-								<copy
-									file="${project.build.testOutputDirectory}/META-INF/persistence-test.xml"
-									tofile="${project.build.directory}/generated-classes/cobertura/META-INF/persistence.xml" overwrite="true" />
-							</tasks>
-						</configuration>
-						<goals>
-							<goal>run</goal>
-						</goals>
-					</execution>
-					<execution>
-						<id>restore-persistence</id>
-						<phase>prepare-package</phase>
-						<configuration>
-							<tasks>
-								<!--restore the "proper" persistence.xml -->
-								<copy
-									file="${project.build.outputDirectory}/META-INF/persistence.xml.proper"
-									tofile="${project.build.outputDirectory}/META-INF/persistence.xml"
-									overwrite="true" />
-							</tasks>
-						</configuration>
-						<goals>
-							<goal>run</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-			<plugin>
-				<artifactId>maven-failsafe-plugin</artifactId>
-				<version>2.9</version>
-				<configuration>
-					<includes>
-						<!-- Used to include IntegrationSuite classes during integration testing; 
-							avoiding the use of the default naming convention. Includes only suite classes 
-							for now as the startup of the embedded Glassfish container is CPU and disk 
-							intensive. -->
-						<include>**/*IntegrationSuite.java</include>
-					</includes>
-				</configuration>
-				<executions>
-					<execution>
-						<goals>
-							<goal>integration-test</goal>
-							<goal>verify</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-			<plugin>
-				<groupId>com.dbdeploy</groupId>
-				<artifactId>maven-dbdeploy-plugin</artifactId>
-				<version>3.0M3</version>
-				<configuration>
-					<scriptdirectory>${basedir}/src/main/sql</scriptdirectory>
-					<driver>org.apache.derby.jdbc.ClientDriver</driver>
-					<!--
-					Use an separate Derby instance for unit testing.
-					Ensure that the values here match with the ones used in persistence-test.xml. 
-					-->
-					<url>${galleria.derby.testInstance.jdbcUrl}</url>
-					<userid>${galleria.derby.testInstance.user}</userid>
-					<password>${galleria.derby.testInstance.password}</password>
-					<delimiter>;</delimiter>
-					<delimiterType>normal</delimiterType>
-				</configuration>
-				<executions>
-					<execution>
-						<id>update-database</id>
-						<goals>
-							<goal>update</goal>
-						</goals>
-						<phase>process-test-resources</phase>
-					</execution>
-					<execution>
-						<id>update-IT-database</id>
-						<goals>
-							<goal>update</goal>
-						</goals>
-						<phase>pre-integration-test</phase>
-					</execution>
-				</executions>
-				<dependencies>
-					<dependency>
-						<groupId>org.apache.derby</groupId>
-						<artifactId>derbyclient</artifactId>
-						<version>10.8.1.2</version>
-					</dependency>
-				</dependencies>
-			</plugin>
-		</plugins>
-		<pluginManagement>
-			<plugins>
-				<!--This plugin's configuration is used to store Eclipse m2e settings 
-					only. It has no influence on the Maven build itself. -->
-				<plugin>
-					<groupId>org.eclipse.m2e</groupId>
-					<artifactId>lifecycle-mapping</artifactId>
-					<version>1.0.0</version>
-					<configuration>
-						<lifecycleMappingMetadata>
-							<pluginExecutions>
-								<pluginExecution>
-									<pluginExecutionFilter>
-										<groupId>org.apache.maven.plugins</groupId>
-										<artifactId>maven-antrun-plugin</artifactId>
-										<versionRange>[1.3,)</versionRange>
-										<goals>
-											<goal>run</goal>
-										</goals>
-									</pluginExecutionFilter>
-									<action>
-										<ignore></ignore>
-									</action>
-								</pluginExecution>
-								<pluginExecution>
-									<pluginExecutionFilter>
-										<groupId>com.dbdeploy</groupId>
-										<artifactId>
-											maven-dbdeploy-plugin
-										</artifactId>
-										<versionRange>
-											[3.0M3,)
-										</versionRange>
-										<goals>
-											<goal>update</goal>
-										</goals>
-									</pluginExecutionFilter>
-									<action>
-										<ignore></ignore>
-									</action>
-								</pluginExecution>
-							</pluginExecutions>
-						</lifecycleMappingMetadata>
-					</configuration>
-				</plugin>
-			</plugins>
-		</pluginManagement>
-	</build>
-	<repositories>
-		<repository>
-			<id>EclipseLink Repo</id>
-			<!-- note that ampersands in this URL are escaped because this is in an 
-				xml file - un-escape them to use in browser -->
-			<url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
-		</repository>
-		<repository>
-			<id>equalsverifier-repository</id>
-			<url>http://equalsverifier.googlecode.com/svn/maven/</url>
-		</repository>
-		<repository>
-			<id>download.java.net - Glassfish</id>
-			<url>http://download.java.net/maven/glassfish/</url>
-		</repository>
-		<repository>
-			<id>download.java.net</id>
-			<name>Java.net Maven Repository</name>
-			<url>http://download.java.net/maven/2</url>
-		</repository>
-	</repositories>
-	<profiles>
-		<profile>
-			<!-- Used to add the jacoco agent to the surefire and failsafe JVM commandline 
-				only for gathering data for Sonar. -->
-			<id>sonar</id>
-			<build>
-				<plugins>
-					<plugin>
-						<artifactId>maven-surefire-plugin</artifactId>
-						<version>2.7.1</version>
-						<configuration>
-							<includes>
-								<!-- Used to include JUnit 4 Test Suites in the unit-testing phase -->
-								<include>**/*Suite.java</include>
-								<!-- Used to include test classes in the unit-testing phase -->
-								<include>**/*Test.java</include>
-								<include>**/*TestCase.java</include>
-							</includes>
-							<excludes>
-								<!-- Used to ignore IntegrationTest classes in the unit-testing phase -->
-								<exclude>**/*IntegrationSuite.java</exclude>
-								<exclude>**/*IntegrationTest.java</exclude>
-							</excludes>
-							<argLine>-javaagent:${jacoco.agent.path}=destfile="${jacoco.file.path}"</argLine>
-						</configuration>
-					</plugin>
-					<plugin>
-						<artifactId>maven-failsafe-plugin</artifactId>
-						<version>2.9</version>
-						<configuration>
-							<includes>
-								<!-- Used to include IntegrationSuite classes during integration testing; 
-									avoiding the use of the default naming convention. Includes only suite classes 
-									for now as the startup of the embedded Glassfish container is CPU and disk 
-									intensive. -->
-								<include>**/*IntegrationSuite.java</include>
-							</includes>
-							<argLine>-javaagent:${jacoco.agent.path}=destfile="${jacoco.file.path}"</argLine>
-						</configuration>
-						<executions>
-							<execution>
-								<goals>
-									<goal>integration-test</goal>
-									<goal>verify</goal>
-								</goals>
-							</execution>
-						</executions>
-					</plugin>
-				</plugins>
-			</build>
-		</profile>
-		<profile>
-			<!-- Used to update the production instance with any changes detected by 
-				dbdeploy. This profile is to be used by a build script to push database deltas 
-				into production. -->
-			<id>production</id>
-			<build>
-				<plugins>
-					<plugin>
-						<groupId>com.dbdeploy</groupId>
-						<artifactId>maven-dbdeploy-plugin</artifactId>
-						<version>3.0M3</version>
-						<configuration>
-							<scriptdirectory>${basedir}/src/main/sql</scriptdirectory>
-							<driver>org.apache.derby.jdbc.ClientDriver40</driver>
-							<!-- Use a separate Derby instance for production deployments -->
-							<url>${galleria.derby.productionInstance.jdbcUrl}</url>
-							<userid>${galleria.derby.productionInstance.user}</userid>
-							<password>${galleria.derby.productionInstance.password}</password>
-							<delimiter>;</delimiter>
-							<delimiterType>normal</delimiterType>
-						</configuration>
-						<executions>
-							<execution>
-								<id>update-database</id>
-								<goals>
-									<goal>update</goal>
-								</goals>
-								<phase>install</phase>
-							</execution>
-						</executions>
-						<dependencies>
-							<dependency>
-								<groupId>org.apache.derby</groupId>
-								<artifactId>derbyclient</artifactId>
-								<version>10.8.1.2</version>
-							</dependency>
-						</dependencies>
-					</plugin>
-				</plugins>
-			</build>
-		</profile>
-	</profiles>
-	<properties>
-		<jacoco.file.path>${project.build.directory}/jacoco.exec</jacoco.file.path>
-		<sonar.jacoco.itReportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.itReportPath>
-		<sonar.phase>verify</sonar.phase>
-		<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
-	</properties>
+<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>info.galleria</artifactId>
+		<groupId>name.reynolds.vineet</groupId>
+		<version>0.0.1</version>
+		<relativePath>..</relativePath>
+	</parent>
+	<artifactId>galleria-ejb</artifactId>
+	<packaging>ejb</packaging>
+	<description>The EJB module containing Session EJBs and JPA entities.</description>
+	<dependencies>
+		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-api</artifactId>
+			<version>1.5.6</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>commons-codec</groupId>
+			<artifactId>commons-codec</artifactId>
+			<version>1.5</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-jdk14</artifactId>
+			<version>1.5.6</version>
+			<scope>provided</scope>
+		</dependency>
+		<!-- <dependency>
+			<groupId>org.eclipse.persistence</groupId>
+			<artifactId>javax.persistence</artifactId>
+			<version>2.0.0</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.eclipse.persistence</groupId>
+			<artifactId>eclipselink</artifactId>
+			<version>2.3.0</version>
+			<scope>test</scope>
+		</dependency> -->
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-entitymanager</artifactId>
+			<version>3.6.5.Final</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.hibernate</groupId>
+			<artifactId>hibernate-validator</artifactId>
+			<version>4.2.0.Final</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>nl.jqno.equalsverifier</groupId>
+			<artifactId>equalsverifier</artifactId>
+			<version>1.0.1</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.derby</groupId>
+			<artifactId>derbyclient</artifactId>
+			<version>10.8.1.2</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.glassfish.extras</groupId>
+			<artifactId>glassfish-embedded-all</artifactId>
+			<version>3.1</version>
+			<scope>test</scope>
+		</dependency>
+		<!-- Dependencies for DbUnit --> 
+		<dependency>
+			<groupId>org.dbunit</groupId>
+			<artifactId>dbunit</artifactId>
+			<version>2.4.8</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>commons-collections</groupId>
+			<artifactId>commons-collections</artifactId>
+			<version>3.2.1</version>
+			<scope>test</scope>
+		</dependency>
+	</dependencies>
+	<build>
+		<testResources>
+			<testResource>
+				<directory>src/test/resources</directory>
+				<filtering>true</filtering>
+			</testResource>
+		</testResources>
+		<plugins>
+			<plugin>
+				<artifactId>maven-ejb-plugin</artifactId>
+				<version>2.3</version>
+				<configuration>
+					<!-- Used to set the facet version of the EJB project to 3.1 in Eclipse. 
+						Works against m2e 1.0 -->
+					<ejbVersion>3.1</ejbVersion>
+				</configuration>
+			</plugin>
+			<plugin>
+				<artifactId>maven-surefire-plugin</artifactId>
+				<version>2.7.1</version>
+				<configuration>
+					<includes>
+						<!-- Used to include JUnit 4 Test Suites in the unit-testing phase -->
+						<include>**/*Suite.java</include>
+						<!-- Used to include test classes in the unit-testing phase -->
+						<include>**/*Test.java</include>
+						<include>**/*TestCase.java</include>
+					</includes>
+					<excludes>
+						<!-- Used to ignore IntegrationTest classes in the unit-testing phase -->
+						<exclude>**/*IntegrationSuite.java</exclude>
+						<exclude>**/*IntegrationTest.java</exclude>
+					</excludes>
+				</configuration>
+			</plugin>
+			<plugin>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>copy-test-persistence</id>
+						<phase>process-test-resources</phase>
+						<configuration>
+							<tasks>
+								<!--backup the "proper" persistence.xml -->
+								<copy file="${project.build.outputDirectory}/META-INF/persistence.xml" tofile="${project.build.outputDirectory}/META-INF/persistence.xml.proper" overwrite="true" />
+								<!--replace the "proper" persistence.xml with the "test" version -->
+								<copy file="${project.build.testOutputDirectory}/META-INF/persistence-test.xml" tofile="${project.build.outputDirectory}/META-INF/persistence.xml" overwrite="true" />
+								<!-- copy the "test" version also to the instrumented classes directory 
+									of Cobertura. This is for Sonar and for any future usage of Cobertura -->
+								<copy file="${project.build.testOutputDirectory}/META-INF/persistence-test.xml" tofile="${project.build.directory}/generated-classes/cobertura/META-INF/persistence.xml" overwrite="true" />
+							</tasks>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>
+					<execution>
+						<id>restore-persistence</id>
+						<phase>prepare-package</phase>
+						<configuration>
+							<tasks>
+								<!--restore the "proper" persistence.xml -->
+								<copy file="${project.build.outputDirectory}/META-INF/persistence.xml.proper" tofile="${project.build.outputDirectory}/META-INF/persistence.xml" overwrite="true" />
+							</tasks>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<artifactId>maven-failsafe-plugin</artifactId>
+				<version>2.9</version>
+				<configuration>
+					<includes>
+						<!-- Used to include IntegrationSuite classes during integration testing; 
+							avoiding the use of the default naming convention. Includes only suite classes 
+							for now as the startup of the embedded Glassfish container is CPU and disk 
+							intensive. -->
+						<include>**/*IntegrationSuite.java</include>
+					</includes>
+				</configuration>
+				<executions>
+					<execution>
+						<goals>
+							<goal>integration-test</goal>
+							<goal>verify</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>com.dbdeploy</groupId>
+				<artifactId>maven-dbdeploy-plugin</artifactId>
+				<version>3.0M3</version>
+				<configuration>
+					<scriptdirectory>${basedir}/src/main/sql</scriptdirectory>
+					<driver>org.apache.derby.jdbc.ClientDriver</driver>
+					<!--
+					Use an separate Derby instance for unit testing.
+					Ensure that the values here match with the ones used in persistence-test.xml. 
+					-->
+					<url>${galleria.derby.testInstance.jdbcUrl}</url>
+					<userid>${galleria.derby.testInstance.user}</userid>
+					<password>${galleria.derby.testInstance.password}</password>
+					<delimiter>;</delimiter>
+					<delimiterType>normal</delimiterType>
+				</configuration>
+				<executions>
+					<execution>
+						<id>update-database</id>
+						<goals>
+							<goal>update</goal>
+						</goals>
+						<phase>process-test-resources</phase>
+					</execution>
+					<execution>
+						<id>update-IT-database</id>
+						<goals>
+							<goal>update</goal>
+						</goals>
+						<phase>pre-integration-test</phase>
+					</execution>
+				</executions>
+				<dependencies>
+					<dependency>
+						<groupId>org.apache.derby</groupId>
+						<artifactId>derbyclient</artifactId>
+						<version>10.8.1.2</version>
+					</dependency>
+				</dependencies>
+			</plugin>
+		</plugins>
+		<pluginManagement>
+			<plugins>
+				<!--This plugin's configuration is used to store Eclipse m2e settings 
+					only. It has no influence on the Maven build itself. -->
+				<plugin>
+					<groupId>org.eclipse.m2e</groupId>
+					<artifactId>lifecycle-mapping</artifactId>
+					<version>1.0.0</version>
+					<configuration>
+						<lifecycleMappingMetadata>
+							<pluginExecutions>
+								<pluginExecution>
+									<pluginExecutionFilter>
+										<groupId>org.apache.maven.plugins</groupId>
+										<artifactId>maven-antrun-plugin</artifactId>
+										<versionRange>[1.3,)</versionRange>
+										<goals>
+											<goal>run</goal>
+										</goals>
+									</pluginExecutionFilter>
+									<action>
+										<ignore />
+									</action>
+								</pluginExecution>
+								<pluginExecution>
+									<pluginExecutionFilter>
+										<groupId>com.dbdeploy</groupId>
+										<artifactId>
+											maven-dbdeploy-plugin
+										</artifactId>
+										<versionRange>
+											[3.0M3,)
+										</versionRange>
+										<goals>
+											<goal>update</goal>
+										</goals>
+									</pluginExecutionFilter>
+									<action>
+										<ignore />
+									</action>
+								</pluginExecution>
+							</pluginExecutions>
+						</lifecycleMappingMetadata>
+					</configuration>
+				</plugin>
+			</plugins>
+		</pluginManagement>
+	</build>
+	<repositories>
+		<repository>
+			<id>EclipseLink Repo</id>
+			<!-- note that ampersands in this URL are escaped because this is in an 
+				xml file - un-escape them to use in browser -->
+			<url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
+		</repository>
+		<repository>
+			<id>equalsverifier-repository</id>
+			<url>http://equalsverifier.googlecode.com/svn/maven/</url>
+		</repository>
+		<repository>
+			<id>download.java.net - Glassfish</id>
+			<url>http://download.java.net/maven/glassfish/</url>
+		</repository>
+		<repository>
+			<id>download.java.net</id>
+			<name>Java.net Maven Repository</name>
+			<url>http://download.java.net/maven/2</url>
+		</repository>
+	</repositories>
+	<profiles>
+		<profile>
+			<!-- Used to add the jacoco agent to the surefire and failsafe JVM commandline 
+				only for gathering data for Sonar. -->
+			<id>sonar</id>
+			<build>
+				<plugins>
+					<plugin>
+						<artifactId>maven-surefire-plugin</artifactId>
+						<version>2.7.1</version>
+						<configuration>
+							<includes>
+								<!-- Used to include JUnit 4 Test Suites in the unit-testing phase -->
+								<include>**/*Suite.java</include>
+								<!-- Used to include test classes in the unit-testing phase -->
+								<include>**/*Test.java</include>
+								<include>**/*TestCase.java</include>
+							</includes>
+							<excludes>
+								<!-- Used to ignore IntegrationTest classes in the unit-testing phase -->
+								<exclude>**/*IntegrationSuite.java</exclude>
+								<exclude>**/*IntegrationTest.java</exclude>
+							</excludes>
+							<argLine>-javaagent:${jacoco.agent.path}=destfile="${jacoco.file.path}"</argLine>
+						</configuration>
+					</plugin>
+					<plugin>
+						<artifactId>maven-failsafe-plugin</artifactId>
+						<version>2.9</version>
+						<configuration>
+							<includes>
+								<!-- Used to include IntegrationSuite classes during integration testing; 
+									avoiding the use of the default naming convention. Includes only suite classes 
+									for now as the startup of the embedded Glassfish container is CPU and disk 
+									intensive. -->
+								<include>**/*IntegrationSuite.java</include>
+							</includes>
+							<argLine>-javaagent:${jacoco.agent.path}=destfile="${jacoco.file.path}"</argLine>
+						</configuration>
+						<executions>
+							<execution>
+								<goals>
+									<goal>integration-test</goal>
+									<goal>verify</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+		<profile>
+			<!-- Used to update the production instance with any changes detected by 
+				dbdeploy. This profile is to be used by a build script to push database deltas 
+				into production. -->
+			<id>production</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>com.dbdeploy</groupId>
+						<artifactId>maven-dbdeploy-plugin</artifactId>
+						<version>3.0M3</version>
+						<configuration>
+							<scriptdirectory>${basedir}/src/main/sql</scriptdirectory>
+							<driver>org.apache.derby.jdbc.ClientDriver40</driver>
+							<!-- Use a separate Derby instance for production deployments -->
+							<url>${galleria.derby.productionInstance.jdbcUrl}</url>
+							<userid>${galleria.derby.productionInstance.user}</userid>
+							<password>${galleria.derby.productionInstance.password}</password>
+							<delimiter>;</delimiter>
+							<delimiterType>normal</delimiterType>
+						</configuration>
+						<executions>
+							<execution>
+								<id>update-database</id>
+								<goals>
+									<goal>update</goal>
+								</goals>
+								<phase>install</phase>
+							</execution>
+						</executions>
+						<dependencies>
+							<dependency>
+								<groupId>org.apache.derby</groupId>
+								<artifactId>derbyclient</artifactId>
+								<version>10.8.1.2</version>
+							</dependency>
+						</dependencies>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
+	<properties>
+		<jacoco.file.path>${project.build.directory}/jacoco.exec</jacoco.file.path>
+		<sonar.jacoco.itReportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.itReportPath>
+		<sonar.phase>verify</sonar.phase>
+		<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
+	</properties>
 </project>

File galleria-jsf/pom.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>
-		<artifactId>info.galleria</artifactId>
-		<groupId>name.reynolds.vineet</groupId>
-		<version>0.0.1-SNAPSHOT</version>
-		<relativePath>..</relativePath>
-	</parent>
-	<artifactId>galleria-jsf</artifactId>
-	<packaging>war</packaging>
-	<description>The web module containing JSF facelets and managed beans.</description>
-	<properties>
-		<arquillian.version>1.0.0.CR7</arquillian.version>
-		<arquillian.glassfish-remote.version>1.0.0.CR3</arquillian.glassfish-remote.version>
-		<arquillian.drone.version>1.0.0.CR3</arquillian.drone.version>
-		<arquillian.jacoco.version>1.0.0.Alpha1</arquillian.jacoco.version>
-		<selenium.version>2.26.0</selenium.version>
-		<jacoco.version>0.5.3.201107060350</jacoco.version>
-		<jacoco.file.path>${project.build.directory}/jacoco.exec</jacoco.file.path>
-		<sonar.jacoco.itReportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.itReportPath>
-		<sonar.phase>integration-test</sonar.phase>
-		<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
-	</properties>
-	<dependencies>
-		<dependency>
-			<groupId>name.reynolds.vineet</groupId>
-			<artifactId>galleria-ejb</artifactId>
-			<type>jar</type>
-			<version>0.0.1-SNAPSHOT</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.slf4j</groupId>
-			<artifactId>slf4j-api</artifactId>
-			<version>1.5.6</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.slf4j</groupId>
-			<artifactId>slf4j-jdk14</artifactId>
-			<version>1.5.6</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.primefaces</groupId>
-			<artifactId>primefaces</artifactId>
-			<version>3.0.M2</version>
-		</dependency>
-		<dependency>
-			<!-- For use with the PrimeFaces file upload component -->
-			<groupId>commons-io</groupId>
-			<artifactId>commons-io</artifactId>
-			<version>1.4</version>
-		</dependency>
-		<dependency>
-			<!-- For use with the PrimeFaces file upload component -->
-			<groupId>commons-fileupload</groupId>
-			<artifactId>commons-fileupload</artifactId>
-			<version>1.2.1</version>
-		</dependency>
-		<!-- Dependencies for Arquillian. Version is from Arquillian BOM -->
-		<dependency>
-			<groupId>org.jboss.arquillian.junit</groupId>
-			<artifactId>arquillian-junit-container</artifactId>
-			<scope>test</scope>
-		</dependency>
-		<!-- Add dependencies to shrinkwrap-resolver APIs from the Arquillian BOM. 
-			Version is declared in BOM. -->
-		<dependency>
-			<groupId>org.jboss.shrinkwrap.resolver</groupId>
-			<artifactId>shrinkwrap-resolver-api</artifactId>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.jboss.shrinkwrap.resolver</groupId>
-			<artifactId>shrinkwrap-resolver-api-maven</artifactId>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.jboss.shrinkwrap.resolver</groupId>
-			<artifactId>shrinkwrap-resolver-impl-maven</artifactId>
-			<scope>test</scope>
-		</dependency>
-		<!-- Dependencies for Glassfish support in Arquillian -->
-		<dependency>
-			<groupId>org.jboss.arquillian.container</groupId>
-			<artifactId>arquillian-glassfish-remote-3.1</artifactId>
-			<version>${arquillian.glassfish-remote.version}</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<!-- Used to prevent java.lang.ClassFormatError: "Absent Code attribute 
-				in method that is not native or abstract in class file javax/mail/internet/ParseException" 
-				arising out of usage of javaee-6.0-api -->
-			<groupId>javax.mail</groupId>
-			<artifactId>mail</artifactId>
-			<version>1.4.4</version>
-		</dependency>
-		<!-- Arquillian Drone dependency. Starting with 1.0.0.CR1, the drone-impl 
-			and drone-webdriver dependencies are being imported as stated in the migration 
-			notes. -->
-		<dependency>
-		   <groupId>org.jboss.arquillian.extension</groupId>
-		   <artifactId>arquillian-drone-impl</artifactId>
-		   <version>${arquillian.drone.version}</version>
-		   <scope>test</scope>
-		</dependency>
-		<dependency>
-		   <groupId>org.jboss.arquillian.extension</groupId>
-		   <artifactId>arquillian-drone-webdriver</artifactId>
-		   <version>${arquillian.drone.version}</version>
-		   <scope>test</scope>
-		</dependency>
-		<!-- Selenium 2.5.0 to support Firefox 6.0 -->
-		<dependency>
-			<groupId>org.seleniumhq.selenium</groupId>
-			<artifactId>selenium-java</artifactId>
-			<version>${selenium.version}</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.seleniumhq.selenium</groupId>
-			<artifactId>selenium-server</artifactId>
-			<version>${selenium.version}</version>
-			<scope>test</scope>
-			<exclusions>
-				<exclusion>
-					<artifactId>servlet-api-2.5</artifactId>
-					<groupId>org.mortbay.jetty</groupId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-		<!-- Dependencies for DbUnit --> 
-		<dependency>
-			<groupId>org.dbunit</groupId>
-			<artifactId>dbunit</artifactId>
-			<version>2.4.8</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>commons-collections</groupId>
-			<artifactId>commons-collections</artifactId>
-			<version>3.2.1</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.derby</groupId>
-			<artifactId>derbyclient</artifactId>
-			<version>10.8.1.2</version>
-			<scope>test</scope>
-		</dependency>
-		<!-- Dependencies for code coverage in Arquillian using JaCoCo -->
-		<dependency>
-			<groupId>org.jacoco</groupId>
-			<artifactId>org.jacoco.core</artifactId>
-			<version>${jacoco.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>org.slf4j</groupId>
-			<artifactId>slf4j-simple</artifactId>
-			<version>1.5.6</version>
-			<scope>provided</scope>
-		</dependency>
-	</dependencies>
-	<build>		
-		<plugins>
-			<plugin>
-				<artifactId>maven-surefire-plugin</artifactId>
-				<version>2.7.1</version>
-				<configuration>
-					<excludes>
-						<exclude>**/*IntegrationSuite.java</exclude>
-						<exclude>**/*IntegrationTest.java</exclude>
-						<exclude>**/*ITCase.java</exclude>
-					</excludes>
-				</configuration>
-			</plugin>
-			<plugin>
-				<artifactId>maven-failsafe-plugin</artifactId>
-				<version>2.9</version>
-				<configuration>
-					<includes>
-						<!-- Used to include IntegrationSuite and ITCase classes during integration testing; 
-							avoiding the use of the default naming convention. Includes only suite classes 
-							for now as the startup of the embedded Glassfish container is CPU and disk 
-							intensive. -->
-						<include>**/*IntegrationSuite.java</include>
-						<include>**/*IntegrationTest.java</include>
-						<include>**/*ITCase.java</include>
-					</includes>
-				</configuration>
-				<executions>
-					<execution>
-						<goals>
-							<goal>integration-test</goal>
-							<goal>verify</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-		</plugins>
-	</build>
-	<repositories>
-		<repository>
-			<id>prime-repo</id>
-			<name>Prime Technology Maven Repository</name>
-			<url>http://repository.primefaces.org</url>
-			<layout>default</layout>
-		</repository>
-		<repository>
-			<id>jboss-public-repository-group</id>
-			<name>JBoss Public Maven Repository Group</name>
-			<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
-			<layout>default</layout>
-			<releases>
-				<enabled>true</enabled>
-				<updatePolicy>never</updatePolicy>
-			</releases>
-			<snapshots>
-				<enabled>true</enabled>
-				<updatePolicy>never</updatePolicy>
-			</snapshots>
-		</repository>
-		<repository>
-			<id>jboss-releases-repository-group</id>
-			<name>JBoss Releases Maven Repository Group</name>
-			<url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
-			<layout>default</layout>
-			<releases>
-				<enabled>true</enabled>
-				<updatePolicy>never</updatePolicy>
-			</releases>
-			<snapshots>
-				<enabled>false</enabled>
-				<updatePolicy>never</updatePolicy>
-			</snapshots>
-		</repository>
-	</repositories>
-	<profiles>
-		<profile>
-			<!-- Use a separate profile for starting and stopping Glassfish as the start-glassfish 
-				and stop-glassfish goals should not be run when tests are skipped. -->
-			<id>integration-test</id>
-			<build>
-				<plugins>
-					<plugin>
-						<groupId>org.glassfish.maven.plugin</groupId>
-						<artifactId>maven-glassfish-plugin</artifactId>
-						<version>2.1</version>
-						<configuration>
-							<user>${galleria.glassfish.testDomain.user}</user>
-							<passwordFile>${galleria.glassfish.testDomain.passwordFile}</passwordFile>
-							<glassfishDirectory>${galleria.glassfish.testDomain.glassfishDirectory}</glassfishDirectory>
-							<domain>
-								<name>${galleria.glassfish.testDomain.domainName}</name>
-								<adminPort>${galleria.glassfish.testDomain.adminPort}</adminPort>
-								<httpPort>${galleria.glassfish.testDomain.httpPort}</httpPort>
-								<httpsPort>${galleria.glassfish.testDomain.httpsPort}</httpsPort>
-							</domain>
-							<debug>true</debug>
-							<echo>true</echo>
-							<terse>false</terse>
-							<autoCreate>false</autoCreate>
-						</configuration>
-						<executions>
-							<execution>
-								<id>start-glassfish</id>
-								<phase>pre-integration-test</phase>
-								<goals>
-									<goal>start-domain</goal>
-								</goals>
-							</execution>
-							<execution>
-								<id>stop-glassfish</id>
-								<phase>post-integration-test</phase>
-								<goals>
-									<goal>stop-domain</goal>
-								</goals>
-							</execution>
-						</executions>
-					</plugin>
-				</plugins>
-			</build>
-		</profile>
-	</profiles>
-	<dependencyManagement>
-		<dependencies>
-			<!-- Dependencies for Arquillian -->
-			<dependency>
-				<groupId>org.jboss.arquillian</groupId>
-				<artifactId>arquillian-bom</artifactId>
-				<version>${arquillian.version}</version>
-				<type>pom</type>
-				<scope>import</scope>
-			</dependency>
-		</dependencies>
-	</dependencyManagement>
+<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>info.galleria</artifactId>
+		<groupId>name.reynolds.vineet</groupId>
+		<version>0.0.1</version>
+		<relativePath>..</relativePath>
+	</parent>
+	<artifactId>galleria-jsf</artifactId>
+	<packaging>war</packaging>
+	<description>The web module containing JSF facelets and managed beans.</description>
+	<properties>
+		<arquillian.version>1.0.0.CR7</arquillian.version>
+		<arquillian.glassfish-remote.version>1.0.0.CR3</arquillian.glassfish-remote.version>
+		<arquillian.drone.version>1.0.0.CR3</arquillian.drone.version>
+		<arquillian.jacoco.version>1.0.0.Alpha1</arquillian.jacoco.version>
+		<selenium.version>2.26.0</selenium.version>
+		<jacoco.version>0.5.3.201107060350</jacoco.version>
+		<jacoco.file.path>${project.build.directory}/jacoco.exec</jacoco.file.path>
+		<sonar.jacoco.itReportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.itReportPath>
+		<sonar.phase>integration-test</sonar.phase>
+		<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
+	</properties>
+	<dependencies>
+		<dependency>
+			<groupId>name.reynolds.vineet</groupId>
+			<artifactId>galleria-ejb</artifactId>
+			<type>jar</type>
+			<version>0.0.1</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-api</artifactId>
+			<version>1.5.6</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-jdk14</artifactId>
+			<version>1.5.6</version>
+			<scope>provided</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.primefaces</groupId>
+			<artifactId>primefaces</artifactId>
+			<version>3.0.M2</version>
+		</dependency>
+		<dependency>
+			<!-- For use with the PrimeFaces file upload component -->
+			<groupId>commons-io</groupId>
+			<artifactId>commons-io</artifactId>
+			<version>1.4</version>
+		</dependency>
+		<dependency>
+			<!-- For use with the PrimeFaces file upload component -->
+			<groupId>commons-fileupload</groupId>
+			<artifactId>commons-fileupload</artifactId>
+			<version>1.2.1</version>
+		</dependency>
+		<!-- Dependencies for Arquillian. Version is from Arquillian BOM -->
+		<dependency>
+			<groupId>org.jboss.arquillian.junit</groupId>
+			<artifactId>arquillian-junit-container</artifactId>
+			<scope>test</scope>
+		</dependency>
+		<!-- Add dependencies to shrinkwrap-resolver APIs from the Arquillian BOM. 
+			Version is declared in BOM. -->
+		<dependency>
+			<groupId>org.jboss.shrinkwrap.resolver</groupId>
+			<artifactId>shrinkwrap-resolver-api</artifactId>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.jboss.shrinkwrap.resolver</groupId>
+			<artifactId>shrinkwrap-resolver-api-maven</artifactId>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.jboss.shrinkwrap.resolver</groupId>
+			<artifactId>shrinkwrap-resolver-impl-maven</artifactId>
+			<scope>test</scope>
+		</dependency>
+		<!-- Dependencies for Glassfish support in Arquillian -->
+		<dependency>
+			<groupId>org.jboss.arquillian.container</groupId>
+			<artifactId>arquillian-glassfish-remote-3.1</artifactId>
+			<version>${arquillian.glassfish-remote.version}</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<!-- Used to prevent java.lang.ClassFormatError: "Absent Code attribute 
+				in method that is not native or abstract in class file javax/mail/internet/ParseException" 
+				arising out of usage of javaee-6.0-api -->
+			<groupId>javax.mail</groupId>
+			<artifactId>mail</artifactId>
+			<version>1.4.4</version>
+		</dependency>
+		<!-- Arquillian Drone dependency. Starting with 1.0.0.CR1, the drone-impl 
+			and drone-webdriver dependencies are being imported as stated in the migration 
+			notes. -->
+		<dependency>
+		   <groupId>org.jboss.arquillian.extension</groupId>
+		   <artifactId>arquillian-drone-impl</artifactId>
+		   <version>${arquillian.drone.version}</version>
+		   <scope>test</scope>
+		</dependency>
+		<dependency>
+		   <groupId>org.jboss.arquillian.extension</groupId>
+		   <artifactId>arquillian-drone-webdriver</artifactId>
+		   <version>${arquillian.drone.version}</version>
+		   <scope>test</scope>
+		</dependency>
+		<!-- Selenium 2.5.0 to support Firefox 6.0 -->
+		<dependency>
+			<groupId>org.seleniumhq.selenium</groupId>
+			<artifactId>selenium-java</artifactId>
+			<version>${selenium.version}</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.seleniumhq.selenium</groupId>
+			<artifactId>selenium-server</artifactId>
+			<version>${selenium.version}</version>
+			<scope>test</scope>
+			<exclusions>
+				<exclusion>
+					<artifactId>servlet-api-2.5</artifactId>
+					<groupId>org.mortbay.jetty</groupId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+		<!-- Dependencies for DbUnit --> 
+		<dependency>
+			<groupId>org.dbunit</groupId>
+			<artifactId>dbunit</artifactId>
+			<version>2.4.8</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>commons-collections</groupId>
+			<artifactId>commons-collections</artifactId>
+			<version>3.2.1</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.derby</groupId>
+			<artifactId>derbyclient</artifactId>
+			<version>10.8.1.2</version>
+			<scope>test</scope>
+		</dependency>
+		<!-- Dependencies for code coverage in Arquillian using JaCoCo -->
+		<dependency>
+			<groupId>org.jacoco</groupId>
+			<artifactId>org.jacoco.core</artifactId>
+			<version>${jacoco.version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-simple</artifactId>
+			<version>1.5.6</version>
+			<scope>provided</scope>
+		</dependency>
+	</dependencies>
+	<build>		
+		<plugins>
+			<plugin>
+				<artifactId>maven-surefire-plugin</artifactId>
+				<version>2.7.1</version>
+				<configuration>
+					<excludes>
+						<exclude>**/*IntegrationSuite.java</exclude>
+						<exclude>**/*IntegrationTest.java</exclude>
+						<exclude>**/*ITCase.java</exclude>
+					</excludes>
+				</configuration>
+			</plugin>
+			<plugin>
+				<artifactId>maven-failsafe-plugin</artifactId>
+				<version>2.9</version>
+				<configuration>
+					<includes>
+						<!-- Used to include IntegrationSuite and ITCase classes during integration testing; 
+							avoiding the use of the default naming convention. Includes only suite classes 
+							for now as the startup of the embedded Glassfish container is CPU and disk 
+							intensive. -->
+						<include>**/*IntegrationSuite.java</include>
+						<include>**/*IntegrationTest.java</include>
+						<include>**/*ITCase.java</include>
+					</includes>
+				</configuration>
+				<executions>
+					<execution>
+						<goals>
+							<goal>integration-test</goal>
+							<goal>verify</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+	<repositories>
+		<repository>
+			<id>prime-repo</id>
+			<name>Prime Technology Maven Repository</name>
+			<url>http://repository.primefaces.org</url>
+			<layout>default</layout>
+		</repository>
+		<repository>
+			<id>jboss-public-repository-group</id>
+			<name>JBoss Public Maven Repository Group</name>
+			<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
+			<layout>default</layout>
+			<releases>
+				<enabled>true</enabled>
+				<updatePolicy>never</updatePolicy>
+			</releases>
+			<snapshots>
+				<enabled>true</enabled>
+				<updatePolicy>never</updatePolicy>
+			</snapshots>
+		</repository>
+		<repository>
+			<id>jboss-releases-repository-group</id>
+			<name>JBoss Releases Maven Repository Group</name>
+			<url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
+			<layout>default</layout>
+			<releases>
+				<enabled>true</enabled>
+				<updatePolicy>never</updatePolicy>
+			</releases>
+			<snapshots>
+				<enabled>false</enabled>
+				<updatePolicy>never</updatePolicy>
+			</snapshots>
+		</repository>
+	</repositories>
+	<profiles>
+		<profile>
+			<!-- Use a separate profile for starting and stopping Glassfish as the start-glassfish 
+				and stop-glassfish goals should not be run when tests are skipped. -->
+			<id>integration-test</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.glassfish.maven.plugin</groupId>
+						<artifactId>maven-glassfish-plugin</artifactId>
+						<version>2.1</version>
+						<configuration>
+							<user>${galleria.glassfish.testDomain.user}</user>
+							<passwordFile>${galleria.glassfish.testDomain.passwordFile}</passwordFile>
+							<glassfishDirectory>${galleria.glassfish.testDomain.glassfishDirectory}</glassfishDirectory>
+							<domain>
+								<name>${galleria.glassfish.testDomain.domainName}</name>
+								<adminPort>${galleria.glassfish.testDomain.adminPort}</adminPort>
+								<httpPort>${galleria.glassfish.testDomain.httpPort}</httpPort>
+								<httpsPort>${galleria.glassfish.testDomain.httpsPort}</httpsPort>
+							</domain>
+							<debug>true</debug>
+							<echo>true</echo>
+							<terse>false</terse>
+							<autoCreate>false</autoCreate>
+						</configuration>
+						<executions>
+							<execution>
+								<id>start-glassfish</id>
+								<phase>pre-integration-test</phase>
+								<goals>
+									<goal>start-domain</goal>
+								</goals>
+							</execution>
+							<execution>
+								<id>stop-glassfish</id>
+								<phase>post-integration-test</phase>
+								<goals>
+									<goal>stop-domain</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
+	<dependencyManagement>
+		<dependencies>
+			<!-- Dependencies for Arquillian -->
+			<dependency>
+				<groupId>org.jboss.arquillian</groupId>
+				<artifactId>arquillian-bom</artifactId>
+				<version>${arquillian.version}</version>
+				<type>pom</type>
+				<scope>import</scope>
+			</dependency>
+		</dependencies>
+	</dependencyManagement>
 </project>
-<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>
-  <groupId>name.reynolds.vineet</groupId>
-  <artifactId>info.galleria</artifactId>
-  <version>0.0.1-SNAPSHOT</version>
-  <packaging>pom</packaging>
-  <name>Galleria</name>
-  <description>The Galleria project demonstrating use of Java EE 6</description>
-  <properties>
-		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-	</properties>
-	<dependencies>
-		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit</artifactId>
-			<version>4.8.2</version>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.mockito</groupId>
-			<artifactId>mockito-core</artifactId>  
-			<version>1.8.5</version> 
-			<scope>test</scope>
-  		</dependency>
-		<dependency>
-			<groupId>javax</groupId>
-			<artifactId>javaee-api</artifactId>
-			<version>6.0</version>
-			<scope>provided</scope>
-		</dependency>
-	</dependencies>
-	<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>
-		</plugins>
-	</build>
-	<modules>
-		<module>galleria-ear</module>
-		<module>galleria-ejb</module>
-		<module>galleria-jsf</module>
-	</modules>
-	<scm>
-		<connection>scm:hg:https://bitbucket.org/VineetReynolds/java-ee-6-galleria</connection>
-		<developerConnection>scm:hg:https://bitbucket.org/VineetReynolds/java-ee-6-galleria</developerConnection>
-		<url>https://bitbucket.org/VineetReynolds/java-ee-6-galleria</url>
-	</scm>
-	<issueManagement>
-		<system>BitBucket</system>
-		<url>https://bitbucket.org/VineetReynolds/java-ee-6-galleria/issues</url>
-	</issueManagement>
+<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>
+  <groupId>name.reynolds.vineet</groupId>
+  <artifactId>info.galleria</artifactId>
+  <version>0.0.1</version>
+  <packaging>pom</packaging>
+  <name>Galleria</name>
+  <description>The Galleria project demonstrating use of Java EE 6</description>
+  <properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+	</properties>
+	<dependencies>
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<version>4.8.2</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.mockito</groupId>
+			<artifactId>mockito-core</artifactId>  
+			<version>1.8.5</version> 
+			<scope>test</scope>
+  		</dependency>
+		<dependency>
+			<groupId>javax</groupId>
+			<artifactId>javaee-api</artifactId>
+			<version>6.0</version>
+			<scope>provided</scope>
+		</dependency>
+	</dependencies>
+	<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>
+		</plugins>
+	</build>
+	<modules>
+		<module>galleria-ear</module>
+		<module>galleria-ejb</module>
+		<module>galleria-jsf</module>
+	</modules>
+	<scm>
+		<connection>scm:hg:https://bitbucket.org/VineetReynolds/java-ee-6-galleria</connection>
+		<developerConnection>scm:hg:https://bitbucket.org/VineetReynolds/java-ee-6-galleria</developerConnection>
+		<url>https://bitbucket.org/VineetReynolds/java-ee-6-galleria</url>
+	</scm>
+	<issueManagement>
+		<system>BitBucket</system>
+		<url>https://bitbucket.org/VineetReynolds/java-ee-6-galleria/issues</url>
+	</issueManagement>
 </project>