Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-393

Update archetype jboss-spring-mvc-archetype to reference correct versions from EAP 6.1.0 maven repository

    XMLWordPrintable

Details

    Description

      Use the archetype org.jboss.spring.archetypes:jboss-spring-mvc-archetype:1.0.0.Final to generate a project, set enterprise property to true.
      The versions in generated pom.xml should be aligned for use with WFK 2.3.0 and EAP 6.1.0 maven repositories.

      change version of com.redhat.jboss.wfk.boms:spring-3.2-bom to 2.3.0-redhat-1,
      change version of org.jboss.bom:jboss-javaee-6.0-with-hibernate to 1.0.4.Final-redhat-wfk-2
      add dependency (either to <dependency> or <dependencyManagement> section):

              <dependency>
                  <groupId>dom4j</groupId>
                  <artifactId>dom4j</artifactId>
                  <version>1.6.1-redhat-5</version>
              </dependency>
      

      The pom.xml also defines property `version.spring` (with value 3.2.2.RELEASE) that is never used (the Spring Framework version is specified by Spring-3.2 BOM).

      Attachments

        Activity

          People

            tmehta_jira Tejas Mehta (Inactive)
            trepel Tomas Repel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: