[seam-commits] Seam SVN: r12698 - in modules/faces/trunk: api and 1 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri May 7 02:26:06 EDT 2010


Author: mgencur at redhat.com
Date: 2010-05-07 02:26:05 -0400 (Fri, 07 May 2010)
New Revision: 12698

Modified:
   modules/faces/trunk/api/pom.xml
   modules/faces/trunk/impl/pom.xml
   modules/faces/trunk/pom.xml
Log:
JBQA-3325, minor changes - plugin management

Modified: modules/faces/trunk/api/pom.xml
===================================================================
--- modules/faces/trunk/api/pom.xml	2010-05-07 06:11:57 UTC (rev 12697)
+++ modules/faces/trunk/api/pom.xml	2010-05-07 06:26:05 UTC (rev 12698)
@@ -29,5 +29,27 @@
 			</snapshots>
 		</repository>
 	</repositories>
+	
+	<profiles>
+		<profile>
+			<id>code-coverage</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.codehaus.mojo</groupId>
+						<artifactId>emma-maven-plugin</artifactId>
+					</plugin>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-surefire-plugin</artifactId>
+					</plugin>
+					<plugin>
+						<groupId>org.sonatype.maven.plugin</groupId>
+						<artifactId>emma4it-maven-plugin</artifactId>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
+	</profiles>
 
 </project>

Modified: modules/faces/trunk/impl/pom.xml
===================================================================
--- modules/faces/trunk/impl/pom.xml	2010-05-07 06:11:57 UTC (rev 12697)
+++ modules/faces/trunk/impl/pom.xml	2010-05-07 06:26:05 UTC (rev 12698)
@@ -1,4 +1,5 @@
-<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/maven-v4_0_0.xsd">
+<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/maven-v4_0_0.xsd">
 	<modelVersion>4.0.0</modelVersion>
 
 	<parent>
@@ -34,28 +35,32 @@
 		<dependency>
 			<groupId>javax.servlet</groupId>
 			<artifactId>servlet-api</artifactId>
-		</dependency>	
+		</dependency>
 		<dependency>
 			<artifactId>seam-faces-api</artifactId>
 			<groupId>org.jboss.seam.faces</groupId>
 			<version>${project.version}</version>
-			<scope>compile</scope> 
+			<scope>compile</scope>
 		</dependency>
 	</dependencies>
-  
-  	<profiles>
+
+	<profiles>
 		<profile>
 			<id>code-coverage</id>
 			<build>
-			  	<plugins>     
-					<plugin>      
+				<plugins>
+					<plugin>
 						<groupId>org.codehaus.mojo</groupId>
-					  	<artifactId>emma-maven-plugin</artifactId>
+						<artifactId>emma-maven-plugin</artifactId>
 					</plugin>
 					<plugin>
 						<groupId>org.apache.maven.plugins</groupId>
-					  	<artifactId>maven-surefire-plugin</artifactId>
+						<artifactId>maven-surefire-plugin</artifactId>
 					</plugin>
+					<plugin>
+						<groupId>org.sonatype.maven.plugin</groupId>
+						<artifactId>emma4it-maven-plugin</artifactId>
+					</plugin>
 				</plugins>
 			</build>
 		</profile>

Modified: modules/faces/trunk/pom.xml
===================================================================
--- modules/faces/trunk/pom.xml	2010-05-07 06:11:57 UTC (rev 12697)
+++ modules/faces/trunk/pom.xml	2010-05-07 06:26:05 UTC (rev 12698)
@@ -1,4 +1,5 @@
-<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">
+<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>
@@ -23,10 +24,9 @@
 	<modules>
 		<module>api</module>
 		<module>impl</module>
-		<!-- 
-		<module>docs/reference</module>
-		<module>examples/short-ly</module>
-		 -->
+		<!--
+			<module>docs/reference</module> <module>examples/short-ly</module>
+		-->
 	</modules>
 
 	<properties>
@@ -37,8 +37,8 @@
 		<weld.api.version>1.0-SP1</weld.api.version>
 		<junit.version>4.8.1</junit.version>
 		<slf4j.version>1.5.9.RC1</slf4j.version>
- 		<emma.maven.plugin.version>1.0-alpha-2</emma.maven.plugin.version>
-  		<emma4it.maven.plugin.version>1.3</emma4it.maven.plugin.version>
+		<emma.maven.plugin.version>1.0-alpha-2</emma.maven.plugin.version>
+		<emma4it.maven.plugin.version>1.3</emma4it.maven.plugin.version>
 	</properties>
 
 	<dependencyManagement>
