It took me a while but now I finished the creation of all release
artifacts for a Cocoon 3 alpha-1 release. Since this is the initial
creation of Maven artifacts and distribution files, I don't call for a
vote at this point of time but rather want to wait for some feedback.
I would like to ask you to check the release artifacts whether they meet
the legal requirements (checksums, pgp signatures, license files,
notice files) of the ASF.
If you already use Cocoon 3 libraries in your project, please test them
using the proposed release artifacts.
If you haven't used Cocoon 3 yet, it would be great if you tried out the
Maven archetypes.
- o -
Here are some instructions where you can find the distribution files,
find and use the Maven artifacts and how to invoke the available Maven
archetypes:
Distribution
.......................................................................
Find zip and tar.gz distribution assemblies at
http://people.apache.org/~reinhard/cocoon-staging/
Note that I added a WARNING.txt file to the root directory that explains
our understanding of alpha software.
I would also be interested in some feedback about the content of the
distribution files. Currently they contain the sources, javadocs and the
docs.
Maven artifacts
.......................................................................
Maven artifacts are available at http://people.apache.org/builds/cocoon/
If you want to use Cocoon 3, add this location as an additional
repository to your settings:
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<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>
</settings>
and use it: e.g.
mvn install -P cocoon-staging
Maven archetypes
........................................................................
There are also 4 archetypes available that help you to start a new
Cocoon 3 based web application project
. archetype-block -> create a new block that uses Cocoon 3 as
web application framework
. archetype-parent -> create a parent POM for a Cocoon 3 project
. archetype-webapp -> create a web application project
or to run the samples
. archetype-sample -> create a block that contains all available
Cocoon 3 samples
Here are the commands:
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7
-DarchetypeGroupId=org.apache.cocoon.archetype-block
-DarchetypeArtifactId=cocoon-archetype-block
-DarchetypeVersion=3.0.0-alpha-1 -DgroupId=com.mycompany
-DartifactId=mysite
-DremoteRepositories=http://people.apache.org/builds/cocoon/
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7
-DarchetypeGroupId=org.apache.cocoon.archetype-parent
-DarchetypeArtifactId=cocoon-archetype-parent
-DarchetypeVersion=3.0.0-alpha-1 -DgroupId=com.mycompany
-DartifactId=myparent
-DremoteRepositories=http://people.apache.org/builds/cocoon/
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7
-DarchetypeGroupId=org.apache.cocoon.archetype-webapp
-DarchetypeArtifactId=cocoon-archetype-webapp
-DarchetypeVersion=3.0.0-alpha-1 -DgroupId=com.mycompany
-DartifactId=mywebapp
-DremoteRepositories=http://people.apache.org/builds/cocoon/
mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7
-DarchetypeGroupId=org.apache.cocoon.archetype-sample
-DarchetypeArtifactId=cocoon-archetype-sample
-DarchetypeVersion=3.0.0-alpha-1 -DgroupId=com.mycompany
-DartifactId=mysample
-DremoteRepositories=http://people.apache.org/builds/cocoon/
--
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 [EMAIL PROTECTED]
________________________________________________________________________