[jboss-svn-commits] JBL Code SVN: r11013 - labs/jbossbuild/jboss-parent/trunk.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Apr 16 11:03:35 EDT 2007
Author: pgier
Date: 2007-04-16 11:03:35 -0400 (Mon, 16 Apr 2007)
New Revision: 11013
Modified:
labs/jbossbuild/jboss-parent/trunk/pom.xml
Log:
JBBUILD-338; Removed scm configuration so that child poms will be required to set their own scm configuration during a release.
Modified: labs/jbossbuild/jboss-parent/trunk/pom.xml
===================================================================
--- labs/jbossbuild/jboss-parent/trunk/pom.xml 2007-04-16 15:02:47 UTC (rev 11012)
+++ labs/jbossbuild/jboss-parent/trunk/pom.xml 2007-04-16 15:03:35 UTC (rev 11013)
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
-A parent pom with default settings for jboss projects.
-Each jboss project should have something similar to the following lines in their pom file.
-<parent>
- <groupId>jboss</groupId>
- <artifactId>jboss-parent</artifactId>
- <version>2</version>
-</parent>
-
-To build this project maven 2 should be installed and "mvn" should be in the system path. From the command line
-run "mvn". This will run the default build goal "install".
--->
+ - A parent pom with default settings for jboss projects.
+ - Each jboss project should have something similar to the following lines in their pom file.
+ - <parent>
+ - <groupId>jboss</groupId>
+ - <artifactId>jboss-parent</artifactId>
+ - <version>2</version>
+ - </parent>
+ -
+ - To build this project maven 2 should be installed and "mvn" should be in the system path. From the command line
+ - run "mvn". This will run the default build goal "install".
+ -->
<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">
@@ -30,10 +30,15 @@
<system>jira</system>
<url>http://jira.jboss.com/</url>
</issueManagement>
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/trunk/</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/trunk/</developerConnection>
- </scm>
+ <!--
+ - The parent pom should not include scm configuration, because we don't want child projects
+ - to inherit this information. The child projects should each set their own repository URL
+ - <scm>
+ - <connection>scm:svn:http://anonsvn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/trunk/</connection>
+ - <developerConnection>scm:svn:https://svn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/trunk/</developerConnection>
+ - </scm>
+ - This section should stay commented out.
+ -->
<licenses>
<license>
<name>lgpl</name>
@@ -58,14 +63,15 @@
<artifactId>maven-release-plugin</artifactId>
<configuration>
<!-- The tagBase property is needed during the release process so that the maven release plugin
- will create the release tag in the appropriate location. -->
+ - will create the release tag in the appropriate location. -->
<tagBase>https://svn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/tags/</tagBase>
</configuration>
+ <inherited>false</inherited>
</plugin>
<!-- define how we want compilation to take place
- here, we accept most of the defaults but say that we want the
- optimization flag set, and define the source and target to be 1.5,
- these setting will be inherited by child projects -->
+ - here, we accept most of the defaults but say that we want the
+ - optimization flag set, and define the source and target to be 1.5,
+ - these setting will be inherited by child projects -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
@@ -221,7 +227,8 @@
</pluginRepositories>
<distributionManagement>
<repository>
- <!-- Copy the distribution jar file to a local checkout of the maven repository -->
+ <!-- Copy the distribution jar file to a local checkout of the maven repository
+ - This variable can be set in $MAVEN_HOME/conf/settings.xml -->
<id>cvs-file-repository</id>
<url>file://${maven.repository.root}</url>
</repository>
More information about the jboss-svn-commits
mailing list