testing the examples
mid491 Feb 3, 2012 9:57 AMHi,
i am very new to Arquillian and i am trying the examples founded at https://github.com/arquillian/arquillian-examples but whithout success...
I guess it's a dependency problem but can't find it :
C:\tmp\arquillian-arquillian-examples-d7b0ab4\jpa2>mvn test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Arquillian Examples: JPA 2 1.0.0
[INFO] ------------------------------------------------------------------------
Downloading: https://maven.nuxeo.org/nexus/content/groups/public/org/jboss/arquillian/container/arqu
illian-glassfish-embedded-3/1.0.0.Alpha5/arquillian-glassfish-embedded-3-1.0.0.Alpha5.pom
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/arquillian/con
tainer/arquillian-glassfish-embedded-3/1.0.0.Alpha5/arquillian-glassfish-embedded-3-1.0.0.Alpha5.pom
[WARNING] The POM for org.jboss.arquillian.container:arquillian-glassfish-embedded-3:jar:1.0.0.Alpha
5 is missing, no dependency information available
Downloading: https://maven.nuxeo.org/nexus/content/groups/public/org/jboss/arquillian/container/arqu
illian-glassfish-embedded-3/1.0.0.Alpha5/arquillian-glassfish-embedded-3-1.0.0.Alpha5.jar
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/arquillian/con
tainer/arquillian-glassfish-embedded-3/1.0.0.Alpha5/arquillian-glassfish-embedded-3-1.0.0.Alpha5.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.297s
[INFO] Finished at: Fri Feb 03 15:54:51 CET 2012
[INFO] Final Memory: 5M/121M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jpa2: Could not resolve dependencies for project org.jboss
.arquillian.examples:jpa2:jar:1.0.0: Could not find artifact org.jboss.arquillian.container:arquilli
an-glassfish-embedded-3:jar:1.0.0.Alpha5 in maven-nuxeo (https://maven.nuxeo.org/nexus/content/group
s/public/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following arti
cles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
C:\tmp\arquillian-arquillian-examples-d7b0ab4\jpa2>
I've added this profile to my settings.xml :
<id>jboss-public-repository</id>
<repositories>
<repository>
<id>maven-nuxeo</id>
<name>Maven Nuxeo Repository</name>
<url>https://maven.nuxeo.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
thanks for help!