[
https://issues.jboss.org/browse/RF-12073?page=com.atlassian.jira.plugin.s...
]
Brian Leathem resolved RF-12073.
--------------------------------
Fix Version/s: (was: 4.2.1.CR1)
Resolution: Won't Fix
Behaviour is the same as for simpleapp. It's not possible to create an archetype with
a conditional question flow.
This could be better handled as a forge plugin, or with separate community/enterprise
archetypes.
Kitchensink archetype - creating enterprise project requires also
community richfaces version
---------------------------------------------------------------------------------------------
Key: RF-12073
URL:
https://issues.jboss.org/browse/RF-12073
Project: RichFaces
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: archetype
Affects Versions: 4.2.0.Final
Reporter: Juraj Huska
Assignee: Brian Leathem
Priority: Optional
When generating enterprise richfaces maven project from kitchensink archetype, it is also
prompting for community richfaces version. And then the community version is not used in
the generated pom.xml
The log from this:
{noformat}
[INFO] Using property: groupId = bla.bla
[INFO] Using property: artifactId = foo_bla
Define value for property 'version': 1.0-SNAPSHOT: :
[INFO] Using property: package = bla.bla
[INFO] Using property: enterprise = n
[INFO] Using property: richfaces-enterprise-version = 4.2.0.Final-redhat-1
[INFO] Using property: richfaces-version = 4.3.0-SNAPSHOT
Confirm properties configuration:
groupId: bla.bla
artifactId: foo_bla
version: 1.0-SNAPSHOT
package: bla.bla
enterprise: n
richfaces-enterprise-version: 4.2.0.Final-redhat-1
richfaces-version: 4.3.0-SNAPSHOT
Y: : N
[INFO] Using property: groupId = bla.bla
[INFO] Using property: artifactId = foo_bla
Define value for property 'version': 1.0-SNAPSHOT: :
Define value for property 'package': bla.bla: :
Define value for property 'enterprise': n: : y
Define value for property 'richfaces-enterprise-version': 4.2.0.Final-redhat-1:
:
Define value for property 'richfaces-version': 4.3.0-SNAPSHOT: :
Confirm properties configuration:
groupId: bla.bla
artifactId: foo_bla
version: 1.0-SNAPSHOT
package: bla.bla
enterprise: y
richfaces-enterprise-version: 4.2.0.Final-redhat-1
richfaces-version: 4.3.0-SNAPSHOT
Y: : y
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54.442s
[INFO] Finished at: Wed Mar 21 16:38:02 CET 2012
[INFO] Final Memory: 9M/129M
[INFO] ------------------------------------------------------------------------
jhuska@laptop:~/workspace_jbossTools33M5$
{noformat}
*Steps to reproduce:*
1. _mvn archetype:generate -DarchetypeGroupId=org.richfaces.archetypes
-DarchetypeArtifactId=richfaces-archetype-kitchensink -DarchetypeVersion=4.3.0-SNAPSHOT
-DgroupId=bla.bla -DartifactId=foo_bla_
2. When prompting: ?Define value for property 'version': 1.0-SNAPSHOT:_, press
just enter.
3. When prompting for confirming predefined values: type N
4. When prompting for _Define value for property 'version': 1.0-SNAPSHOT: :_
press just enter.
5. _Define value for property 'package': bla.bla: : _ just enter
6. _Define value for property 'enterprise': n: :_ type y
7. _Define value for property 'richfaces-enterprise-version':
4.2.0.Final-redhat-1: :_ just enter
8. now you should be prompted for _Define value for property 'richfaces-version':
4.3.0-SNAPSHOT: :_, which you should not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira