[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3142) Maven dependency on jboss-seam not defined properly

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Jul 1 03:05:31 EDT 2008


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