[richfaces-issues] [JBoss JIRA] (RF-12073) Kitchensink archetype - creating enterprise project requires also community richfaces version

Juraj Huska (JIRA) jira-events at lists.jboss.org
Wed Mar 21 11:50:47 EDT 2012


Juraj Huska created RF-12073:
--------------------------------

             Summary: 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
            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 at 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

        


More information about the richfaces-issues mailing list