Please try building with the /branches/4.0.X version. The /trunk is a little unstable for now because we are wrapping up 4.0.0.Final in the 4.0.X branch, and /trunk is for 4.1.x work.
If it is still broken let us know, but I would surprised I probably built it about 10 time today ;-)
Same error using the 4.0.0.CR1 branch.
Looks like the problem is that the referenced jsf-api and jsf-impl packages are missing from the mvn repository.
>> The following artifacts could not be resolved: com.sun.faces:jsf-api:jar:2.0.4-b09, com.sun.faces:jsf-impl:jar:2.0.4-b09
[WARNING] The POM for com.sun.faces:jsf-api:jar:2.0.4-b09 is missing, no dependency information available
[WARNING] The POM for com.sun.faces:jsf-impl:jar:2.0.4-b09 is missing, no dependency information available
That's the repo I'm using, but mvn seems to be trying to get that nonexistent version of the jsf-api and jsf-impl dependencies.
I'm not a maven expert, so I don't know why. I'm just following the instructions posted in an article on this site.
However, I did find already-built war files in the repo, and I can use those to at least run the examples.
Good enough for now.
I was having the same error. I've found out that my jboss-public-repository url was wrong in Maven Config file.
Go to Apache maven settings.xml config file and change the repository url for "jboss-public-repository-group" as "https://repository.jboss.org/nexus/content/groups/public/". The old value of this url was "https://repository.jboss.org/nexus/content/groups/public-jboss/".
Here is my repository definition in maven config:
<name>JBoss Public Maven Repository Group</name>