incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1209301 - /incubator/bval/trunk/bval-tck/pom.xml
Date Thu, 01 Dec 2011 23:13:05 GMT
Author: mbenson
Date: Thu Dec  1 23:13:04 2011
New Revision: 1209301

URL: http://svn.apache.org/viewvc?rev=1209301&view=rev
Log:
add m2e config, and more importantly, override the jboss repositories to point from repository.jboss.org/maven2
to repository.jboss.org/nexus/content/groups/public

Modified:
    incubator/bval/trunk/bval-tck/pom.xml

Modified: incubator/bval/trunk/bval-tck/pom.xml
URL: http://svn.apache.org/viewvc/incubator/bval/trunk/bval-tck/pom.xml?rev=1209301&r1=1209300&r2=1209301&view=diff
==============================================================================
--- incubator/bval/trunk/bval-tck/pom.xml (original)
+++ incubator/bval/trunk/bval-tck/pom.xml Thu Dec  1 23:13:04 2011
@@ -56,6 +56,41 @@
                 </configuration>
             </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-dependency-plugin
+        								</artifactId>
+        								<versionRange>
+        									[2.1,)
+        								</versionRange>
+        								<goals>
+        									<goal>copy</goal>
+        								</goals>
+        							</pluginExecutionFilter>
+        							<action>
+        								<ignore></ignore>
+        							</action>
+        						</pluginExecution>
+        					</pluginExecutions>
+        				</lifecycleMappingMetadata>
+        			</configuration>
+        		</plugin>
+        	</plugins>
+        </pluginManagement>
     </build>
 
     <profiles>
@@ -102,7 +137,10 @@
             </dependencies>
             <repositories>
                 <repository>
-                    <id>jboss-public-repository-group</id>
+                    <!--id>jboss-public-repository-group</id-->
+                    <!-- override settings from jboss dependencies
+                         which point to repository.jboss.org/maven2 -->
+                    <id>repository.jboss.org</id>
                     <name>JBoss Public Maven Repository Group</name>
                     <url>https://repository.jboss.org/nexus/content/groups/public/</url>
                     <layout>default</layout>
@@ -117,6 +155,24 @@
                         <checksumPolicy>warn</checksumPolicy>
                     </snapshots>
                 </repository>
+                <repository>
+                    <!-- override settings from jboss dependencies
+                         which point to repository.jboss.org/maven2 -->
+                    <id>jboss</id>
+                    <name>JBoss Public Maven Repository Group (again)</name>
+                    <url>https://repository.jboss.org/nexus/content/groups/public/</url>
+                    <layout>default</layout>
+                    <releases>
+                        <enabled>true</enabled>
+                        <updatePolicy>never</updatePolicy>
+                        <checksumPolicy>fail</checksumPolicy>
+                    </releases>
+                    <snapshots>
+                        <enabled>false</enabled>
+                        <updatePolicy>never</updatePolicy>
+                        <checksumPolicy>warn</checksumPolicy>
+                    </snapshots>
+                </repository>
             </repositories>
             <build>
                 <plugins>



Mime
View raw message