[
https://issues.apache.org/jira/browse/IVYDE-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833571#action_12833571
]
AngerClown commented on IVYDE-236:
----------------------------------
A little more investigation and testing shows that the resolve works even with
the Workspace Resolver is enabled, _if_ I also remove the revConstraints from
the Spring Ivy settings files. This is due to the fix for IvyDE-212 which now
sets the default resolve mode to dynamic.
It seems like the better, but much more complicated solution, would be to
resolve Workspace dependencies dynamically, then resolve everything else in
default mode. Or maybe try the dynamic resolve, then if there are still missing
dependencies, resolve only those with the default mode and if things still
aren't found then fail.
> Spring transitive dependencies resolved as latest.integration
> -------------------------------------------------------------
>
> Key: IVYDE-236
> URL: https://issues.apache.org/jira/browse/IVYDE-236
> Project: IvyDE
> Issue Type: Bug
> Components: classpath container
> Affects Versions: 2.1.0
> Reporter: AngerClown
> Attachments: IvyDE-236_testcase+logs.zip
>
>
> I am receiving resolution errors using IvyDE 2.1.0.201002011748-hudson-99 for
> Spring Framework related libraries. This may ultimately be an issue with
> Spring's ivy files, but the exact same setup is working with the
> 2.1.0.200911161501-hudson-79.log. Something appears to have changed with how
> resolution is being done between these two builds. In addition, running Ivy
> in Ant works so this is related to IvyDE and not base Ivy. Please see the
> attached for a testcase along with logs of the issue with both Hudson builds
> of IvyDE.
> I am listing Spring Beans as a dependency in my project and it appears that
> Spring Core and it's dependencies are failing. Spring beans lists Spring Core
> as a dependency
> <dependency org="org.springframework" name="org.springframework.core"
> rev="3.0.0.RELEASE" revConstraint="latest.integration"
> conf="compile->compile"/>.
> IvyDE looks like it's trying to find the revConstraint of latest.integration
> for Core even though my project's ivy.xml specifies 3.0.0.RELEASE. IvyDE does
> download Spring Core but then ignores it and errors because it cannot find
> latest.integration.
> Note that I have a <resolver> setup in ivysettings that uses the Spring Ivy
> repositories; I am not using the default ibiblio Maven repository. So, this
> issue appears with the Spring defined ivy.xml, not the ivy generated from M2
> conversion.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.