I very recently updated my workspace and now I get the error below.
Will this resolve itself once something gets published to the repository
or is this a problem someone needs to look at?
- Tim
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.jboss.webbeans:webbeans-osgi-bundle:jar:1.0.0.PREVIEW2.SP2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jboss.webbeans
-DartifactId=webbeans-osgi-bundle -Dversion=1.0.0.PREVIEW2.SP2
-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.webbeans
-DartifactId=webbeans-osgi-bundle -Dversion=1.0.0.PREVIEW2.SP2
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.glassfish.web:webbeans-integration:hk2-jar:3.0-SNAPSHOT
2) org.jboss.webbeans:webbeans-osgi-bundle:jar:1.0.0.PREVIEW2.SP2
----------
1 required artifact is missing.
for artifact:
org.glassfish.web:webbeans-integration:hk2-jar:3.0-SNAPSHOT
from the specified remote repositories:
maven2.java.net (
http://download.java.net/maven/2),
repo1.maven.org (
http://repo1.maven.org/maven2),
java.net (
http://download.java.net/maven/1),
glassfish-repository-wsinterop (
http://maven.dyndns.org/glassfish/),
glassfish-repo-archive-dummy
(
http://maven.glassfish.org/content/groups/glassfish),
glassfish-repository (
http://download.java.net/maven/glassfish),
EclipseLink Repo (
http://download.eclipse.org/rt/eclipselink/maven.repo),
central (
http://repo1.maven.org/maven2),
java-dev-repository
(
https://maven-repository.dev.java.net/nonav/repository),
glassfish-repo-archive
(
http://maven.glassfish.org/content/groups/glassfish),
Netbeans repo (
http://deadlock.netbeans.org/maven2)