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

rest-setup --jaxrsVersion 2.0 adds jboss-javaee-6.0 to javaee 7.0 projects

XMLWordPrintable

    • Hide

      1. Create a new project without type
      project-new --named name --topLevelPackage com.package

      2. Configure the project to use javaee-7.0
      javaee-setup --javaEEVersion 7

      3. Configure the project to use rest
      rest-setup --jaxrsVersion 2.0

      Show
      1. Create a new project without type project-new --named name --topLevelPackage com.package 2. Configure the project to use javaee-7.0 javaee-setup --javaEEVersion 7 3. Configure the project to use rest rest-setup --jaxrsVersion 2.0

      On an empty new project configured to use javaee 7, the rest-setup step adds jboss-javaee-6.0 dependencyManagement on pom.xml.

      <dependencyManagement>
      <dependencies>
      <dependency>
      <groupId>javax</groupId>
      <artifactId>javaee-api</artifactId>
      <version>7.0</version>
      <scope>provided</scope>
      </dependency>
      <dependency>
      <groupId>org.jboss.spec</groupId>
      <artifactId>jboss-javaee-6.0</artifactId>
      <version>3.0.2.Final</version>
      <type>pom</type>
      <scope>import</scope>
      </dependency>
      </dependencies>
      </dependencyManagement>

              rhn-support-ggastald George Gastaldi
              tuxtor VĂ­ctor Orozco (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: