I solved the problem with http://www.mvnbrowser.com
and <repository> <id>glassfish</id> <name>Maven Repository Glassfish</name> <layout>default</layout> <url>http://download.java.net/maven/glassfish</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> Thomas Am Wed, 30 Jun 2010 18:00:01 +0200 schrieb Thomas Porschberg <[email protected]>: > Hi, > > 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: > > ... > <dependency> > <groupId>org.glassfish</groupId> > <artifactId>javax.ejb</artifactId> > <version>3.0</version> > </dependency> > <dependency> > <groupId>org.glassfish.embedded</groupId> > <artifactId>glassfish-embedded-all</artifactId> > <version>3.0</version> > <scope>test</scope> > </dependency> > ... > > but a "mvn package" gives me: > > > Downloading: > http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo/org/glassfish/javax.ejb/3.0/javax.ejb-3.0.pom > [INFO] Unable to find resource 'org.glassfish:javax.ejb:pom:3.0' in > repository EclipseLink Repo > (http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo) > Downloading: > http://repo1.maven.org/maven2/org/glassfish/javax.ejb/3.0/javax.ejb-3.0.pom > [INFO] Unable to find resource 'org.glassfish:javax.ejb:pom:3.0' in > repository central (http://repo1.maven.org/maven2) Downloading: > http://download.java.net/maven/2/org/glassfish/javax.ejb/3.0/javax.ejb-3.0.pom > [INFO] Unable to find resource 'org.glassfish:javax.ejb:pom:3.0' in > repository maven2-repository.dev.java.net > (http://download.java.net/maven/2) > > Is there a maven2 repository outside which provides the glassfish > jars? > > I have also a running glassfish server on my machine but is it the > right way to install the jars manually? > > Best regards > Thomas > -- _____________________________________________________ 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 [email protected] · www.ottogroup.com <http://www.ottogroup.com/> _____________________________________________________ AG Dresden, HRB 2475 Geschäftsführer: Dr. Thomas Tribius, Martin Mildner --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
