[forge-issues] [JBoss JIRA] (FORGE-894) Forge DependencyFacet cannot resolve dependencies in reactor projects without first installing necessary dependencies in the local Repository
Lincoln Baxter III (JIRA)
jira-events at lists.jboss.org
Wed Sep 4 16:27:03 EDT 2013
[ https://issues.jboss.org/browse/FORGE-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lincoln Baxter III reassigned FORGE-894:
----------------------------------------
Assignee: (was: Lincoln Baxter III)
> Forge DependencyFacet cannot resolve dependencies in reactor projects without first installing necessary dependencies in the local Repository
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FORGE-894
> URL: https://issues.jboss.org/browse/FORGE-894
> Project: Forge
> Issue Type: Feature Request
> Components: Build Tools - Maven
> Affects Versions: 2.0.0.Alpha3
> Reporter: Lincoln Baxter III
> Labels: difficult
> Fix For: 2.x Future
>
>
> As the title states, maven project building requests do not resolv reactor project dependencies.
> {code}
> parent/
> - addon --> spi
> - api
> - impl
> - spi
> - tests --> addon
> {code}
> the tests/ module dependency resolution result does not contain a transitive dependency to the spi/ module, however, when building from maven cli, it clearly should and does have this dependency - so this is a pure tooling issue due to the fact that the addon/ sub-module actually cannot be resolved.
> This can be reproduced in the branch: https://github.com/forge/core/tree/FORGE-894
> Running the test:
> {code}
> Failed tests: testCreateAddonProject(org.jboss.forge.addons.AddonProjectConfiguratorTest): SPI module is not present in the TESTS module
> {code}
> Relevant code (where the resolution is performed) is here: https://github.com/forge/core/blob/FORGE-894/maven/impl-projects/src/main/java/org/jboss/forge/maven/projects/MavenFacetImpl.java#L271
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list