I tried your test and ran into the this :
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.jboss.arquillian:arquillian-junit:jar:1.0.0.Alpha2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jboss.arquillian -DartifactId=arquillian-junit -Dversion=1.0.0.Alpha2 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.jboss.arquillian -DartifactId=arquillian-junit -Dversion=1.0.0.Alpha2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) ljnelson:glassfish-embedded:jar:1.0-SNAPSHOT
2) org.jboss.arquillian:arquillian-junit:jar:1.0.0.Alpha2
2) org.jboss.arquillian.container:arquillian-glassfish-embedded-30:jar:1.0.0.Alpha2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jboss.arquillian.container -DartifactId=arquillian-glassfish-embedded-30 -Dversion=1.0.0.Alpha2 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.jboss.arquillian.container -DartifactId=arquillian-glassfish-embedded-30 -Dversion=1.0.0.Alpha2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) ljnelson:glassfish-embedded:jar:1.0-SNAPSHOT
2) org.jboss.arquillian.container:arquillian-glassfish-embedded-30:jar:1.0.0.Alpha2
----------
2 required artifacts are missing.
for artifact:
ljnelson:glassfish-embedded:jar:1.0-SNAPSHOT
Any other configuration needed to run the test?
[Message sent by forum member 'sirajg']
http://forums.java.net/jive/thread.jspa?messageID=473562