[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ivy-user
Subject:    How to included a transative artifact - dependency
From:       Kim X Andersen <kandersen22 () csc ! com>
Date:       2010-09-07 16:43:01
Message-ID: OF88B1BF5C.1532F1EC-ON80257797.005BD481-80257797.005BD494 () csc ! com
[Download RAW message or body]

Hi

I have a little problem with the dependency for dom4j from maven repository, which \
has the following dependcy list


	<configurations>
		<conf name="default" visibility="public" description="runtime dependencies and \
master artifact can be used with this conf" extends="runtime,master"/>  <conf \
name="master" visibility="public" description="contains only the artifact published \
by this module itself, with no transitive dependencies"/>  <conf name="compile" \
visibility="public" description="this is the default scope, used if none is \
specified. Compile dependencies are available in all classpaths."/>  <conf \
name="provided" visibility="public" description="this is much like compile, but \
indicates you expect the JDK or a container to provide it. It is only available on \
the compilation classpath, and is not transitive."/>  <conf name="runtime" \
visibility="public" description="this scope indicates that the dependency is not \
required for compilation, but is for execution. It is in the runtime and test \
classpaths, but not the compile classpath." extends="compile"/>  <conf name="test" \
visibility="private" description="this scope indicates that the dependency is not \
required for normal use of the application, and is only available for the test \
compilation and execution phases." extends="runtime"/>  <conf name="system" \
visibility="public" description="this scope is similar to provided except that you \
have to provide the JAR which contains it explicitly. The artifact is always \
available and is not looked up in a repository."/>  <conf name="sources" \
visibility="public" description="this configuration contains the source artifact of \
this module, if any."/>  <conf name="javadoc" visibility="public" description="this \
configuration contains the javadoc artifact of this module, if any."/>  <conf \
name="optional" visibility="public" description="contains all optional \
dependencies"/>  </configurations>
	<publications>
		<artifact name="dom4j" type="jar" ext="jar" conf="master"/>
		<artifact name="dom4j" type="source" ext="jar" conf="sources" \
m:classifier="sources"/>  </publications>
	<dependencies>
		<dependency org="jaxme" name="jaxme-api" rev="0.3" force="true" \
conf="optional->compile(*),master(*)"/>  <dependency org="org.apache" name="jaxen" \
rev="1.1-beta-6" force="true" conf="optional->compile(*),master(*)"/>  <dependency \
org="msv" name="xsdlib" rev="20030807" force="true" \
conf="optional->compile(*),master(*)"/>  <dependency org="msv" name="relaxngDatatype" \
rev="20030807" force="true" conf="optional->compile(*),master(*)"/>  <dependency \
org="pull-parser" name="pull-parser" rev="2" force="true" \
conf="optional->compile(*),master(*)"/>  <dependency org="xpp3" name="xpp3" \
rev="1.1.3.3" force="true" conf="optional->compile(*),master(*)"/>  <dependency \
org="stax" name="stax-api" rev="1.0" force="true" \
conf="optional->compile(*),master(*)"/>  <dependency org="xml-apis" name="xml-apis" \
rev="1.0.b2" force="true" conf="compile->compile(*),master(*);runtime->runtime(*)"/>  \
<dependency org="junitperf" name="junitperf" rev="1.8" force="true" \
conf="test->runtime(*),master(*)"/>  <dependency org="stax" name="stax-ri" rev="1.0" \
force="true" conf="test->runtime(*),master(*)"/>  <dependency org="xerces" \
name="xercesImpl" rev="2.6.2" force="true" conf="test->runtime(*),master(*)"/>  \
<dependency org="xalan" name="xalan" rev="2.5.1" force="true" \
conf="test->runtime(*),master(*)"/>  </dependencies>

I would like to include jaxen and xercesImpl into my project with out the other \
artifacts: I don't know how because the conf test is private. Any advice?

Thx in advance.

Kim B. Andersen
Systemudvikler
CSC

TDC Account | mobile: +45 29 23 46 92 | kandersen22@csc.com | www.csc.com


CSC • This is a PRIVATE message. If you are not the intended recipient, please \
delete without copying and kindly advise us by e-mail of the mistake in delivery. \
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order \
or other contract unless pursuant to explicit written agreement or government \
initiative expressly permitting the use of e-mail for such purpose • CSC Consulting \
Group A/S • Registered Office: Retortvej 8, DK - 2500 Valby, Denmark • Registered \
in Denmark No: 26031362


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic