[jboss-svn-commits] JBL Code SVN: r10405 - labs/jbossbuild/jboss-parent/trunk.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Mar 21 15:52:51 EDT 2007


Author: pgier
Date: 2007-03-21 15:52:51 -0400 (Wed, 21 Mar 2007)
New Revision: 10405

Modified:
   labs/jbossbuild/jboss-parent/trunk/pom.xml
Log:
Creating version 2-SNAPSHOT of the parent.  Added eclipse plugin configuration.

Modified: labs/jbossbuild/jboss-parent/trunk/pom.xml
===================================================================
--- labs/jbossbuild/jboss-parent/trunk/pom.xml	2007-03-21 19:31:36 UTC (rev 10404)
+++ labs/jbossbuild/jboss-parent/trunk/pom.xml	2007-03-21 19:52:51 UTC (rev 10405)
@@ -1,25 +1,27 @@
 <?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>1</version>
-	</parent>
+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".
+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">
+<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>
   <groupId>jboss</groupId>
-  <version>1</version>
+  <version>2-SNAPSHOT</version>
   <artifactId>jboss-parent</artifactId>
   <packaging>pom</packaging>
   <name>JBoss Parent POM</name>
-  <description>Parent POM for all JBoss Projects.  Provides default project build configuration.</description>
+  <description>Parent POM for all JBoss Projects. Provides default project build
+    configuration.</description>
   <url>http://www.jboss.org</url>
   <prerequisites>
     <maven>2.0</maven>
@@ -27,12 +29,12 @@
   <issueManagement>
     <system>jira</system>
     <url>http://jira.jboss.com/</url>
-  </issueManagement>  
+  </issueManagement>
   <licenses>
-   <license>
+    <license>
       <name>lgpl</name>
       <url>http://repository.jboss.com/licenses/lgpl.txt</url>
-   </license>
+    </license>
   </licenses>
   <organization>
     <name>JBoss Inc.</name>
@@ -42,30 +44,31 @@
     <defaultGoal>install</defaultGoal>
     <plugins>
       <!-- 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>
-        <version>2.0</version>
-          <configuration>
-              <optimize>true</optimize>
-              <source>1.5</source>
-              <target>1.5</target>
-          </configuration>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+          <showDeprecation>true</showDeprecation>
+          <showWarnings>true</showWarnings>
+          <optimize>true</optimize>
+        </configuration>
       </plugin>
       <!-- define that we wish to create src jars -->
       <plugin>
         <artifactId>maven-source-plugin</artifactId>
         <inherited>true</inherited>
-         <executions>
+        <executions>
           <execution>
             <goals>
               <goal>jar</goal>
             </goals>
           </execution>
         </executions>
-      </plugin> 
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
@@ -79,6 +82,14 @@
           </archive>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-eclipse-plugin</artifactId>
+        <configuration>
+          <downloadSources>true</downloadSources>
+          <buildOutputDirectory>target/eclipse-classes</buildOutputDirectory>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
   <repositories>
@@ -93,15 +104,15 @@
     </repository>
   </repositories>
   <pluginRepositories>
-     <pluginRepository>
-        <id>jbosspluginrepo</id>
-        <name>JBoss Plugin Repository</name>
-        <url>http://repository.jboss.com/maven2</url>
-        <layout>default</layout>
-        <snapshots>
-          <enabled>true</enabled>
-        </snapshots>
-     </pluginRepository>
+    <pluginRepository>
+      <id>jbosspluginrepo</id>
+      <name>JBoss Plugin Repository</name>
+      <url>http://repository.jboss.com/maven2</url>
+      <layout>default</layout>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </pluginRepository>
   </pluginRepositories>
   <distributionManagement>
     <repository>
@@ -110,4 +121,4 @@
       <url>file://${maven.cvs.root}</url>
     </repository>
   </distributionManagement>
-</project>
+</project>
\ No newline at end of file




More information about the jboss-svn-commits mailing list