atom feed9 messages in org.apache.maven.usersRe: Unable to find resource 'org.glas...
FromSent OnAttachments
Thomas PorschbergJun 30, 2010 9:00 am 
Thomas PorschbergJun 30, 2010 11:38 pm 
Stephen ConnollyJul 1, 2010 12:09 am 
Mark StrubergJul 1, 2010 1:31 am 
Stephen ConnollyJul 1, 2010 1:41 am 
Jörg SchaibleJul 1, 2010 1:52 am 
Thomas PorschbergJul 1, 2010 2:03 am 
Thomas PorschbergJul 1, 2010 2:18 am 
Mark StrubergJul 1, 2010 2:25 am 
Subject:Re: Unable to find resource 'org.glassfish:javax.ejb:pom:3.0'
From:Mark Struberg (
Date:Jul 1, 2010 1:31:50 am

to back Stephens word: it's even worse - they recently dropped 'old' JSF-1
artifacts from their repo without any noticing...

So really only use the maven repo via a repo manager like Nexus or

LieGrue, strub

----- Original Message ----

From: Stephen Connolly <> To: Maven Users List <> Sent: Thu, July 1, 2010 9:09:47 AM Subject: Re: Unable to find resource 'org.glassfish:javax.ejb:pom:3.0'

I am going to state this once and only once:

"Friends don't

let friends use the maven repositories" (at least without protection (e.g. a maven repository manager))

It's fine for following a tutorial, but don't keep the bad

habit when you

start writing real code.



the reason why you should not use the repos is that they do not

have/enforce the following policies: * immutability of

releases * single origin of artifacts (i.e. if a GAV coordinate exists on central, then the artifact at that GAV should either not be present in the repo (preferred) or else it should be exactly, byte for byte, the

same as the artifact on central (less preferred)) *

other process issues too complex to explain to somebody new to maven

On 1

July 2010 07:38, Thomas Porschberg < href="">> wrote:

I solved the problem with


<repository> <id>glassfish</id>

<name>Maven Repository Glassfish</name>




<enabled>false</enabled> </snapshots>



Am Wed, 30 Jun 2010 18:00:01 +0200 schrieb Thomas Porschberg < ymailto="" href="">>:


I'm now in chapter 6 of "Java EE 6 Platform with GlassFish 3" and I try to build the example with mvn.

In my pom.xml there is:














but a "mvn package" gives me:


[INFO] Unable to find resource 'org.glassfish:javax.ejb:pom:3.0' in

repository EclipseLink Repo (



[INFO] Unable to find resource 'org.glassfish:javax.ejb:pom:3.0' in

repository central ( Downloading:

[INFO] Unable to find resource 'org.glassfish:javax.ejb:pom:3.0' in




Is there a maven2 repository outside which provides the glassfish


I have also a running glassfish server on my machine but is it the right way to install the jars manually?



Thomas Porschberg Otto Group · GroupTechnologyPartner - Dresden (GTP)

Softwareentwickler · Lokale Logistik · FI-IS-LL

GroupTechnologyPartner - Dresden GmbH · Freiberger Straße 35 · 01067

Dresden Telefon +49 (0) 351 497 23 158 · Fax +49 (0) 351 497 23 119

ymailto="" href=""> · href=""> <>

_____________________________________________________ AG Dresden, HRB 2475 Geschäftsführer: Dr. Thomas Tribius, Martin Mildner

For additional commands, e-mail: href="">