We should probably state this whereever we say "you can get the artitfacts from Maven central" (I've updated the downloads page). Steven, the one who wrote the first Weld tutorial in the community, understood you could build from central and was suggesting that in his article...until he realized it wasn't working.
-Dan
We have just used whatever version Stan published to the jboss.org repos.
Currently it is a requirement that to use Weld you must use the JBoss repo (despite publishing on Maven central) basically, there is too much not published there (much beyond JSF).
At some point we need to create a list of all our runtime dependencies, and ensure they are published on Maven central.
On 22 Oct 2009, at 03:01, Dan Allen wrote:
Thanks Shane!
Jason, this looks like a great opportunity to promote Mojarra and JSF in general. Please consider publishing the artifacts. Let me know if you need any assistance.
Shane, if and when that happens, can we make sure that the version of JSF in Weld and in the JBoss repository aligns with the version the Mojarra team publishes. I know we were out of sync at one point because we needed to publish our own snapshots. Now that Mojarra 2.0.0 is released, we should align.
-Dan
On Wed, Oct 21, 2009 at 9:34 PM, Shane Bryzak <sbryzak@redhat.com> wrote:
It was quite easy to set up - instructions are here: http://nexus.sonatype.org/oss-repository-hosting.html
Shane
On 22/10/09 08:29, Dan Allen wrote:
Thanks Jason.
Hmm, so for people using Weld from central, should they be required to add the java.net repo? To better advocate the standard platform, would it be feasible to have these artifacts pushed to the central repo? JBoss setup a channel with Sonatype that allows the artifacts to be passed on to central w/o too much headache.
Could someone on the Weld team that was involved in getting the artifacts published to central communicate with Jason about how this publishing takes place? Perhaps Sun would consider using it.
-Dan
On Wed, Oct 21, 2009 at 6:26 PM, Jason Lee <jason@steeplesoft.com> wrote:
That artifact is deployed here:
http://download.java.net/maven/2/javax/faces/jsf-api/2.0/
Note the version AND the repo. AFAIK, all Sun artifacts are deployed to the java.net repo.
On Oct 21, 2009, at 5:14 PM, Dan Allen wrote:
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
_______________________________________________
weld-dev mailing list
weld-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev
Jason Lee, SCJP
President, Oklahoma City Java Users Group
Senior Java Developer, Sun Microsystems
http://blogs.steeplesoft.com
--
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
_______________________________________________
weld-dev mailing list
weld-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev
--
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
_______________________________________________
weld-dev mailing list
weld-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev