[
https://issues.jboss.org/browse/SEAMFORGE-283?page=com.atlassian.jira.plu...
]
George Gastaldi commented on SEAMFORGE-283:
-------------------------------------------
It seems it also creates a faces-config.xml, although I didnĀ“t choose to use JSF any time
Beans plugin adds jboss dependency without
<type>pom</type>
-----------------------------------------------------------
Key: SEAMFORGE-283
URL:
https://issues.jboss.org/browse/SEAMFORGE-283
Project: Seam Forge
Issue Type: Bug
Reporter: George Gastaldi
When running beans setup and choosing the jboss-javaee-6.0 artifact, like the following:
{code:java}
[forge-web] forge-web $ beans setup
Wrote /powerlogic/jcompany55/workspace/forge-web/src/main/webapp/WEB-INF/beans.xml
***SUCCESS*** Installed [forge.spec.cdi] successfully.
Do you want to add CDI dependencies?
1 - [org.jboss.spec:jboss-javaee-6.0]
2 - [javax.enterprise:cdi-api]
3 - [no]
? Choose an option by typing the number of the selection: 1
Which version of org.jboss.spec:jboss-javaee-6.0 do you want to install?
1 - [org.jboss.spec:jboss-javaee-6.0:1.0.0.Beta4]
2 - [org.jboss.spec:jboss-javaee-6.0:1.0.0.Beta5]
3 - [org.jboss.spec:jboss-javaee-6.0:1.0.0.Beta6]
4 - [org.jboss.spec:jboss-javaee-6.0:1.0.0.Beta7]
5 - [org.jboss.spec:jboss-javaee-6.0:1.0.0.CR1]
6 - [org.jboss.spec:jboss-javaee-6.0:1.0.0.Final]
7 - [org.jboss.spec:jboss-javaee-6.0:2.0.0.Beta1]
8 - [org.jboss.spec:jboss-javaee-6.0:2.0.0.CR1]
9 - [org.jboss.spec:jboss-javaee-6.0:2.0.0.Final]
? Choose an option by typing the number of the selection: 6
? Should the scope be 'provided'? [Y/n]
Added org.jboss.spec:jboss-javaee-6.0:1.0.0.Final:provided
{code}
The following <dependency> is placed in pom.xml:
{code:xml}
<dependencies>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>1.0.0.Final</version>
<scope>provided</scope>
</dependency>
</dependencies>
{code}
However, it is missing the <type>pom</type> element. It should read:
{code:xml}
<dependencies>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>1.0.0.Final</version>
<!-- THIS IS MISSING -->
<type>pom</type>
<scope>provided</scope>
</dependency>
</dependencies>
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira