The proposed release artifacts of all the modules that we vote on (see the seperate voting thread) are available at http://people.apache.org/builds/cocoon/

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 -

In order to test the archetypes

 - cocoon-22-archetype-block-1.0.0-RC2
 - cocoon-22-archetype-webapp-1.0.0-RC2
 - cocoon-22-archetype-block-plain-1.0.0-RC2

append -DremoteRepositories=http://people.apache.org/builds/cocoon/ to your "mvn archetype:create" commands, e.g.

mvn archetype:create
  -DarchetypeGroupId=org.apache.cocoon
  -DarchetypeArtifactId=cocoon-22-archetype-block
  -DarchetypeVersion=1.0.0-RC2
  -DgroupId=com.mycompany
  -DartifactId=myBlock
  -DremoteRepositories=http://people.apache.org/builds/cocoon/

The commands to use the archetypes and explanations of what they are for can be
found at http://cocoon.apache.org/2.2/maven-plugins/ (Note: Make sure that you set the correct archetypeVersion parameter!).

--
Reinhard Pötz                            Managing Director, {Indoqa} GmbH
                          http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair        [EMAIL PROTECTED]
_________________________________________________________________________

Reply via email to