Can you try temporarily moving your local maven repo and starting with a clean one for the build?
I think there's some trickery at work here.
--Lincoln
I've updated but still getting the same error... :SUrosOn Mon, Apr 19, 2010 at 12:37 AM, Lincoln Baxter, III <lincolnbaxter@gmail.com> wrote:
The Servlet dependency should no longer be in the Faces POM. Please try again and let me know if you still have a problem -- this was removed on Friday, so make sure you have the most recent version :)
--Lincoln--
On Sat, Apr 17, 2010 at 9:32 AM, Uroš Majerič <uros@majeric.si> wrote:After contributing some code (PrettyFaces) and having a discussion with Lincoln I've joined a seam-dev mailing list. My plan is to help Lincoln with Seam faces module (maybe with other modules to) - I hope to find time for helping.well I was using Seam from version 1.2 to 2.2.x - so I'm familiar with seam.I checked out seam-faces module about two weeks ago and compiled it with no problem. but last week, after an update (svn up) it didn't compile anymore. After having a discussion with Lincoln yesterday, I started from beginning. So I removed a org/jboss/seam folder from m2 repo, followed the instruction on http://seamframework.org/Seam3/CheckOutAndBuildSeam:mkdir seam-trunk cd seam-trunk svn co http://anonsvn.jboss.org/repos/seam/build/trunk build svn co http://anonsvn.jboss.org/repos/seam/dist/trunk dist svn co http://anonsvn.jboss.org/repos/seam/modules/faces/trunk facescd build/parent mvn install cd ../..cd dist mvn install cd ..cd faces mvn installas first I got an error:[INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] Failed to resolve artifact.Missing:----------1) org.glassfish:javax.servlet:jar:3.0Try downloading the file manually from the project website.Then, install it using the command:mvn install:install-file -DgroupId=org.glassfish -DartifactId=javax.servlet -Dversion=3.0 -Dpackaging=jar -Dfile=/path/to/fileAlternatively, if you host your own repository you can deploy the file there:mvn deploy:deploy-file -DgroupId=org.glassfish -DartifactId=javax.servlet -Dversion=3.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]Path to dependency:1) org.jboss.seam.faces:seam-faces:jar:3.0.0-SNAPSHOT2) org.glassfish:javax.servlet:jar:3.0----------1 required artifact is missing.for artifact:org.jboss.seam.faces:seam-faces:jar:3.0.0-SNAPSHOTso I added following code to the .m2/settings.xml:<repository>
<id>glassfish</id>
<url>http://download.java.net/maven/glassfish</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>now every time i do "mvn install" i get an error:-------------------------------------------------------T E S T S-------------------------------------------------------Running org.jboss.seam.faces.environment.FacesContextProducerTestSLF4J: The requested version 1.5.9 by your slf4j binding is not compatible with [1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9.RC1, 1.5.10]SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.444 sec <<< FAILURE!Running org.jboss.seam.faces.context.FacesAnnotationsAdapterExtensionTestTests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.087 sec <<< FAILURE!Running org.jboss.seam.faces.util.AnnotationsTestTests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 secRunning org.jboss.seam.faces.event.SystemEventBridgeTestTests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.117 sec <<< FAILURE!Running org.jboss.seam.faces.context.conversation.ConversationBoundaryInterceptorTestTests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.065 sec <<< FAILURE!Running org.jboss.seam.faces.event.PhaseEventBridgeTestTests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.063 sec <<< FAILURE!Running org.jboss.seam.faces.environment.ExternalContextProducerTestTests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.059 sec <<< FAILURE!
Results :Tests in error:org.jboss.seam.faces.environment.FacesContextProducerTestorg.jboss.seam.faces.context.FacesAnnotationsAdapterExtensionTestorg.jboss.seam.faces.event.SystemEventBridgeTestorg.jboss.seam.faces.context.conversation.ConversationBoundaryInterceptorTestorg.jboss.seam.faces.event.PhaseEventBridgeTestorg.jboss.seam.faces.environment.ExternalContextProducerTestTests run: 9, Failures: 0, Errors: 6, Skipped: 0I've attached a file {faces-module}/impl/target/surefire-reports/org.jboss.seam.faces.context.conversation.ConversationBoundaryInterceptorTest.txt with a report.
Did anyone else had similar problems?Uros
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"