Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Trouble with Maven repository/artifacts

Hi Jon,

  I just realized a potential problem with your URL.

We recently moved from the technology platform to the runtime platform. Your URL is the old one. Here is the new one:

http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo

-Tom

Tom Ware wrote:
Hi Jon,

The URL you list should be correct (http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/eclipselink/maven.repo).

The other URL you have listed is the wiki with the instructions. Have you had a look at it?

From what I can tell from your error message, you are trying to get some Spring bundles. Is that correct? If so, you will likely need a different repository to get it. Take a look at the wiki with the instructions to see what you can get from our repository - there is even some sample POM xml.

If the above doesn't help, let us know what the parts of your pom.xml entries for EclipseLink look like and a full list of the error messages you are seeing are.

-Tom

kosmjon wrote:
Hi,
The wiki says to use:
http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/eclipselink/maven.repo and a post from March says to use: http://wiki.eclipse.org/EclipseLink/Maven

Adding either of these repos to my parent POM results in errors such as
this:
---
Reason: Error getting POM for 'org.springframework.osgi:junit.osgi' from the
repository: Unable to read local copy of metadata:
Cannot read metadata from
'c:\docume~1\jkosmoski\.m2\repository\org\springframework\osgi\junit.osgi\3.8.2-SNAPSHOT\maven-metadat a-eclipselink-repository.xml': end tag name must match start tag name from line 70 (position: START_TAG seen ... /skins/eclipse/wiki_header.jpg ... @70:74)
  org.springframework.osgi:junit.osgi:pom:3.8.2-SNAPSHOT
---
I was able to pull some artifacts down, but the .pom files contained HTML
(from the wiki?) and the jars were the wrong sizes and appeared to have
nothing in them.

I was able to manually pull the stuff down and artificially fill in my local
repository, but hopefully we can get this corrected.  Thanks, - Jon



Back to the top