Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-24

Seam Forge from the seam final distribution creates projects that depend on seam-persistence 3.0.0.Beta4, instead of Final.

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • 1.0.0.Alpha3
    • 1.0.0.Alpha2
    • None
    • None
    • Hide

      run forge from the distribution

      new-project --named bar --topLevelPackage com.example.bar --projectFolder bar
      persistence setup --provider HIBERNATE --container JBOSS_AS6
      new-entity --named Bar
      scaffold from-entity

      notice the generated pom.xml depends on org.jboss.seam.persistence:seam-persistence-impl:3.0.0.Beta4

      Show
      run forge from the distribution new-project --named bar --topLevelPackage com.example.bar --projectFolder bar persistence setup --provider HIBERNATE --container JBOSS_AS6 new-entity --named Bar scaffold from-entity notice the generated pom.xml depends on org.jboss.seam.persistence:seam-persistence-impl:3.0.0.Beta4

      The version of Seam Forge in the 3.0.0.Final distribution generates project that depend on org.jboss.seam.persistence:seam-persistence-impl:3.0.0.Beta4.

      It should generate projects depending on org.jboss.seam.persistence:seam-persistence-impl:3.0.0.Final.

      Note that the package org.jboss.seam.persistence.transaction has been moved to org.jboss.seam.transaction, so the generated code and beans.xml needs to be changed as well.

            [FORGE-24] Seam Forge from the seam final distribution creates projects that depend on seam-persistence 3.0.0.Beta4, instead of Final.

            Forge resolves artifacts from Maven repositories. Since Final is not in a public maven repo yet, it will not show up in the list of options. This will function once Final is released to JBoss Nexus Public.

            Forge does not use artifacts bundled with the Seam Dist release. (But could with some significant tweaking, and if the dist was structured like a maven repo.)

            Lincoln Baxter III (Inactive) added a comment - Forge resolves artifacts from Maven repositories. Since Final is not in a public maven repo yet, it will not show up in the list of options. This will function once Final is released to JBoss Nexus Public. Forge does not use artifacts bundled with the Seam Dist release. (But could with some significant tweaking, and if the dist was structured like a maven repo.)

            This is problematic, because depending on which version of Seam Persistence the user selects, a different class-name/package needs to be used. Ideas on how to solve this (up to and including classloading the persistence jar itself,) are welcome. Thanks.

            Lincoln Baxter III (Inactive) added a comment - This is problematic, because depending on which version of Seam Persistence the user selects, a different class-name/package needs to be used. Ideas on how to solve this (up to and including classloading the persistence jar itself,) are welcome. Thanks.

              lincolnthree Lincoln Baxter III (Inactive)
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: