ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kim X Andersen <kanderse...@csc.com>
Subject Problem with importing selenium from maven repository
Date Wed, 11 May 2011 13:45:59 GMT
Hi

My problem is that I would like to install selenium-parent from maven 
reposity to my local repository, but ivy doesn't find any dependencies or 
download the artifacts. It doesn't matter if it's version 2.0b3 or 2.0b2 
eventhough the poms are different.
I have used this  script before from maven reposity. Why doesn't this work 
for me and what do I need to do to make it work?
BTW I using 2.2.0-rc1

<target name="fetch.module" depends="init-ivy" description="Fetch 
identified modules from Maven2 repository">
        <ivy:install settingsRef="install.settings" organisation=
"org.seleniumhq.selenium" module="selenium-parent" revision="2.0b3" from=
"maven.repository" to="data.repository" overwrite="true" transitive="true" 
haltonfailure="false"/>
</target>

<property name="ibiblio-maven2-root" value="http://repo1.maven.org/maven2/
" override="false" />
<resolvers>
   <filesystem name="dest.repository">
     <ivy pattern=
"${destination.repository.dir}/[organisation]/[module]/[revision]/ivy-[revision].xml"
/>
       <artifact pattern= 
"${destination.repository.dir}/[organisation]/[module]/[revision]/[type]/[artifact]-[revision].[ext]"
/>
    </filesystem>
        <ibiblio name="maven.repository" m2compatible="true" root=
"${ibiblio-maven2-root}" namespace="dk.tdc"checkconsistency="false"/>
</resolvers>

Thanx in advanced

Kim B. Andersen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message