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 Poetz <re...@apache.org> on 2007/06/28 08:16:00 UTC

[test] Cocoon 2.2-RC1 & others (take 3)

If you have already tested the RC1 release (take 1 or take 2), you have to 
remove the artifacts from your local repository. Otherwise Maven won't download 
them  again.

                                       - o -

The proposed release artifacts are available at
http://people.apache.org/builds/cocoon/.

Except for the archetypes the easiest way to test the artifacts is by adding a
"cocoon-staging" profile to your ~/.m2/settings.xml:

<settings>
   <profiles>
     <profile>
       <id>cocoon-staging</id>
         <repositories>
           <repository>
             <id>cocoon.staging</id>
             <name>Cocoon staging repository</name>
             <url>http://people.apache.org/builds/cocoon</url>
           </repository>
         </repositories>
         <pluginRepositories>
           <pluginRepository>
             <id>cocoon.staging</id>
             <name>Cocoon staging repository</name>
             <url>http://people.apache.org/builds/cocoon</url>
           </pluginRepository>
         </pluginRepositories>
     </profile>
   </profiles>
</settings>

Then change the version number of the artifacts that you use in your POMs
to the number of the proposed artifact and append "-P cocoon-staging" to all
your Maven commands, e.g.

mvn install -P cocoon-staging

                                       - o -

Because of a bug with the Maven archetyp feature, using profiles doesn't work 
with the Maven archetype goal. In order to test them you can either check them 
out from SVN

http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/cocoon-22-archetype-block/cocoon-22-archetype-block-1.0.0-RC1
http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/cocoon-22-archetype-webapp/cocoon-22-archetype-webapp-1.0.0-RC1
http://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/cocoon-22-archetype-block-plain/cocoon-22-archetype-block-plain-1.0.0-RC1

or use the latest version from SVN and change the version numbers of the 
dependencies to the numbers of the proposed modules.

The commands to use the archetypes and explanations of what they are for can be
found at http://cocoon.zones.apache.org/daisy/cdocs/g2/g5/g1/1208.html.

                                       - o -

I also want to draw your attention to
http://cocoon.zones.apache.org/daisy/cdocs/g2/g1/g2/1370.html which contains
references to 4 tutorials that help you to get started with Cocoon 2.2 and also
help to test the release artifacts. Again, make sure that you use the
cocoon-staging profile for all your commands as explained above. Otherwise the
referenced artifacts can't be found.

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------