]
George Gastaldi closed FORGE-2488.
----------------------------------
Resolution: Done
JavaEE setup commands producing JavaEE 6 even if project is JavaEE 7
--------------------------------------------------------------------
Key: FORGE-2488
URL:
https://issues.jboss.org/browse/FORGE-2488
Project: Forge
Issue Type: Bug
Affects Versions: 2.19.2.Final
Reporter: Ivn Lahav
Assignee: George Gastaldi
Fix For: 2.20.0.Final
Running 'javaee-setup --javaEEVersion 7' properly produces
{code}
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>7.0</version>
<scope>provided</scope>
</dependency>
{code}
in pom.xml. But then running
'jms-setup' or 'jta-setup' will produce JEE 6:
{code}
<dependencyManagement>
<dependencies>
...
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>3.0.3.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
...
<dependency>
<groupId>org.jboss.spec.javax.transaction</groupId>
<artifactId>jboss-transaction-api_1.1_spec</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
{code}