Hi,

i experience, that spring sometimes has special keywords in their revisions,
and as far as i can see ivy is not able to handle them by default. my
current problem is with the two modules

name:spring-core, revision:2.5.6
name:spring-core, revision:2.5.6.SEC01

ivy evicts the revision with suffix "SEC01", but its newer

[ivy:resolve]   org.springframework#spring-core;2.5.6.SEC01 by
[org.springframework#spring-core;2.5.6] in [default]

i would like to keep the conflict-resolution-strategy "latest-revision". i
assume i can define a custom "latest-strategy" in the settings.xml, but my
first tries didn't solve the problem, and the documentation of this feature
i found is quite sparse. my try is:

<!-- start extract of settings-xml -->
<settings defaultResolver="default_chain"
defaultLatestStrategy="custom-latest-revision"
defaultConflictManager="latest-revision"/>
...
        
<latest-strategies>
        <latest-revision name="custom-latest-revision">
                <specialMeaning name="SEC01" value="-1"/>
        </latest-revision>
</latest-strategies>
<!-- end of extract settings-xml -->

can someone give me a hint how to configure ivy such that the
revision-suffix "SEC01" is identified as newer than the revision without
suffix?

thank you very much for your help!
michael
-- 
View this message in context: 
http://old.nabble.com/ivy-settings-for-special-revision-keywords-%28e.-g.-spring%29-tp28605446p28605446.html
Sent from the ivy-user mailing list archive at Nabble.com.

Reply via email to