[jboss-svn-commits] JBoss Common SVN: r2266 - jbossxb/trunk.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Feb 7 11:34:08 EST 2007


Author: pgier
Date: 2007-02-07 11:34:07 -0500 (Wed, 07 Feb 2007)
New Revision: 2266

Modified:
   jbossxb/trunk/pom.xml
Log:
[JBBUILD-337] Changed jbossxb pom.xml so that it inherits some default configuration from jboss-parent.

Modified: jbossxb/trunk/pom.xml
===================================================================
--- jbossxb/trunk/pom.xml	2007-02-07 16:21:14 UTC (rev 2265)
+++ jbossxb/trunk/pom.xml	2007-02-07 16:34:07 UTC (rev 2266)
@@ -1,24 +1,17 @@
 <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">
+  <parent>
+    <groupId>jboss</groupId>
+    <artifactId>jboss-parent</artifactId>
+    <version>1</version>
+  </parent>
   <modelVersion>4.0.0</modelVersion>
-  <groupId>jboss</groupId>
   <artifactId>jbossxb</artifactId>
   <packaging>jar</packaging>
-  <version>1.0.0.snapshot</version>
+  <version>1.0.0-SNAPSHOT</version>
   <name>JBoss XML Binding</name>
   <url>http://www.jboss.org</url>
   <description>JBoss XML Binding</description>
-  <licenses>
-    <license>
-      <name>lgpl</name>
-      <url>http://repository.jboss.com/licenses/lgpl.txt</url>
-    </license>
-  </licenses>
-  <organization>
-    <name>JBoss Inc.</name>
-    <url>http://www.jboss.org</url>
-  </organization>
-  
   <repositories>
     <repository>
       <id>jboss</id>
@@ -30,37 +23,9 @@
       </snapshots>
     </repository>
   </repositories>
-  
-  <pluginRepositories>
-    <pluginRepository>
-      <id>jbosspluginrepo</id>
-      <name>jboss plugin repository</name>
-      <url>http://repository.jboss.com/maven2</url>
-      <layout>default</layout>
-      <snapshots>
-        <enabled>false</enabled>
-        <updatePolicy>never</updatePolicy>
-      </snapshots>
-    </pluginRepository>
-    <pluginRepository>
-      <id>central</id>
-      <name>LSU maven2 mirror</name>
-        <!-- <url>http://ibiblio.lsu.edu/main/pub/packages/maven2</url> -->
-        <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
-      <layout>default</layout>
-      <snapshots>
-        <enabled>false</enabled>
-        <updatePolicy>never</updatePolicy>
-      </snapshots>
-    </pluginRepository>
-  </pluginRepositories>
-  
-  
   <build>
-    <sourceDirectory>src/main/java</sourceDirectory>
     <finalName>jboss-xml-binding</finalName>
     <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.4,
@@ -74,39 +39,7 @@
           <target>1.4</target>
         </configuration>
       </plugin>  
-      
-      <!-- define that we wish to create src jars -->
       <plugin>
-        <artifactId>maven-source-plugin</artifactId>
-        <inherited>true</inherited>
-        <executions>
-          <execution>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>     
-      
-      <!-- describe the jarring process -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>jar</goal>
-            </goals>
-          </execution>
-        </executions>
-        <!--
-          <configuration>
-          <jarName>jboss-xml-binding</jarName>
-          </configuration>
-        -->
-      </plugin>
-      
-      <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
           <printSummary>true</printSummary>
@@ -123,8 +56,7 @@
         <artifactId>maven-surefire-report-plugin</artifactId>
       </plugin>    
     </plugins>
-  </build>
-  
+  </build>  
   <dependencies>
     <dependency>
       <groupId>jboss</groupId>
@@ -180,8 +112,7 @@
       <version>1.0.2</version>
       <scope>compile</scope>
     </dependency> 
-  </dependencies>  
-  
+  </dependencies>
   <distributionManagement>
     <repository>
       <id>cvs-file-repository</id>




More information about the jboss-svn-commits mailing list