Hi

You wouldn't happen to be behind a proxy that does not support redirects, or 
using a maven-proxy with an old httpclient jar?

If so you may want to try and add the following to your settings.xml file

        <mirrors>
                <mirror>
                        <id>ibibliomirror</id>
                        <url>http://mirrors.ibiblio.org/maven2</url>
                        <mirrorOf>central</mirrorOf>
                </mirror>
                ......
        </mirrors>

Hermod


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig
McClanahan
Sent: Friday, April 13, 2007 5:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Shale Build Error - Lifecycle class not found


On 4/12/07, Torsten Krah <[EMAIL PROTECTED]> wrote:
> cd ~/Development/src/shale-parent <- top lvl directory of svn checkout
>
> mvn clean install
>
> Whats "interesting" is - it seams the complete jsf spec api is not
> found.
> Searching ~/.m2 for a myfaces api i got:
>
> Nothing ...
>

Hmm ... for me, it's in:

    ~/.m2/repository/org/apache/myfaces/core/myfaces-api

The build defaults to version 1.1.4 of this artifact.  This was
downloaded initially from the standard Maven public repository.

One thing you might try is using the -X option on your "mvn" command.
It will create a very copious amount of debugging output, including
which dependencies it thinks you need, and which repositories it is
searching for them.

(I also presume that you're connected to the Internet when running
your build, so that new dependencies can be downloaded automatically.)

Craig


> Have i have to provide it myself anywhere - thought maven would fetch it
> if needed.
>
> Torsten
>
> Am Mittwoch, den 11.04.2007, 13:34 -0700 schrieb Craig McClanahan:
> > Hmm ... building the current trunk code (with Maven 2.0.4) works for
> > me when I do the following:
> >
> >     cd ..../framework     <-- top level directory of my SVN checkout
> >     mvn clean install
> >
> > Could you describe a little more about what commands you used to
> > initiate the build that is breaking like this?
> >
> > Craig
> >
> > On 4/10/07, Torsten Krah <[EMAIL PROTECTED]> wrote:
> > > Trying to build latest SVN Snapshot, i get:
> > >
> > > [INFO] Surefire report directory:
> > > /home/tkrah/Development/src/shale-parent/shale-test/target/surefire-reports
> > > org.apache.maven.surefire.booter.SurefireExecutionException:
> > > javax/faces/lifecycle/Lifecycle; nested exception is
> > > java.lang.NoClassDefFoundError: javax/faces/lifecycle/Lifecycle
> > > java.lang.NoClassDefFoundError: javax/faces/lifecycle/Lifecycle
> > >         at java.lang.Class.getDeclaredMethods0(Native Method)
> > >         at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
> > >         at java.lang.Class.getMethod0(Class.java:2670)
> > >         at java.lang.Class.getMethod(Class.java:1603)
> > >         at
> > > org.apache.maven.surefire.junit.JUnitTestSet.createInstanceFromSuiteMethod(JUnitTestSet.java:176)
> > >         at
> > > org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java:140)
> > >         at
> > > org.apache.maven.surefire.junit.JUnitTestSet.getTestCount(JUnitTestSet.java:247)
> > >         at
> > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:104)
> > >         at
> > > org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:150)
> > >         at org.apache.maven.surefire.Surefire.run(Surefire.java:111)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:597)
> > >         at
> > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
> > >         at
> > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
> > > [INFO] 
> > > ------------------------------------------------------------------------
> > > [ERROR] BUILD FAILURE
> > > [INFO] 
> > > ------------------------------------------------------------------------
> > >
> > >
> > > Can anyone confirm this or is my maven broken again?
> > >
> > > Torsten
> > >
> > >
>
>
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to