ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "No Gece (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IVY-807) Ivy doesn't support Maven 2.0.9 'import' scope
Date Fri, 02 Nov 2012 09:17:13 GMT

    [ https://issues.apache.org/jira/browse/IVY-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489323#comment-13489323
] 

No Gece commented on IVY-807:
-----------------------------

Could it be that there is a regression here? See my ivy.xml and the corresponding resolve
output below. I ran with an empty cache.

There are also a few related issues concerning weld on stackoverflow.

_________________________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0">
    <info organisation="x" module="y"/>
    

    <dependencies>
        <!-- need a new dependency? go to http://search.maven.org/ -->

	    <dependency org="com.sun.jersey" name="jersey-core" rev="1.15" />
        <dependency org="com.sun.jersey" name="jersey-json" rev="1.15" />
        <dependency org="com.sun.jersey" name="jersey-server" rev="1.15" />
        <dependency org="com.sun.jersey" name="jersey-servlet" rev="1.15" />
        <dependency org="com.sun.jersey.contribs" name="jersey-multipart"
        rev="1.15" />
		
        
        
    </dependencies>
        
    
</ivy-module>
_________________________________________________________


Buildfile: /home/sm/p/sm/workspaces/smew/ivytest/scripts/build.xml
set-proxy:
     [echo] setting proxy to 192.168.12.1.3128
