ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Dejung" <andreas.dej...@velsys.com>
Subject Using maven2 classifier
Date Mon, 17 Nov 2008 23:59:18 GMT
Hi 

 

I am big confused on how to use the maven2 classifier.

 

I try to get the following resource:

http://repository.com/com/company/tool-configuration/1.0.0-SNAPSHOT/tool
-configuration-1.0.0-20081117.041424-1-resources.zip
<http://repository.com/com/velsys/tool-configuration/1.0.0-SNAPSHOT/tool
-configuration-1.0.0-20081117.041424-1-resources.zip> 

 

my ivy.xml configuration looks something like

 

    <dependencies>

         <dependency org="com.company" name="tool-configuration"
rev="1.0.0-SNAPSHOT" >

            <artifact name="tool-configuration" type="zip"
m:classifier="resources" /> 

         </dependency>

    </dependencies>

 

 

But I get

 

[ivy:resolve] [xml parsing: ivyConfiguration.xml:4:17:
cvc-complex-type.2.4.a: Invalid content was found starting with element
'namespaces'. One of '{configurations, publications, dependencies,
conflicts}' is expected. in
file:/E:/eclipse3.4/liquidityInjector/vistra/ivyConfiguration.xml

[ivy:resolve] , unknown tag namespaces in
file:/E:/eclipse3.4/liquidityInjector/vistra/ivyConfiguration.xml

[ivy:resolve] , unknown tag namespace in
file:/E:/eclipse3.4/liquidityInjector/vistra/ivyConfiguration.xml

[ivy:resolve] , [Fatal Error] ivyConfiguration.xml:10:85: The prefix "m"
for attribute "m:classifier" associated with an element type "artifact"
is not bound. in
file:/E:/eclipse3.4/liquidityInjector/vistra/ivyConfiguration.xml

[ivy:resolve] ]

 

 

I understand that I should define a namespace for the classifier, but I
don't know how L

 

Thanks for any help

Andy


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