[
https://issues.apache.org/jira/browse/IVY-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16863621#comment-16863621
]
Janusz Dalecki commented on IVY-1605:
-------------------------------------
Hi Gintas,
Thanks for your reply.
I have attached the whole project (which is originally ivy project from the
subfolder src\example\configurations\multi-projects).
All I have changed (I think) is ivy.xml - by adding dependency into
src\example\configurations\multi-projects\filter-framework\ivy.xml:
"<dependency org="org.glassfish.jersey.core" name="jersey-common"
rev="2.28"/>"
I have tried to execute ivy as a standalone (like below):
"C:\tools\apache-ivy-2.5.0-rc1\src\example\configurations\multi-projects\filter-framework>
java -jar C:\tools\apache-i
vy-2.5.0-rc1\ivy-2.5.0-rc1.jar ivy.xml"
but I got the same error:
" :: org.glassfish.jersey.core#jersey-common;2.28:
org.glassfish.jersey#project;2.28->org.eclipse.ee4j#project;1.0.5"
Kind Regards,
Janusz
> Ivy can't resolve dependency on maven2 artifact "jersey-media-multipart"
> ------------------------------------------------------------------------
>
> Key: IVY-1605
> URL: https://issues.apache.org/jira/browse/IVY-1605
> Project: Ivy
> Issue Type: Bug
> Components: Core, Maven Compatibility
> Affects Versions: 2.5.0-rc1
> Environment: OS: Windows 10
> Java : Java 1.8
> Apache Ant(TM) version 1.9.14 compiled on March 12 2019
> Apache Ivy 2.5.0-rc1 - 20180412005306
> Reporter: Janusz Dalecki
> Priority: Major
>
> Hi,
> I am reprting this as a bug as I have published the problem on ivy forum and
> I was asked to submit it as a possible problem in ivy.
> It is reproducible as I desribe it below:
>
> I have an ivy.xml file that includes just one dependency like this:
> {code:java}
> <dependency org="org.glassfish.jersey.media" name="jersey-media-multipart"
> rev="2.28"/>
> {code}
> My ivysettings.xml looks like this:
> {code:java}
> <ivysettings>
> <properties file="${ivy.settings.dir}/ivysettings.properties"/>
> <settings defaultResolver="maven-repos"/>
> <resolvers>
> <filesystem name="local">
> <ivy pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" />
> <artifact
> pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" />
> </filesystem>
> <chain name="maven-repos">
> <ibiblio name="libraries" m2compatible="true"/>
> </chain>
> </resolvers>
> </ivysettings>
> {code}
> After I run the build.xml (below is my resolve statement extract from
> build.xml that looks like this):
> {code:java}
> <!-- =================================
> target: resolve
> ================================= -->
> <target name="resolve" description="--> retrieve dependencies with ivy">
> <!-- conf="*" will copie artifacts defined for each conf in a dir matching
> conf name -->
> <ivy:retrieve
> pattern="${ivy.lib.dir}/[conf]/[artifact]-[type]-[revision].[ext]"/>
> </target>
> {code}
> ... I get this error:
> {code:java}
> [ivy:retrieve]
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: UNRESOLVED DEPENDENCIES ::
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] :: org.glassfish.jersey.media#jersey-media-multipart;2.28:
> org.glassfish.jersey.media#project;2.28->org.glassfish.jersey#project;2.28->org.eclipse.ee4j#project;1.0.5
> [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> [ivy:retrieve]
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> {code}
> I have checked that in the central repository there is a pom.xml in
> https://repo1.maven.org/maven2/org/eclipse/ee4j/project/1.0.5/ repository
> called project-1.0.5.pom .
> Kind Regards,
> Janusz
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)