download-ivy:
    [mkdir] Created dir: /home/sm/.ivy2/lib
      [get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar
      [get] To: /home/sm/.ivy2/lib/ivy.jar
      [get] .....................
      [get] last modified = Fri Sep 24 00:06:25 CEST 2010
init-ivy:
ivy-resolve:
[ivy:retrieve] :: Apache Ivy 2.3.0-rc1 - 20120416000235 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: url = jar:file:/home/sm/.eclipse/org.eclipse.platform_3.7.0_1079468615/plugins/org.apache.ivy.eclipse.ant_2.3.0.cr120120416000235/ivy.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: x#y;working@debian
[ivy:retrieve] 	confs: [default]
[ivy:retrieve] 	found com.sun.jersey#jersey-core;1.15 in public
[ivy:retrieve] 	found javax.ws.rs#jsr311-api;1.1.1 in public
[ivy:retrieve] 	found javax.mail#mail;1.4 in public
[ivy:retrieve] 	found javax.activation#activation;1.1 in public
[ivy:retrieve] 	found javax.xml.bind#jaxb-api;2.1 in public
[ivy:retrieve] 	found javax.xml.stream#stax-api;1.0-2 in public
[ivy:retrieve] 	found org.osgi#org.osgi.core;4.2.0 in public
[ivy:retrieve] 	found com.sun.jersey#jersey-json;1.15 in public
[ivy:retrieve] 	found org.codehaus.jettison#jettison;1.1 in public
[ivy:retrieve] 	found com.sun.xml.bind#jaxb-impl;2.2.3-1 in public
[ivy:retrieve] 	found javax.xml.bind#jaxb-api;2.2.2 in public
[ivy:retrieve] 	found org.codehaus.jackson#jackson-core-asl;1.9.2 in public
[ivy:retrieve] 	found org.codehaus.jackson#jackson-mapper-asl;1.9.2 in public
[ivy:retrieve] 	found org.codehaus.jackson#jackson-jaxrs;1.9.2 in public
[ivy:retrieve] 	found org.codehaus.jackson#jackson-xc;1.9.2 in public
[ivy:retrieve] 	found com.sun.jersey#jersey-server;1.15 in public
[ivy:retrieve] 	found asm#asm;3.1 in public
[ivy:retrieve] 	found javax.annotation#jsr250-api;1.0 in public
[ivy:retrieve] 	found org.osgi#osgi_R4_core;1.0 in public
[ivy:retrieve] 	found com.sun.jersey#jersey-servlet;1.15 in public
[ivy:retrieve] 	found javax.servlet#javax.servlet-api;3.0.1 in public
[ivy:retrieve] 	found javax.servlet#jsp-api;2.0 in public
[ivy:retrieve] 	found javax.servlet#servlet-api;2.4 in public
[ivy:retrieve] 	found org.glassfish#javax.ejb;3.1 in public
[ivy:retrieve] 	found org.glassfish#javax.transaction;3.1 in public
[ivy:retrieve] 	found org.glassfish#javax.annotation;3.1 in public
[ivy:retrieve] 	found org.jboss.weld#weld-osgi-bundle;1.1.4.Final in public
[ivy:retrieve] 	found org.slf4j#slf4j-jdk14;1.5.10 in public
[ivy:retrieve] 	found org.slf4j#slf4j-api;1.5.10 in public
[ivy:retrieve] 	found javax.enterprise#cdi-api;1.0-SP4 in public
[ivy:retrieve] 	found org.jboss.weld#weld-core;1.1.4.Final in public
[ivy:retrieve] 	found org.javassist#javassist;3.14.0-GA in public
[ivy:retrieve] 	found com.google.guava#guava;r06 in public
[ivy:retrieve] 	found org.jboss.interceptor#jboss-interceptor-spi;2.0.0.CR1 in public
[ivy:retrieve] 	found org.jboss.interceptor#jboss-interceptor-core;2.0.0.CR1 in public
[ivy:retrieve] 	found javassist#javassist;3.12.0.GA in public
[ivy:retrieve] 	found org.slf4j#slf4j-ext;1.5.10 in public
[ivy:retrieve] 	found ch.qos.cal10n#cal10n-api;0.7.2 in public
[ivy:retrieve] 	found org.jboss.weld#weld-build-config;1.1.4.Final in public
[ivy:retrieve] 	found javax.persistence#persistence-api;1.0 in public
[ivy:retrieve] 	found ant#ant;1.6.5 in public
[ivy:retrieve] 	found com.sun.jersey.contribs#jersey-multipart;1.15 in public
[ivy:retrieve] 	found org.jvnet#mimepull;1.6 in public
[ivy:retrieve] downloading http://repo1.maven.org/maven2/com/sun/jersey/jersey-core/1.15/jersey-core-1.15-javadoc.jar
...
[ivy:retrieve] ..............
[ivy:retrieve] ........................ (1139kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve] 	[SUCCESSFUL ] com.sun.jersey#jersey-core;1.15!jersey-core.jar(javadoc) (3429ms)
[ivy:retrieve] downloading http://repo1.maven.org/maven2/com/sun/jersey/jersey-core/1.15/jersey-core-1.15.jar
...
[ivy:retrieve] .............. (456kB)

....cutting some boring downloading activity.... 

[ivy:retrieve] .. (0kB)
[ivy:retrieve] 	[SUCCESSFUL ] javassist#javassist;3.12.0.GA!javassist.jar (1126ms)
[ivy:retrieve] downloading http://repo1.maven.org/maven2/org/jvnet/mimepull/1.6/mimepull-1.6.jar
...
[ivy:retrieve] ..... (38kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve] 	[SUCCESSFUL ] org.jvnet#mimepull;1.6!mimepull.jar (987ms)
[ivy:retrieve] :: resolution report :: resolve 74659ms :: artifacts dl 47386ms
[ivy:retrieve] 	:: evicted modules:
[ivy:retrieve] 	javax.xml.bind#jaxb-api;2.1 by [javax.xml.bind#jaxb-api;2.2.2] in [default]
[ivy:retrieve] 	javax.annotation#jsr250-api;${jsr250.api.version} by [javax.annotation#jsr250-api;1.0]
in [default]
	---------------------------------------------------------------------
	|                  |            modules            ||   artifacts   |
	|       conf       | number| search|dwnlded|evicted|| number|dwnlded|
	---------------------------------------------------------------------
	|      default     |   49  |   43  |   43  |   2   ||   52  |   52  |
	---------------------------------------------------------------------
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] 		module not found: org.eclipse.persistence#org.eclipse.persistence.moxy;2.3.2
[ivy:retrieve] 	==== local: tried
[ivy:retrieve] 	  /home/sm/p/sm/workspaces/smew/ivytest/libraries/local/org.eclipse.persistence/org.eclipse.persistence.moxy/2.3.2/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact org.eclipse.persistence#org.eclipse.persistence.moxy;2.3.2!org.eclipse.persistence.moxy.jar:
[ivy:retrieve] 	  /home/sm/p/sm/workspaces/smew/ivytest/libraries/local/org.eclipse.persistence/org.eclipse.persistence.moxy/2.3.2/jars/org.eclipse.persistence.moxy.jar
[ivy:retrieve] 	==== shared: tried
[ivy:retrieve] 	  /home/sm/.ivy2/shared/org.eclipse.persistence/org.eclipse.persistence.moxy/2.3.2/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact org.eclipse.persistence#org.eclipse.persistence.moxy;2.3.2!org.eclipse.persistence.moxy.jar:
[ivy:retrieve] 	  /home/sm/.ivy2/shared/org.eclipse.persistence/org.eclipse.persistence.moxy/2.3.2/jars/org.eclipse.persistence.moxy.jar
[ivy:retrieve] 	==== public: tried
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/eclipse/persistence/org.eclipse.persistence.moxy/2.3.2/org.eclipse.persistence.moxy-2.3.2.pom
[ivy:retrieve] 	  -- artifact org.eclipse.persistence#org.eclipse.persistence.moxy;2.3.2!org.eclipse.persistence.moxy.jar:
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/eclipse/persistence/org.eclipse.persistence.moxy/2.3.2/org.eclipse.persistence.moxy-2.3.2.jar
[ivy:retrieve] 		module not found: org.jboss.spec.javax.interceptor#jboss-interceptors-api_1.1_spec;${interceptor.api.version}
[ivy:retrieve] 	==== local: tried
[ivy:retrieve] 	  /home/sm/p/sm/workspaces/smew/ivytest/libraries/local/org.jboss.spec.javax.interceptor/jboss-interceptors-api_1.1_spec/${interceptor.api.version}/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact org.jboss.spec.javax.interceptor#jboss-interceptors-api_1.1_spec;${interceptor.api.version}!jboss-interceptors-api_1.1_spec.jar:
[ivy:retrieve] 	  /home/sm/p/sm/workspaces/smew/ivytest/libraries/local/org.jboss.spec.javax.interceptor/jboss-interceptors-api_1.1_spec/${interceptor.api.version}/jars/jboss-interceptors-api_1.1_spec.jar
[ivy:retrieve] 	==== shared: tried
[ivy:retrieve] 	  /home/sm/.ivy2/shared/org.jboss.spec.javax.interceptor/jboss-interceptors-api_1.1_spec/${interceptor.api.version}/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact org.jboss.spec.javax.interceptor#jboss-interceptors-api_1.1_spec;${interceptor.api.version}!jboss-interceptors-api_1.1_spec.jar:
[ivy:retrieve] 	  /home/sm/.ivy2/shared/org.jboss.spec.javax.interceptor/jboss-interceptors-api_1.1_spec/${interceptor.api.version}/jars/jboss-interceptors-api_1.1_spec.jar
[ivy:retrieve] 	==== public: tried
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/jboss/spec/javax/interceptor/jboss-interceptors-api_1.1_spec/${interceptor.api.version}/jboss-interceptors-api_1.1_spec-${interceptor.api.version}.pom
[ivy:retrieve] 	  -- artifact org.jboss.spec.javax.interceptor#jboss-interceptors-api_1.1_spec;${interceptor.api.version}!jboss-interceptors-api_1.1_spec.jar:
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/jboss/spec/javax/interceptor/jboss-interceptors-api_1.1_spec/${interceptor.api.version}/jboss-interceptors-api_1.1_spec-${interceptor.api.version}.jar
[ivy:retrieve] 		module not found: javax.inject#javax.inject;${atinject.api.version}
[ivy:retrieve] 	==== local: tried
[ivy:retrieve] 	  /home/sm/p/sm/workspaces/smew/ivytest/libraries/local/javax.inject/javax.inject/${atinject.api.version}/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact javax.inject#javax.inject;${atinject.api.version}!javax.inject.jar:
[ivy:retrieve] 	  /home/sm/p/sm/workspaces/smew/ivytest/libraries/local/javax.inject/javax.inject/${atinject.api.version}/jars/javax.inject.jar
[ivy:retrieve] 	==== shared: tried
[ivy:retrieve] 	  /home/sm/.ivy2/shared/javax.inject/javax.inject/${atinject.api.version}/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact javax.inject#javax.inject;${atinject.api.version}!javax.inject.jar:
[ivy:retrieve] 	  /home/sm/.ivy2/shared/javax.inject/javax.inject/${atinject.api.version}/jars/javax.inject.jar
[ivy:retrieve] 	==== public: tried
[ivy:retrieve] 	  http://repo1.maven.org/maven2/javax/inject/javax.inject/${atinject.api.version}/javax.inject-${atinject.api.version}.pom
[ivy:retrieve] 	  -- artifact javax.inject#javax.inject;${atinject.api.version}!javax.inject.jar:
[ivy:retrieve] 	  http://repo1.maven.org/maven2/javax/inject/javax.inject/${atinject.api.version}/javax.inject-${atinject.api.version}.jar
[ivy:retrieve] 		module not found: org.jboss.weld#weld-api;1.1.4.Final
[ivy:retrieve] 	==== local: tried
[ivy:retrieve] 	  /home/sm/p/sm/workspaces/smew/ivytest/libraries/local/org.jboss.weld/weld-api/1.1.4.Final/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact org.jboss.weld#weld-api;1.1.4.Final!weld-api.jar:
[ivy:retrieve] 	  /home/sm/p/sm/workspaces/smew/ivytest/libraries/local/org.jboss.weld/weld-api/1.1.4.Final/jars/weld-api.jar
[ivy:retrieve] 	==== shared: tried
[ivy:retrieve] 	  /home/sm/.ivy2/shared/org.jboss.weld/weld-api/1.1.4.Final/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact org.jboss.weld#weld-api;1.1.4.Final!weld-api.jar:
[ivy:retrieve] 	  /home/sm/.ivy2/shared/org.jboss.weld/weld-api/1.1.4.Final/jars/weld-api.jar
[ivy:retrieve] 	==== public: tried
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/jboss/weld/weld-api/1.1.4.Final/weld-api-1.1.4.Final.pom
[ivy:retrieve] 	  -- artifact org.jboss.weld#weld-api;1.1.4.Final!weld-api.jar:
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/jboss/weld/weld-api/1.1.4.Final/weld-api-1.1.4.Final.jar
[ivy:retrieve] 		module not found: org.jboss.weld#weld-spi;1.1.4.Final
[ivy:retrieve] 	==== local: tried
[ivy:retrieve] 	  /home/sm/p/sm/workspaces/smew/ivytest/libraries/local/org.jboss.weld/weld-spi/1.1.4.Final/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact org.jboss.weld#weld-spi;1.1.4.Final!weld-spi.jar:
[ivy:retrieve] 	  /home/sm/p/sm/workspaces/smew/ivytest/libraries/local/org.jboss.weld/weld-spi/1.1.4.Final/jars/weld-spi.jar
[ivy:retrieve] 	==== shared: tried
[ivy:retrieve] 	  /home/sm/.ivy2/shared/org.jboss.weld/weld-spi/1.1.4.Final/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact org.jboss.weld#weld-spi;1.1.4.Final!weld-spi.jar:
[ivy:retrieve] 	  /home/sm/.ivy2/shared/org.jboss.weld/weld-spi/1.1.4.Final/jars/weld-spi.jar
[ivy:retrieve] 	==== public: tried
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/jboss/weld/weld-spi/1.1.4.Final/weld-spi-1.1.4.Final.pom
[ivy:retrieve] 	  -- artifact org.jboss.weld#weld-spi;1.1.4.Final!weld-spi.jar:
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/jboss/weld/weld-spi/1.1.4.Final/weld-spi-1.1.4.Final.jar
[ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 		::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 		:: org.eclipse.persistence#org.eclipse.persistence.moxy;2.3.2: not found
[ivy:retrieve] 		:: org.jboss.spec.javax.interceptor#jboss-interceptors-api_1.1_spec;${interceptor.api.version}:
not found
[ivy:retrieve] 		:: javax.inject#javax.inject;${atinject.api.version}: not found
[ivy:retrieve] 		:: org.jboss.weld#weld-api;1.1.4.Final: not found
[ivy:retrieve] 		:: org.jboss.weld#weld-spi;1.1.4.Final: not found
[ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/home/sm/p/sm/workspaces/smew/ivytest/scripts/build.xml:129: impossible to resolve dependencies:
	resolve failed - see output for details

Total time: 2 minutes 4 seconds


                
> Ivy doesn't support Maven 2.0.9 'import' scope
> ----------------------------------------------
>
>                 Key: IVY-807
>                 URL: https://issues.apache.org/jira/browse/IVY-807
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Maven Compatibility
>            Reporter: Xavier Hanin
>            Assignee: Maarten Coene
>             Fix For: 2.2.0-RC1
>
>
> Recently releases Maven 2.0.9 introduced a new scope, which is not yet supported by Ivy.
> See here for details about this new scope:
> http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message