[ http://jira.codehaus.org/browse/MECLIPSE-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arnaud Heritier updated MECLIPSE-257: ------------------------------------- Component/s: Dependencies resolution and build path > 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 > Components: Dependencies resolution and build path > 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