[
https://jira.codehaus.org/browse/MECLIPSE-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MECLIPSE-457.
-----------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> Some dependencies are not listed in .classpath
> ----------------------------------------------
>
> Key: MECLIPSE-457
> URL: https://jira.codehaus.org/browse/MECLIPSE-457
> Project: Maven Eclipse Plugin
> Issue Type: Bug
> Components: Core : Dependencies resolution and build path
> (.classpath)
> Affects Versions: 2.3, 2.4, 2.5, 2.5.1
> Environment: Maven 2.0.9, openSUSE 10.3, java version "1.5.0_15"
> Reporter: Grzegorz Kossakowski
> Attachments: myBlock.tar.gz
>
>
> In some situations plug-in does not list all transitive dependencies in
> .classpath file.
> The one I identified was with Cocoon-based application. If I have following
> entries in pom.xml:
> <dependencies>
> <dependency>
> <groupId>org.apache.cocoon</groupId>
> <artifactId>cocoon-core</artifactId>
> <version>2.2.0</version>
> </dependency>
> <dependency>
> <groupId>org.apache.cocoon</groupId>
> <artifactId>cocoon-servlet-service-components</artifactId>
> <version>1.0.0</version>
> </dependency>
> <dependency>
> <groupId>org.apache.cocoon</groupId>
> <artifactId>cocoon-template-impl</artifactId>
> <version>1.1.0</version>
> </dependency>
> <dependency>
> <groupId>org.apache.cocoon</groupId>
> <artifactId>cocoon-forms-impl</artifactId>
> <version>1.1.0</version>
> </dependency>
> <dependency>
> <groupId>org.apache.cocoon</groupId>
> <artifactId>cocoon-ajax-impl</artifactId>
> <version>1.0.0</version>
> </dependency>
> <dependency>
> <groupId>org.apache.cocoon</groupId>
> <artifactId>cocoon-flowscript-impl</artifactId>
> <version>1.0.0</version>
> </dependency>
> <dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.4</version>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> then output is fine, but when I change cocoon-servlet-service-components to
> 1.1.0-SNAPSHOT generated .classpath file does not contain dependency on
> excalibur-sourceresolve that is coming from:
> cocoon-core -> cocoon-pipeline-components cocoon-pipeline-impl ->
> excalibur-sourceresolve
> To make this bug more interesting I should share my observation that if I
> remove dependency on cocoon-ajax-impl then sourceresolve appears in
> .classpath again. However, this dependency is still there because
> cocoon-forms-impl has dependency on cocoon-ajax-impl.
> Sight... Couldn't this plug-in use the same dependency mechanism as
> compilation or dependency plug-in that resolve dependencies correctly?
> I attach simple application that exhibits described problem. In order to
> compile it with snapshot dependency you need to checkout and build Cocoon's
> trunk that can be found at:
> http://svn.eu.apache.org/repos/asf/cocoon/trunk/
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)