Hi Leo!
I tried it out. Here are a few things I found out.
a.)
The archetype catalog on your people account doesn't work.
I've now used the one from the staging repo:
mvn archetype:generate -DarchetypeCatalog=
https://repository.apache.org/content/repositories/orgapachemyfaces-096/b.)
tomcat7 integration: I know the tomcat7-maven-plugin is currently not perfect as it always only uses tc-7.0.25.
For changing this you need to add a <pluginManagement> section to the pom and define quite a few tc dependencies with ${tomcat7.version} or so. I know that this sucks and I already told it to some tomcat PMC. Maybe they will release the tomcat-maven-plugin as part of the tc build in the future.
So what do we do? Keep the pom minimal and take the out-of-the-box tc-7.0.25? Or should we 'pollute' the pom with the pluginManagement section?
c.)
what's the reason to have the containers switche via -D and activation (complicated) instead of just adding a profile -Ptc ?
d.)
The CODI sample app crashes with the following exception after entering a name and clicking on the button:
javax.el.PropertyNotFoundException: Target Unreachable, identifier 'helloWorld' resolved to null
viewId=/helloWorld.xhtml
location=/Users/struberg/tmp/delete/myfacesarchetypes/mf-test-codi/src/main/webapp/helloWorld.xhtml
phaseId=PROCESS_VALIDATIONS(3)
Caused by:
javax.el.PropertyNotFoundException - Target Unreachable, identifier 'helloWorld' resolved to null
at org.apache.el.parser.AstValue.getTarget(AstValue.java:98)
/helloWorld.xhtml at line 35 and column 84 value="#{helloWorld.name}"
Thus a -1 as we should fix the codi app crash in a 2nd iteration.
txs and LieGrue,
strub
----- Original Message -----
> From: Leonardo Uribe <
lu4242@...>
> To: MyFaces Development <
dev@...>
> Cc:
> Sent: Wednesday, April 25, 2012 12:24 AM
> Subject: [VOTE] release for myfaces archetypes 1.0.4
>
> Hi,
>
> I was running the needed tasks to get the 1.0.4 release of Apache
> MyFaces Build Tools Archetypes out.
>
> Please note that this vote concerns all of the following parts:
> 1. Maven artifact group "org.apache.myfaces.buildtools" v1.0.4 (only
> archetypes)
>
> The artifacts are deployed to the nexus repository [1].
>
> The following issues have been addressed in this release:
>
> * Update archetypes to recent versions of MyFaces Core, CODI, OWB.
> * Include tomcat7-maven-plugin reference into archetype
> * Update JSF 2.0 archetypes to jetty 8
> * Add myfaces-helloworld20-debug archetype
>
> To test the archetypes just do the following:
>
> Create a project from an archetype:
>
> mvn archetype:generate
> -DarchetypeCatalog=
http://people.apache.org/~lu4242/m2_archetypes_104_release>
> Choose an archetype from the list and enter values for groupId,
> artifactId and version.
>
> Then on the path of the generated archetype
>
> mvn clean jetty:run-exploded
>
> or for the 2.0 archetypes
>
> mvn clean jetty:run-exploded -PjettyConfig
>
> - Run using jetty
> mvn clean jetty:run
> mvn clean -Dcontainer=jetty-mojarra jetty:run
> Set your browser to
http://localhost:8080/${artifactId}
> - Run using tomcat
> mvn clean -Dcontainer=tomcat7 tomcat:run
> Set your browser to
http://localhost:8080/${artifactId}
> - Run war using tomcat
> mvn clean -Dcontainer=tomcat7 tomcat:run-war
> Set your browser to
http://localhost:8080/${artifactId}
> - Run war using jetty (remove <webApp> config inside plugin config
> first)
> mvn clean jetty:run-war
> mvn clean -Dcontainer=jetty-mojarra jetty:run-war
> Set your browser to
http://localhost:8080> - Build war and bundle JSF jars
> mvn clean -Pbundle-myfaces install
> mvn clean -Pbundle-mojarra install
>
> Please take a look at the "1.0.4" artifacts and vote!
>
> Please note: This vote is "majority approval" with a minimum of three
> +1 votes (see [2]).
>
> ------------------------------------------------
> [ ] +1 for community members who have reviewed the bits
> [ ] +0
> [ ] -1 for fatal flaws that should cause these bits not to be released,
> and why..............
> ------------------------------------------------
>
> Thanks,
> Leonardo
>
> [1]
https://repository.apache.org/content/repositories/orgapachemyfaces-096/> [2]
http://www.apache.org/foundation/voting.html#ReleaseVotes>