One user is reporting that the JSF 2 artifact is missing from the central
repo, which weld depends on. Therefore, users must still use the JBoss Maven
2 repository to build a JSF app with Weld.
Who is willing to track down how to get this artifact uploaded? I know how
to get something into the JBoss repository, but not central. Perhaps we need
to hound the Mojarra team to publish a JSF 2.0 artifact.
-Dan
Missing:
----------
1) javax.faces:jsf-api:jar:2.0.0-RC
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-api
-Dversion=2.0.0-RC -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-api
-Dversion=2.0.0-RC -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.example:helloworld:war:0.0.1-SNAPSHOT
2) javax.faces:jsf-api:jar:2.0.0-RC
----------
1 required artifact is missing.
for artifact:
org.example:helloworld:war:0.0.1-SNAPSHOT
from the specified remote repositories:
central (
http://repo1.maven.org/maven2)
-Dan
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen