cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <g...@tuffmail.com>
Subject Re: Test and verify Cocoon 3 alpha-1 release artifacts
Date Sat, 22 Nov 2008 17:27:42 GMT
reinhard@apache.org pisze:
> 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.

Hi Reinhard. Thanks for preparing all of these. I've finally found some time to bustle around
your work.

> 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.

What about tags in svn?

> 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.

I've taken second approach.


<snip/>
> 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/
> 

These commands miss goal for archetype plug-in. You probably have missed that due to fact
that first
line is completely unreadable.

Instead of

  mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7

it should be:

  mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create

Then all of them work. I've tested cocoon-archetype-sample more carefully and despite that
some
samples do not wok the overall picture is ok.

As I was already playing with Cocoon3 I decided to have a closer look at source code of it.
There
are many nice things about it (probably the most important one is that this code is much cleaner
than what we have in c2.2). Nevertheless, what I found surprising is that you decided to rewrite
EL
and OM handling from scratch once again. Was there any specific reason for doing that apart
from
"let's throw out the whole c.2.2's core"? I don't recall any discussion about that particular
decision.

You know my opinion about this.

The second problem I can see with this release is that I fail to see where this project is
heading
to and what are its goals and aims. I would feel rather strange voting for a release of something
that I don't fully identify with. To sum up my situation:
+1 from technical point (provided you fix tags)
+0 from my own personal point of view

I would really like to know how to convert 0 into 1.

Anyway, thanks for your work.

-- 
Best regards,
Grzegorz Kossakowski

Mime
View raw message