You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2013/09/05 17:31:20 UTC

svn commit: r1520344 - /uima/build/trunk/uima-build-helper-maven-plugin/pom.xml

Author: schor
Date: Thu Sep  5 15:31:20 2013
New Revision: 1520344

URL: http://svn.apache.org/r1520344
Log:
[UIMA-3251][UIMA-3247] generate javadoc, avoid attaching source-release to maven uploads, revert to 7-SNAPSHOT for redoing release try.  These mods are added to this pom now but can be removed after v 7 of parent-pom released.  But need to release this before v 7 of parent pom, so parent pom can depend on this version.

Modified:
    uima/build/trunk/uima-build-helper-maven-plugin/pom.xml

Modified: uima/build/trunk/uima-build-helper-maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/uima-build-helper-maven-plugin/pom.xml?rev=1520344&r1=1520343&r2=1520344&view=diff
==============================================================================
--- uima/build/trunk/uima-build-helper-maven-plugin/pom.xml (original)
+++ uima/build/trunk/uima-build-helper-maven-plugin/pom.xml Thu Sep  5 15:31:20 2013
@@ -28,7 +28,7 @@
   </parent>
   
   <artifactId>uima-build-helper-maven-plugin</artifactId>
-  <version>8-SNAPSHOT</version>
+  <version>7-SNAPSHOT</version>
   <packaging>maven-plugin</packaging>
 
   <inceptionYear>2010</inceptionYear>
@@ -117,13 +117,44 @@
       </plugin>
     </plugins>
   </build>
- 
+
   <profiles>
     <profile>
       <id>apache-release</id>
       <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-javadoc-plugin</artifactId>
+              <executions>
+                <execution>
+                  <id>attach-javadocs</id>
+                  <goals>
+                    <goal>jar</goal>
+                  </goals>
+                  <!-- turn back on javadoc build for each module by default 
+                    https://issues.apache.org/jira/browse/UIMA-3251 -->
+                  <phase>package</phase>
+                </execution>
+              </executions>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+
         <plugins>
           <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>source-release-assembly</id>
+                <configuration>
+                  <attach>false</attach>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
             <artifactId>maven-changes-plugin</artifactId>
             <executions>
               <execution>
@@ -134,10 +165,10 @@
                 </configuration>
               </execution>
             </executions>
-          </plugin>     
+          </plugin>
         </plugins>
       </build>
-    </profile>    
+    </profile>
   </profiles>
   
 </project>