I want to use <groupId>org.glassfish.embedded</groupId>
in my dependencies. What repository should I use?
views:
29answers:
2
A:
http://download.java.net/maven/glassfish/org/glassfish/embedded/ ?
Add the respository to your pom.xml
<repository>
<id>glassfish.java.net</id>
<name>Glassfish repository</name>
<url>http://download.java.net/maven/glassfish</url>
<layout>legacy</layout>
</repository>
What artifact do you want though?
pakore
2010-06-25 09:39:10
Use this repository but warning messageUnable to update index for maven2-repository.dev.java.net|http://download.java.net/maven/glassfish/: Resource nexus-maven-repository-index.properties does not exist
EdwardLau
2010-06-25 10:32:43
+1
A:
I don't know what you want to use but the groupId org.glassfish.embedded
looks pretty old.
I suggest to check the more recent maven coordinates that have been published with the release of GlassFish 3.0.1 and to use the Nexus repository for GlassFish:
<repository>
<id>java.net</id>
<name>GlassFish Maven Repository</name>
<url>http://maven.glassfish.org/content/groups/glassfish</url>
</repository>
Pascal Thivent
2010-06-25 10:31:44
You're welcome. This repository is mentioned in the link I posted in my answer: https://glassfish.dev.java.net/downloads/3.0.1-final.html#maven
Pascal Thivent
2010-06-25 11:14:57