[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-271) Maven dependency resolution is not reactor-aware
Karel Piwko (JIRA)
issues at jboss.org
Thu May 18 13:05:00 EDT 2017
[ https://issues.jboss.org/browse/SHRINKRES-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408419#comment-13408419 ]
Karel Piwko commented on SHRINKRES-271:
---------------------------------------
Just my $0.02, I was thinking at in the past about this problem.
There is a very limited and dirty reactor like functionality in SWR - https://github.com/shrinkwrap/resolver/blob/f04847288f077f396c2592c07c890f42a4b711c4/maven/impl-maven/src/main/java/org/jboss/shrinkwrap/resolver/impl/maven/MavenResolvedArtifactImpl.java#L132.
The problem is, to implement that correctly, you would need to reimplement Maven Reactor. That's a significant piece of work. Maybe you could just alter current implementation to handle your specific case?
> Maven dependency resolution is not reactor-aware
> ------------------------------------------------
>
> Key: SHRINKRES-271
> URL: https://issues.jboss.org/browse/SHRINKRES-271
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Components: maven
> Affects Versions: 2.2.6
> Environment: Windows 10 64-bit
> Reporter: Sebastian Schuberth
>
> Maven dependency resolution does not seem to be reactor-aware in the sense that inter-module dependencies in a multi-module project are not resolved properly unless they are manually installed in the local Maven cache.
> The general problem when using the Maven command line tool is well described at http://stackoverflow.com/questions/1677473/maven-doesnt-recognize-sibling-modules-when-running-mvn-dependencytree.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the shrinkwrap-issues
mailing list