maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goran Oberg (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MECLIPSE-257) Dependency not on eclipse class path
Date Sun, 15 Apr 2007 13:27:46 GMT

    [ http://jira.codehaus.org/browse/MECLIPSE-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92947
] 

Goran Oberg commented on MECLIPSE-257:
--------------------------------------

At the moment I add the dependency in a parent pom as a workaround

> Dependency not on eclipse class path
> ------------------------------------
>
>                 Key: MECLIPSE-257
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-257
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>         Environment: Linux
>            Reporter: Goran Oberg
>
> When I exclude a transitive dependency and add it separately with another scope, the
dependency doesn't  add to the eclipse class path.
> Example:
> <dependency>
>   <groupId>jboss.seam</groupId>
>   <artifactId>jboss-seam</artifactId>
>   <version>1.2.1.GA</version>
>   <exclusions>
>     <exclusion>
>       <groupId>org.hibernate</groupId>
>       <artifactId>hibernate-annotations</artifactId>
>     </exclusion>
>   </exclusions>
> </dependency>
> <dependency>
>   <groupId>org.hibernate</groupId>
>   <artifactId>hibernate-annotations</artifactId>
>   <version>3.2.0.ga</version>
>   <scope>provided</scope>
> </dependency>
> Maven compile the code and include dependencies as expected in the war, but eclipse is
highligthing hibernate-annotations as missing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message