Gisbert
May 2nd, 2008, 09:04 AM
I've downloaded the spring-osgi-1.1.0-m2 Zip file only today from sourceforge. When I try to build it using this command line:
mvn -P equinox,it clean install
I get this error:
[INFO] Failed to resolve artifact.
Missing:
----------
1) net.java.dev.jets3t:jets3t:jar:0.5.1-20080115
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.java.dev.jets3t -DartifactId=jets3t -Dversion=0.5.1-20080115 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.java.dev.jets3t -DartifactId=jets3t -Dversion=0.5.1-20080115 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.springframework.osgi:spring-osgi:pom:1.1.0-m2
2) net.java.dev.jets3t:jets3t:jar:0.5.1-20080115
----------
1 required artifact is missing.
for artifact:
org.springframework.osgi:spring-osgi:pom:1.1.0-m2
from the specified remote repositories:
safehaus-repository (http://m2.safehaus.org),
...
And, yes, there is no jets3t*jar at http://m2.safehaus.org. What can I do?
mvn -P equinox,it clean install
I get this error:
[INFO] Failed to resolve artifact.
Missing:
----------
1) net.java.dev.jets3t:jets3t:jar:0.5.1-20080115
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.java.dev.jets3t -DartifactId=jets3t -Dversion=0.5.1-20080115 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.java.dev.jets3t -DartifactId=jets3t -Dversion=0.5.1-20080115 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.springframework.osgi:spring-osgi:pom:1.1.0-m2
2) net.java.dev.jets3t:jets3t:jar:0.5.1-20080115
----------
1 required artifact is missing.
for artifact:
org.springframework.osgi:spring-osgi:pom:1.1.0-m2
from the specified remote repositories:
safehaus-repository (http://m2.safehaus.org),
...
And, yes, there is no jets3t*jar at http://m2.safehaus.org. What can I do?