Recently I used ivy:install to install ivy-2.0.0-rc1 from Maven central
into my private repository, and apparently there was some sort of naming
collision.   Only one jar was downloaded, named ivy.jar but it was the
source jar.  What is the reason for this?

The maven central repo looks like this:
ivy-2.0.0-rc1-javadoc.jar      26-Sep-2008 02:24  1.5M  
ivy-2.0.0-rc1-javadoc.jar.asc  26-Sep-2008 02:24  202   
ivy-2.0.0-rc1-javadoc.jar.md5  26-Sep-2008 02:24   34   
ivy-2.0.0-rc1-javadoc.jar.sha1 26-Sep-2008 02:24   42   
ivy-2.0.0-rc1-sources.jar      26-Sep-2008 02:24  684K  
ivy-2.0.0-rc1-sources.jar.asc  26-Sep-2008 02:24  202   
ivy-2.0.0-rc1-sources.jar.md5  26-Sep-2008 02:24   34   
ivy-2.0.0-rc1-sources.jar.sha1 26-Sep-2008 02:24   42   
ivy-2.0.0-rc1.jar              26-Sep-2008 02:24  866K  
ivy-2.0.0-rc1.jar.asc          26-Sep-2008 02:24  202   
ivy-2.0.0-rc1.jar.md5          26-Sep-2008 02:24   34   
ivy-2.0.0-rc1.jar.sha1         26-Sep-2008 02:24   42   
ivy-2.0.0-rc1.pom              26-Sep-2008 02:24  3.7K  
ivy-2.0.0-rc1.pom.asc          26-Sep-2008 02:24  202   
ivy-2.0.0-rc1.pom.md5          26-Sep-2008 02:24   34   
ivy-2.0.0-rc1.pom.sha1         26-Sep-2008 02:24   42  

But my resulting repo looks like this:
700797 Sep 26 03:24 ivy.jar
32 Oct  9 09:36 ivy.jar.md5
40 Oct  9 09:36 ivy.jar.sha1
3826 Sep 26 03:24 ivy.xml
32 Oct  9 09:36 ivy.xml.md5
40 Oct  9 09:36 ivy.xml.sha1

It turns out that the resulting ivy.jar is actually
ivy-2.0.0-rc1-sources.jar.    Why does it seem like all the different
source jars get collapsed down to a single one?

For reference, my install task looks like this:
<ivy:install from="${install.from.repo}" 
        to="${install.to.repo}"
        organisation="${install.org.name}"
        module="${install.module.name}"
        revision="${install.rev.number}"
        settingsRef="module-settings"
        overwrite="${ivy.install.overwrite}"
        transitive="${ivy.install.transitive}">         
</ivy:install>

And my source and dest resolvers look like this:
<ibiblio name="m2-live-http" 
        root="http://repo1.maven.org/maven2/"; 
        m2compatible="true" 
        usepoms="true" 
        useMavenMetadata="true"
        checkmodified="true" >
</ibiblio>

<filesystem name="dev-thirdparty-staging" 
        m2compatible="true" checkmodified="true" transactional="auto"
local="false">
        <ivy
pattern="${ivy.shared.default.root}/dev-thirdparty/[organisation]/[modul
e]/[revision]/ivy.xml" />
        <artifact
pattern="${ivy.shared.default.root}/dev-thirdparty/[organisation]/[modul
e]/[revision]/[artifact].[ext]" />
</filesystem>

Thanks,
Carlton      



-----------------------------------------
====================================================
This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.
====================================================

Reply via email to