[seam-dev] Compiling Seam faces module

Lincoln Baxter, III lincolnbaxter at gmail.com
Tue Apr 20 16:17:57 EDT 2010


Uros, what version of Maven are you using?
Nik, what version are you using?

--Lincoln

PS. PrettyFaces dep is fixed in my local changes ... still waiting to
commit. But I am able to build the modules just fine.

On Tue, Apr 20, 2010 at 3:54 PM, Nicklas Karlsson <nickarls at gmail.com>wrote:

> Did a mvn clean install on an updated trunk (not clean repo, though) and
> got a failure for
>
> Missing:
> ----------
> 1) com.ocpsoft:ocpsoft-pretty-faces:jar:2.0.5-SNAPSHOT
>
> (it did pull in loads of new hibernate-stuff)
>
> On Tue, Apr 20, 2010 at 10:27 PM, Uroš Majerič <uros at majeric.si> wrote:
>
>> 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"
>>>
>>
>>
>> _______________________________________________
>> seam-dev mailing list
>> seam-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/seam-dev
>>
>>
>
>
> --
> ---
> Nik
>



-- 
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/dc3ad562/attachment-0001.html 


More information about the seam-dev mailing list