I'm trying to build the latest grizzly on my Mac (just checked out, empty
Maven repository).
If I build with just "mvn", it fails in one of the tests.
If I build without running the tests, it fails with the following.
What could I be doing wrong?
[INFO] Failed to resolve artifact.
Missing:
----------
1) com.sun.grizzly:grizzly-framework:test-jar:tests:1.9.35-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.grizzly
-DartifactId=grizzly-framework -Dversion=1.9.35-SNAPSHOT -Dclassifier=tests
-Dpackaging=test-jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.grizzly
-DartifactId=grizzly-framework -Dversion=1.9.35-SNAPSHOT -Dclassifier=tests
-Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.sun.grizzly:grizzly-portunif:jar:1.9.35-SNAPSHOT
2) com.sun.grizzly:grizzly-framework:test-jar:tests:1.9.35-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
com.sun.grizzly:grizzly-portunif:jar:1.9.35-SNAPSHOT
from the specified remote repositories:
central (
http://repo1.maven.org/maven2),
codehaus (
http://repository.codehaus.org),
java.net (
http://download.java.net/maven/2),
glassfish-maven2-repository.dev.java.net
(
http://download.java.net/maven/glassfish/)