You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Reinhard Pötz <re...@apache.org> on 2011/07/01 12:15:03 UTC

Publishing the C3 javadocs

On 07/01/2011 11:26 AM, simonetripodi@apache.org wrote:
> Author: simonetripodi
> Date: Fri Jul  1 09:26:08 2011
> New Revision: 1141888
>
> URL: http://svn.apache.org/viewvc?rev=1141888&view=rev
> Log:
> described how to release apidocs
>
> Modified:
>      cocoon/cocoon3/trunk/RELEASE_HOWTO.txt
>
> Modified: cocoon/cocoon3/trunk/RELEASE_HOWTO.txt
> URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/RELEASE_HOWTO.txt?rev=1141888&r1=1141887&r2=1141888&view=diff
> ==============================================================================
> --- cocoon/cocoon3/trunk/RELEASE_HOWTO.txt (original)
> +++ cocoon/cocoon3/trunk/RELEASE_HOWTO.txt Fri Jul  1 09:26:08 2011
> @@ -1,8 +1,6 @@
>   HOWTO RELEASE COCOON 3: Preparations
>   ------------------------------------
>
> -Note: The Cocoon release process still uploads the artifacts to people.apache.org:/x1/www/people.apache.org/builds/cocoon/ This should be changed to use the Apache Nexus installation
> -
>   * check your workstation's settings as described at http://cocoon.apache.org/1199_1_1.html (step 1)
>
>   * update src/main/changes/changes.xml and src/main/site/apt/download.apt in the 'cocoon-docs' module
> @@ -62,11 +60,19 @@ HOWTO RELEASE COCOON 3: After a successf
>     and call
>
>       'svn up'.
> -
> -* update the website
>
>   * upload the Javadocs
>
> +  That's a manual operation, once created the release package, compress the
> +
> +   cocoon-all/target/apidocs
> +
> +  Then upload the compressed file on p.a.o:
> +
> +    scp apidocs.zip asfusername@p.a.o:/x1/www/cocoon.apache.org/3.0
> +
> +  Then login on remote machine and decompress
> +

FYI: The javadocs are also added to the distribution artifacts and 
automatically contain the correct version number.

-- 
Reinhard Pötz         Founder & Managing Director, Indoqa and Deepsearch
                         http://www.indoqa.com/people/reinhard-poetz.html

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member                  reinhard@apache.org
________________________________________________________________________

       Furthermore, I think Oracle has to honor the JSPA agreement.
     http://s.apache.org/JCPIsDead       http://s.apache.org/tck-trap

Re: [C3] Build warnings from duplicate javacc-maven-plugin definition

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 01/07/2011 14:50, Hugh Sparks wrote:
> [Cocoon trunk, SVN 1131615]
> There are two identical plugin definitions in parent/pom.xml:
> ...
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>javacc-maven-plugin</artifactId>
> <version>2.6</version>
> </plugin>
> ...
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>javacc-maven-plugin</artifactId>
> <version>2.6</version>
> </plugin>
> ...
>
> Maven complains during the build:
>
>    [WARNING] Some problems were encountered while building the effective
> model for
>        org.apache.cocoon.parent:cocoon-parent:pom:3.0.0-beta-1-SNAPSHOT
>    [WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)'
>        must be unique but found duplicate declaration of plugin
>        org.codehaus.mojo:javacc-maven-plugin @ line 713, column 17
>    [WARNING]
>    [WARNING] It is highly recommended to fix these problems because they
>        threaten the stability of your build.
>    [WARNING]
>    [WARNING] For this reason, future Maven versions might no longer 
> support
>        building such malformed projects.

I should have corrected most of these warnings right now (revision 1141927).

-- 
Francesco Chicchiriccò

Apache Cocoon Committer and PMC Member
http://people.apache.org/~ilgrosso/


[C3] Build warnings from duplicate javacc-maven-plugin definition

Posted by Hugh Sparks <hu...@csparks.com>.
[Cocoon trunk, SVN 1131615]
There are two identical plugin definitions in parent/pom.xml:
 ...
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>javacc-maven-plugin</artifactId>
          <version>2.6</version>
        </plugin>
 ...
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>javacc-maven-plugin</artifactId>
          <version>2.6</version>
        </plugin>
...

Maven complains during the build:

    [WARNING] Some problems were encountered while building the effective
model for
        org.apache.cocoon.parent:cocoon-parent:pom:3.0.0-beta-1-SNAPSHOT
    [WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)'
        must be unique but found duplicate declaration of plugin
        org.codehaus.mojo:javacc-maven-plugin @ line 713, column 17
    [WARNING]
    [WARNING] It is highly recommended to fix these problems because they
        threaten the stability of your build.
    [WARNING]
    [WARNING] For this reason, future Maven versions might no longer support
        building such malformed projects.

-Hugh Sparks