[seam-dev] Compiling Seam faces module

Uroš Majerič uros at majeric.si
Tue Apr 20 15:27:38 EDT 2010


I did moved the repo and new jars (poms,...) were downloaded, but still
getting the same error. Have you tried to do that? Or anyone else?

Uros


On Tue, Apr 20, 2010 at 5:28 PM, Lincoln Baxter, III <
lincolnbaxter at gmail.com> wrote:

> 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
>
>
> On Tue, Apr 20, 2010 at 7:21 AM, Uroš Majerič <uros at majeric.si> wrote:
>
>> I've updated but still getting the same error... :S
>>
>> Uros
>>
>>
>> On Mon, Apr 19, 2010 at 12:37 AM, Lincoln Baxter, III <
>> lincolnbaxter at 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 at 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 faces
>>>>
>>>> cd build/parent
>>>> mvn install
>>>> cd ../..
>>>>
>>>> cd dist
>>>> mvn install
>>>> cd ..
>>>>
>>>> cd faces
>>>> mvn install
>>>>
>>>> as first I got an error:
>>>> *[INFO]
>>>> ------------------------------------------------------------------------
>>>> *
>>>> *[ERROR] BUILD ERROR*
>>>> *[INFO]
>>>> ------------------------------------------------------------------------
>>>> *
>>>> *[INFO] Failed to resolve artifact.*
>>>> *
>>>> *
>>>> *Missing:*
>>>> *----------*
>>>> *1) org.glassfish:javax.servlet:jar:3.0*
>>>> *
>>>> *
>>>> *  Try 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/file*
>>>> *
>>>> *
>>>> *  Alternatively, 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-SNAPSHOT*
>>>> *  ** **2) org.glassfish:javax.servlet:jar:3.0*
>>>> *
>>>> *
>>>> *----------*
>>>> *1 required artifact is missing.*
>>>> *
>>>> *
>>>> *for artifact: *
>>>> *  org.jboss.seam.faces:seam-faces:jar:3.0.0-SNAPSHOT*
>>>>
>>>> so I added following code to the .m2/settings.xml:
>>>>                 *<repository>
>>>>                     <id>glassfish</id>
>>>>                     <url>**http://download.java.net/maven/glassfish*<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.FacesContextProducerTest*
>>>> *SLF4J: 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.FacesAnnotationsAdapterExtensionTest*
>>>> *Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.087
>>>> sec <<< FAILURE!*
>>>> *Running org.jboss.seam.faces.util.AnnotationsTest*
>>>> *Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036
>>>> sec*
>>>> *Running org.jboss.seam.faces.event.SystemEventBridgeTest*
>>>> *Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.117
>>>> sec <<< FAILURE!*
>>>> *Running
>>>> org.jboss.seam.faces.context.conversation.ConversationBoundaryInterceptorTest
>>>> *
>>>> *Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.065
>>>> sec <<< FAILURE!*
>>>> *Running org.jboss.seam.faces.event.PhaseEventBridgeTest*
>>>> *Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.063
>>>> sec <<< FAILURE!*
>>>> *Running org.jboss.seam.faces.environment.ExternalContextProducerTest*
>>>> *Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.059
>>>> sec <<< FAILURE!*
>>>> *
>>>> *
>>>> *Results :*
>>>> *
>>>> *
>>>> *Tests in error: *
>>>> *  org.jboss.seam.faces.environment.FacesContextProducerTest*
>>>> *  org.jboss.seam.faces.context.FacesAnnotationsAdapterExtensionTest*
>>>> *  org.jboss.seam.faces.event.SystemEventBridgeTest*
>>>> *
>>>>   org.jboss.seam.faces.context.conversation.ConversationBoundaryInterceptorTest
>>>> *
>>>> *  org.jboss.seam.faces.event.PhaseEventBridgeTest*
>>>> *  org.jboss.seam.faces.environment.ExternalContextProducerTest*
>>>> *
>>>> *
>>>> *Tests run: 9, Failures: 0, Errors: 6, Skipped: 0*
>>>> *
>>>> *
>>>> I'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"
>>>
>>
>>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.com
> http://scrumshark.com
> "Keep it Simple"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20100420/1510b222/attachment-0001.html 


More information about the seam-dev mailing list