maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r811684 - in /maven/jxr/trunk/maven-jxr-plugin: pom.xml src/it/simple-project/pom.xml
Date Sat, 05 Sep 2009 17:34:57 GMT
Author: olamy
Date: Sat Sep  5 17:34:57 2009
New Revision: 811684

URL: http://svn.apache.org/viewvc?rev=811684&view=rev
Log:
fix it for maven 3

Modified:
    maven/jxr/trunk/maven-jxr-plugin/pom.xml
    maven/jxr/trunk/maven-jxr-plugin/src/it/simple-project/pom.xml

Modified: maven/jxr/trunk/maven-jxr-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/pom.xml?rev=811684&r1=811683&r2=811684&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/pom.xml (original)
+++ maven/jxr/trunk/maven-jxr-plugin/pom.xml Sat Sep  5 17:34:57 2009
@@ -48,6 +48,7 @@
 
   <properties>
     <mavenVersion>2.0.6</mavenVersion>
+    <sitePluginVersion>2.0.1</sitePluginVersion>
   </properties>
 
   <prerequisites>
@@ -153,7 +154,6 @@
                 <goal>site</goal>
               </goals>
               <settingsFile>src/it/settings.xml</settingsFile>
-              <debug>true</debug>
             </configuration>
             <executions>
               <execution>
@@ -168,6 +168,20 @@
         </plugins>
       </build>
     </profile>
+    
+    <profile>
+      <id>maven-3</id>
+      <activation>
+        <file>
+          <!-- This employs that the basedir expression is only recognized by Maven 3.x
(see MNG-2363) -->
+          <exists>${basedir}</exists>
+        </file>
+      </activation>
+      <properties>
+        <sitePluginVersion>3.0-beta-1-SNAPSHOT</sitePluginVersion>
+      </properties>
+    </profile>     
+    
   </profiles>  
   
 </project>
\ No newline at end of file

Modified: maven/jxr/trunk/maven-jxr-plugin/src/it/simple-project/pom.xml
URL: http://svn.apache.org/viewvc/maven/jxr/trunk/maven-jxr-plugin/src/it/simple-project/pom.xml?rev=811684&r1=811683&r2=811684&view=diff
==============================================================================
--- maven/jxr/trunk/maven-jxr-plugin/src/it/simple-project/pom.xml (original)
+++ maven/jxr/trunk/maven-jxr-plugin/src/it/simple-project/pom.xml Sat Sep  5 17:34:57 2009
@@ -42,6 +42,11 @@
         <artifactId>maven-jxr-plugin</artifactId>
         <version>@pom.version@</version>
       </plugin>    
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>@sitePluginVersion@</version>
+      </plugin>
     </plugins>
   </build>
   <reporting>



Mime
View raw message