ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik-Berndt Scheper (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVYDE-236) Spring transitive dependencies resolved as latest.integration
Date Thu, 29 Apr 2010 10:51:53 GMT

    [ https://issues.apache.org/jira/browse/IVYDE-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862154#action_12862154
] 

Erik-Berndt Scheper commented on IVYDE-236:
-------------------------------------------

For other people hitting this issue: the current work-around is to EXPLICITLY set the defaultResolveMode
in your ivy-settings xml file, like so: 

{code:xml} 
<ivysettings>
	<properties environment="env" />
	<properties file="http://172.30.247.68/ivy-settings/ivy.settings.properties" />

	<settings defaultResolveMode="default" defaultResolver="my-default-resolver" defaultLatestStrategy="latest-revision"
defaultConflictManager="latest-revision" />
 
	<other ivy settings />
</ivysettings>
{code}

> 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.


Mime
View raw message