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

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Apr 3 15:35:58 EDT 2007


Author: pgier
Date: 2007-04-03 15:35:58 -0400 (Tue, 03 Apr 2007)
New Revision: 10724

Modified:
   labs/jbossbuild/jboss-parent/trunk/pom.xml
Log:
Changed the release profile so that javadocs are not deployed as a jar during release.  
Removed the eclipse plugin configuration - for now the eclipse plugin can be run from the command line.

Modified: labs/jbossbuild/jboss-parent/trunk/pom.xml
===================================================================
--- labs/jbossbuild/jboss-parent/trunk/pom.xml	2007-04-03 19:05:57 UTC (rev 10723)
+++ labs/jbossbuild/jboss-parent/trunk/pom.xml	2007-04-03 19:35:58 UTC (rev 10724)
@@ -66,10 +66,12 @@
       </plugin>
       <!-- define that we wish to create src jars -->
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-source-plugin</artifactId>
         <inherited>true</inherited>
         <executions>
           <execution>
+            <id>attach-sources</id>
             <goals>
               <goal>jar</goal>
             </goals>
@@ -89,14 +91,6 @@
           </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>
     <pluginManagement>
       <plugins>
@@ -118,6 +112,30 @@
       </plugins>
     </pluginManagement>
   </build>
+  <profiles>
+    <!-- The default maven release-profile is redefined here. -->
+    <profile>
+      <id>release-profile</id>
+      <activation>
+        <property>
+          <name>performRelease</name>
+          <value>true</value>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <inherited>true</inherited>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+              <updateReleaseInfo>true</updateReleaseInfo>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <repositories>
     <repository>
       <id>jboss</id>




More information about the jboss-svn-commits mailing list