maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pabst (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MDEP-410) dependency:resolve fails for a multi-module project where one module depends on another and "mvn install" not run yet
Date Fri, 04 Nov 2016 15:04:00 GMT

    [ https://issues.apache.org/jira/browse/MDEP-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15636592#comment-15636592
] 

Eric Pabst edited comment on MDEP-410 at 11/4/16 3:03 PM:
----------------------------------------------------------

[~michael-o] In working on a build system, I needed to know what the dependencies are before
running mvn clean install.  I would use that information to update some version properties
and then perform the mvn clean install.  With this PR, I can have the build system run mvn
dependency:collect to get the information I need.  It doesn't try to download any jar files
so it doesn't care if the project (with intra-dependencies) has been built yet.


was (Author: epabst):
In working on a build system, I needed to know what the dependencies are before running mvn
clean install.  I would use that information to update some version properties and then perform
the mvn clean install.  With this PR, I can have the build system run mvn dependency:collect
to get the information I need.  It doesn't try to download any jar files so it doesn't care
if the project (with intra-dependencies) has been built yet.

> dependency:resolve fails for a multi-module project where one module depends on another
and "mvn install" not run yet
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: MDEP-410
>                 URL: https://issues.apache.org/jira/browse/MDEP-410
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: resolve
>    Affects Versions: 2.7
>         Environment: Linux
>            Reporter: Eric Pabst
>         Attachments: MDEP-410-maven-plugins-aggregator.diff, MDEP-410-maven-plugins-aggregator.patch
>
>
> When I run dependency:tree on a multi-module project without having run a "mvn install",
it fails with this error: {noformat}
> [ERROR] Failed to execute goal on project slide-test-module-svn-2: Could not resolve
dependencies for project org.slide:slide-test-module-svn-2:jar:1.1-SNAPSHOT: The following
artifacts could not be resolved: org.slide:slide-test-module-svn-3:jar:1.1-SNAPSHOT, org.slide:git-component-for-testing-slide:jar:1.0.b1782:
Could not find artifact org.slide:slide-test-module-svn-3:jar:1.1-SNAPSHOT in maven-central
-> [Help 1]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message