Author: [email protected]
Date: Wed Sep 14 17:44:31 2011
New Revision: 1363

Log:
AMDATU-413 Moved sources/javadoc into default active release profile

Modified:
   trunk/amdatu-parent/pom.xml

Modified: trunk/amdatu-parent/pom.xml
==============================================================================
--- trunk/amdatu-parent/pom.xml (original)
+++ trunk/amdatu-parent/pom.xml Wed Sep 14 17:44:31 2011
@@ -15,7 +15,8 @@
   limitations under the License.verning permissions and limitations
   under the License.
 -->
-<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>org.amdatu</groupId>
   <artifactId>amdatu</artifactId>
@@ -265,6 +266,7 @@
   </dependencies>
 
   <build>
+    <defaultGoal>install</defaultGoal>
     <pluginManagement>
       <plugins>
         <plugin>
@@ -417,11 +419,11 @@
         <artifactId>cobertura-maven-plugin</artifactId>
         <version>2.4</version>
         <configuration>
-          <!-- Aggregation is not yet supported in 2.4 but will be in 2.5.
+          <!-- 
+            Aggregation is not yet supported in 2.4 but will be in 2.5.
             See http://jira.codehaus.org/browse/MCOBERTURA-65
             <aggregate>true</aggregate>
           -->
-
           <formats>
             <format>html</format>
             <format>xml</format>
@@ -434,7 +436,8 @@
         <artifactId>findbugs-maven-plugin</artifactId>
         <version>2.3.2</version>
         <configuration>
-          <!-- Aggregation is not yet supported in 2.3.2.
+          <!-- 
+            Aggregation is not yet supported in 2.3.2.
             See http://jira.codehaus.org/browse/MFINDBUGS-37
             <aggregate>true</aggregate>
           -->
@@ -444,21 +447,20 @@
           <visitors>FindDeadLocalStores,UnreadFields</visitors>
         </configuration>
       </plugin>
-
     </plugins>
   </reporting>
 
   <profiles>
     <profile>
-      <id>itest</id>
-      <build>
-        <defaultGoal>install</defaultGoal>
-      </build>
-    </profile>
-    <profile>
-      <id>deploy</id>
+      <!--  
+        The release profile by default generates all binary, source, 
+        javadoc and assemblies
+      -->
+      <id>release</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
       <build>
-        <defaultGoal>deploy</defaultGoal>
         <plugins>
           <plugin>
             <artifactId>maven-javadoc-plugin</artifactId>
@@ -470,28 +472,26 @@
             <executions>
               <execution>
                 <id>attach-javadocs</id>
-                <phase>verify</phase>
+                <phase>install</phase>
                 <goals>
                   <goal>jar</goal>
                 </goals>
               </execution>
             </executions>
           </plugin>
-
           <plugin>
             <artifactId>maven-source-plugin</artifactId>
             <inherited>true</inherited>
             <executions>
               <execution>
                 <id>attach-sources</id>
-                <phase>verify</phase>
+                <phase>install</phase>
                 <goals>
                   <goal>jar</goal>
                 </goals>
               </execution>
             </executions>
           </plugin>
-
         </plugins>
       </build>
     </profile>
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits

Reply via email to