where is “ <groupId>org.glassfish.embedded</groupId>” repository here?

杀马特。学长 韩版系。学妹 提交于 2019-12-02 05:19:00

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> 

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>

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?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!