You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2006/09/05 20:00:06 UTC

svn commit: r440423 - /directory/branches/apacheds/1.0/pom.xml

Author: akarasulu
Date: Tue Sep  5 11:00:04 2006
New Revision: 440423

URL: http://svn.apache.org/viewvc?view=rev&rev=440423
Log:
fixing issue with maven and jdk 1.4 where antrun task in site phase was executed in install phase

Modified:
    directory/branches/apacheds/1.0/pom.xml

Modified: directory/branches/apacheds/1.0/pom.xml
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/pom.xml?view=diff&rev=440423&r1=440422&r2=440423
==============================================================================
--- directory/branches/apacheds/1.0/pom.xml (original)
+++ directory/branches/apacheds/1.0/pom.xml Tue Sep  5 11:00:04 2006
@@ -93,6 +93,40 @@
         <!-- extra for jdk 1.5 -->
 
       </modules>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-site-plugin</artifactId>
+          </plugin>
+          <plugin>
+            <inherited>false</inherited>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>1.1</version>
+            <executions>
+              <execution>
+                <phase>site</phase>
+                <configuration>
+                  <tasks>
+                    <javadoc destdir="target/site/docs/api" 
+                       use="true" 
+                       windowtitle="ApacheDS" 
+                       packagenames="org.apache.directory.server.*">
+                       <sourcepath>
+                         <dirset dir="." includes="*/src/main/java"/>
+                       </sourcepath>
+                     </javadoc>
+                  </tasks>
+                </configuration>
+                <goals>
+                  <goal>run</goal> 
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
     </profile>
 
     <profile>
@@ -241,44 +275,6 @@
     <name>Apache Software Foundation</name>
     <url>http://www.apache.org</url>
   </organization>
-
-  <build>
-    <plugins>
-      
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-      </plugin>
-      
-      <plugin>
-        <inherited>false</inherited>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.1</version>
-        <executions>
-          <execution>
-            <phase>site</phase>
-            <configuration>
-              <tasks>
-                <javadoc destdir="target/site/docs/api" 
-                         use="true" 
-                         windowtitle="ApacheDS" 
-                         packagenames="org.apache.directory.server.*">
-                  <sourcepath>
-                    <dirset dir="." includes="*/src/main/java"/>
-                  </sourcepath>
-                </javadoc>
-              </tasks>
-            </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-    </plugins>
-  </build>
 
   <reporting>
     <excludeDefaults>true</excludeDefaults>