@@ -147,69 +147,71 @@
 				</dependency>
 			</dependencies>
 		</profile>
-       	<profile>
-         	<id>code-coverage</id>
-         	<build>
-           		<plugins>     
-           			<plugin>      
-             			<groupId>org.codehaus.mojo</groupId>
-             			<artifactId>emma-maven-plugin</artifactId>
-             			<version>${emma.maven.plugin.version}</version>
-             			<inherited>true</inherited>          
-             			<executions>
-             				<execution>
-             					<id>instrumentation</id>
-             					<phase>process-classes</phase>               
-             					<goals>
-               						<goal>instrument</goal>
-             					</goals>
-             					<configuration>
-              						<verbose>true</verbose>
-             					</configuration>
-             				</execution>
-             				<execution>
-               					<id>cleaning</id>
-             					<phase>clean</phase>               
-             					<goals>
-               						<goal>clean</goal>
-             					</goals>
-             				</execution>
-             			</executions>
-           			</plugin>
-           
-		           	<plugin>
-		             	<groupId>org.apache.maven.plugins</groupId>
-		             	<artifactId>maven-surefire-plugin</artifactId>
-		             	<inherited>true</inherited>
-		             	<configuration>
-		             		<forkMode>once</forkMode>
-		             		<classesDirectory>${project.build.directory}/generated-classes/emma/classes</classesDirectory>    
-		             	</configuration>        
-		           	</plugin>
-           
-           			<plugin>
-		              	<groupId>org.sonatype.maven.plugin</groupId>
-		              	<artifactId>emma4it-maven-plugin</artifactId>
-		              	<version>${emma4it.maven.plugin.version}</version>
-		              	<executions>
-		              		<execution>
-		                		<id>report</id>
-		                		<phase>test</phase>
-		                		<goals>
-		                			<goal>report</goal>
-		                		</goals>
-		                		<configuration>
-		                			<sourceSets>
-		                				<sourceSet>
-		                  					<directory>${project.build.sourceDirectory}</directory>
-		                				</sourceSet>
-		                			</sourceSets>
-		                		</configuration>
-		              		</execution>
-		              	</executions>
-		           	</plugin>
-		        </plugins>
-		    </build>
+		<profile>
+			<id>code-coverage</id>
+			<build>
+				<pluginManagement>
+					<plugins>
+						<plugin>
+							<groupId>org.codehaus.mojo</groupId>
+							<artifactId>emma-maven-plugin</artifactId>
+							<version>${emma.maven.plugin.version}</version>
+							<inherited>true</inherited>
+							<executions>
+								<execution>
+									<id>instrumentation</id>
+									<phase>process-classes</phase>
+									<goals>
+										<goal>instrument</goal>
+									</goals>
+									<configuration>
+										<verbose>true</verbose>
+									</configuration>
+								</execution>
+								<execution>
+									<id>cleaning</id>
+									<phase>clean</phase>
+									<goals>
+										<goal>clean</goal>
+									</goals>
+								</execution>
+							</executions>
+						</plugin>
+
+						<plugin>
+							<groupId>org.apache.maven.plugins</groupId>
+							<artifactId>maven-surefire-plugin</artifactId>
+							<inherited>true</inherited>
+							<configuration>
+								<forkMode>once</forkMode>
+								<classesDirectory>${project.build.directory}/generated-classes/emma/classes</classesDirectory>
+							</configuration>
+						</plugin>
+
+						<plugin>
+							<groupId>org.sonatype.maven.plugin</groupId>
+							<artifactId>emma4it-maven-plugin</artifactId>
+							<version>${emma4it.maven.plugin.version}</version>
+							<executions>
+								<execution>
+									<id>report</id>
+									<phase>test</phase>
+									<goals>
+										<goal>report</goal>
+									</goals>
+									<configuration>
+										<sourceSets>
+											<sourceSet>
+												<directory>${project.build.sourceDirectory}</directory>
+											</sourceSet>
+										</sourceSets>
+									</configuration>
+								</execution>
+							</executions>
+						</plugin>
+					</plugins>
+				</pluginManagement>
+			</build>
 		</profile>
 	</profiles>
 



More information about the seam-commits mailing list