You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Alexey Kharlamov <ak...@griddynamics.com> on 2008/12/25 12:39:13 UTC

Ivy 2.0.0-RC2 Resolver override for modules does not work

Hello!

I am trying to enforce Ivy to skip resolution of some dependencies
with the given ivysettings.xml file. My assumption the settings file
below should reroute resolution of com.griddynamics/* to null-resolver
and avoid resolution. Unfortunately, this does not work. I got the
artifacts resolved by svn-repo according to debug log. Do I have a
mistake in the settings file?

===build.xml===
    <!-- Ivy settings -->
    <ivy:settings file="${ivy.default.settings.dir}/local.xml" />
    <ivy:settings id="extern.settings"
file="${ivy.default.settings.dir}/extern.xml" />

    <target name="update-deps" description="Retrieve all libraries
needed by the project from public maven repositories">
    <!-- No halt on failure is required, as we can not resolve
interproject deps with maven repo -->
    <ivy:resolve settingsRef="extern.settings" haltonfailure="false"/>
    <ivy:retrieve settingsRef="extern.settings"
       	pattern="${ivy.shared.default.root}/[artifact].[ext]"
       	ivypattern="${ivy.shared.default.root}/[module].xml"
       	conf="*"/>
   </target>
===build.xml===

===extern.xml===
<ivysettings>
	<settings defaultResolver="external-libraries" defaultConflictManager="all" />
	<caches defaultCacheDir="${ivy.settings.dir}/ivy-cache/maven" />

	<typedef name="svn" classname="fm.last.ivy.plugins.svnresolver.SvnResolver" />

	<resolvers>
		<chain name="external-libraries" dual="true">
			<svn name="svn-repo" repositoryRoot="${ivy.svn.repo.root}"
				userName="${ivy.svn.user.name}" userPassword="${ivy.svn.password}">
				<ivy pattern="${ivy.svn.repo.path}/${ivy.svn.artifacts.pattern}" />
				<artifact pattern="${ivy.svn.repo.path}/${ivy.svn.manifest.pattern}" />
			</svn>

			<ibiblio name="local-maven-repo" m2compatible="true"
				root="file://${user.home}/.m2/repository/" />
			<ibiblio name="ibiblio" m2compatible="true" />
			<ibiblio name="maven-mirror-1" m2compatible="true"
				root="https://maven-repository.dev.java.net/repository/" />
			<ibiblio name="maven-mirror-2" m2compatible="true"
				root="http://download.java.net/maven/2/" />
			<ibiblio name="maven-mirror-3" m2compatible="true"
				root="http://repository.jboss.com/maven2/" />
		</chain>
		<filesystem name="null-resolver">
			<ivy pattern="/null/[module]/ivy-[revision].xml" />
			<artifact pattern="/null/[module]/[artifact]-[revision].[ext]" />
		</filesystem>
	</resolvers>

	<modules>
		<module organization="com.griddynamics" name=".*" resolver="null-resolver" />
	</modules>
	
</ivysettings>
===extern.xml===

===log===
Apache Ant version 1.7.1 compiled on October 3 2008
Buildfile: build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.5 in: /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Setting ro project property: ant.file ->
/home/aih1013/myproject/workspace/poc/search-impl/build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile
/home/aih1013/myproject/workspace/poc/search-impl/build.xml with URI =
file:/home/aih1013/myproject/workspace/poc/search-impl/build.xml
Setting ro project property: ant.project.name -> search-impl
Adding reference: search-impl
Setting ro project property: ant.file.search-impl ->
/home/aih1013/myproject/workspace/poc/search-impl/build.xml
Project base dir set to: /home/aih1013/myproject/workspace/poc/search-impl
 +Target:
[antlib:org.apache.tools.ant] Could not load definitions from resource
org/apache/tools/ant/antlib.xml. It could not be found.
Setting project property: project.path ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: common.dir -> /home/aih1013/myproject/workspace/poc
Importing file /home/aih1013/myproject/workspace/poc/common.xml from
/home/aih1013/myproject/workspace/poc/search-impl/build.xml
parsing buildfile /home/aih1013/myproject/workspace/poc/common.xml
with URI = file:/home/aih1013/myproject/workspace/poc/common.xml
Setting ro project property: ant.file.common ->
/home/aih1013/myproject/workspace/poc/common.xml
 [property] Loading /home/aih1013/myproject/workspace/poc/build.properties
Setting project property: ivy.shared.default.root ->
/home/aih1013/myproject/workspace/poc/build/libraries
Setting project property: src.dir -> src/main/java
Setting project property: ivy.svn.repo.path -> artifacts
Setting project property: classes.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/target/classes
Setting project property: ivy.manual.default.root ->
/home/aih1013/myproject/workspace/poc/build/manual
Setting project property: ivy.svn.repo.root ->
svn://svn.gdc.mirantis.sar/myproject
Setting project property: lib.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/target/lib
Setting project property: ivy.svn.artifacts.pattern ->
[organisation]/[module]/[revision]/[artifact].xml
Setting project property: ivy.file ->
/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
Setting project property: ws.ant.lib ->
/home/aih1013/myproject/workspace/poc/ws-ant
Setting project property: ivy.local.default.root ->
/home/aih1013/myproject/workspace/poc/build/local
Setting project property: springVersion -> 2.5.5
Setting project property: ivy.svn.user.name -> myproject-scripts
Setting project property: module.version.target -> 1.0
Setting project property: ivy.settings.dir ->
/home/aih1013/myproject/workspace/poc/build
Setting project property: build.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/target
Setting project property: gsVersion -> 6.6.2
Setting project property: ivy.svn.password -> Ui6pe2fa
Setting project property: wsdl.dir -> target/wsdl
Setting project property: ivy.svn.manifest.pattern ->
[organisation]/[module]/[revision]/[artifact].[ext]
Setting project property: ivy.default.settings.dir ->
/home/aih1013/myproject/workspace/poc/build
Setting project property: gs.jar.file -> gs-search-impl.jar
Setting project property: jar.file ->
/home/aih1013/myproject/workspace/poc/search-impl/target/search-impl.jar
Setting project property: deploy.lib.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/target/shared-lib
    [mkdir] Skipping
/home/aih1013/myproject/workspace/poc/search-impl/target/lib because
it already exists.

update-deps:
Setting project property: ivy.version -> 2.0.0-rc2
Loading jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings/ivy.properties
Setting project property: ivy.log.modules.in.use -> false
Setting project property: ivy.resolver.default.check.modified -> false
Setting project property: ivy.default.always.check.exact.revision -> false
Setting project property: ivy.retrieve.pattern ->
/home/aih1013/myproject/workspace/poc/search-impl/lib/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.configurations -> *
Setting project property: ivy.buildlist.ivyfilepath -> ivy.xml
Setting project property: ivy.status -> integration
Setting project property: ivy.resolve.default.type.filter -> *
Setting project property: ivy.project.dir ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: ivy.dep.file -> ivy.xml
Setting project property: ivy.settings.file -> ivysettings.xml
Setting project property: ivy.report.output.pattern ->
[organisation]-[module]-[conf].[ext]
Setting project property: ivy.cache.ttl.default -> 10s
Setting project property: ivy.publish.src.artifacts.pattern ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.deliver.ivy.pattern ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.build.artifacts.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/build/artifacts
Setting project property: ivy.checksums -> sha1,md5
Setting project property: ivy.distrib.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib
Setting project property: ivy.lib.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/lib
[ivy:resolve] :: Ivy 2.0.0-rc2 - 20081028224207 :: http://ant.apache.org/ivy/ ::
:: loading settings :: file =
/home/aih1013/myproject/workspace/poc/build/extern.xml
setting 'ivy.settings.dir' to '/home/aih1013/myproject/workspace/poc/build'
setting 'ivy.conf.dir' to '/home/aih1013/myproject/workspace/poc/build'
setting 'ivy.settings.file' to
'/home/aih1013/myproject/workspace/poc/build/extern.xml'
setting 'ivy.conf.file' to
'/home/aih1013/myproject/workspace/poc/build/extern.xml'
setting 'ivy.settings.url' to
'file:/home/aih1013/myproject/workspace/poc/build/extern.xml'
setting 'ivy.conf.url' to
'file:/home/aih1013/myproject/workspace/poc/build/extern.xml'
setting 'ivy.default.ivy.user.dir' to '/home/aih1013/.ivy2'
setting 'ivy.home' to '/home/aih1013/.ivy2'
no default ivy user dir defined: set to /home/aih1013/.ivy2
setting 'ivy.log.modules.in.use' to 'false'
setting 'ivy.resolver.default.check.modified' to 'false'
setting 'ivy.default.always.check.exact.revision' to 'false'
setting 'ivy.retrieve.pattern' to
'${ivy.lib.dir}/[artifact]-[revision](-[classifier]).[ext]'
setting 'ivy.configurations' to '*'
setting 'ivy.buildlist.ivyfilepath' to 'ivy.xml'
setting 'ivy.status' to 'integration'
setting 'ivy.resolve.default.type.filter' to '*'
setting 'ivy.project.dir' to '${basedir}'
setting 'ivy.dep.file' to 'ivy.xml'
setting 'ivy.settings.file' to 'ivysettings.xml'
setting 'ivy.report.output.pattern' to '[organisation]-[module]-[conf].[ext]'
setting 'ivy.cache.ttl.default' to '10s'
setting 'ivy.publish.src.artifacts.pattern' to
'${ivy.distrib.dir}/[type]s/[artifact]-[revision](-[classifier]).[ext]'
setting 'ivy.deliver.ivy.pattern' to
'${ivy.distrib.dir}/[type]s/[artifact]-[revision](-[classifier]).[ext]'
setting 'ivy.build.artifacts.dir' to '${ivy.project.dir}/build/artifacts'
setting 'ivy.checksums' to 'sha1,md5'
setting 'ivy.distrib.dir' to '${ivy.project.dir}/distrib'
setting 'ivy.lib.dir' to '${ivy.project.dir}/lib'
setting 'ivy.cache.dir' to
'/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven'
IvySvn Build-Version: 2.0.0-rc1
IvySvn Build-DateTime: 2008-11-06 17:39:51
ibiblio: no namespace defined: using system
ibiblio: no latest strategy defined: using default
null-resolver: no namespace defined: using system
null-resolver: no latest strategy defined: using default
maven-mirror-2: no namespace defined: using system
maven-mirror-2: no latest strategy defined: using default
external-libraries: no namespace defined: using system
external-libraries: no latest strategy defined: using default
maven-mirror-1: no namespace defined: using system
maven-mirror-1: no latest strategy defined: using default
local-maven-repo: no namespace defined: using system
local-maven-repo: no latest strategy defined: using default
maven-mirror-3: no namespace defined: using system
maven-mirror-3: no latest strategy defined: using default
svn-repo: no namespace defined: using system
svn-repo: no latest strategy defined: using default
setting 'ivy.default.ivy.user.dir' to '/home/aih1013/.ivy2'
settings loaded (70ms)
	default cache: /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
	default resolver: external-libraries
	default latest strategy: latest-revision
	default conflict manager: all
	circular dependency strategy: warn
	validate: true
	check up2date: true
	-- 8 resolvers:
	ibiblio [ibiblio]
		cache: null
		m2compatible: true
		ivy patterns:
			http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		artifact patterns:
			http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		repository: ibiblio
		root: http://repo1.maven.org/maven2/
		pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		usepoms: true
		useMavenMetadata: true
	null-resolver [file]
		cache: null
		m2compatible: false
		ivy patterns:
			/null/[module]/ivy-[revision].xml
		artifact patterns:
			/null/[module]/[artifact]-[revision].[ext]
		repository: null-resolver
	maven-mirror-2 [ibiblio]
		cache: null
		m2compatible: true
		ivy patterns:
			http://download.java.net/maven/2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		artifact patterns:
			http://download.java.net/maven/2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		repository: maven-mirror-2
		root: http://download.java.net/maven/2/
		pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		usepoms: true
		useMavenMetadata: true
	external-libraries [chain] [svn-repo, local-maven-repo, ibiblio,
maven-mirror-1, maven-mirror-2, maven-mirror-3]
		return first: false
		dual: true
		-> svn-repo
		-> local-maven-repo
		-> ibiblio
		-> maven-mirror-1
		-> maven-mirror-2
		-> maven-mirror-3
	maven-mirror-1 [ibiblio]
		cache: null
		m2compatible: true
		ivy patterns:
			https://maven-repository.dev.java.net/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		artifact patterns:
			https://maven-repository.dev.java.net/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		repository: maven-mirror-1
		root: https://maven-repository.dev.java.net/repository/
		pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		usepoms: true
		useMavenMetadata: true
	local-maven-repo [ibiblio]
		cache: null
		m2compatible: true
		ivy patterns:
			file:///home/aih1013/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		artifact patterns:
			file:///home/aih1013/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		repository: local-maven-repo
		root: file:///home/aih1013/.m2/repository/
		pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		usepoms: true
		useMavenMetadata: true
	maven-mirror-3 [ibiblio]
		cache: null
		m2compatible: true
		ivy patterns:
			http://repository.jboss.com/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		artifact patterns:
			http://repository.jboss.com/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		repository: maven-mirror-3
		root: http://repository.jboss.com/maven2/
		pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
		usepoms: true
		useMavenMetadata: true
	svn-repo [repository]
		cache: null
		m2compatible: false
		ivy patterns:
			artifacts/[organisation]/[module]/[revision]/[artifact].xml
		artifact patterns:
			artifacts/[organisation]/[module]/[revision]/[artifact].[ext]
		repository: svn-repo
	module settings:
		{module=.*, organization=com.griddynamics.myproject} (exactOrRegexp)
-> resolver: null-resolver
Setting project property: java.version.extern.settings -> 1.5.0_16
Setting project property: sun.io.unicode.encoding.extern.settings ->
UnicodeLittle
Setting project property: ivy.retrieve.pattern.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/lib/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.home -> /home/aih1013/.ivy2
Setting project property: ivy.home.extern.settings -> /home/aih1013/.ivy2
Setting project property: java.class.path.extern.settings ->
/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:/home/aih1013/.ant/lib/maven-ant-tasks-2.0.9.jar:/usr/share/ant/lib/ivysvnresolver.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/jsch.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/trilead.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ivy-2.0.0-rc2.jar:/usr/share/ant/lib/svnkit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/share/ant/lib/ant-commons-net.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/lib/tools.jar
Setting project property: java.awt.graphicsenv.extern.settings ->
sun.awt.X11GraphicsEnvironment
Setting project property: user.language.extern.settings -> en
Setting project property: sun.os.patch.level.extern.settings -> unknown
Setting project property: java.specification.vendor.extern.settings ->
Sun Microsystems Inc.
Setting project property: os.version.extern.settings -> 2.6.27-9-generic
Setting project property: ivy.build.artifacts.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/build/artifacts
Setting project property: ivy.resolve.default.type.filter.extern.settings -> *
Setting project property: sun.boot.class.path.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/rt.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i18n.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/jsse.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/jce.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/charsets.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/classes
Setting project property: file.encoding.extern.settings -> UTF-8
Setting project property: java.class.version.extern.settings -> 49.0
Setting project property: ivy.default.conf.dir ->
jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
Setting project property: ivy.default.conf.dir.extern.settings ->
jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
Setting project property: java.vm.version.extern.settings -> 1.5.0_16-b02
Setting project property: sun.desktop.extern.settings -> gnome
Setting project property: ivy.cache.dir ->
/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
Setting project property: ivy.cache.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
Setting project property: ivy.buildlist.ivyfilepath.extern.settings -> ivy.xml
Setting project property: java.io.tmpdir.extern.settings -> /tmp
Setting project property: java.home.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre
Setting project property: user.name.extern.settings -> aih1013
Setting project property:
ivy.publish.src.artifacts.pattern.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.checksums.extern.settings -> sha1,md5
Setting project property: ivy.status.extern.settings -> integration
Setting project property: ivy.settings.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/build
Setting project property: java.specification.name.extern.settings ->
Java Platform API Specification
Setting project property:
ivy.resolver.default.check.modified.extern.settings -> false
Setting project property: java.ext.dirs.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/ext
Setting project property: java.vm.info.extern.settings -> mixed mode
Setting project property: sun.arch.data.model.extern.settings -> 64
Setting project property: ivy.default.settings.dir.extern.settings ->
jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
Setting project property: java.vm.specification.version.extern.settings -> 1.0
Setting project property: java.vm.specification.name.extern.settings
-> Java Virtual Machine Specification
Setting project property: sun.management.compiler.extern.settings ->
HotSpot 64-Bit Server Compiler
Setting project property: ant.home.extern.settings -> /usr/share/ant
Setting project property: sun.cpu.endian.extern.settings -> little
Setting project property: path.separator.extern.settings -> :
Setting project property: java.vm.name.extern.settings -> Java
HotSpot(TM) 64-Bit Server VM
Setting project property: ivy.project.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: user.country.extern.settings -> US
Setting project property:
ivy.default.always.check.exact.revision.extern.settings -> false
Setting project property: ivy.conf.url ->
file:/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: ivy.conf.url.extern.settings ->
file:/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: ivy.settings.url ->
file:/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: ivy.settings.url.extern.settings ->
file:/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: ivy.default.ivy.user.dir -> /home/aih1013/.ivy2
Setting project property: ivy.default.ivy.user.dir.extern.settings ->
/home/aih1013/.ivy2
Setting project property: user.timezone.extern.settings -> W-SU
Setting project property: file.separator.extern.settings -> /
Setting project property: ivy.conf.dir ->
/home/aih1013/myproject/workspace/poc/build
Setting project property: ivy.conf.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/build
Setting project property: os.arch.extern.settings -> amd64
Setting project property: sun.boot.library.path.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64
Setting project property: file.encoding.pkg.extern.settings -> sun.io
Setting project property: ivy.conf.file ->
/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: ivy.conf.file.extern.settings ->
/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: line.separator.extern.settings ->
Setting project property: java.vendor.url.bug.extern.settings ->
http://java.sun.com/cgi-bin/bugreport.cgi
Setting project property: java.vm.vendor.extern.settings -> Sun
Microsystems Inc.
Setting project property: os.name.extern.settings -> Linux
Setting project property: ivy.configurations.extern.settings -> *
Setting project property: java.awt.printerjob.extern.settings ->
sun.print.PSPrinterJob
Setting project property: java.vendor.url.extern.settings ->
http://java.sun.com/
Setting project property: sun.jnu.encoding.extern.settings -> UTF-8
Setting project property: ivy.cache.ttl.default.extern.settings -> 10s
Setting project property: java.vm.specification.vendor.extern.settings
-> Sun Microsystems Inc.
Setting project property: ivy.log.modules.in.use.extern.settings -> false
Setting project property: sun.java.launcher.extern.settings -> SUN_STANDARD
Setting project property: ivy.deliver.ivy.pattern.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.settings.file.extern.settings ->
/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: java.runtime.name.extern.settings ->
Java(TM) 2 Runtime Environment, Standard Edition
Setting project property: ivy.lib.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/lib
Setting project property: java.runtime.version.extern.settings -> 1.5.0_16-b02
Setting project property: java.endorsed.dirs.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/endorsed
Setting project property: ivy.dep.file.extern.settings -> ivy.xml
Setting project property: java.library.path.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/../lib/amd64
Setting project property: ant.library.dir.extern.settings -> /usr/share/ant/lib
Setting project property: sun.cpu.isalist.extern.settings ->
Setting project property: ivy.report.output.pattern.extern.settings ->
[organisation]-[module]-[conf].[ext]
Setting project property: user.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: user.home.extern.settings -> /home/aih1013
Setting project property: java.vendor.extern.settings -> Sun Microsystems Inc.
Setting project property: java.specification.version.extern.settings -> 1.5
Setting project property: basedir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: ivy.basedir ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: ivy.basedir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: ivy.distrib.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib
[ivy:resolve] parameter found as ivy variable: ivy.configurations=*
[ivy:resolve] parameter found as ivy variable: ivy.resolve.default.type.filter=*
[ivy:resolve] parameter found as ivy variable: ivy.dep.file=ivy.xml
[ivy:resolve] using ivy parser to parse
file:/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
[ivy:resolve] post 1.3 ivy file: using exact as default matcher
[ivy:resolve] :: resolving dependencies ::
com.griddynamics.myproject#search-impl;working@akharlamov
[ivy:resolve] 	confs: [default, deploy, test]
[ivy:resolve] 	validate = true
[ivy:resolve] 	refresh = false
[ivy:resolve] resolving dependencies for configuration 'default'
[ivy:resolve] == resolving dependencies for
com.griddynamics.myproject#search-impl;working@akharlamov [default]
[ivy:resolve] loadData of
com.griddynamics.myproject#search-impl;working@akharlamov of
rootConf=default
[ivy:resolve] == resolving dependencies
com.griddynamics.myproject#search-impl;working@akharlamov->com.griddynamics.myproject#search-api;latest.integration
[default->default]
[ivy:resolve] loadData of
com.griddynamics.myproject#search-api;latest.integration of
rootConf=default
[ivy:resolve] 	using external-libraries to resolve
com.griddynamics.myproject#search-api;latest.integration
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[skipped]

[ivy:resolve] 	found com.griddynamics.myproject#search-api;1.0-dev-1 in svn-repo
[ivy:resolve] 	[1.0-dev-1]
com.griddynamics.myproject#search-api;latest.integration


[skipped]

[ivy:resolve] 	report for
com.griddynamics.myproject#search-impl;working@akharlamov test
produced in /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/com.griddynamics.myproject-search-impl-test.xml
[ivy:resolve] 	resolve done (6440ms resolve - 34ms download)
Adding reference: ivy.resolved.report
Adding reference: ivy.resolved.configurations.ref
Adding reference: ivy.resolved.descriptor
Adding reference: ivy.resolved.report.com.griddynamics.myproject.search-impl
Adding reference: ivy.resolved.descriptor.com.griddynamics.myproject.search-impl
Adding reference:
ivy.resolved.configurations.ref.com.griddynamics.myproject.search-impl
Setting project property: ivy.organisation -> com.griddynamics.myproject
[ivy:resolve] setting 'ivy.organisation' to 'com.griddynamics.myproject'
Setting project property: ivy.module -> search-impl
[ivy:resolve] setting 'ivy.module' to 'search-impl'
Setting project property: ivy.revision -> working@akharlamov
[ivy:resolve] setting 'ivy.revision' to 'working@akharlamov'
Setting project property: ivy.deps.changed -> false
[ivy:resolve] setting 'ivy.deps.changed' to 'false'
Setting project property: ivy.resolved.configurations -> default, deploy, test
[ivy:resolve] setting 'ivy.resolved.configurations' to 'default, deploy, test'
Setting project property: ivy.resolved.file ->
/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
[ivy:resolve] setting 'ivy.resolved.file' to
'/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml'
Overriding previous definition of property "ivy.version"
Setting project property: ivy.version -> 2.0.0-rc2
[ivy:retrieve] parameter found as ivy variable:
ivy.organisation=com.griddynamics.myproject
[ivy:retrieve] parameter found as ivy variable: ivy.module=search-impl
[ivy:retrieve] parameter found as ivy variable:
ivy.resolved.file=/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
[ivy:retrieve] using standard ensure resolved
[ivy:retrieve] parameter found as attribute value: ivy.resolved.configurations=*
[ivy:retrieve] calculating configurations to resolve
[ivy:retrieve] resolved configurations:   [deploy, default, test]
[ivy:retrieve] asked configurations:      [deploy, default, test]
[ivy:retrieve] to resolve configurations: []
[ivy:retrieve] parameter found as attribute value: ivy.resolved.configurations=*
[ivy:retrieve] parameter found as ivy variable:
ivy.resolved.configurations=default, deploy, test
[ivy:retrieve] parameter found as attribute value:
ivy.organisation=com.griddynamics.myproject
[ivy:retrieve] parameter found as attribute value: ivy.module=search-impl
[ivy:retrieve] parameter found as attribute value:
ivy.retrieve.pattern=/home/aih1013/myproject/workspace/poc/build/libraries/[artifact].[ext]
[ivy:retrieve] :: retrieving :: com.griddynamics.myproject#search-impl
[ivy:retrieve] 	checkUpToDate=true
[ivy:retrieve] 	confs: [default, deploy, test]
[ivy:retrieve] 	conflict on
/home/aih1013/myproject/workspace/poc/build/libraries/junit.xml in
[test]: 3.8.1 won
[ivy:retrieve] 		removing conflict looser artifact: junit#junit;4.4!ivy.xml(ivy)
[ivy:retrieve] 	conflict on
/home/aih1013/myproject/workspace/poc/build/libraries/junit.jar in
[test]: 4.4 won
[ivy:retrieve] 		removing conflict looser artifact: junit#junit;3.8.1!junit.jar

	[skip]

[ivy:retrieve] 	retrieving
/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/org.slf4j/slf4j-api/jars/slf4j-api-1.5.2.jar
[ivy:retrieve] 		to
/home/aih1013/myproject/workspace/poc/build/libraries/slf4j-api.jar
[NOT REQUIRED]
[ivy:retrieve] 	retrieving
/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/org.slf4j/slf4j-api/jars/slf4j-api-1.5.2.jar
[ivy:retrieve] 		to
/home/aih1013/myproject/workspace/poc/build/libraries/slf4j-api.jar
[NOT REQUIRED]
[ivy:retrieve] 	0 artifacts copied, 118 already retrieved (0kB/64ms)
[ivy:retrieve] 	retrieve done (64ms)
Setting project property: ivy.nb.targets.copied -> 0
Setting project property: ivy.targets.copied -> false

BUILD SUCCESSFUL
Total time: 7 seconds
===log===

-- 
Alexey Kharlamov
Senior Staff Engineer, Grid Dynamics
http://www.griddynamics.com
phone: +1-(650)-488-8063
mobile: +7-(916)-347-4994

Re: Ivy 2.0.0-RC2 Resolver override for modules does not work

Posted by Xavier Hanin <xa...@gmail.com>.
Could you try using en-GB spelling for organi[s]ation (s rather than z). My
guess is that the bug is "only" that Ivy doesn't support en-US spelling here
and doesn't complain either.

Xavier

On Mon, Dec 29, 2008 at 10:22 AM, Maarten Coene <ma...@yahoo.com>wrote:

> Could you open a JIRA ticket for this?
> It seems like a bug to me...
>
>
>
>
> ----- Original Message ----
> From: Alexey Kharlamov <ak...@griddynamics.com>
> To: ivy-user@ant.apache.org
> Sent: Thursday, December 25, 2008 11:13:23 PM
> Subject: Re: Ivy 2.0.0-RC2 Resolver override for modules does not work
>
> Doesn't work either
>
> On Fri, Dec 26, 2008 at 12:19 AM, Maarten Coene <ma...@yahoo.com>
> wrote:
> > Could you try with "*" as value for your module instead of ".*" ?
> >
> >    <modules>
> >        <module organization="com.griddynamics" name="*"
> resolver="null-resolver" />
> >    </modules>
> >
> >
> > Maarten
> >
> >
> >
> >
> > ----- Original Message ----
> > From: Alexey Kharlamov <ak...@griddynamics.com>
> > To: ivy-user@ant.apache.org
> > Sent: Thursday, December 25, 2008 12:39:13 PM
> > Subject: Ivy 2.0.0-RC2 Resolver override for modules does not work
> >
> > Hello!
> >
> > I am trying to enforce Ivy to skip resolution of some dependencies
> > with the given ivysettings.xml file. My assumption the settings file
> > below should reroute resolution of com.griddynamics/* to null-resolver
> > and avoid resolution. Unfortunately, this does not work. I got the
> > artifacts resolved by svn-repo according to debug log. Do I have a
> > mistake in the settings file?
> >
> > ===build.xml===
> >    <!-- Ivy settings -->
> >    <ivy:settings file="${ivy.default.settings.dir}/local.xml" />
> >    <ivy:settings id="extern.settings"
> > file="${ivy.default.settings.dir}/extern.xml" />
> >
> >    <target name="update-deps" description="Retrieve all libraries
> > needed by the project from public maven repositories">
> >    <!-- No halt on failure is required, as we can not resolve
> > interproject deps with maven repo -->
> >    <ivy:resolve settingsRef="extern.settings" haltonfailure="false"/>
> >    <ivy:retrieve settingsRef="extern.settings"
> >           pattern="${ivy.shared.default.root}/[artifact].[ext]"
> >           ivypattern="${ivy.shared.default.root}/[module].xml"
> >           conf="*"/>
> >   </target>
> > ===build.xml===
> >
> > ===extern.xml===
> > <ivysettings>
> >    <settings defaultResolver="external-libraries"
> defaultConflictManager="all" />
> >    <caches defaultCacheDir="${ivy.settings.dir}/ivy-cache/maven" />
> >
> >    <typedef name="svn"
> classname="fm.last.ivy.plugins.svnresolver.SvnResolver" />
> >
> >    <resolvers>
> >        <chain name="external-libraries" dual="true">
> >            <svn name="svn-repo" repositoryRoot="${ivy.svn.repo.root}"
> >                userName="${ivy.svn.user.name}"
> userPassword="${ivy.svn.password}">
> >                <ivy
> pattern="${ivy.svn.repo.path}/${ivy.svn.artifacts.pattern}" />
> >                <artifact
> pattern="${ivy.svn.repo.path}/${ivy.svn.manifest.pattern}" />
> >            </svn>
> >
> >            <ibiblio name="local-maven-repo" m2compatible="true"
> >                root="file://${user.home}/.m2/repository/" />
> >            <ibiblio name="ibiblio" m2compatible="true" />
> >            <ibiblio name="maven-mirror-1" m2compatible="true"
> >                root="https://maven-repository.dev.java.net/repository/"
> />
> >            <ibiblio name="maven-mirror-2" m2compatible="true"
> >                root="http://download.java.net/maven/2/" />
> >            <ibiblio name="maven-mirror-3" m2compatible="true"
> >                root="http://repository.jboss.com/maven2/" />
> >        </chain>
> >        <filesystem name="null-resolver">
> >            <ivy pattern="/null/[module]/ivy-[revision].xml" />
> >            <artifact pattern="/null/[module]/[artifact]-[revision].[ext]"
> />
> >        </filesystem>
> >    </resolvers>
> >
> >    <modules>
> >        <module organization="com.griddynamics" name=".*"
> resolver="null-resolver" />
> >    </modules>
> >
> > </ivysettings>
> > ===extern.xml===
> >
> > ===log===
> > Apache Ant version 1.7.1 compiled on October 3 2008
> > Buildfile: build.xml
> > Adding reference: ant.PropertyHelper
> > Detected Java version: 1.5 in: /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre
> > Detected OS: Linux
> > Adding reference: ant.ComponentHelper
> > Setting ro project property: ant.file ->
> > /home/aih1013/myproject/workspace/poc/search-impl/build.xml
> > Adding reference: ant.projectHelper
> > Adding reference: ant.parsing.context
> > Adding reference: ant.targets
> > parsing buildfile
> > /home/aih1013/myproject/workspace/poc/search-impl/build.xml with URI =
> > file:/home/aih1013/myproject/workspace/poc/search-impl/build.xml
> > Setting ro project property: ant.project.name -> search-impl
> > Adding reference: search-impl
> > Setting ro project property: ant.file.search-impl ->
> > /home/aih1013/myproject/workspace/poc/search-impl/build.xml
> > Project base dir set to:
> /home/aih1013/myproject/workspace/poc/search-impl
> > +Target:
> > [antlib:org.apache.tools.ant] Could not load definitions from resource
> > org/apache/tools/ant/antlib.xml. It could not be found.
> > Setting project property: project.path ->
> > /home/aih1013/myproject/workspace/poc/search-impl
> > Setting project property: common.dir ->
> /home/aih1013/myproject/workspace/poc
> > Importing file /home/aih1013/myproject/workspace/poc/common.xml from
> > /home/aih1013/myproject/workspace/poc/search-impl/build.xml
> > parsing buildfile /home/aih1013/myproject/workspace/poc/common.xml
> > with URI = file:/home/aih1013/myproject/workspace/poc/common.xml
> > Setting ro project property: ant.file.common ->
> > /home/aih1013/myproject/workspace/poc/common.xml
> > [property] Loading /home/aih1013/myproject/workspace/poc/build.properties
> > Setting project property: ivy.shared.default.root ->
> > /home/aih1013/myproject/workspace/poc/build/libraries
> > Setting project property: src.dir -> src/main/java
> > Setting project property: ivy.svn.repo.path -> artifacts
> > Setting project property: classes.dir ->
> > /home/aih1013/myproject/workspace/poc/search-impl/target/classes
> > Setting project property: ivy.manual.default.root ->
> > /home/aih1013/myproject/workspace/poc/build/manual
> > Setting project property: ivy.svn.repo.root ->
> > svn://svn.gdc.mirantis.sar/myproject
> > Setting project property: lib.dir ->
> > /home/aih1013/myproject/workspace/poc/search-impl/target/lib
> > Setting project property: ivy.svn.artifacts.pattern ->
> > [organisation]/[module]/[revision]/[artifact].xml
> > Setting project property: ivy.file ->
> > /home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> > Setting project property: ws.ant.lib ->
> > /home/aih1013/myproject/workspace/poc/ws-ant
> > Setting project property: ivy.local.default.root ->
> > /home/aih1013/myproject/workspace/poc/build/local
> > Setting project property: springVersion -> 2.5.5
> > Setting project property: ivy.svn.user.name -> myproject-scripts
> > Setting project property: module.version.target -> 1.0
> > Setting project property: ivy.settings.dir ->
> > /home/aih1013/myproject/workspace/poc/build
> > Setting project property: build.dir ->
> > /home/aih1013/myproject/workspace/poc/search-impl/target
> > Setting project property: gsVersion -> 6.6.2
> > Setting project property: ivy.svn.password -> Ui6pe2fa
> > Setting project property: wsdl.dir -> target/wsdl
> > Setting project property: ivy.svn.manifest.pattern ->
> > [organisation]/[module]/[revision]/[artifact].[ext]
> > Setting project property: ivy.default.settings.dir ->
> > /home/aih1013/myproject/workspace/poc/build
> > Setting project property: gs.jar.file -> gs-search-impl.jar
> > Setting project property: jar.file ->
> > /home/aih1013/myproject/workspace/poc/search-impl/target/search-impl.jar
> > Setting project property: deploy.lib.dir ->
> > /home/aih1013/myproject/workspace/poc/search-impl/target/shared-lib
> >    [mkdir] Skipping
> > /home/aih1013/myproject/workspace/poc/search-impl/target/lib because
> > it already exists.
> >
> > update-deps:
> > Setting project property: ivy.version -> 2.0.0-rc2
> > Loading
> jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings/ivy.properties
> > Setting project property: ivy.log.modules.in.use -> false
> > Setting project property: ivy.resolver.default.check.modified -> false
> > Setting project property: ivy.default.always.check.exact.revision ->
> false
> > Setting project property: ivy.retrieve.pattern ->
> >
> /home/aih1013/myproject/workspace/poc/search-impl/lib/[artifact]-[revision](-[classifier]).[ext]
> > Setting project property: ivy.configurations -> *
> > Setting project property: ivy.buildlist.ivyfilepath -> ivy.xml
> > Setting project property: ivy.status -> integration
> > Setting project property: ivy.resolve.default.type.filter -> *
> > Setting project property: ivy.project.dir ->
> > /home/aih1013/myproject/workspace/poc/search-impl
> > Setting project property: ivy.dep.file -> ivy.xml
> > Setting project property: ivy.settings.file -> ivysettings.xml
> > Setting project property: ivy.report.output.pattern ->
> > [organisation]-[module]-[conf].[ext]
> > Setting project property: ivy.cache.ttl.default -> 10s
> > Setting project property: ivy.publish.src.artifacts.pattern ->
> >
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> > Setting project property: ivy.deliver.ivy.pattern ->
> >
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> > Setting project property: ivy.build.artifacts.dir ->
> > /home/aih1013/myproject/workspace/poc/search-impl/build/artifacts
> > Setting project property: ivy.checksums -> sha1,md5
> > Setting project property: ivy.distrib.dir ->
> > /home/aih1013/myproject/workspace/poc/search-impl/distrib
> > Setting project property: ivy.lib.dir ->
> > /home/aih1013/myproject/workspace/poc/search-impl/lib
> > [ivy:resolve] :: Ivy 2.0.0-rc2 - 20081028224207 ::
> http://ant.apache.org/ivy/ ::
> > :: loading settings :: file =
> > /home/aih1013/myproject/workspace/poc/build/extern.xml
> > setting 'ivy.settings.dir' to
> '/home/aih1013/myproject/workspace/poc/build'
> > setting 'ivy.conf.dir' to '/home/aih1013/myproject/workspace/poc/build'
> > setting 'ivy.settings.file' to
> > '/home/aih1013/myproject/workspace/poc/build/extern.xml'
> > setting 'ivy.conf.file' to
> > '/home/aih1013/myproject/workspace/poc/build/extern.xml'
> > setting 'ivy.settings.url' to
> > 'file:/home/aih1013/myproject/workspace/poc/build/extern.xml'
> > setting 'ivy.conf.url' to
> > 'file:/home/aih1013/myproject/workspace/poc/build/extern.xml'
> > setting 'ivy.default.ivy.user.dir' to '/home/aih1013/.ivy2'
> > setting 'ivy.home' to '/home/aih1013/.ivy2'
> > no default ivy user dir defined: set to /home/aih1013/.ivy2
> > setting 'ivy.log.modules.in.use' to 'false'
> > setting 'ivy.resolver.default.check.modified' to 'false'
> > setting 'ivy.default.always.check.exact.revision' to 'false'
> > setting 'ivy.retrieve.pattern' to
> > '${ivy.lib.dir}/[artifact]-[revision](-[classifier]).[ext]'
> > setting 'ivy.configurations' to '*'
> > setting 'ivy.buildlist.ivyfilepath' to 'ivy.xml'
> > setting 'ivy.status' to 'integration'
> > setting 'ivy.resolve.default.type.filter' to '*'
> > setting 'ivy.project.dir' to '${basedir}'
> > setting 'ivy.dep.file' to 'ivy.xml'
> > setting 'ivy.settings.file' to 'ivysettings.xml'
> > setting 'ivy.report.output.pattern' to
> '[organisation]-[module]-[conf].[ext]'
> > setting 'ivy.cache.ttl.default' to '10s'
> > setting 'ivy.publish.src.artifacts.pattern' to
> > '${ivy.distrib.dir}/[type]s/[artifact]-[revision](-[classifier]).[ext]'
> > setting 'ivy.deliver.ivy.pattern' to
> > '${ivy.distrib.dir}/[type]s/[artifact]-[revision](-[classifier]).[ext]'
> > setting 'ivy.build.artifacts.dir' to '${ivy.project.dir}/build/artifacts'
> > setting 'ivy.checksums' to 'sha1,md5'
> > setting 'ivy.distrib.dir' to '${ivy.project.dir}/distrib'
> > setting 'ivy.lib.dir' to '${ivy.project.dir}/lib'
> > setting 'ivy.cache.dir' to
> > '/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven'
> > IvySvn Build-Version: 2.0.0-rc1
> > IvySvn Build-DateTime: 2008-11-06 17:39:51
> > ibiblio: no namespace defined: using system
> > ibiblio: no latest strategy defined: using default
> > null-resolver: no namespace defined: using system
> > null-resolver: no latest strategy defined: using default
> > maven-mirror-2: no namespace defined: using system
> > maven-mirror-2: no latest strategy defined: using default
> > external-libraries: no namespace defined: using system
> > external-libraries: no latest strategy defined: using default
> > maven-mirror-1: no namespace defined: using system
> > maven-mirror-1: no latest strategy defined: using default
> > local-maven-repo: no namespace defined: using system
> > local-maven-repo: no latest strategy defined: using default
> > maven-mirror-3: no namespace defined: using system
> > maven-mirror-3: no latest strategy defined: using default
> > svn-repo: no namespace defined: using system
> > svn-repo: no latest strategy defined: using default
> > setting 'ivy.default.ivy.user.dir' to '/home/aih1013/.ivy2'
> > settings loaded (70ms)
> >    default cache:
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
> >    default resolver: external-libraries
> >    default latest strategy: latest-revision
> >    default conflict manager: all
> >    circular dependency strategy: warn
> >    validate: true
> >    check up2date: true
> >    -- 8 resolvers:
> >    ibiblio [ibiblio]
> >        cache: null
> >        m2compatible: true
> >        ivy patterns:
> >
> http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        artifact patterns:
> >
> http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        repository: ibiblio
> >        root: http://repo1.maven.org/maven2/
> >        pattern:
> [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        usepoms: true
> >        useMavenMetadata: true
> >    null-resolver [file]
> >        cache: null
> >        m2compatible: false
> >        ivy patterns:
> >            /null/[module]/ivy-[revision].xml
> >        artifact patterns:
> >            /null/[module]/[artifact]-[revision].[ext]
> >        repository: null-resolver
> >    maven-mirror-2 [ibiblio]
> >        cache: null
> >        m2compatible: true
> >        ivy patterns:
> >
> http://download.java.net/maven/2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        artifact patterns:
> >
> http://download.java.net/maven/2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        repository: maven-mirror-2
> >        root: http://download.java.net/maven/2/
> >        pattern:
> [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        usepoms: true
> >        useMavenMetadata: true
> >    external-libraries [chain] [svn-repo, local-maven-repo, ibiblio,
> > maven-mirror-1, maven-mirror-2, maven-mirror-3]
> >        return first: false
> >        dual: true
> >        -> svn-repo
> >        -> local-maven-repo
> >        -> ibiblio
> >        -> maven-mirror-1
> >        -> maven-mirror-2
> >        -> maven-mirror-3
> >    maven-mirror-1 [ibiblio]
> >        cache: null
> >        m2compatible: true
> >        ivy patterns:
> >
> https://maven-repository.dev.java.net/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        artifact patterns:
> >
> https://maven-repository.dev.java.net/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        repository: maven-mirror-1
> >        root: https://maven-repository.dev.java.net/repository/
> >        pattern:
> [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        usepoms: true
> >        useMavenMetadata: true
> >    local-maven-repo [ibiblio]
> >        cache: null
> >        m2compatible: true
> >        ivy patterns:
> >
>  file:///home/aih1013/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        artifact patterns:
> >
>  file:///home/aih1013/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        repository: local-maven-repo
> >        root: file:///home/aih1013/.m2/repository/
> >        pattern:
> [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        usepoms: true
> >        useMavenMetadata: true
> >    maven-mirror-3 [ibiblio]
> >        cache: null
> >        m2compatible: true
> >        ivy patterns:
> >
> http://repository.jboss.com/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        artifact patterns:
> >
> http://repository.jboss.com/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        repository: maven-mirror-3
> >        root: http://repository.jboss.com/maven2/
> >        pattern:
> [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
> >        usepoms: true
> >        useMavenMetadata: true
> >    svn-repo [repository]
> >        cache: null
> >        m2compatible: false
> >        ivy patterns:
> >            artifacts/[organisation]/[module]/[revision]/[artifact].xml
> >        artifact patterns:
> >            artifacts/[organisation]/[module]/[revision]/[artifact].[ext]
> >        repository: svn-repo
> >    module settings:
> >        {module=.*, organization=com.griddynamics.myproject}
> (exactOrRegexp)
> > -> resolver: null-resolver
> > Setting project property: java.version.extern.settings -> 1.5.0_16
> > Setting project property: sun.io.unicode.encoding.extern.settings ->
> > UnicodeLittle
> > Setting project property: ivy.retrieve.pattern.extern.settings ->
> >
> /home/aih1013/myproject/workspace/poc/search-impl/lib/[artifact]-[revision](-[classifier]).[ext]
> > Setting project property: ivy.home -> /home/aih1013/.ivy2
> > Setting project property: ivy.home.extern.settings -> /home/aih1013/.ivy2
> > Setting project property: java.class.path.extern.settings ->
> >
> /usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:/home/aih1013/.ant/lib/maven-ant-tasks-2.0.9.jar:/usr/share/ant/lib/ivysvnresolver.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/jsch.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/trilead.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ivy-2.0.0-rc2.jar:/usr/share/ant/lib/svnkit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/shar
> >
> e/ant/lib/ant-commons-net.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/lib/tools.jar
> > Setting project property: java.awt.graphicsenv.extern.settings ->
> > sun.awt.X11GraphicsEnvironment
> > Setting project property: user.language.extern.settings -> en
> > Setting project property: sun.os.patch.level.extern.settings -> unknown
> > Setting project property: java.specification.vendor.extern.settings ->
> > Sun Microsystems Inc.
> > Setting project property: os.version.extern.settings -> 2.6.27-9-generic
> > Setting project property: ivy.build.artifacts.dir.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/search-impl/build/artifacts
> > Setting project property: ivy.resolve.default.type.filter.extern.settings
> -> *
> > Setting project property: sun.boot.class.path.extern.settings ->
> >
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/rt.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i18n.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/jsse.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/jce.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/charsets.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/classes
> > Setting project property: file.encoding.extern.settings -> UTF-8
> > Setting project property: java.class.version.extern.settings -> 49.0
> > Setting project property: ivy.default.conf.dir ->
> >
> jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
> > Setting project property: ivy.default.conf.dir.extern.settings ->
> >
> jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
> > Setting project property: java.vm.version.extern.settings -> 1.5.0_16-b02
> > Setting project property: sun.desktop.extern.settings -> gnome
> > Setting project property: ivy.cache.dir ->
> > /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
> > Setting project property: ivy.cache.dir.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
> > Setting project property: ivy.buildlist.ivyfilepath.extern.settings ->
> ivy.xml
> > Setting project property: java.io.tmpdir.extern.settings -> /tmp
> > Setting project property: java.home.extern.settings ->
> > /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre
> > Setting project property: user.name.extern.settings -> aih1013
> > Setting project property:
> > ivy.publish.src.artifacts.pattern.extern.settings ->
> >
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> > Setting project property: ivy.checksums.extern.settings -> sha1,md5
> > Setting project property: ivy.status.extern.settings -> integration
> > Setting project property: ivy.settings.dir.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/build
> > Setting project property: java.specification.name.extern.settings ->
> > Java Platform API Specification
> > Setting project property:
> > ivy.resolver.default.check.modified.extern.settings -> false
> > Setting project property: java.ext.dirs.extern.settings ->
> > /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/ext
> > Setting project property: java.vm.info.extern.settings -> mixed mode
> > Setting project property: sun.arch.data.model.extern.settings -> 64
> > Setting project property: ivy.default.settings.dir.extern.settings ->
> >
> jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
> > Setting project property: java.vm.specification.version.extern.settings
> -> 1.0
> > Setting project property: java.vm.specification.name.extern.settings
> > -> Java Virtual Machine Specification
> > Setting project property: sun.management.compiler.extern.settings ->
> > HotSpot 64-Bit Server Compiler
> > Setting project property: ant.home.extern.settings -> /usr/share/ant
> > Setting project property: sun.cpu.endian.extern.settings -> little
> > Setting project property: path.separator.extern.settings -> :
> > Setting project property: java.vm.name.extern.settings -> Java
> > HotSpot(TM) 64-Bit Server VM
> > Setting project property: ivy.project.dir.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/search-impl
> > Setting project property: user.country.extern.settings -> US
> > Setting project property:
> > ivy.default.always.check.exact.revision.extern.settings -> false
> > Setting project property: ivy.conf.url ->
> > file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> > Setting project property: ivy.conf.url.extern.settings ->
> > file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> > Setting project property: ivy.settings.url ->
> > file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> > Setting project property: ivy.settings.url.extern.settings ->
> > file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> > Setting project property: ivy.default.ivy.user.dir -> /home/aih1013/.ivy2
> > Setting project property: ivy.default.ivy.user.dir.extern.settings ->
> > /home/aih1013/.ivy2
> > Setting project property: user.timezone.extern.settings -> W-SU
> > Setting project property: file.separator.extern.settings -> /
> > Setting project property: ivy.conf.dir ->
> > /home/aih1013/myproject/workspace/poc/build
> > Setting project property: ivy.conf.dir.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/build
> > Setting project property: os.arch.extern.settings -> amd64
> > Setting project property: sun.boot.library.path.extern.settings ->
> > /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64
> > Setting project property: file.encoding.pkg.extern.settings -> sun.io
> > Setting project property: ivy.conf.file ->
> > /home/aih1013/myproject/workspace/poc/build/extern.xml
> > Setting project property: ivy.conf.file.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/build/extern.xml
> > Setting project property: line.separator.extern.settings ->
> > Setting project property: java.vendor.url.bug.extern.settings ->
> > http://java.sun.com/cgi-bin/bugreport.cgi
> > Setting project property: java.vm.vendor.extern.settings -> Sun
> > Microsystems Inc.
> > Setting project property: os.name.extern.settings -> Linux
> > Setting project property: ivy.configurations.extern.settings -> *
> > Setting project property: java.awt.printerjob.extern.settings ->
> > sun.print.PSPrinterJob
> > Setting project property: java.vendor.url.extern.settings ->
> > http://java.sun.com/
> > Setting project property: sun.jnu.encoding.extern.settings -> UTF-8
> > Setting project property: ivy.cache.ttl.default.extern.settings -> 10s
> > Setting project property: java.vm.specification.vendor.extern.settings
> > -> Sun Microsystems Inc.
> > Setting project property: ivy.log.modules.in.use.extern.settings -> false
> > Setting project property: sun.java.launcher.extern.settings ->
> SUN_STANDARD
> > Setting project property: ivy.deliver.ivy.pattern.extern.settings ->
> >
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> > Setting project property: ivy.settings.file.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/build/extern.xml
> > Setting project property: java.runtime.name.extern.settings ->
> > Java(TM) 2 Runtime Environment, Standard Edition
> > Setting project property: ivy.lib.dir.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/search-impl/lib
> > Setting project property: java.runtime.version.extern.settings ->
> 1.5.0_16-b02
> > Setting project property: java.endorsed.dirs.extern.settings ->
> > /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/endorsed
> > Setting project property: ivy.dep.file.extern.settings -> ivy.xml
> > Setting project property: java.library.path.extern.settings ->
> >
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/../lib/amd64
> > Setting project property: ant.library.dir.extern.settings ->
> /usr/share/ant/lib
> > Setting project property: sun.cpu.isalist.extern.settings ->
> > Setting project property: ivy.report.output.pattern.extern.settings ->
> > [organisation]-[module]-[conf].[ext]
> > Setting project property: user.dir.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/search-impl
> > Setting project property: user.home.extern.settings -> /home/aih1013
> > Setting project property: java.vendor.extern.settings -> Sun Microsystems
> Inc.
> > Setting project property: java.specification.version.extern.settings ->
> 1.5
> > Setting project property: basedir.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/search-impl
> > Setting project property: ivy.basedir ->
> > /home/aih1013/myproject/workspace/poc/search-impl
> > Setting project property: ivy.basedir.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/search-impl
> > Setting project property: ivy.distrib.dir.extern.settings ->
> > /home/aih1013/myproject/workspace/poc/search-impl/distrib
> > [ivy:resolve] parameter found as ivy variable: ivy.configurations=*
> > [ivy:resolve] parameter found as ivy variable:
> ivy.resolve.default.type.filter=*
> > [ivy:resolve] parameter found as ivy variable: ivy.dep.file=ivy.xml
> > [ivy:resolve] using ivy parser to parse
> > file:/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> > [ivy:resolve] post 1.3 ivy file: using exact as default matcher
> > [ivy:resolve] :: resolving dependencies ::
> > com.griddynamics.myproject#search-impl;working@akharlamov
> > [ivy:resolve]     confs: [default, deploy, test]
> > [ivy:resolve]     validate = true
> > [ivy:resolve]     refresh = false
> > [ivy:resolve] resolving dependencies for configuration 'default'
> > [ivy:resolve] == resolving dependencies for
> > com.griddynamics.myproject#search-impl;working@akharlamov [default]
> > [ivy:resolve] loadData of
> > com.griddynamics.myproject#search-impl;working@akharlamov of
> > rootConf=default
> > [ivy:resolve] == resolving dependencies
> > com.griddynamics.myproject#search-impl;working@akharlamov-
> >com.griddynamics.myproject#search-api;latest.integration
> > [default->default]
> > [ivy:resolve] loadData of
> > com.griddynamics.myproject#search-api;latest.integration of
> > rootConf=default
> > [ivy:resolve]     using external-libraries to resolve
> > com.griddynamics.myproject#search-api;latest.integration
> >
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > [skipped]
> >
> > [ivy:resolve]     found com.griddynamics.myproject#search-api;1.0-dev-1
> in svn-repo
> > [ivy:resolve]     [1.0-dev-1]
> > com.griddynamics.myproject#search-api;latest.integration
> >
> >
> > [skipped]
> >
> > [ivy:resolve]     report for
> > com.griddynamics.myproject#search-impl;working@akharlamov test
> > produced in
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/com.griddynamics.myproject-search-impl-test.xml
> > [ivy:resolve]     resolve done (6440ms resolve - 34ms download)
> > Adding reference: ivy.resolved.report
> > Adding reference: ivy.resolved.configurations.ref
> > Adding reference: ivy.resolved.descriptor
> > Adding reference:
> ivy.resolved.report.com.griddynamics.myproject.search-impl
> > Adding reference:
> ivy.resolved.descriptor.com.griddynamics.myproject.search-impl
> > Adding reference:
> > ivy.resolved.configurations.ref.com.griddynamics.myproject.search-impl
> > Setting project property: ivy.organisation -> com.griddynamics.myproject
> > [ivy:resolve] setting 'ivy.organisation' to 'com.griddynamics.myproject'
> > Setting project property: ivy.module -> search-impl
> > [ivy:resolve] setting 'ivy.module' to 'search-impl'
> > Setting project property: ivy.revision -> working@akharlamov
> > [ivy:resolve] setting 'ivy.revision' to 'working@akharlamov'
> > Setting project property: ivy.deps.changed -> false
> > [ivy:resolve] setting 'ivy.deps.changed' to 'false'
> > Setting project property: ivy.resolved.configurations -> default, deploy,
> test
> > [ivy:resolve] setting 'ivy.resolved.configurations' to 'default, deploy,
> test'
> > Setting project property: ivy.resolved.file ->
> > /home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> > [ivy:resolve] setting 'ivy.resolved.file' to
> > '/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml'
> > Overriding previous definition of property "ivy.version"
> > Setting project property: ivy.version -> 2.0.0-rc2
> > [ivy:retrieve] parameter found as ivy variable:
> > ivy.organisation=com.griddynamics.myproject
> > [ivy:retrieve] parameter found as ivy variable: ivy.module=search-impl
> > [ivy:retrieve] parameter found as ivy variable:
> >
> ivy.resolved.file=/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> > [ivy:retrieve] using standard ensure resolved
> > [ivy:retrieve] parameter found as attribute value:
> ivy.resolved.configurations=*
> > [ivy:retrieve] calculating configurations to resolve
> > [ivy:retrieve] resolved configurations:   [deploy, default, test]
> > [ivy:retrieve] asked configurations:      [deploy, default, test]
> > [ivy:retrieve] to resolve configurations: []
> > [ivy:retrieve] parameter found as attribute value:
> ivy.resolved.configurations=*
> > [ivy:retrieve] parameter found as ivy variable:
> > ivy.resolved.configurations=default, deploy, test
> > [ivy:retrieve] parameter found as attribute value:
> > ivy.organisation=com.griddynamics.myproject
> > [ivy:retrieve] parameter found as attribute value: ivy.module=search-impl
> > [ivy:retrieve] parameter found as attribute value:
> >
> ivy.retrieve.pattern=/home/aih1013/myproject/workspace/poc/build/libraries/[artifact].[ext]
> > [ivy:retrieve] :: retrieving :: com.griddynamics.myproject#search-impl
> > [ivy:retrieve]     checkUpToDate=true
> > [ivy:retrieve]     confs: [default, deploy, test]
> > [ivy:retrieve]     conflict on
> > /home/aih1013/myproject/workspace/poc/build/libraries/junit.xml in
> > [test]: 3.8.1 won
> > [ivy:retrieve]         removing conflict looser artifact:
> junit#junit;4.4!ivy.xml(ivy)
> > [ivy:retrieve]     conflict on
> > /home/aih1013/myproject/workspace/poc/build/libraries/junit.jar in
> > [test]: 4.4 won
> > [ivy:retrieve]         removing conflict looser artifact:
> junit#junit;3.8.1!junit.jar
> >
> >    [skip]
> >
> > [ivy:retrieve]     retrieving
> >
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/org.slf4j/slf4j-api/jars/slf4j-api-1.5.2.jar
> > [ivy:retrieve]         to
> > /home/aih1013/myproject/workspace/poc/build/libraries/slf4j-api.jar
> > [NOT REQUIRED]
> > [ivy:retrieve]     retrieving
> >
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/org.slf4j/slf4j-api/jars/slf4j-api-1.5.2.jar
> > [ivy:retrieve]         to
> > /home/aih1013/myproject/workspace/poc/build/libraries/slf4j-api.jar
> > [NOT REQUIRED]
> > [ivy:retrieve]     0 artifacts copied, 118 already retrieved (0kB/64ms)
> > [ivy:retrieve]     retrieve done (64ms)
> > Setting project property: ivy.nb.targets.copied -> 0
> > Setting project property: ivy.targets.copied -> false
> >
> > BUILD SUCCESSFUL
> > Total time: 7 seconds
> > ===log===
> >
> > --
> > Alexey Kharlamov
> > Senior Staff Engineer, Grid Dynamics
> > http://www.griddynamics.com
> > phone: +1-(650)-488-8063
> > mobile: +7-(916)-347-4994
> >
> >
> >
> >
> >
>
>
>
> --
> Alexey Kharlamov
> Senior Staff Engineer, Grid Dynamics
> http://www.griddynamics.com
> phone: +1-(650)-488-8063
> mobile: +7-(916)-347-4994
>
>
>
>
>


-- 
Xavier Hanin - 4SH France
BordeauxJUG co leader - http://www.bordeauxjug.org/
Blogger - http://xhab.blogspot.com/
Apache Ivy Creator - http://ant.apache.org/ivy/

Re: Ivy 2.0.0-RC2 Resolver override for modules does not work

Posted by Maarten Coene <ma...@yahoo.com>.
Could you open a JIRA ticket for this?
It seems like a bug to me...




----- Original Message ----
From: Alexey Kharlamov <ak...@griddynamics.com>
To: ivy-user@ant.apache.org
Sent: Thursday, December 25, 2008 11:13:23 PM
Subject: Re: Ivy 2.0.0-RC2 Resolver override for modules does not work

Doesn't work either

On Fri, Dec 26, 2008 at 12:19 AM, Maarten Coene <ma...@yahoo.com> wrote:
> Could you try with "*" as value for your module instead of ".*" ?
>
>    <modules>
>        <module organization="com.griddynamics" name="*" resolver="null-resolver" />
>    </modules>
>
>
> Maarten
>
>
>
>
> ----- Original Message ----
> From: Alexey Kharlamov <ak...@griddynamics.com>
> To: ivy-user@ant.apache.org
> Sent: Thursday, December 25, 2008 12:39:13 PM
> Subject: Ivy 2.0.0-RC2 Resolver override for modules does not work
>
> Hello!
>
> I am trying to enforce Ivy to skip resolution of some dependencies
> with the given ivysettings.xml file. My assumption the settings file
> below should reroute resolution of com.griddynamics/* to null-resolver
> and avoid resolution. Unfortunately, this does not work. I got the
> artifacts resolved by svn-repo according to debug log. Do I have a
> mistake in the settings file?
>
> ===build.xml===
>    <!-- Ivy settings -->
>    <ivy:settings file="${ivy.default.settings.dir}/local.xml" />
>    <ivy:settings id="extern.settings"
> file="${ivy.default.settings.dir}/extern.xml" />
>
>    <target name="update-deps" description="Retrieve all libraries
> needed by the project from public maven repositories">
>    <!-- No halt on failure is required, as we can not resolve
> interproject deps with maven repo -->
>    <ivy:resolve settingsRef="extern.settings" haltonfailure="false"/>
>    <ivy:retrieve settingsRef="extern.settings"
>           pattern="${ivy.shared.default.root}/[artifact].[ext]"
>           ivypattern="${ivy.shared.default.root}/[module].xml"
>           conf="*"/>
>   </target>
> ===build.xml===
>
> ===extern.xml===
> <ivysettings>
>    <settings defaultResolver="external-libraries" defaultConflictManager="all" />
>    <caches defaultCacheDir="${ivy.settings.dir}/ivy-cache/maven" />
>
>    <typedef name="svn" classname="fm.last.ivy.plugins.svnresolver.SvnResolver" />
>
>    <resolvers>
>        <chain name="external-libraries" dual="true">
>            <svn name="svn-repo" repositoryRoot="${ivy.svn.repo.root}"
>                userName="${ivy.svn.user.name}" userPassword="${ivy.svn.password}">
>                <ivy pattern="${ivy.svn.repo.path}/${ivy.svn.artifacts.pattern}" />
>                <artifact pattern="${ivy.svn.repo.path}/${ivy.svn.manifest.pattern}" />
>            </svn>
>
>            <ibiblio name="local-maven-repo" m2compatible="true"
>                root="file://${user.home}/.m2/repository/" />
>            <ibiblio name="ibiblio" m2compatible="true" />
>            <ibiblio name="maven-mirror-1" m2compatible="true"
>                root="https://maven-repository.dev.java.net/repository/" />
>            <ibiblio name="maven-mirror-2" m2compatible="true"
>                root="http://download.java.net/maven/2/" />
>            <ibiblio name="maven-mirror-3" m2compatible="true"
>                root="http://repository.jboss.com/maven2/" />
>        </chain>
>        <filesystem name="null-resolver">
>            <ivy pattern="/null/[module]/ivy-[revision].xml" />
>            <artifact pattern="/null/[module]/[artifact]-[revision].[ext]" />
>        </filesystem>
>    </resolvers>
>
>    <modules>
>        <module organization="com.griddynamics" name=".*" resolver="null-resolver" />
>    </modules>
>
> </ivysettings>
> ===extern.xml===
>
> ===log===
> Apache Ant version 1.7.1 compiled on October 3 2008
> Buildfile: build.xml
> Adding reference: ant.PropertyHelper
> Detected Java version: 1.5 in: /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre
> Detected OS: Linux
> Adding reference: ant.ComponentHelper
> Setting ro project property: ant.file ->
> /home/aih1013/myproject/workspace/poc/search-impl/build.xml
> Adding reference: ant.projectHelper
> Adding reference: ant.parsing.context
> Adding reference: ant.targets
> parsing buildfile
> /home/aih1013/myproject/workspace/poc/search-impl/build.xml with URI =
> file:/home/aih1013/myproject/workspace/poc/search-impl/build.xml
> Setting ro project property: ant.project.name -> search-impl
> Adding reference: search-impl
> Setting ro project property: ant.file.search-impl ->
> /home/aih1013/myproject/workspace/poc/search-impl/build.xml
> Project base dir set to: /home/aih1013/myproject/workspace/poc/search-impl
> +Target:
> [antlib:org.apache.tools.ant] Could not load definitions from resource
> org/apache/tools/ant/antlib.xml. It could not be found.
> Setting project property: project.path ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: common.dir -> /home/aih1013/myproject/workspace/poc
> Importing file /home/aih1013/myproject/workspace/poc/common.xml from
> /home/aih1013/myproject/workspace/poc/search-impl/build.xml
> parsing buildfile /home/aih1013/myproject/workspace/poc/common.xml
> with URI = file:/home/aih1013/myproject/workspace/poc/common.xml
> Setting ro project property: ant.file.common ->
> /home/aih1013/myproject/workspace/poc/common.xml
> [property] Loading /home/aih1013/myproject/workspace/poc/build.properties
> Setting project property: ivy.shared.default.root ->
> /home/aih1013/myproject/workspace/poc/build/libraries
> Setting project property: src.dir -> src/main/java
> Setting project property: ivy.svn.repo.path -> artifacts
> Setting project property: classes.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/target/classes
> Setting project property: ivy.manual.default.root ->
> /home/aih1013/myproject/workspace/poc/build/manual
> Setting project property: ivy.svn.repo.root ->
> svn://svn.gdc.mirantis.sar/myproject
> Setting project property: lib.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/target/lib
> Setting project property: ivy.svn.artifacts.pattern ->
> [organisation]/[module]/[revision]/[artifact].xml
> Setting project property: ivy.file ->
> /home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> Setting project property: ws.ant.lib ->
> /home/aih1013/myproject/workspace/poc/ws-ant
> Setting project property: ivy.local.default.root ->
> /home/aih1013/myproject/workspace/poc/build/local
> Setting project property: springVersion -> 2.5.5
> Setting project property: ivy.svn.user.name -> myproject-scripts
> Setting project property: module.version.target -> 1.0
> Setting project property: ivy.settings.dir ->
> /home/aih1013/myproject/workspace/poc/build
> Setting project property: build.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/target
> Setting project property: gsVersion -> 6.6.2
> Setting project property: ivy.svn.password -> Ui6pe2fa
> Setting project property: wsdl.dir -> target/wsdl
> Setting project property: ivy.svn.manifest.pattern ->
> [organisation]/[module]/[revision]/[artifact].[ext]
> Setting project property: ivy.default.settings.dir ->
> /home/aih1013/myproject/workspace/poc/build
> Setting project property: gs.jar.file -> gs-search-impl.jar
> Setting project property: jar.file ->
> /home/aih1013/myproject/workspace/poc/search-impl/target/search-impl.jar
> Setting project property: deploy.lib.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/target/shared-lib
>    [mkdir] Skipping
> /home/aih1013/myproject/workspace/poc/search-impl/target/lib because
> it already exists.
>
> update-deps:
> Setting project property: ivy.version -> 2.0.0-rc2
> Loading jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings/ivy.properties
> Setting project property: ivy.log.modules.in.use -> false
> Setting project property: ivy.resolver.default.check.modified -> false
> Setting project property: ivy.default.always.check.exact.revision -> false
> Setting project property: ivy.retrieve.pattern ->
> /home/aih1013/myproject/workspace/poc/search-impl/lib/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.configurations -> *
> Setting project property: ivy.buildlist.ivyfilepath -> ivy.xml
> Setting project property: ivy.status -> integration
> Setting project property: ivy.resolve.default.type.filter -> *
> Setting project property: ivy.project.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: ivy.dep.file -> ivy.xml
> Setting project property: ivy.settings.file -> ivysettings.xml
> Setting project property: ivy.report.output.pattern ->
> [organisation]-[module]-[conf].[ext]
> Setting project property: ivy.cache.ttl.default -> 10s
> Setting project property: ivy.publish.src.artifacts.pattern ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.deliver.ivy.pattern ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.build.artifacts.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/build/artifacts
> Setting project property: ivy.checksums -> sha1,md5
> Setting project property: ivy.distrib.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib
> Setting project property: ivy.lib.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/lib
> [ivy:resolve] :: Ivy 2.0.0-rc2 - 20081028224207 :: http://ant.apache.org/ivy/ ::
> :: loading settings :: file =
> /home/aih1013/myproject/workspace/poc/build/extern.xml
> setting 'ivy.settings.dir' to '/home/aih1013/myproject/workspace/poc/build'
> setting 'ivy.conf.dir' to '/home/aih1013/myproject/workspace/poc/build'
> setting 'ivy.settings.file' to
> '/home/aih1013/myproject/workspace/poc/build/extern.xml'
> setting 'ivy.conf.file' to
> '/home/aih1013/myproject/workspace/poc/build/extern.xml'
> setting 'ivy.settings.url' to
> 'file:/home/aih1013/myproject/workspace/poc/build/extern.xml'
> setting 'ivy.conf.url' to
> 'file:/home/aih1013/myproject/workspace/poc/build/extern.xml'
> setting 'ivy.default.ivy.user.dir' to '/home/aih1013/.ivy2'
> setting 'ivy.home' to '/home/aih1013/.ivy2'
> no default ivy user dir defined: set to /home/aih1013/.ivy2
> setting 'ivy.log.modules.in.use' to 'false'
> setting 'ivy.resolver.default.check.modified' to 'false'
> setting 'ivy.default.always.check.exact.revision' to 'false'
> setting 'ivy.retrieve.pattern' to
> '${ivy.lib.dir}/[artifact]-[revision](-[classifier]).[ext]'
> setting 'ivy.configurations' to '*'
> setting 'ivy.buildlist.ivyfilepath' to 'ivy.xml'
> setting 'ivy.status' to 'integration'
> setting 'ivy.resolve.default.type.filter' to '*'
> setting 'ivy.project.dir' to '${basedir}'
> setting 'ivy.dep.file' to 'ivy.xml'
> setting 'ivy.settings.file' to 'ivysettings.xml'
> setting 'ivy.report.output.pattern' to '[organisation]-[module]-[conf].[ext]'
> setting 'ivy.cache.ttl.default' to '10s'
> setting 'ivy.publish.src.artifacts.pattern' to
> '${ivy.distrib.dir}/[type]s/[artifact]-[revision](-[classifier]).[ext]'
> setting 'ivy.deliver.ivy.pattern' to
> '${ivy.distrib.dir}/[type]s/[artifact]-[revision](-[classifier]).[ext]'
> setting 'ivy.build.artifacts.dir' to '${ivy.project.dir}/build/artifacts'
> setting 'ivy.checksums' to 'sha1,md5'
> setting 'ivy.distrib.dir' to '${ivy.project.dir}/distrib'
> setting 'ivy.lib.dir' to '${ivy.project.dir}/lib'
> setting 'ivy.cache.dir' to
> '/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven'
> IvySvn Build-Version: 2.0.0-rc1
> IvySvn Build-DateTime: 2008-11-06 17:39:51
> ibiblio: no namespace defined: using system
> ibiblio: no latest strategy defined: using default
> null-resolver: no namespace defined: using system
> null-resolver: no latest strategy defined: using default
> maven-mirror-2: no namespace defined: using system
> maven-mirror-2: no latest strategy defined: using default
> external-libraries: no namespace defined: using system
> external-libraries: no latest strategy defined: using default
> maven-mirror-1: no namespace defined: using system
> maven-mirror-1: no latest strategy defined: using default
> local-maven-repo: no namespace defined: using system
> local-maven-repo: no latest strategy defined: using default
> maven-mirror-3: no namespace defined: using system
> maven-mirror-3: no latest strategy defined: using default
> svn-repo: no namespace defined: using system
> svn-repo: no latest strategy defined: using default
> setting 'ivy.default.ivy.user.dir' to '/home/aih1013/.ivy2'
> settings loaded (70ms)
>    default cache: /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
>    default resolver: external-libraries
>    default latest strategy: latest-revision
>    default conflict manager: all
>    circular dependency strategy: warn
>    validate: true
>    check up2date: true
>    -- 8 resolvers:
>    ibiblio [ibiblio]
>        cache: null
>        m2compatible: true
>        ivy patterns:
>            http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        artifact patterns:
>            http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        repository: ibiblio
>        root: http://repo1.maven.org/maven2/
>        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        usepoms: true
>        useMavenMetadata: true
>    null-resolver [file]
>        cache: null
>        m2compatible: false
>        ivy patterns:
>            /null/[module]/ivy-[revision].xml
>        artifact patterns:
>            /null/[module]/[artifact]-[revision].[ext]
>        repository: null-resolver
>    maven-mirror-2 [ibiblio]
>        cache: null
>        m2compatible: true
>        ivy patterns:
>            http://download.java.net/maven/2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        artifact patterns:
>            http://download.java.net/maven/2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        repository: maven-mirror-2
>        root: http://download.java.net/maven/2/
>        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        usepoms: true
>        useMavenMetadata: true
>    external-libraries [chain] [svn-repo, local-maven-repo, ibiblio,
> maven-mirror-1, maven-mirror-2, maven-mirror-3]
>        return first: false
>        dual: true
>        -> svn-repo
>        -> local-maven-repo
>        -> ibiblio
>        -> maven-mirror-1
>        -> maven-mirror-2
>        -> maven-mirror-3
>    maven-mirror-1 [ibiblio]
>        cache: null
>        m2compatible: true
>        ivy patterns:
>            https://maven-repository.dev.java.net/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        artifact patterns:
>            https://maven-repository.dev.java.net/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        repository: maven-mirror-1
>        root: https://maven-repository.dev.java.net/repository/
>        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        usepoms: true
>        useMavenMetadata: true
>    local-maven-repo [ibiblio]
>        cache: null
>        m2compatible: true
>        ivy patterns:
>            file:///home/aih1013/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        artifact patterns:
>            file:///home/aih1013/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        repository: local-maven-repo
>        root: file:///home/aih1013/.m2/repository/
>        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        usepoms: true
>        useMavenMetadata: true
>    maven-mirror-3 [ibiblio]
>        cache: null
>        m2compatible: true
>        ivy patterns:
>            http://repository.jboss.com/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        artifact patterns:
>            http://repository.jboss.com/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        repository: maven-mirror-3
>        root: http://repository.jboss.com/maven2/
>        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        usepoms: true
>        useMavenMetadata: true
>    svn-repo [repository]
>        cache: null
>        m2compatible: false
>        ivy patterns:
>            artifacts/[organisation]/[module]/[revision]/[artifact].xml
>        artifact patterns:
>            artifacts/[organisation]/[module]/[revision]/[artifact].[ext]
>        repository: svn-repo
>    module settings:
>        {module=.*, organization=com.griddynamics.myproject} (exactOrRegexp)
> -> resolver: null-resolver
> Setting project property: java.version.extern.settings -> 1.5.0_16
> Setting project property: sun.io.unicode.encoding.extern.settings ->
> UnicodeLittle
> Setting project property: ivy.retrieve.pattern.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/lib/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.home -> /home/aih1013/.ivy2
> Setting project property: ivy.home.extern.settings -> /home/aih1013/.ivy2
> Setting project property: java.class.path.extern.settings ->
> /usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:/home/aih1013/.ant/lib/maven-ant-tasks-2.0.9.jar:/usr/share/ant/lib/ivysvnresolver.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/jsch.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/trilead.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ivy-2.0.0-rc2.jar:/usr/share/ant/lib/svnkit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/shar
> e/ant/lib/ant-commons-net.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/lib/tools.jar
> Setting project property: java.awt.graphicsenv.extern.settings ->
> sun.awt.X11GraphicsEnvironment
> Setting project property: user.language.extern.settings -> en
> Setting project property: sun.os.patch.level.extern.settings -> unknown
> Setting project property: java.specification.vendor.extern.settings ->
> Sun Microsystems Inc.
> Setting project property: os.version.extern.settings -> 2.6.27-9-generic
> Setting project property: ivy.build.artifacts.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/build/artifacts
> Setting project property: ivy.resolve.default.type.filter.extern.settings -> *
> Setting project property: sun.boot.class.path.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/rt.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i18n.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/jsse.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/jce.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/charsets.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/classes
> Setting project property: file.encoding.extern.settings -> UTF-8
> Setting project property: java.class.version.extern.settings -> 49.0
> Setting project property: ivy.default.conf.dir ->
> jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
> Setting project property: ivy.default.conf.dir.extern.settings ->
> jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
> Setting project property: java.vm.version.extern.settings -> 1.5.0_16-b02
> Setting project property: sun.desktop.extern.settings -> gnome
> Setting project property: ivy.cache.dir ->
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
> Setting project property: ivy.cache.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
> Setting project property: ivy.buildlist.ivyfilepath.extern.settings -> ivy.xml
> Setting project property: java.io.tmpdir.extern.settings -> /tmp
> Setting project property: java.home.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre
> Setting project property: user.name.extern.settings -> aih1013
> Setting project property:
> ivy.publish.src.artifacts.pattern.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.checksums.extern.settings -> sha1,md5
> Setting project property: ivy.status.extern.settings -> integration
> Setting project property: ivy.settings.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/build
> Setting project property: java.specification.name.extern.settings ->
> Java Platform API Specification
> Setting project property:
> ivy.resolver.default.check.modified.extern.settings -> false
> Setting project property: java.ext.dirs.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/ext
> Setting project property: java.vm.info.extern.settings -> mixed mode
> Setting project property: sun.arch.data.model.extern.settings -> 64
> Setting project property: ivy.default.settings.dir.extern.settings ->
> jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
> Setting project property: java.vm.specification.version.extern.settings -> 1.0
> Setting project property: java.vm.specification.name.extern.settings
> -> Java Virtual Machine Specification
> Setting project property: sun.management.compiler.extern.settings ->
> HotSpot 64-Bit Server Compiler
> Setting project property: ant.home.extern.settings -> /usr/share/ant
> Setting project property: sun.cpu.endian.extern.settings -> little
> Setting project property: path.separator.extern.settings -> :
> Setting project property: java.vm.name.extern.settings -> Java
> HotSpot(TM) 64-Bit Server VM
> Setting project property: ivy.project.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: user.country.extern.settings -> US
> Setting project property:
> ivy.default.always.check.exact.revision.extern.settings -> false
> Setting project property: ivy.conf.url ->
> file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: ivy.conf.url.extern.settings ->
> file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: ivy.settings.url ->
> file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: ivy.settings.url.extern.settings ->
> file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: ivy.default.ivy.user.dir -> /home/aih1013/.ivy2
> Setting project property: ivy.default.ivy.user.dir.extern.settings ->
> /home/aih1013/.ivy2
> Setting project property: user.timezone.extern.settings -> W-SU
> Setting project property: file.separator.extern.settings -> /
> Setting project property: ivy.conf.dir ->
> /home/aih1013/myproject/workspace/poc/build
> Setting project property: ivy.conf.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/build
> Setting project property: os.arch.extern.settings -> amd64
> Setting project property: sun.boot.library.path.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64
> Setting project property: file.encoding.pkg.extern.settings -> sun.io
> Setting project property: ivy.conf.file ->
> /home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: ivy.conf.file.extern.settings ->
> /home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: line.separator.extern.settings ->
> Setting project property: java.vendor.url.bug.extern.settings ->
> http://java.sun.com/cgi-bin/bugreport.cgi
> Setting project property: java.vm.vendor.extern.settings -> Sun
> Microsystems Inc.
> Setting project property: os.name.extern.settings -> Linux
> Setting project property: ivy.configurations.extern.settings -> *
> Setting project property: java.awt.printerjob.extern.settings ->
> sun.print.PSPrinterJob
> Setting project property: java.vendor.url.extern.settings ->
> http://java.sun.com/
> Setting project property: sun.jnu.encoding.extern.settings -> UTF-8
> Setting project property: ivy.cache.ttl.default.extern.settings -> 10s
> Setting project property: java.vm.specification.vendor.extern.settings
> -> Sun Microsystems Inc.
> Setting project property: ivy.log.modules.in.use.extern.settings -> false
> Setting project property: sun.java.launcher.extern.settings -> SUN_STANDARD
> Setting project property: ivy.deliver.ivy.pattern.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.settings.file.extern.settings ->
> /home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: java.runtime.name.extern.settings ->
> Java(TM) 2 Runtime Environment, Standard Edition
> Setting project property: ivy.lib.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/lib
> Setting project property: java.runtime.version.extern.settings -> 1.5.0_16-b02
> Setting project property: java.endorsed.dirs.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/endorsed
> Setting project property: ivy.dep.file.extern.settings -> ivy.xml
> Setting project property: java.library.path.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/../lib/amd64
> Setting project property: ant.library.dir.extern.settings -> /usr/share/ant/lib
> Setting project property: sun.cpu.isalist.extern.settings ->
> Setting project property: ivy.report.output.pattern.extern.settings ->
> [organisation]-[module]-[conf].[ext]
> Setting project property: user.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: user.home.extern.settings -> /home/aih1013
> Setting project property: java.vendor.extern.settings -> Sun Microsystems Inc.
> Setting project property: java.specification.version.extern.settings -> 1.5
> Setting project property: basedir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: ivy.basedir ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: ivy.basedir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: ivy.distrib.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib
> [ivy:resolve] parameter found as ivy variable: ivy.configurations=*
> [ivy:resolve] parameter found as ivy variable: ivy.resolve.default.type.filter=*
> [ivy:resolve] parameter found as ivy variable: ivy.dep.file=ivy.xml
> [ivy:resolve] using ivy parser to parse
> file:/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> [ivy:resolve] post 1.3 ivy file: using exact as default matcher
> [ivy:resolve] :: resolving dependencies ::
> com.griddynamics.myproject#search-impl;working@akharlamov
> [ivy:resolve]     confs: [default, deploy, test]
> [ivy:resolve]     validate = true
> [ivy:resolve]     refresh = false
> [ivy:resolve] resolving dependencies for configuration 'default'
> [ivy:resolve] == resolving dependencies for
> com.griddynamics.myproject#search-impl;working@akharlamov [default]
> [ivy:resolve] loadData of
> com.griddynamics.myproject#search-impl;working@akharlamov of
> rootConf=default
> [ivy:resolve] == resolving dependencies
> com.griddynamics.myproject#search-impl;working@akharlamov->com.griddynamics.myproject#search-api;latest.integration
> [default->default]
> [ivy:resolve] loadData of
> com.griddynamics.myproject#search-api;latest.integration of
> rootConf=default
> [ivy:resolve]     using external-libraries to resolve
> com.griddynamics.myproject#search-api;latest.integration
>                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [skipped]
>
> [ivy:resolve]     found com.griddynamics.myproject#search-api;1.0-dev-1 in svn-repo
> [ivy:resolve]     [1.0-dev-1]
> com.griddynamics.myproject#search-api;latest.integration
>
>
> [skipped]
>
> [ivy:resolve]     report for
> com.griddynamics.myproject#search-impl;working@akharlamov test
> produced in /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/com.griddynamics.myproject-search-impl-test.xml
> [ivy:resolve]     resolve done (6440ms resolve - 34ms download)
> Adding reference: ivy.resolved.report
> Adding reference: ivy.resolved.configurations.ref
> Adding reference: ivy.resolved.descriptor
> Adding reference: ivy.resolved.report.com.griddynamics.myproject.search-impl
> Adding reference: ivy.resolved.descriptor.com.griddynamics.myproject.search-impl
> Adding reference:
> ivy.resolved.configurations.ref.com.griddynamics.myproject.search-impl
> Setting project property: ivy.organisation -> com.griddynamics.myproject
> [ivy:resolve] setting 'ivy.organisation' to 'com.griddynamics.myproject'
> Setting project property: ivy.module -> search-impl
> [ivy:resolve] setting 'ivy.module' to 'search-impl'
> Setting project property: ivy.revision -> working@akharlamov
> [ivy:resolve] setting 'ivy.revision' to 'working@akharlamov'
> Setting project property: ivy.deps.changed -> false
> [ivy:resolve] setting 'ivy.deps.changed' to 'false'
> Setting project property: ivy.resolved.configurations -> default, deploy, test
> [ivy:resolve] setting 'ivy.resolved.configurations' to 'default, deploy, test'
> Setting project property: ivy.resolved.file ->
> /home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> [ivy:resolve] setting 'ivy.resolved.file' to
> '/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml'
> Overriding previous definition of property "ivy.version"
> Setting project property: ivy.version -> 2.0.0-rc2
> [ivy:retrieve] parameter found as ivy variable:
> ivy.organisation=com.griddynamics.myproject
> [ivy:retrieve] parameter found as ivy variable: ivy.module=search-impl
> [ivy:retrieve] parameter found as ivy variable:
> ivy.resolved.file=/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> [ivy:retrieve] using standard ensure resolved
> [ivy:retrieve] parameter found as attribute value: ivy.resolved.configurations=*
> [ivy:retrieve] calculating configurations to resolve
> [ivy:retrieve] resolved configurations:   [deploy, default, test]
> [ivy:retrieve] asked configurations:      [deploy, default, test]
> [ivy:retrieve] to resolve configurations: []
> [ivy:retrieve] parameter found as attribute value: ivy.resolved.configurations=*
> [ivy:retrieve] parameter found as ivy variable:
> ivy.resolved.configurations=default, deploy, test
> [ivy:retrieve] parameter found as attribute value:
> ivy.organisation=com.griddynamics.myproject
> [ivy:retrieve] parameter found as attribute value: ivy.module=search-impl
> [ivy:retrieve] parameter found as attribute value:
> ivy.retrieve.pattern=/home/aih1013/myproject/workspace/poc/build/libraries/[artifact].[ext]
> [ivy:retrieve] :: retrieving :: com.griddynamics.myproject#search-impl
> [ivy:retrieve]     checkUpToDate=true
> [ivy:retrieve]     confs: [default, deploy, test]
> [ivy:retrieve]     conflict on
> /home/aih1013/myproject/workspace/poc/build/libraries/junit.xml in
> [test]: 3.8.1 won
> [ivy:retrieve]         removing conflict looser artifact: junit#junit;4.4!ivy.xml(ivy)
> [ivy:retrieve]     conflict on
> /home/aih1013/myproject/workspace/poc/build/libraries/junit.jar in
> [test]: 4.4 won
> [ivy:retrieve]         removing conflict looser artifact: junit#junit;3.8.1!junit.jar
>
>    [skip]
>
> [ivy:retrieve]     retrieving
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/org.slf4j/slf4j-api/jars/slf4j-api-1.5.2.jar
> [ivy:retrieve]         to
> /home/aih1013/myproject/workspace/poc/build/libraries/slf4j-api.jar
> [NOT REQUIRED]
> [ivy:retrieve]     retrieving
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/org.slf4j/slf4j-api/jars/slf4j-api-1.5.2.jar
> [ivy:retrieve]         to
> /home/aih1013/myproject/workspace/poc/build/libraries/slf4j-api.jar
> [NOT REQUIRED]
> [ivy:retrieve]     0 artifacts copied, 118 already retrieved (0kB/64ms)
> [ivy:retrieve]     retrieve done (64ms)
> Setting project property: ivy.nb.targets.copied -> 0
> Setting project property: ivy.targets.copied -> false
>
> BUILD SUCCESSFUL
> Total time: 7 seconds
> ===log===
>
> --
> Alexey Kharlamov
> Senior Staff Engineer, Grid Dynamics
> http://www.griddynamics.com
> phone: +1-(650)-488-8063
> mobile: +7-(916)-347-4994
>
>
>
>
>



-- 
Alexey Kharlamov
Senior Staff Engineer, Grid Dynamics
http://www.griddynamics.com
phone: +1-(650)-488-8063
mobile: +7-(916)-347-4994



      

Re: Ivy 2.0.0-RC2 Resolver override for modules does not work

Posted by Alexey Kharlamov <ak...@griddynamics.com>.
Doesn't work either

On Fri, Dec 26, 2008 at 12:19 AM, Maarten Coene <ma...@yahoo.com> wrote:
> Could you try with "*" as value for your module instead of ".*" ?
>
>    <modules>
>        <module organization="com.griddynamics" name="*" resolver="null-resolver" />
>    </modules>
>
>
> Maarten
>
>
>
>
> ----- Original Message ----
> From: Alexey Kharlamov <ak...@griddynamics.com>
> To: ivy-user@ant.apache.org
> Sent: Thursday, December 25, 2008 12:39:13 PM
> Subject: Ivy 2.0.0-RC2 Resolver override for modules does not work
>
> Hello!
>
> I am trying to enforce Ivy to skip resolution of some dependencies
> with the given ivysettings.xml file. My assumption the settings file
> below should reroute resolution of com.griddynamics/* to null-resolver
> and avoid resolution. Unfortunately, this does not work. I got the
> artifacts resolved by svn-repo according to debug log. Do I have a
> mistake in the settings file?
>
> ===build.xml===
>    <!-- Ivy settings -->
>    <ivy:settings file="${ivy.default.settings.dir}/local.xml" />
>    <ivy:settings id="extern.settings"
> file="${ivy.default.settings.dir}/extern.xml" />
>
>    <target name="update-deps" description="Retrieve all libraries
> needed by the project from public maven repositories">
>    <!-- No halt on failure is required, as we can not resolve
> interproject deps with maven repo -->
>    <ivy:resolve settingsRef="extern.settings" haltonfailure="false"/>
>    <ivy:retrieve settingsRef="extern.settings"
>           pattern="${ivy.shared.default.root}/[artifact].[ext]"
>           ivypattern="${ivy.shared.default.root}/[module].xml"
>           conf="*"/>
>   </target>
> ===build.xml===
>
> ===extern.xml===
> <ivysettings>
>    <settings defaultResolver="external-libraries" defaultConflictManager="all" />
>    <caches defaultCacheDir="${ivy.settings.dir}/ivy-cache/maven" />
>
>    <typedef name="svn" classname="fm.last.ivy.plugins.svnresolver.SvnResolver" />
>
>    <resolvers>
>        <chain name="external-libraries" dual="true">
>            <svn name="svn-repo" repositoryRoot="${ivy.svn.repo.root}"
>                userName="${ivy.svn.user.name}" userPassword="${ivy.svn.password}">
>                <ivy pattern="${ivy.svn.repo.path}/${ivy.svn.artifacts.pattern}" />
>                <artifact pattern="${ivy.svn.repo.path}/${ivy.svn.manifest.pattern}" />
>            </svn>
>
>            <ibiblio name="local-maven-repo" m2compatible="true"
>                root="file://${user.home}/.m2/repository/" />
>            <ibiblio name="ibiblio" m2compatible="true" />
>            <ibiblio name="maven-mirror-1" m2compatible="true"
>                root="https://maven-repository.dev.java.net/repository/" />
>            <ibiblio name="maven-mirror-2" m2compatible="true"
>                root="http://download.java.net/maven/2/" />
>            <ibiblio name="maven-mirror-3" m2compatible="true"
>                root="http://repository.jboss.com/maven2/" />
>        </chain>
>        <filesystem name="null-resolver">
>            <ivy pattern="/null/[module]/ivy-[revision].xml" />
>            <artifact pattern="/null/[module]/[artifact]-[revision].[ext]" />
>        </filesystem>
>    </resolvers>
>
>    <modules>
>        <module organization="com.griddynamics" name=".*" resolver="null-resolver" />
>    </modules>
>
> </ivysettings>
> ===extern.xml===
>
> ===log===
> Apache Ant version 1.7.1 compiled on October 3 2008
> Buildfile: build.xml
> Adding reference: ant.PropertyHelper
> Detected Java version: 1.5 in: /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre
> Detected OS: Linux
> Adding reference: ant.ComponentHelper
> Setting ro project property: ant.file ->
> /home/aih1013/myproject/workspace/poc/search-impl/build.xml
> Adding reference: ant.projectHelper
> Adding reference: ant.parsing.context
> Adding reference: ant.targets
> parsing buildfile
> /home/aih1013/myproject/workspace/poc/search-impl/build.xml with URI =
> file:/home/aih1013/myproject/workspace/poc/search-impl/build.xml
> Setting ro project property: ant.project.name -> search-impl
> Adding reference: search-impl
> Setting ro project property: ant.file.search-impl ->
> /home/aih1013/myproject/workspace/poc/search-impl/build.xml
> Project base dir set to: /home/aih1013/myproject/workspace/poc/search-impl
> +Target:
> [antlib:org.apache.tools.ant] Could not load definitions from resource
> org/apache/tools/ant/antlib.xml. It could not be found.
> Setting project property: project.path ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: common.dir -> /home/aih1013/myproject/workspace/poc
> Importing file /home/aih1013/myproject/workspace/poc/common.xml from
> /home/aih1013/myproject/workspace/poc/search-impl/build.xml
> parsing buildfile /home/aih1013/myproject/workspace/poc/common.xml
> with URI = file:/home/aih1013/myproject/workspace/poc/common.xml
> Setting ro project property: ant.file.common ->
> /home/aih1013/myproject/workspace/poc/common.xml
> [property] Loading /home/aih1013/myproject/workspace/poc/build.properties
> Setting project property: ivy.shared.default.root ->
> /home/aih1013/myproject/workspace/poc/build/libraries
> Setting project property: src.dir -> src/main/java
> Setting project property: ivy.svn.repo.path -> artifacts
> Setting project property: classes.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/target/classes
> Setting project property: ivy.manual.default.root ->
> /home/aih1013/myproject/workspace/poc/build/manual
> Setting project property: ivy.svn.repo.root ->
> svn://svn.gdc.mirantis.sar/myproject
> Setting project property: lib.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/target/lib
> Setting project property: ivy.svn.artifacts.pattern ->
> [organisation]/[module]/[revision]/[artifact].xml
> Setting project property: ivy.file ->
> /home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> Setting project property: ws.ant.lib ->
> /home/aih1013/myproject/workspace/poc/ws-ant
> Setting project property: ivy.local.default.root ->
> /home/aih1013/myproject/workspace/poc/build/local
> Setting project property: springVersion -> 2.5.5
> Setting project property: ivy.svn.user.name -> myproject-scripts
> Setting project property: module.version.target -> 1.0
> Setting project property: ivy.settings.dir ->
> /home/aih1013/myproject/workspace/poc/build
> Setting project property: build.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/target
> Setting project property: gsVersion -> 6.6.2
> Setting project property: ivy.svn.password -> Ui6pe2fa
> Setting project property: wsdl.dir -> target/wsdl
> Setting project property: ivy.svn.manifest.pattern ->
> [organisation]/[module]/[revision]/[artifact].[ext]
> Setting project property: ivy.default.settings.dir ->
> /home/aih1013/myproject/workspace/poc/build
> Setting project property: gs.jar.file -> gs-search-impl.jar
> Setting project property: jar.file ->
> /home/aih1013/myproject/workspace/poc/search-impl/target/search-impl.jar
> Setting project property: deploy.lib.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/target/shared-lib
>    [mkdir] Skipping
> /home/aih1013/myproject/workspace/poc/search-impl/target/lib because
> it already exists.
>
> update-deps:
> Setting project property: ivy.version -> 2.0.0-rc2
> Loading jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings/ivy.properties
> Setting project property: ivy.log.modules.in.use -> false
> Setting project property: ivy.resolver.default.check.modified -> false
> Setting project property: ivy.default.always.check.exact.revision -> false
> Setting project property: ivy.retrieve.pattern ->
> /home/aih1013/myproject/workspace/poc/search-impl/lib/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.configurations -> *
> Setting project property: ivy.buildlist.ivyfilepath -> ivy.xml
> Setting project property: ivy.status -> integration
> Setting project property: ivy.resolve.default.type.filter -> *
> Setting project property: ivy.project.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: ivy.dep.file -> ivy.xml
> Setting project property: ivy.settings.file -> ivysettings.xml
> Setting project property: ivy.report.output.pattern ->
> [organisation]-[module]-[conf].[ext]
> Setting project property: ivy.cache.ttl.default -> 10s
> Setting project property: ivy.publish.src.artifacts.pattern ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.deliver.ivy.pattern ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.build.artifacts.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/build/artifacts
> Setting project property: ivy.checksums -> sha1,md5
> Setting project property: ivy.distrib.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib
> Setting project property: ivy.lib.dir ->
> /home/aih1013/myproject/workspace/poc/search-impl/lib
> [ivy:resolve] :: Ivy 2.0.0-rc2 - 20081028224207 :: http://ant.apache.org/ivy/ ::
> :: loading settings :: file =
> /home/aih1013/myproject/workspace/poc/build/extern.xml
> setting 'ivy.settings.dir' to '/home/aih1013/myproject/workspace/poc/build'
> setting 'ivy.conf.dir' to '/home/aih1013/myproject/workspace/poc/build'
> setting 'ivy.settings.file' to
> '/home/aih1013/myproject/workspace/poc/build/extern.xml'
> setting 'ivy.conf.file' to
> '/home/aih1013/myproject/workspace/poc/build/extern.xml'
> setting 'ivy.settings.url' to
> 'file:/home/aih1013/myproject/workspace/poc/build/extern.xml'
> setting 'ivy.conf.url' to
> 'file:/home/aih1013/myproject/workspace/poc/build/extern.xml'
> setting 'ivy.default.ivy.user.dir' to '/home/aih1013/.ivy2'
> setting 'ivy.home' to '/home/aih1013/.ivy2'
> no default ivy user dir defined: set to /home/aih1013/.ivy2
> setting 'ivy.log.modules.in.use' to 'false'
> setting 'ivy.resolver.default.check.modified' to 'false'
> setting 'ivy.default.always.check.exact.revision' to 'false'
> setting 'ivy.retrieve.pattern' to
> '${ivy.lib.dir}/[artifact]-[revision](-[classifier]).[ext]'
> setting 'ivy.configurations' to '*'
> setting 'ivy.buildlist.ivyfilepath' to 'ivy.xml'
> setting 'ivy.status' to 'integration'
> setting 'ivy.resolve.default.type.filter' to '*'
> setting 'ivy.project.dir' to '${basedir}'
> setting 'ivy.dep.file' to 'ivy.xml'
> setting 'ivy.settings.file' to 'ivysettings.xml'
> setting 'ivy.report.output.pattern' to '[organisation]-[module]-[conf].[ext]'
> setting 'ivy.cache.ttl.default' to '10s'
> setting 'ivy.publish.src.artifacts.pattern' to
> '${ivy.distrib.dir}/[type]s/[artifact]-[revision](-[classifier]).[ext]'
> setting 'ivy.deliver.ivy.pattern' to
> '${ivy.distrib.dir}/[type]s/[artifact]-[revision](-[classifier]).[ext]'
> setting 'ivy.build.artifacts.dir' to '${ivy.project.dir}/build/artifacts'
> setting 'ivy.checksums' to 'sha1,md5'
> setting 'ivy.distrib.dir' to '${ivy.project.dir}/distrib'
> setting 'ivy.lib.dir' to '${ivy.project.dir}/lib'
> setting 'ivy.cache.dir' to
> '/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven'
> IvySvn Build-Version: 2.0.0-rc1
> IvySvn Build-DateTime: 2008-11-06 17:39:51
> ibiblio: no namespace defined: using system
> ibiblio: no latest strategy defined: using default
> null-resolver: no namespace defined: using system
> null-resolver: no latest strategy defined: using default
> maven-mirror-2: no namespace defined: using system
> maven-mirror-2: no latest strategy defined: using default
> external-libraries: no namespace defined: using system
> external-libraries: no latest strategy defined: using default
> maven-mirror-1: no namespace defined: using system
> maven-mirror-1: no latest strategy defined: using default
> local-maven-repo: no namespace defined: using system
> local-maven-repo: no latest strategy defined: using default
> maven-mirror-3: no namespace defined: using system
> maven-mirror-3: no latest strategy defined: using default
> svn-repo: no namespace defined: using system
> svn-repo: no latest strategy defined: using default
> setting 'ivy.default.ivy.user.dir' to '/home/aih1013/.ivy2'
> settings loaded (70ms)
>    default cache: /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
>    default resolver: external-libraries
>    default latest strategy: latest-revision
>    default conflict manager: all
>    circular dependency strategy: warn
>    validate: true
>    check up2date: true
>    -- 8 resolvers:
>    ibiblio [ibiblio]
>        cache: null
>        m2compatible: true
>        ivy patterns:
>            http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        artifact patterns:
>            http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        repository: ibiblio
>        root: http://repo1.maven.org/maven2/
>        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        usepoms: true
>        useMavenMetadata: true
>    null-resolver [file]
>        cache: null
>        m2compatible: false
>        ivy patterns:
>            /null/[module]/ivy-[revision].xml
>        artifact patterns:
>            /null/[module]/[artifact]-[revision].[ext]
>        repository: null-resolver
>    maven-mirror-2 [ibiblio]
>        cache: null
>        m2compatible: true
>        ivy patterns:
>            http://download.java.net/maven/2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        artifact patterns:
>            http://download.java.net/maven/2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        repository: maven-mirror-2
>        root: http://download.java.net/maven/2/
>        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        usepoms: true
>        useMavenMetadata: true
>    external-libraries [chain] [svn-repo, local-maven-repo, ibiblio,
> maven-mirror-1, maven-mirror-2, maven-mirror-3]
>        return first: false
>        dual: true
>        -> svn-repo
>        -> local-maven-repo
>        -> ibiblio
>        -> maven-mirror-1
>        -> maven-mirror-2
>        -> maven-mirror-3
>    maven-mirror-1 [ibiblio]
>        cache: null
>        m2compatible: true
>        ivy patterns:
>            https://maven-repository.dev.java.net/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        artifact patterns:
>            https://maven-repository.dev.java.net/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        repository: maven-mirror-1
>        root: https://maven-repository.dev.java.net/repository/
>        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        usepoms: true
>        useMavenMetadata: true
>    local-maven-repo [ibiblio]
>        cache: null
>        m2compatible: true
>        ivy patterns:
>            file:///home/aih1013/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        artifact patterns:
>            file:///home/aih1013/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        repository: local-maven-repo
>        root: file:///home/aih1013/.m2/repository/
>        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        usepoms: true
>        useMavenMetadata: true
>    maven-mirror-3 [ibiblio]
>        cache: null
>        m2compatible: true
>        ivy patterns:
>            http://repository.jboss.com/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        artifact patterns:
>            http://repository.jboss.com/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        repository: maven-mirror-3
>        root: http://repository.jboss.com/maven2/
>        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
>        usepoms: true
>        useMavenMetadata: true
>    svn-repo [repository]
>        cache: null
>        m2compatible: false
>        ivy patterns:
>            artifacts/[organisation]/[module]/[revision]/[artifact].xml
>        artifact patterns:
>            artifacts/[organisation]/[module]/[revision]/[artifact].[ext]
>        repository: svn-repo
>    module settings:
>        {module=.*, organization=com.griddynamics.myproject} (exactOrRegexp)
> -> resolver: null-resolver
> Setting project property: java.version.extern.settings -> 1.5.0_16
> Setting project property: sun.io.unicode.encoding.extern.settings ->
> UnicodeLittle
> Setting project property: ivy.retrieve.pattern.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/lib/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.home -> /home/aih1013/.ivy2
> Setting project property: ivy.home.extern.settings -> /home/aih1013/.ivy2
> Setting project property: java.class.path.extern.settings ->
> /usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:/home/aih1013/.ant/lib/maven-ant-tasks-2.0.9.jar:/usr/share/ant/lib/ivysvnresolver.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/jsch.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/trilead.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ivy-2.0.0-rc2.jar:/usr/share/ant/lib/svnkit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/shar
> e/ant/lib/ant-commons-net.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/lib/tools.jar
> Setting project property: java.awt.graphicsenv.extern.settings ->
> sun.awt.X11GraphicsEnvironment
> Setting project property: user.language.extern.settings -> en
> Setting project property: sun.os.patch.level.extern.settings -> unknown
> Setting project property: java.specification.vendor.extern.settings ->
> Sun Microsystems Inc.
> Setting project property: os.version.extern.settings -> 2.6.27-9-generic
> Setting project property: ivy.build.artifacts.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/build/artifacts
> Setting project property: ivy.resolve.default.type.filter.extern.settings -> *
> Setting project property: sun.boot.class.path.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/rt.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i18n.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/jsse.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/jce.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/charsets.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/classes
> Setting project property: file.encoding.extern.settings -> UTF-8
> Setting project property: java.class.version.extern.settings -> 49.0
> Setting project property: ivy.default.conf.dir ->
> jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
> Setting project property: ivy.default.conf.dir.extern.settings ->
> jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
> Setting project property: java.vm.version.extern.settings -> 1.5.0_16-b02
> Setting project property: sun.desktop.extern.settings -> gnome
> Setting project property: ivy.cache.dir ->
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
> Setting project property: ivy.cache.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
> Setting project property: ivy.buildlist.ivyfilepath.extern.settings -> ivy.xml
> Setting project property: java.io.tmpdir.extern.settings -> /tmp
> Setting project property: java.home.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre
> Setting project property: user.name.extern.settings -> aih1013
> Setting project property:
> ivy.publish.src.artifacts.pattern.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.checksums.extern.settings -> sha1,md5
> Setting project property: ivy.status.extern.settings -> integration
> Setting project property: ivy.settings.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/build
> Setting project property: java.specification.name.extern.settings ->
> Java Platform API Specification
> Setting project property:
> ivy.resolver.default.check.modified.extern.settings -> false
> Setting project property: java.ext.dirs.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/ext
> Setting project property: java.vm.info.extern.settings -> mixed mode
> Setting project property: sun.arch.data.model.extern.settings -> 64
> Setting project property: ivy.default.settings.dir.extern.settings ->
> jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
> Setting project property: java.vm.specification.version.extern.settings -> 1.0
> Setting project property: java.vm.specification.name.extern.settings
> -> Java Virtual Machine Specification
> Setting project property: sun.management.compiler.extern.settings ->
> HotSpot 64-Bit Server Compiler
> Setting project property: ant.home.extern.settings -> /usr/share/ant
> Setting project property: sun.cpu.endian.extern.settings -> little
> Setting project property: path.separator.extern.settings -> :
> Setting project property: java.vm.name.extern.settings -> Java
> HotSpot(TM) 64-Bit Server VM
> Setting project property: ivy.project.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: user.country.extern.settings -> US
> Setting project property:
> ivy.default.always.check.exact.revision.extern.settings -> false
> Setting project property: ivy.conf.url ->
> file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: ivy.conf.url.extern.settings ->
> file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: ivy.settings.url ->
> file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: ivy.settings.url.extern.settings ->
> file:/home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: ivy.default.ivy.user.dir -> /home/aih1013/.ivy2
> Setting project property: ivy.default.ivy.user.dir.extern.settings ->
> /home/aih1013/.ivy2
> Setting project property: user.timezone.extern.settings -> W-SU
> Setting project property: file.separator.extern.settings -> /
> Setting project property: ivy.conf.dir ->
> /home/aih1013/myproject/workspace/poc/build
> Setting project property: ivy.conf.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/build
> Setting project property: os.arch.extern.settings -> amd64
> Setting project property: sun.boot.library.path.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64
> Setting project property: file.encoding.pkg.extern.settings -> sun.io
> Setting project property: ivy.conf.file ->
> /home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: ivy.conf.file.extern.settings ->
> /home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: line.separator.extern.settings ->
> Setting project property: java.vendor.url.bug.extern.settings ->
> http://java.sun.com/cgi-bin/bugreport.cgi
> Setting project property: java.vm.vendor.extern.settings -> Sun
> Microsystems Inc.
> Setting project property: os.name.extern.settings -> Linux
> Setting project property: ivy.configurations.extern.settings -> *
> Setting project property: java.awt.printerjob.extern.settings ->
> sun.print.PSPrinterJob
> Setting project property: java.vendor.url.extern.settings ->
> http://java.sun.com/
> Setting project property: sun.jnu.encoding.extern.settings -> UTF-8
> Setting project property: ivy.cache.ttl.default.extern.settings -> 10s
> Setting project property: java.vm.specification.vendor.extern.settings
> -> Sun Microsystems Inc.
> Setting project property: ivy.log.modules.in.use.extern.settings -> false
> Setting project property: sun.java.launcher.extern.settings -> SUN_STANDARD
> Setting project property: ivy.deliver.ivy.pattern.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
> Setting project property: ivy.settings.file.extern.settings ->
> /home/aih1013/myproject/workspace/poc/build/extern.xml
> Setting project property: java.runtime.name.extern.settings ->
> Java(TM) 2 Runtime Environment, Standard Edition
> Setting project property: ivy.lib.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/lib
> Setting project property: java.runtime.version.extern.settings -> 1.5.0_16-b02
> Setting project property: java.endorsed.dirs.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/endorsed
> Setting project property: ivy.dep.file.extern.settings -> ivy.xml
> Setting project property: java.library.path.extern.settings ->
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/../lib/amd64
> Setting project property: ant.library.dir.extern.settings -> /usr/share/ant/lib
> Setting project property: sun.cpu.isalist.extern.settings ->
> Setting project property: ivy.report.output.pattern.extern.settings ->
> [organisation]-[module]-[conf].[ext]
> Setting project property: user.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: user.home.extern.settings -> /home/aih1013
> Setting project property: java.vendor.extern.settings -> Sun Microsystems Inc.
> Setting project property: java.specification.version.extern.settings -> 1.5
> Setting project property: basedir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: ivy.basedir ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: ivy.basedir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl
> Setting project property: ivy.distrib.dir.extern.settings ->
> /home/aih1013/myproject/workspace/poc/search-impl/distrib
> [ivy:resolve] parameter found as ivy variable: ivy.configurations=*
> [ivy:resolve] parameter found as ivy variable: ivy.resolve.default.type.filter=*
> [ivy:resolve] parameter found as ivy variable: ivy.dep.file=ivy.xml
> [ivy:resolve] using ivy parser to parse
> file:/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> [ivy:resolve] post 1.3 ivy file: using exact as default matcher
> [ivy:resolve] :: resolving dependencies ::
> com.griddynamics.myproject#search-impl;working@akharlamov
> [ivy:resolve]     confs: [default, deploy, test]
> [ivy:resolve]     validate = true
> [ivy:resolve]     refresh = false
> [ivy:resolve] resolving dependencies for configuration 'default'
> [ivy:resolve] == resolving dependencies for
> com.griddynamics.myproject#search-impl;working@akharlamov [default]
> [ivy:resolve] loadData of
> com.griddynamics.myproject#search-impl;working@akharlamov of
> rootConf=default
> [ivy:resolve] == resolving dependencies
> com.griddynamics.myproject#search-impl;working@akharlamov->com.griddynamics.myproject#search-api;latest.integration
> [default->default]
> [ivy:resolve] loadData of
> com.griddynamics.myproject#search-api;latest.integration of
> rootConf=default
> [ivy:resolve]     using external-libraries to resolve
> com.griddynamics.myproject#search-api;latest.integration
>                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [skipped]
>
> [ivy:resolve]     found com.griddynamics.myproject#search-api;1.0-dev-1 in svn-repo
> [ivy:resolve]     [1.0-dev-1]
> com.griddynamics.myproject#search-api;latest.integration
>
>
> [skipped]
>
> [ivy:resolve]     report for
> com.griddynamics.myproject#search-impl;working@akharlamov test
> produced in /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/com.griddynamics.myproject-search-impl-test.xml
> [ivy:resolve]     resolve done (6440ms resolve - 34ms download)
> Adding reference: ivy.resolved.report
> Adding reference: ivy.resolved.configurations.ref
> Adding reference: ivy.resolved.descriptor
> Adding reference: ivy.resolved.report.com.griddynamics.myproject.search-impl
> Adding reference: ivy.resolved.descriptor.com.griddynamics.myproject.search-impl
> Adding reference:
> ivy.resolved.configurations.ref.com.griddynamics.myproject.search-impl
> Setting project property: ivy.organisation -> com.griddynamics.myproject
> [ivy:resolve] setting 'ivy.organisation' to 'com.griddynamics.myproject'
> Setting project property: ivy.module -> search-impl
> [ivy:resolve] setting 'ivy.module' to 'search-impl'
> Setting project property: ivy.revision -> working@akharlamov
> [ivy:resolve] setting 'ivy.revision' to 'working@akharlamov'
> Setting project property: ivy.deps.changed -> false
> [ivy:resolve] setting 'ivy.deps.changed' to 'false'
> Setting project property: ivy.resolved.configurations -> default, deploy, test
> [ivy:resolve] setting 'ivy.resolved.configurations' to 'default, deploy, test'
> Setting project property: ivy.resolved.file ->
> /home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> [ivy:resolve] setting 'ivy.resolved.file' to
> '/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml'
> Overriding previous definition of property "ivy.version"
> Setting project property: ivy.version -> 2.0.0-rc2
> [ivy:retrieve] parameter found as ivy variable:
> ivy.organisation=com.griddynamics.myproject
> [ivy:retrieve] parameter found as ivy variable: ivy.module=search-impl
> [ivy:retrieve] parameter found as ivy variable:
> ivy.resolved.file=/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
> [ivy:retrieve] using standard ensure resolved
> [ivy:retrieve] parameter found as attribute value: ivy.resolved.configurations=*
> [ivy:retrieve] calculating configurations to resolve
> [ivy:retrieve] resolved configurations:   [deploy, default, test]
> [ivy:retrieve] asked configurations:      [deploy, default, test]
> [ivy:retrieve] to resolve configurations: []
> [ivy:retrieve] parameter found as attribute value: ivy.resolved.configurations=*
> [ivy:retrieve] parameter found as ivy variable:
> ivy.resolved.configurations=default, deploy, test
> [ivy:retrieve] parameter found as attribute value:
> ivy.organisation=com.griddynamics.myproject
> [ivy:retrieve] parameter found as attribute value: ivy.module=search-impl
> [ivy:retrieve] parameter found as attribute value:
> ivy.retrieve.pattern=/home/aih1013/myproject/workspace/poc/build/libraries/[artifact].[ext]
> [ivy:retrieve] :: retrieving :: com.griddynamics.myproject#search-impl
> [ivy:retrieve]     checkUpToDate=true
> [ivy:retrieve]     confs: [default, deploy, test]
> [ivy:retrieve]     conflict on
> /home/aih1013/myproject/workspace/poc/build/libraries/junit.xml in
> [test]: 3.8.1 won
> [ivy:retrieve]         removing conflict looser artifact: junit#junit;4.4!ivy.xml(ivy)
> [ivy:retrieve]     conflict on
> /home/aih1013/myproject/workspace/poc/build/libraries/junit.jar in
> [test]: 4.4 won
> [ivy:retrieve]         removing conflict looser artifact: junit#junit;3.8.1!junit.jar
>
>    [skip]
>
> [ivy:retrieve]     retrieving
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/org.slf4j/slf4j-api/jars/slf4j-api-1.5.2.jar
> [ivy:retrieve]         to
> /home/aih1013/myproject/workspace/poc/build/libraries/slf4j-api.jar
> [NOT REQUIRED]
> [ivy:retrieve]     retrieving
> /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/org.slf4j/slf4j-api/jars/slf4j-api-1.5.2.jar
> [ivy:retrieve]         to
> /home/aih1013/myproject/workspace/poc/build/libraries/slf4j-api.jar
> [NOT REQUIRED]
> [ivy:retrieve]     0 artifacts copied, 118 already retrieved (0kB/64ms)
> [ivy:retrieve]     retrieve done (64ms)
> Setting project property: ivy.nb.targets.copied -> 0
> Setting project property: ivy.targets.copied -> false
>
> BUILD SUCCESSFUL
> Total time: 7 seconds
> ===log===
>
> --
> Alexey Kharlamov
> Senior Staff Engineer, Grid Dynamics
> http://www.griddynamics.com
> phone: +1-(650)-488-8063
> mobile: +7-(916)-347-4994
>
>
>
>
>



-- 
Alexey Kharlamov
Senior Staff Engineer, Grid Dynamics
http://www.griddynamics.com
phone: +1-(650)-488-8063
mobile: +7-(916)-347-4994

Re: Ivy 2.0.0-RC2 Resolver override for modules does not work

Posted by Maarten Coene <ma...@yahoo.com>.
Could you try with "*" as value for your module instead of ".*" ?

    <modules>
        <module organization="com.griddynamics" name="*" resolver="null-resolver" />
    </modules>


Maarten




----- Original Message ----
From: Alexey Kharlamov <ak...@griddynamics.com>
To: ivy-user@ant.apache.org
Sent: Thursday, December 25, 2008 12:39:13 PM
Subject: Ivy 2.0.0-RC2 Resolver override for modules does not work

Hello!

I am trying to enforce Ivy to skip resolution of some dependencies
with the given ivysettings.xml file. My assumption the settings file
below should reroute resolution of com.griddynamics/* to null-resolver
and avoid resolution. Unfortunately, this does not work. I got the
artifacts resolved by svn-repo according to debug log. Do I have a
mistake in the settings file?

===build.xml===
    <!-- Ivy settings -->
    <ivy:settings file="${ivy.default.settings.dir}/local.xml" />
    <ivy:settings id="extern.settings"
file="${ivy.default.settings.dir}/extern.xml" />

    <target name="update-deps" description="Retrieve all libraries
needed by the project from public maven repositories">
    <!-- No halt on failure is required, as we can not resolve
interproject deps with maven repo -->
    <ivy:resolve settingsRef="extern.settings" haltonfailure="false"/>
    <ivy:retrieve settingsRef="extern.settings"
           pattern="${ivy.shared.default.root}/[artifact].[ext]"
           ivypattern="${ivy.shared.default.root}/[module].xml"
           conf="*"/>
   </target>
===build.xml===

===extern.xml===
<ivysettings>
    <settings defaultResolver="external-libraries" defaultConflictManager="all" />
    <caches defaultCacheDir="${ivy.settings.dir}/ivy-cache/maven" />

    <typedef name="svn" classname="fm.last.ivy.plugins.svnresolver.SvnResolver" />

    <resolvers>
        <chain name="external-libraries" dual="true">
            <svn name="svn-repo" repositoryRoot="${ivy.svn.repo.root}"
                userName="${ivy.svn.user.name}" userPassword="${ivy.svn.password}">
                <ivy pattern="${ivy.svn.repo.path}/${ivy.svn.artifacts.pattern}" />
                <artifact pattern="${ivy.svn.repo.path}/${ivy.svn.manifest.pattern}" />
            </svn>

            <ibiblio name="local-maven-repo" m2compatible="true"
                root="file://${user.home}/.m2/repository/" />
            <ibiblio name="ibiblio" m2compatible="true" />
            <ibiblio name="maven-mirror-1" m2compatible="true"
                root="https://maven-repository.dev.java.net/repository/" />
            <ibiblio name="maven-mirror-2" m2compatible="true"
                root="http://download.java.net/maven/2/" />
            <ibiblio name="maven-mirror-3" m2compatible="true"
                root="http://repository.jboss.com/maven2/" />
        </chain>
        <filesystem name="null-resolver">
            <ivy pattern="/null/[module]/ivy-[revision].xml" />
            <artifact pattern="/null/[module]/[artifact]-[revision].[ext]" />
        </filesystem>
    </resolvers>

    <modules>
        <module organization="com.griddynamics" name=".*" resolver="null-resolver" />
    </modules>
    
</ivysettings>
===extern.xml===

===log===
Apache Ant version 1.7.1 compiled on October 3 2008
Buildfile: build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.5 in: /usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Setting ro project property: ant.file ->
/home/aih1013/myproject/workspace/poc/search-impl/build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile
/home/aih1013/myproject/workspace/poc/search-impl/build.xml with URI =
file:/home/aih1013/myproject/workspace/poc/search-impl/build.xml
Setting ro project property: ant.project.name -> search-impl
Adding reference: search-impl
Setting ro project property: ant.file.search-impl ->
/home/aih1013/myproject/workspace/poc/search-impl/build.xml
Project base dir set to: /home/aih1013/myproject/workspace/poc/search-impl
+Target:
[antlib:org.apache.tools.ant] Could not load definitions from resource
org/apache/tools/ant/antlib.xml. It could not be found.
Setting project property: project.path ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: common.dir -> /home/aih1013/myproject/workspace/poc
Importing file /home/aih1013/myproject/workspace/poc/common.xml from
/home/aih1013/myproject/workspace/poc/search-impl/build.xml
parsing buildfile /home/aih1013/myproject/workspace/poc/common.xml
with URI = file:/home/aih1013/myproject/workspace/poc/common.xml
Setting ro project property: ant.file.common ->
/home/aih1013/myproject/workspace/poc/common.xml
[property] Loading /home/aih1013/myproject/workspace/poc/build.properties
Setting project property: ivy.shared.default.root ->
/home/aih1013/myproject/workspace/poc/build/libraries
Setting project property: src.dir -> src/main/java
Setting project property: ivy.svn.repo.path -> artifacts
Setting project property: classes.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/target/classes
Setting project property: ivy.manual.default.root ->
/home/aih1013/myproject/workspace/poc/build/manual
Setting project property: ivy.svn.repo.root ->
svn://svn.gdc.mirantis.sar/myproject
Setting project property: lib.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/target/lib
Setting project property: ivy.svn.artifacts.pattern ->
[organisation]/[module]/[revision]/[artifact].xml
Setting project property: ivy.file ->
/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
Setting project property: ws.ant.lib ->
/home/aih1013/myproject/workspace/poc/ws-ant
Setting project property: ivy.local.default.root ->
/home/aih1013/myproject/workspace/poc/build/local
Setting project property: springVersion -> 2.5.5
Setting project property: ivy.svn.user.name -> myproject-scripts
Setting project property: module.version.target -> 1.0
Setting project property: ivy.settings.dir ->
/home/aih1013/myproject/workspace/poc/build
Setting project property: build.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/target
Setting project property: gsVersion -> 6.6.2
Setting project property: ivy.svn.password -> Ui6pe2fa
Setting project property: wsdl.dir -> target/wsdl
Setting project property: ivy.svn.manifest.pattern ->
[organisation]/[module]/[revision]/[artifact].[ext]
Setting project property: ivy.default.settings.dir ->
/home/aih1013/myproject/workspace/poc/build
Setting project property: gs.jar.file -> gs-search-impl.jar
Setting project property: jar.file ->
/home/aih1013/myproject/workspace/poc/search-impl/target/search-impl.jar
Setting project property: deploy.lib.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/target/shared-lib
    [mkdir] Skipping
/home/aih1013/myproject/workspace/poc/search-impl/target/lib because
it already exists.

update-deps:
Setting project property: ivy.version -> 2.0.0-rc2
Loading jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings/ivy.properties
Setting project property: ivy.log.modules.in.use -> false
Setting project property: ivy.resolver.default.check.modified -> false
Setting project property: ivy.default.always.check.exact.revision -> false
Setting project property: ivy.retrieve.pattern ->
/home/aih1013/myproject/workspace/poc/search-impl/lib/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.configurations -> *
Setting project property: ivy.buildlist.ivyfilepath -> ivy.xml
Setting project property: ivy.status -> integration
Setting project property: ivy.resolve.default.type.filter -> *
Setting project property: ivy.project.dir ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: ivy.dep.file -> ivy.xml
Setting project property: ivy.settings.file -> ivysettings.xml
Setting project property: ivy.report.output.pattern ->
[organisation]-[module]-[conf].[ext]
Setting project property: ivy.cache.ttl.default -> 10s
Setting project property: ivy.publish.src.artifacts.pattern ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.deliver.ivy.pattern ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.build.artifacts.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/build/artifacts
Setting project property: ivy.checksums -> sha1,md5
Setting project property: ivy.distrib.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib
Setting project property: ivy.lib.dir ->
/home/aih1013/myproject/workspace/poc/search-impl/lib
[ivy:resolve] :: Ivy 2.0.0-rc2 - 20081028224207 :: http://ant.apache.org/ivy/ ::
:: loading settings :: file =
/home/aih1013/myproject/workspace/poc/build/extern.xml
setting 'ivy.settings.dir' to '/home/aih1013/myproject/workspace/poc/build'
setting 'ivy.conf.dir' to '/home/aih1013/myproject/workspace/poc/build'
setting 'ivy.settings.file' to
'/home/aih1013/myproject/workspace/poc/build/extern.xml'
setting 'ivy.conf.file' to
'/home/aih1013/myproject/workspace/poc/build/extern.xml'
setting 'ivy.settings.url' to
'file:/home/aih1013/myproject/workspace/poc/build/extern.xml'
setting 'ivy.conf.url' to
'file:/home/aih1013/myproject/workspace/poc/build/extern.xml'
setting 'ivy.default.ivy.user.dir' to '/home/aih1013/.ivy2'
setting 'ivy.home' to '/home/aih1013/.ivy2'
no default ivy user dir defined: set to /home/aih1013/.ivy2
setting 'ivy.log.modules.in.use' to 'false'
setting 'ivy.resolver.default.check.modified' to 'false'
setting 'ivy.default.always.check.exact.revision' to 'false'
setting 'ivy.retrieve.pattern' to
'${ivy.lib.dir}/[artifact]-[revision](-[classifier]).[ext]'
setting 'ivy.configurations' to '*'
setting 'ivy.buildlist.ivyfilepath' to 'ivy.xml'
setting 'ivy.status' to 'integration'
setting 'ivy.resolve.default.type.filter' to '*'
setting 'ivy.project.dir' to '${basedir}'
setting 'ivy.dep.file' to 'ivy.xml'
setting 'ivy.settings.file' to 'ivysettings.xml'
setting 'ivy.report.output.pattern' to '[organisation]-[module]-[conf].[ext]'
setting 'ivy.cache.ttl.default' to '10s'
setting 'ivy.publish.src.artifacts.pattern' to
'${ivy.distrib.dir}/[type]s/[artifact]-[revision](-[classifier]).[ext]'
setting 'ivy.deliver.ivy.pattern' to
'${ivy.distrib.dir}/[type]s/[artifact]-[revision](-[classifier]).[ext]'
setting 'ivy.build.artifacts.dir' to '${ivy.project.dir}/build/artifacts'
setting 'ivy.checksums' to 'sha1,md5'
setting 'ivy.distrib.dir' to '${ivy.project.dir}/distrib'
setting 'ivy.lib.dir' to '${ivy.project.dir}/lib'
setting 'ivy.cache.dir' to
'/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven'
IvySvn Build-Version: 2.0.0-rc1
IvySvn Build-DateTime: 2008-11-06 17:39:51
ibiblio: no namespace defined: using system
ibiblio: no latest strategy defined: using default
null-resolver: no namespace defined: using system
null-resolver: no latest strategy defined: using default
maven-mirror-2: no namespace defined: using system
maven-mirror-2: no latest strategy defined: using default
external-libraries: no namespace defined: using system
external-libraries: no latest strategy defined: using default
maven-mirror-1: no namespace defined: using system
maven-mirror-1: no latest strategy defined: using default
local-maven-repo: no namespace defined: using system
local-maven-repo: no latest strategy defined: using default
maven-mirror-3: no namespace defined: using system
maven-mirror-3: no latest strategy defined: using default
svn-repo: no namespace defined: using system
svn-repo: no latest strategy defined: using default
setting 'ivy.default.ivy.user.dir' to '/home/aih1013/.ivy2'
settings loaded (70ms)
    default cache: /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
    default resolver: external-libraries
    default latest strategy: latest-revision
    default conflict manager: all
    circular dependency strategy: warn
    validate: true
    check up2date: true
    -- 8 resolvers:
    ibiblio [ibiblio]
        cache: null
        m2compatible: true
        ivy patterns:
            http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        artifact patterns:
            http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        repository: ibiblio
        root: http://repo1.maven.org/maven2/
        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        usepoms: true
        useMavenMetadata: true
    null-resolver [file]
        cache: null
        m2compatible: false
        ivy patterns:
            /null/[module]/ivy-[revision].xml
        artifact patterns:
            /null/[module]/[artifact]-[revision].[ext]
        repository: null-resolver
    maven-mirror-2 [ibiblio]
        cache: null
        m2compatible: true
        ivy patterns:
            http://download.java.net/maven/2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        artifact patterns:
            http://download.java.net/maven/2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        repository: maven-mirror-2
        root: http://download.java.net/maven/2/
        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        usepoms: true
        useMavenMetadata: true
    external-libraries [chain] [svn-repo, local-maven-repo, ibiblio,
maven-mirror-1, maven-mirror-2, maven-mirror-3]
        return first: false
        dual: true
        -> svn-repo
        -> local-maven-repo
        -> ibiblio
        -> maven-mirror-1
        -> maven-mirror-2
        -> maven-mirror-3
    maven-mirror-1 [ibiblio]
        cache: null
        m2compatible: true
        ivy patterns:
            https://maven-repository.dev.java.net/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        artifact patterns:
            https://maven-repository.dev.java.net/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        repository: maven-mirror-1
        root: https://maven-repository.dev.java.net/repository/
        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        usepoms: true
        useMavenMetadata: true
    local-maven-repo [ibiblio]
        cache: null
        m2compatible: true
        ivy patterns:
            file:///home/aih1013/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        artifact patterns:
            file:///home/aih1013/.m2/repository/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        repository: local-maven-repo
        root: file:///home/aih1013/.m2/repository/
        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        usepoms: true
        useMavenMetadata: true
    maven-mirror-3 [ibiblio]
        cache: null
        m2compatible: true
        ivy patterns:
            http://repository.jboss.com/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        artifact patterns:
            http://repository.jboss.com/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        repository: maven-mirror-3
        root: http://repository.jboss.com/maven2/
        pattern: [organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
        usepoms: true
        useMavenMetadata: true
    svn-repo [repository]
        cache: null
        m2compatible: false
        ivy patterns:
            artifacts/[organisation]/[module]/[revision]/[artifact].xml
        artifact patterns:
            artifacts/[organisation]/[module]/[revision]/[artifact].[ext]
        repository: svn-repo
    module settings:
        {module=.*, organization=com.griddynamics.myproject} (exactOrRegexp)
-> resolver: null-resolver
Setting project property: java.version.extern.settings -> 1.5.0_16
Setting project property: sun.io.unicode.encoding.extern.settings ->
UnicodeLittle
Setting project property: ivy.retrieve.pattern.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/lib/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.home -> /home/aih1013/.ivy2
Setting project property: ivy.home.extern.settings -> /home/aih1013/.ivy2
Setting project property: java.class.path.extern.settings ->
/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:/home/aih1013/.ant/lib/maven-ant-tasks-2.0.9.jar:/usr/share/ant/lib/ivysvnresolver.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/jsch.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/trilead.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ivy-2.0.0-rc2.jar:/usr/share/ant/lib/svnkit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/shar
e/ant/lib/ant-commons-net.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/lib/tools.jar
Setting project property: java.awt.graphicsenv.extern.settings ->
sun.awt.X11GraphicsEnvironment
Setting project property: user.language.extern.settings -> en
Setting project property: sun.os.patch.level.extern.settings -> unknown
Setting project property: java.specification.vendor.extern.settings ->
Sun Microsystems Inc.
Setting project property: os.version.extern.settings -> 2.6.27-9-generic
Setting project property: ivy.build.artifacts.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/build/artifacts
Setting project property: ivy.resolve.default.type.filter.extern.settings -> *
Setting project property: sun.boot.class.path.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/rt.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/i18n.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/jsse.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/jce.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/charsets.jar:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/classes
Setting project property: file.encoding.extern.settings -> UTF-8
Setting project property: java.class.version.extern.settings -> 49.0
Setting project property: ivy.default.conf.dir ->
jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
Setting project property: ivy.default.conf.dir.extern.settings ->
jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
Setting project property: java.vm.version.extern.settings -> 1.5.0_16-b02
Setting project property: sun.desktop.extern.settings -> gnome
Setting project property: ivy.cache.dir ->
/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
Setting project property: ivy.cache.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven
Setting project property: ivy.buildlist.ivyfilepath.extern.settings -> ivy.xml
Setting project property: java.io.tmpdir.extern.settings -> /tmp
Setting project property: java.home.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre
Setting project property: user.name.extern.settings -> aih1013
Setting project property:
ivy.publish.src.artifacts.pattern.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.checksums.extern.settings -> sha1,md5
Setting project property: ivy.status.extern.settings -> integration
Setting project property: ivy.settings.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/build
Setting project property: java.specification.name.extern.settings ->
Java Platform API Specification
Setting project property:
ivy.resolver.default.check.modified.extern.settings -> false
Setting project property: java.ext.dirs.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/ext
Setting project property: java.vm.info.extern.settings -> mixed mode
Setting project property: sun.arch.data.model.extern.settings -> 64
Setting project property: ivy.default.settings.dir.extern.settings ->
jar:file:/usr/share/ant/lib/ivy-2.0.0-rc2.jar!/org/apache/ivy/core/settings
Setting project property: java.vm.specification.version.extern.settings -> 1.0
Setting project property: java.vm.specification.name.extern.settings
-> Java Virtual Machine Specification
Setting project property: sun.management.compiler.extern.settings ->
HotSpot 64-Bit Server Compiler
Setting project property: ant.home.extern.settings -> /usr/share/ant
Setting project property: sun.cpu.endian.extern.settings -> little
Setting project property: path.separator.extern.settings -> :
Setting project property: java.vm.name.extern.settings -> Java
HotSpot(TM) 64-Bit Server VM
Setting project property: ivy.project.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: user.country.extern.settings -> US
Setting project property:
ivy.default.always.check.exact.revision.extern.settings -> false
Setting project property: ivy.conf.url ->
file:/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: ivy.conf.url.extern.settings ->
file:/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: ivy.settings.url ->
file:/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: ivy.settings.url.extern.settings ->
file:/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: ivy.default.ivy.user.dir -> /home/aih1013/.ivy2
Setting project property: ivy.default.ivy.user.dir.extern.settings ->
/home/aih1013/.ivy2
Setting project property: user.timezone.extern.settings -> W-SU
Setting project property: file.separator.extern.settings -> /
Setting project property: ivy.conf.dir ->
/home/aih1013/myproject/workspace/poc/build
Setting project property: ivy.conf.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/build
Setting project property: os.arch.extern.settings -> amd64
Setting project property: sun.boot.library.path.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64
Setting project property: file.encoding.pkg.extern.settings -> sun.io
Setting project property: ivy.conf.file ->
/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: ivy.conf.file.extern.settings ->
/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: line.separator.extern.settings ->
Setting project property: java.vendor.url.bug.extern.settings ->
http://java.sun.com/cgi-bin/bugreport.cgi
Setting project property: java.vm.vendor.extern.settings -> Sun
Microsystems Inc.
Setting project property: os.name.extern.settings -> Linux
Setting project property: ivy.configurations.extern.settings -> *
Setting project property: java.awt.printerjob.extern.settings ->
sun.print.PSPrinterJob
Setting project property: java.vendor.url.extern.settings ->
http://java.sun.com/
Setting project property: sun.jnu.encoding.extern.settings -> UTF-8
Setting project property: ivy.cache.ttl.default.extern.settings -> 10s
Setting project property: java.vm.specification.vendor.extern.settings
-> Sun Microsystems Inc.
Setting project property: ivy.log.modules.in.use.extern.settings -> false
Setting project property: sun.java.launcher.extern.settings -> SUN_STANDARD
Setting project property: ivy.deliver.ivy.pattern.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib/[type]s/[artifact]-[revision](-[classifier]).[ext]
Setting project property: ivy.settings.file.extern.settings ->
/home/aih1013/myproject/workspace/poc/build/extern.xml
Setting project property: java.runtime.name.extern.settings ->
Java(TM) 2 Runtime Environment, Standard Edition
Setting project property: ivy.lib.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/lib
Setting project property: java.runtime.version.extern.settings -> 1.5.0_16-b02
Setting project property: java.endorsed.dirs.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/endorsed
Setting project property: ivy.dep.file.extern.settings -> ivy.xml
Setting project property: java.library.path.extern.settings ->
/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/lib/amd64:/usr/lib/jvm/java-1.5.0-sun-1.5.0.16/jre/../lib/amd64
Setting project property: ant.library.dir.extern.settings -> /usr/share/ant/lib
Setting project property: sun.cpu.isalist.extern.settings ->
Setting project property: ivy.report.output.pattern.extern.settings ->
[organisation]-[module]-[conf].[ext]
Setting project property: user.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: user.home.extern.settings -> /home/aih1013
Setting project property: java.vendor.extern.settings -> Sun Microsystems Inc.
Setting project property: java.specification.version.extern.settings -> 1.5
Setting project property: basedir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: ivy.basedir ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: ivy.basedir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl
Setting project property: ivy.distrib.dir.extern.settings ->
/home/aih1013/myproject/workspace/poc/search-impl/distrib
[ivy:resolve] parameter found as ivy variable: ivy.configurations=*
[ivy:resolve] parameter found as ivy variable: ivy.resolve.default.type.filter=*
[ivy:resolve] parameter found as ivy variable: ivy.dep.file=ivy.xml
[ivy:resolve] using ivy parser to parse
file:/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
[ivy:resolve] post 1.3 ivy file: using exact as default matcher
[ivy:resolve] :: resolving dependencies ::
com.griddynamics.myproject#search-impl;working@akharlamov
[ivy:resolve]     confs: [default, deploy, test]
[ivy:resolve]     validate = true
[ivy:resolve]     refresh = false
[ivy:resolve] resolving dependencies for configuration 'default'
[ivy:resolve] == resolving dependencies for
com.griddynamics.myproject#search-impl;working@akharlamov [default]
[ivy:resolve] loadData of
com.griddynamics.myproject#search-impl;working@akharlamov of
rootConf=default
[ivy:resolve] == resolving dependencies
com.griddynamics.myproject#search-impl;working@akharlamov->com.griddynamics.myproject#search-api;latest.integration
[default->default]
[ivy:resolve] loadData of
com.griddynamics.myproject#search-api;latest.integration of
rootConf=default
[ivy:resolve]     using external-libraries to resolve
com.griddynamics.myproject#search-api;latest.integration
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[skipped]

[ivy:resolve]     found com.griddynamics.myproject#search-api;1.0-dev-1 in svn-repo
[ivy:resolve]     [1.0-dev-1]
com.griddynamics.myproject#search-api;latest.integration


[skipped]

[ivy:resolve]     report for
com.griddynamics.myproject#search-impl;working@akharlamov test
produced in /home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/com.griddynamics.myproject-search-impl-test.xml
[ivy:resolve]     resolve done (6440ms resolve - 34ms download)
Adding reference: ivy.resolved.report
Adding reference: ivy.resolved.configurations.ref
Adding reference: ivy.resolved.descriptor
Adding reference: ivy.resolved.report.com.griddynamics.myproject.search-impl
Adding reference: ivy.resolved.descriptor.com.griddynamics.myproject.search-impl
Adding reference:
ivy.resolved.configurations.ref.com.griddynamics.myproject.search-impl
Setting project property: ivy.organisation -> com.griddynamics.myproject
[ivy:resolve] setting 'ivy.organisation' to 'com.griddynamics.myproject'
Setting project property: ivy.module -> search-impl
[ivy:resolve] setting 'ivy.module' to 'search-impl'
Setting project property: ivy.revision -> working@akharlamov
[ivy:resolve] setting 'ivy.revision' to 'working@akharlamov'
Setting project property: ivy.deps.changed -> false
[ivy:resolve] setting 'ivy.deps.changed' to 'false'
Setting project property: ivy.resolved.configurations -> default, deploy, test
[ivy:resolve] setting 'ivy.resolved.configurations' to 'default, deploy, test'
Setting project property: ivy.resolved.file ->
/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
[ivy:resolve] setting 'ivy.resolved.file' to
'/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml'
Overriding previous definition of property "ivy.version"
Setting project property: ivy.version -> 2.0.0-rc2
[ivy:retrieve] parameter found as ivy variable:
ivy.organisation=com.griddynamics.myproject
[ivy:retrieve] parameter found as ivy variable: ivy.module=search-impl
[ivy:retrieve] parameter found as ivy variable:
ivy.resolved.file=/home/aih1013/myproject/workspace/poc/search-impl/ivy.xml
[ivy:retrieve] using standard ensure resolved
[ivy:retrieve] parameter found as attribute value: ivy.resolved.configurations=*
[ivy:retrieve] calculating configurations to resolve
[ivy:retrieve] resolved configurations:   [deploy, default, test]
[ivy:retrieve] asked configurations:      [deploy, default, test]
[ivy:retrieve] to resolve configurations: []
[ivy:retrieve] parameter found as attribute value: ivy.resolved.configurations=*
[ivy:retrieve] parameter found as ivy variable:
ivy.resolved.configurations=default, deploy, test
[ivy:retrieve] parameter found as attribute value:
ivy.organisation=com.griddynamics.myproject
[ivy:retrieve] parameter found as attribute value: ivy.module=search-impl
[ivy:retrieve] parameter found as attribute value:
ivy.retrieve.pattern=/home/aih1013/myproject/workspace/poc/build/libraries/[artifact].[ext]
[ivy:retrieve] :: retrieving :: com.griddynamics.myproject#search-impl
[ivy:retrieve]     checkUpToDate=true
[ivy:retrieve]     confs: [default, deploy, test]
[ivy:retrieve]     conflict on
/home/aih1013/myproject/workspace/poc/build/libraries/junit.xml in
[test]: 3.8.1 won
[ivy:retrieve]         removing conflict looser artifact: junit#junit;4.4!ivy.xml(ivy)
[ivy:retrieve]     conflict on
/home/aih1013/myproject/workspace/poc/build/libraries/junit.jar in
[test]: 4.4 won
[ivy:retrieve]         removing conflict looser artifact: junit#junit;3.8.1!junit.jar

    [skip]

[ivy:retrieve]     retrieving
/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/org.slf4j/slf4j-api/jars/slf4j-api-1.5.2.jar
[ivy:retrieve]         to
/home/aih1013/myproject/workspace/poc/build/libraries/slf4j-api.jar
[NOT REQUIRED]
[ivy:retrieve]     retrieving
/home/aih1013/myproject/workspace/poc/build/ivy-cache/maven/org.slf4j/slf4j-api/jars/slf4j-api-1.5.2.jar
[ivy:retrieve]         to
/home/aih1013/myproject/workspace/poc/build/libraries/slf4j-api.jar
[NOT REQUIRED]
[ivy:retrieve]     0 artifacts copied, 118 already retrieved (0kB/64ms)
[ivy:retrieve]     retrieve done (64ms)
Setting project property: ivy.nb.targets.copied -> 0
Setting project property: ivy.targets.copied -> false

BUILD SUCCESSFUL
Total time: 7 seconds
===log===

-- 
Alexey Kharlamov
Senior Staff Engineer, Grid Dynamics
http://www.griddynamics.com
phone: +1-(650)-488-8063
mobile: +7-(916)-347-4994