Archiva

Publish the reference docs for 1.0

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0
  • Fix Version/s: 1.0
  • Component/s: Documentation
  • Labels:
    None
  • Number of attachments :
    0

Description

The javadocs and other reports for Archiva 1.0 need to be published at http://maven.apache.org/archiva/ref/1.0 .

Issue Links

Activity

Hide
Wendy Smoak added a comment -

From both the 1.0 tag and archiva/trunk, 'mvn site' results in

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error configuring: org.apache.maven.plugins:maven-war-plugin. Reason: ERROR: Cannot override read-only parameter: classesDirectory in goal: war:inplace
[INFO] ------------------------------------------------------------------------

Related thread: http://www.nabble.com/Trouble-with-%27mvn-site%27-for-archiva-trunk-td14550166s177.html

Show
Wendy Smoak added a comment - From both the 1.0 tag and archiva/trunk, 'mvn site' results in
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error configuring: org.apache.maven.plugins:maven-war-plugin. Reason: ERROR: Cannot override read-only parameter: classesDirectory in goal: war:inplace
[INFO] ------------------------------------------------------------------------
Related thread: http://www.nabble.com/Trouble-with-%27mvn-site%27-for-archiva-trunk-td14550166s177.html
Hide
Wendy Smoak added a comment -

Archiva 1.0 reference docs published from the tag with the following changes:

svn co http://svn.apache.org/repos/asf/maven/archiva/tags/archiva-1.0
cd archiva-1.0

Index: archiva-web/pom.xml
===================================================================
--- archiva-web/pom.xml (revision 607509)
+++ archiva-web/pom.xml (working copy)
@@ -31,7 +31,6 @@
   <modules>
     <module>archiva-applet</module>
     <module>archiva-security</module>
-    <module>archiva-webapp</module>
     <module>archiva-standalone</module>
   </modules>
 
Index: pom.xml
===================================================================
--- pom.xml     (revision 607509)
+++ pom.xml     (working copy)
@@ -729,16 +729,14 @@
   </dependencyManagement>
   <reporting>
     <plugins>
-      <!-- This breaks site generation with 'cobertura.ser does not exist'
-           in the archiva-signature-consumers and archiva-applet modules. 
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>cobertura-maven-plugin</artifactId>
-        <version>2.0</version>
+        <version>2.2</version>
       </plugin>
-      -->
       <plugin>
         <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.1</version>
         <configuration>
           <configLocation>config/maven_checks.xml</configLocation>
         </configuration>
@@ -912,7 +910,7 @@
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>${siteBaseDeployment}/reports/</url>
+      <url>${siteBaseDeployment}/ref/1.0</url>
     </site>
   </distributionManagement>
 </project>

mvn site-deploy

ssh people.apache.org
cd /www/maven.apache.org/archiva/ref
rm current
ln -s 1.0 current

Show
Wendy Smoak added a comment - Archiva 1.0 reference docs published from the tag with the following changes: svn co http://svn.apache.org/repos/asf/maven/archiva/tags/archiva-1.0 cd archiva-1.0
Index: archiva-web/pom.xml
===================================================================
--- archiva-web/pom.xml (revision 607509)
+++ archiva-web/pom.xml (working copy)
@@ -31,7 +31,6 @@
   <modules>
     <module>archiva-applet</module>
     <module>archiva-security</module>
-    <module>archiva-webapp</module>
     <module>archiva-standalone</module>
   </modules>
 
Index: pom.xml
===================================================================
--- pom.xml     (revision 607509)
+++ pom.xml     (working copy)
@@ -729,16 +729,14 @@
   </dependencyManagement>
   <reporting>
     <plugins>
-      <!-- This breaks site generation with 'cobertura.ser does not exist'
-           in the archiva-signature-consumers and archiva-applet modules. 
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>cobertura-maven-plugin</artifactId>
-        <version>2.0</version>
+        <version>2.2</version>
       </plugin>
-      -->
       <plugin>
         <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.1</version>
         <configuration>
           <configLocation>config/maven_checks.xml</configLocation>
         </configuration>
@@ -912,7 +910,7 @@
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>${siteBaseDeployment}/reports/</url>
+      <url>${siteBaseDeployment}/ref/1.0</url>
     </site>
   </distributionManagement>
 </project>
mvn site-deploy ssh people.apache.org cd /www/maven.apache.org/archiva/ref rm current ln -s 1.0 current

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: