Skip to main content

glassfish 3.1.2.2 in a maven repo?

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
4 replies [Last post]
Anonymous

I am resolving the glassfish-embedded-web jar (with groupid
org.glassfish.main.extras) from maven central and the newest version I
can find is 3.1.2. When I deploy to this version, I run into the sl4fj
version problem described here: GLASSFISH-17460. Is it true that the
newest version of glassfish-embedded-web in maven central is older than
b10, which contains the fix for this problem?

It's possible to download 3.1.2.2 from this page:
http://glassfish.java.net/downloads/3.1.2.2-final.html; is there a maven
repository I can use that contains this release?

Thank you for your assistance.

-aslag

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
amyroh
Offline
Joined: 2004-05-06

Hi aslag,

3.1.2.2 maven artifacts are not published yet. Release engineering will
deploy embedded bits at the same time.

Amy

On 8/1/12 9:56 AM, aslag wrote:
> I am resolving the glassfish-embedded-web jar (with groupid
> org.glassfish.main.extras) from maven central and the newest version I
> can find is 3.1.2. When I deploy to this version, I run into the sl4fj
> version problem described here: GLASSFISH-17460. Is it true that the
> newest version of glassfish-embedded-web in maven central is older than
> b10, which contains the fix for this problem?
>
> It's possible to download 3.1.2.2 from this page:
> http://glassfish.java.net/downloads/3.1.2.2-final.html; is there a maven
> repository I can use that contains this release?
>
> Thank you for your assistance.
>
> -aslag

m4r35n357
Offline
Joined: 2007-07-03

Well the downloads page still claims they are published, but they aren't. Is anyone looking into this?

m4r35n357
Offline
Joined: 2007-07-03

OK I got a reply from the mailing list with a funky search term using the version number! I now just need to find the artifacts since the group IDs have clearly changed since 3.1 (otherwise just bumping the numbers would have worked in Maven).

Thanks to whoever replied, but I leave with one more question: would it really hurt to publish the full coordinates on the download page?

I was just checking the download page regarding my last question, but as always java.net is desparately, unusably slow, so I'll just leave it . . . . hope this post gets through.

m4r35n357
Offline
Joined: 2007-07-03

Hi Romain, still on the forum here ;)
These are the two artifacts that I wish to upgrade:
org.glassfish.extras
glassfish-embedded-all
3.1

org.glassfish
maven-embedded-glassfish-plugin
3.1
So I need to find the 3.1.2.2 versions of both, since (I believe) the group and artifact ids have changed. This would be trivial if the coordinates were given on the download page, but for now I still need to search maven central to try to locate the new coordinates. I think you found one of them (on the first page of results), so now I can believe they are there.
It just seems like unnecessary hassle . . . . but thanks again for the pointer.
[EDIT] it seems like the coordinates are in the table, great - I couldn't get the page to load until just now ;)
[EDIT] oops looks like I spoke too soon:
$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JavaEE6Webapp 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.glassfish:maven-embedded-glassfish-plugin:jar:3.1.2.2 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.353s
[INFO] Finished at: Tue Apr 16 15:57:05 BST 2013
[INFO] Final Memory: 2M/61M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.glassfish:maven-embedded-glassfish-plugin:3.1.2.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.glassfish:maven-embedded-glassfish-plugin:jar:3.1.2.2: Failure to find org.glassfish:maven-embedded-glassfish-plugin:pom:3.1.2.2 in http://sumo:8080/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]