Discussion:
Maven repositories without the jars
Jonathan Vila Lopez
2011-01-20 09:09:06 UTC
Permalink
Hello.

When I try to compile my software I get this errors :

[WARNING] The artifact xerces:xerces:jar:2.4.0 has been relocated to
xerces:xercesImpl:jar:2.4.0
Downloading:
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
Downloading:
http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar
Downloading:
http://repo1.maven.org/maven2/javax/naming/jndi/1.2.1/jndi-1.2.1.jar
Downloading: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
Downloading:
http://repo1.maven.org/maven2/com/oracle/toplink/toplink/10.1.3/toplink-10.1.3.jar

When I browse those urls I see that indeed the jar file does not exist, but
pom and sha files exists.

1. So, what's the purpose to store those files without the jar ?
2. Do I have to manually download the jars from their right location ?

Thank's a lot.

---------------------------------------------------------------------------------------------
*Slitzweitz !!!!!! *
Anders Hammar
2011-01-20 10:13:26 UTC
Permalink
It means that this artifact used to be under the coordinates xerces:cerces,
but is now using the coordinates xerces:xercesImpl. When the developers
moved it, the created a so-called relocation pom in the old space, to
simplify for the users. The build still works right? But you get this
warning.
You should update your pom(s) to use the new coordinates instead of the old
ones. If it's in one of your dependencies, it's not very much you can do but
to report this to the devs of the artifact with that dependency.

/Anders
On Thu, Jan 20, 2011 at 10:09, Jonathan Vila Lopez
Post by Jonathan Vila Lopez
Hello.
[WARNING] The artifact xerces:xerces:jar:2.4.0 has been relocated to
xerces:xercesImpl:jar:2.4.0
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar
http://repo1.maven.org/maven2/javax/naming/jndi/1.2.1/jndi-1.2.1.jar
Downloading: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
http://repo1.maven.org/maven2/com/oracle/toplink/toplink/10.1.3/toplink-10.1.3.jar
When I browse those urls I see that indeed the jar file does not exist, but
pom and sha files exists.
1. So, what's the purpose to store those files without the jar ?
2. Do I have to manually download the jars from their right location ?
Thank's a lot.
---------------------------------------------------------------------------------------------
*Slitzweitz !!!!!! *
Anders Hammar
2011-01-20 10:14:42 UTC
Permalink
I should clarify: Maven handles this relocation for you. But you should
update the coordinates used for future versions there might not be a
relocation pom.

/Anders
Post by Anders Hammar
It means that this artifact used to be under the coordinates xerces:cerces,
but is now using the coordinates xerces:xercesImpl. When the developers
moved it, the created a so-called relocation pom in the old space, to
simplify for the users. The build still works right? But you get this
warning.
You should update your pom(s) to use the new coordinates instead of the old
ones. If it's in one of your dependencies, it's not very much you can do but
to report this to the devs of the artifact with that dependency.
/Anders
On Thu, Jan 20, 2011 at 10:09, Jonathan Vila Lopez <
Post by Jonathan Vila Lopez
Hello.
[WARNING] The artifact xerces:xerces:jar:2.4.0 has been relocated to
xerces:xercesImpl:jar:2.4.0
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar
http://repo1.maven.org/maven2/javax/naming/jndi/1.2.1/jndi-1.2.1.jar
Downloading: http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
http://repo1.maven.org/maven2/com/oracle/toplink/toplink/10.1.3/toplink-10.1.3.jar
When I browse those urls I see that indeed the jar file does not exist, but
pom and sha files exists.
1. So, what's the purpose to store those files without the jar ?
2. Do I have to manually download the jars from their right location ?
Thank's a lot.
---------------------------------------------------------------------------------------------
*Slitzweitz !!!!!! *
Jonathan Vila Lopez
2011-01-20 10:24:21 UTC
Permalink
Hello Anders........

There is no problem with xerces and its relocation........ the problem is
Post by Anders Hammar
Post by Jonathan Vila Lopez
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar
Post by Anders Hammar
Post by Jonathan Vila Lopez
http://repo1.maven.org/maven2/javax/naming/jndi/1.2.1/jndi-1.2.1.jar
http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
http://repo1.maven.org/maven2/com/oracle/toplink/toplink/10.1.3/toplink-10.1.3.jar

because the referenced jar does not exist in the repo1 repository.

---------------------------------------------------------------------------------------------
*Slitzweitz !!!!!! *
Post by Anders Hammar
I should clarify: Maven handles this relocation for you. But you should
update the coordinates used for future versions there might not be a
relocation pom.
/Anders
Post by Jonathan Vila Lopez
It means that this artifact used to be under the coordinates
xerces:cerces,
Post by Jonathan Vila Lopez
but is now using the coordinates xerces:xercesImpl. When the developers
moved it, the created a so-called relocation pom in the old space, to
simplify for the users. The build still works right? But you get this
warning.
You should update your pom(s) to use the new coordinates instead of the
old
Post by Jonathan Vila Lopez
ones. If it's in one of your dependencies, it's not very much you can do
but
Post by Jonathan Vila Lopez
to report this to the devs of the artifact with that dependency.
/Anders
On Thu, Jan 20, 2011 at 10:09, Jonathan Vila Lopez <
Post by Jonathan Vila Lopez
Hello.
[WARNING] The artifact xerces:xerces:jar:2.4.0 has been relocated to
xerces:xercesImpl:jar:2.4.0
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
http://repo1.maven.org/maven2/javax/resource/connector/1.0/connector-1.0.jar
Post by Jonathan Vila Lopez
Post by Jonathan Vila Lopez
http://repo1.maven.org/maven2/javax/naming/jndi/1.2.1/jndi-1.2.1.jar
http://repo1.maven.org/maven2/javax/jms/jms/1.1/jms-1.1.jar
http://repo1.maven.org/maven2/com/oracle/toplink/toplink/10.1.3/toplink-10.1.3.jar
Post by Jonathan Vila Lopez
Post by Jonathan Vila Lopez
When I browse those urls I see that indeed the jar file does not exist, but
pom and sha files exists.
1. So, what's the purpose to store those files without the jar ?
2. Do I have to manually download the jars from their right location ?
Thank's a lot.
---------------------------------------------------------------------------------------------
Post by Jonathan Vila Lopez
Post by Jonathan Vila Lopez
*Slitzweitz !!!!!! *
Wayne Fay
2011-01-20 10:26:12 UTC
Permalink
Post by Jonathan Vila Lopez
There is no problem with xerces and its relocation........ the problem is
because the referenced jar does not exist in the repo1 repository.
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Wayne

Loading...