You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2007/06/15 07:17:54 UTC

Re: [continuum] BUILD FAILURE: Apache MyFaces Trinidad Build

Is this maven weirdness ?

On 6/15/07, Continuum@myfaces.zones.apache.org
<co...@myfaces.apache.org> wrote:
> Online report : http://myfaces.zones.apache.org:8081/continuum/buildResult.action?buildId=2328&projectId=133
> Build statistics:
>   State: Failed
>   Previous State: Ok
>   Started at: Fri 15 Jun 2007 02:31:14 +0000
>   Finished at: Fri 15 Jun 2007 02:31:19 +0000
>   Total time: 5s
>   Build Trigger: Schedule
>   Build Number: 18
>   Exit code: 1
>   Building machine hostname: myfaces.zones.apache.org
>   Operating system : SunOS(unknown)
>   Java version : 1.5.0_11(Sun Microsystems Inc.)
>
> ****************************************************************************
> SCM Changes:
> ****************************************************************************
> Changed: no author @ no date
> Comment: no comment
> Files changed:
>   src/main/resources/META-INF/maven-faces-plugin/components/trinidad/core/includes/CommonHeaderAttrs.xml ( no revision )
>   pom.xml ( no revision )
>
> ****************************************************************************
> SCM Changes since last success:
> ****************************************************************************
> ****************************************************************************
> Dependencies Changes:
> ****************************************************************************
> No dependencies changed
>
> ****************************************************************************
> Test Summary:
> ****************************************************************************
> Tests: 0
> Failures: 0
> Total time: 0
>
> ****************************************************************************
> Output:
> ****************************************************************************
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.myfaces.trinidad
> ArtifactId: trinidad
> Version: 1.0.2-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
>   org.apache.myfaces.trinidad:trinidad:pom:1.0.2-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache.myfaces.trinidad:trinidad for project: null:trinidad-build:jar:null
>         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         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:585)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.apache.myfaces.trinidad:trinidad for project: null:trinidad-build:jar:null
>         at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1198)
>         at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:697)
>         at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:431)
>         at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:195)
>         at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523)
>         at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:455)
>         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359)
>         ... 11 more
> Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.myfaces.trinidad:trinidad' not found in repository: Unable to download the artifact from any repository
>
>   org.apache.myfaces.trinidad:trinidad:pom:1.0.2-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
>         at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:528)
>         at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1194)
>         ... 17 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
>
>   org.apache.myfaces.trinidad:trinidad:pom:1.0.2-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
>         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197)
>         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)
>         at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:482)
>         ... 18 more
> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository
>         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:308)
>         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185)
>         ... 20 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Jun 15 02:31:19 GMT+00:00 2007
> [INFO] Final Memory: 1M/14M
> [INFO] ------------------------------------------------------------------------
>
> ****************************************************************************
>
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: [continuum] BUILD FAILURE: Apache MyFaces Trinidad Build

Posted by Manfred Geiler <ma...@gmail.com>.
Do you have any dependencies from within plugins (assembly, javadoc,
tlddoc, etc.)?
I mean dependencies that are not defined via normal <dependency> tags
under project <dependencies> block but rather from within a plugin's
<dependencies> element?
Maven seems to dissolve these dependencies not within the normal
lifecycle but rather by downloading the artifact from the repo.

--Manfred


On 6/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
> yes, I had a similar thing yesterday evening,
>
> build a thing with maven, inside the same build, but two steps later,
> it was trying to download the before build artifacts.
>
> -M
>
> On 6/15/07, Adam Winer <aw...@gmail.com> wrote:
> > In this case, the snapshots are artifacts that are also built by
> > the continuum box, so I'd assume that the continuum mvn
> > build would find them in its own local repository.
> >
> > -- Adam
> >
> >
> > On 6/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > works on my local box.
> > >
> > > On 6/15/07, Wendy Smoak <ws...@gmail.com> wrote:
> > > > On 6/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > >
> > > > > Is this maven weirdness ?
> > > >
> > > > Depends.  It's complaining that it can't find some snapshots, and the
> > > > fact that it's only listing the central repo makes me think that a
> > > > repository/pluginRepository definition for the snapshot repo is
> > > > missing.
> > > >
> > > > I haven't looked at the build though.
> > > >
> > > > --
> > > > Wendy
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > >
> > > further stuff:
> > > blog: http://matthiaswessendorf.wordpress.com/
> > > mail: matzew-at-apache-dot-org
> > >
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>


-- 
http://www.irian.at
Your JSF powerhouse - JSF Consulting,
Development and Courses in English and
German

Professional Support for Apache MyFaces

Re: [continuum] BUILD FAILURE: Apache MyFaces Trinidad Build

Posted by Matthias Wessendorf <ma...@apache.org>.
yes, I had a similar thing yesterday evening,

build a thing with maven, inside the same build, but two steps later,
it was trying to download the before build artifacts.

-M

On 6/15/07, Adam Winer <aw...@gmail.com> wrote:
> In this case, the snapshots are artifacts that are also built by
> the continuum box, so I'd assume that the continuum mvn
> build would find them in its own local repository.
>
> -- Adam
>
>
> On 6/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > works on my local box.
> >
> > On 6/15/07, Wendy Smoak <ws...@gmail.com> wrote:
> > > On 6/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > >
> > > > Is this maven weirdness ?
> > >
> > > Depends.  It's complaining that it can't find some snapshots, and the
> > > fact that it's only listing the central repo makes me think that a
> > > repository/pluginRepository definition for the snapshot repo is
> > > missing.
> > >
> > > I haven't looked at the build though.
> > >
> > > --
> > > Wendy
> > >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > mail: matzew-at-apache-dot-org
> >
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: [continuum] BUILD FAILURE: Apache MyFaces Trinidad Build

Posted by Adam Winer <aw...@gmail.com>.
In this case, the snapshots are artifacts that are also built by
the continuum box, so I'd assume that the continuum mvn
build would find them in its own local repository.

-- Adam


On 6/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> works on my local box.
>
> On 6/15/07, Wendy Smoak <ws...@gmail.com> wrote:
> > On 6/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
> >
> > > Is this maven weirdness ?
> >
> > Depends.  It's complaining that it can't find some snapshots, and the
> > fact that it's only listing the central repo makes me think that a
> > repository/pluginRepository definition for the snapshot repo is
> > missing.
> >
> > I haven't looked at the build though.
> >
> > --
> > Wendy
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>

Re: [continuum] BUILD FAILURE: Apache MyFaces Trinidad Build

Posted by Matthias Wessendorf <ma...@apache.org>.
works on my local box.

On 6/15/07, Wendy Smoak <ws...@gmail.com> wrote:
> On 6/14/07, Matthias Wessendorf <ma...@apache.org> wrote:
>
> > Is this maven weirdness ?
>
> Depends.  It's complaining that it can't find some snapshots, and the
> fact that it's only listing the central repo makes me think that a
> repository/pluginRepository definition for the snapshot repo is
> missing.
>
> I haven't looked at the build though.
>
> --
> Wendy
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: [continuum] BUILD FAILURE: Apache MyFaces Trinidad Build

Posted by Wendy Smoak <ws...@gmail.com>.
On 6/14/07, Matthias Wessendorf <ma...@apache.org> wrote:

> Is this maven weirdness ?

Depends.  It's complaining that it can't find some snapshots, and the
fact that it's only listing the central repo makes me think that a
repository/pluginRepository definition for the snapshot repo is
missing.

I haven't looked at the build though.

-- 
Wendy