[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3142) Maven dependency on jboss-seam not defined properly
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Jul 1 12:48:36 EDT 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-3142?page=comments#action_12419518 ]
Pete Muir commented on JBSEAM-3142:
-----------------------------------
Thomas, in trunk we declare the org.jboss.seam:jboss-seam dependency in the root pom as <type>ejb</type> - see http://snapshots.jboss.org/maven2/org/jboss/seam/root/2.1.0-SNAPSHOT/root-2.1.0-20080701.041917-209.pom - is this enough?
If yes, we can backport this fix to 2.0.3
> Maven dependency on jboss-seam not defined properly
> ---------------------------------------------------
>
> Key: JBSEAM-3142
> URL: http://jira.jboss.com/jira/browse/JBSEAM-3142
> Project: Seam
> Issue Type: Bug
> Affects Versions: 2.0.2.GA
> Reporter: Thomas Diesler
>
> jboss-seam-ioc
> http://repository.jboss.com/maven2/org/jboss/seam/jboss-seam-ioc/2.0.2.GA/jboss-seam-ioc-2.0.2.GA.pom
> defines the dependency on jboss-seam like this
> <dependency>
> <groupId>org.jboss.seam</groupId>
> <artifactId>jboss-seam</artifactId>
> </dependency>
> However, jboss-seam uses packaging 'ejb'
> http://repository.jboss.com/maven2/org/jboss/seam/jboss-seam/2.0.2.GA/jboss-seam-2.0.2.GA.pom
> <groupId>org.jboss.seam</groupId>
> <artifactId>jboss-seam</artifactId>
> <parent>
> <groupId>org.jboss.seam</groupId>
> <artifactId>parent</artifactId>
> <version>2.0.2.GA</version>
> </parent>
> <packaging>ejb</packaging>
> The dependency should be defined like this
> <dependency>
> <groupId>org.jboss.seam</groupId>
> <artifactId>jboss-seam</artifactId>
> <type>ejb</type>
> </dependency>
> If this is not done correctly, modules that depend on jboss-seam type 'ejb' directly need to exclude the incorrectly defined dependency
> <dependency>
> <groupId>org.jboss.seam</groupId>
> <artifactId>jboss-seam-ioc</artifactId>
> <exclusions>
> <exclusion>
> <groupId>org.jboss.seam</groupId>
> <artifactId>jboss-seam</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list