I want to use <groupId>org.glassfish.embedded</groupId>
in my dependencies. What repository should I use?
Asked
Active
Viewed 1,545 times
1

Pascal Thivent
- 562,542
- 136
- 1,062
- 1,124

EdwardLau
- 1,139
- 4
- 20
- 26
4 Answers
2
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
- 562,542
- 136
- 1,062
- 1,124
-
1You'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 Jun 25 '10 at 11:14
1
Since version 3.1.2, glassfish artifacts are in Maven Central, so you don't need any special repository.
<dependency>
<groupId>org.glassfish.main.extras</groupId>
<artifactId>glassfish-embedded-all</artifactId>
<version>3.1.2</version>
</dependency>

pdudits
- 896
- 6
- 9
0
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
- 11,395
- 12
- 43
- 62
-
Use this repository but warning message Unable 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 Jun 25 '10 at 10:32
0
Maybe this will help: From What is the official Maven repository for Embedded GlassFish? : http://download.java.net/maven/glassfish/org/glassfish/extras/glassfish-embedded-all/3.1.1/

Community
- 1
- 1

Matthew Cornell
- 4,114
- 3
- 27
- 40