You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Bill Six <bi...@yahoo.com> on 2006/06/06 07:08:50 UTC
Build failure
Hi,
I just downloaded the source for the first time today
and would like to build it.
I tried following the instructions from the wiki to
build it with maven
http://wiki.apache.org/myfaces/Building_With_Maven.
However my build fails. I have attached the error
that was given.
Any ideas?
Bill
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Build failure
Posted by Bill Six <bi...@yahoo.com>.
Just tried deleting my local repo, and it didn't
change anything. I am not behind a firewall or proxy.
--- Matthias Wessendorf <ma...@apache.org> wrote:
> or are you behind a firewall or a proxy ?
>
> On 6/5/06, Bill Six <bi...@yahoo.com> wrote:
> > Hi,
> >
> > I just downloaded the source for the first time
> today
> > and would like to build it.
> >
> > I tried following the instructions from the wiki
> to
> > build it with maven
> >
> http://wiki.apache.org/myfaces/Building_With_Maven.
> >
> > However my build fails. I have attached the error
> > that was given.
> >
> > Any ideas?
> >
> > Bill
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> > [INFO] Scanning for projects...
> > [INFO]
>
------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
>
------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.myfaces.maven
> > ArtifactId: myfaces-master
> > Version: 1.0.3-SNAPSHOT
> >
> > Reason: Unable to download the artifact from any
> repository
> >
> >
>
org.apache.myfaces.maven:myfaces-master:pom:1.0.3-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.maven:myfaces-master for project:
> org.apache.myfaces:myfaces:pom:1.0.0-SNAPSHOT
> > at
>
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
> > at
>
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
> > at
>
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > at
>
org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > 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.maven:myfaces-master for project:
> org.apache.myfaces:myfaces:pom:1.0.0-SNAPSHOT
> > at
>
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161)
> > at
>
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674)
> > at
>
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416)
> > at
>
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
> > at
>
org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
> > at
>
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
> > at
>
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
> > at
>
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
> > ... 11 more
> > Caused by:
> org.apache.maven.project.ProjectBuildingException:
> POM 'org.apache.myfaces.maven:myfaces-master' not
> found in repository: Unable to download the artifact
> from any repository
> >
> >
>
org.apache.myfaces.maven:myfaces-master:pom:1.0.3-SNAPSHOT
> >
> > from the specified remote repositories:
> > central (http://repo1.maven.org/maven2)
> >
> > at
>
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513)
> > at
>
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)
> > ... 18 more
> > Caused by:
>
org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> Unable to download the artifact from any repository
> >
> >
>
org.apache.myfaces.maven:myfaces-master:pom:1.0.3-SNAPSHOT
> >
> > from the specified remote repositories:
> > central (http://repo1.maven.org/maven2)
> >
> > at
>
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136)
> > at
>
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > at
>
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > ... 19 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:260)
> > at
>
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
> > ... 21 more
> > [INFO]
>
------------------------------------------------------------------------
> > [INFO] Total time: 4 seconds
> > [INFO] Finished at: Tue Jun 06 00:02:05 GMT-05:00
> 2006
> > [INFO] Final Memory: 2M/4M
> > [INFO]
>
------------------------------------------------------------------------
> >
> >
> >
>
>
> --
> Matthias Wessendorf
> Aechterhoek 18
> 48282 Emsdetten
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Build failure
Posted by Matthias Wessendorf <ma...@apache.org>.
or are you behind a firewall or a proxy ?
On 6/5/06, Bill Six <bi...@yahoo.com> wrote:
> Hi,
>
> I just downloaded the source for the first time today
> and would like to build it.
>
> I tried following the instructions from the wiki to
> build it with maven
> http://wiki.apache.org/myfaces/Building_With_Maven.
>
> However my build fails. I have attached the error
> that was given.
>
> Any ideas?
>
> Bill
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.myfaces.maven
> ArtifactId: myfaces-master
> Version: 1.0.3-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> org.apache.myfaces.maven:myfaces-master:pom:1.0.3-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.maven:myfaces-master for project: org.apache.myfaces:myfaces:pom:1.0.0-SNAPSHOT
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> 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.maven:myfaces-master for project: org.apache.myfaces:myfaces:pom:1.0.0-SNAPSHOT
> at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416)
> at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
> at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
> ... 11 more
> Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.myfaces.maven:myfaces-master' not found in repository: Unable to download the artifact from any repository
>
> org.apache.myfaces.maven:myfaces-master:pom:1.0.3-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
> at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513)
> at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)
> ... 18 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
>
> org.apache.myfaces.maven:myfaces-master:pom:1.0.3-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136)
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> ... 19 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:260)
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
> ... 21 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Tue Jun 06 00:02:05 GMT-05:00 2006
> [INFO] Final Memory: 2M/4M
> [INFO] ------------------------------------------------------------------------
>
>
>
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
Re: Build failure
Posted by Bill Six <bi...@yahoo.com>.
Thanks!
--- Catalin Kormos <ca...@yahoo.com> wrote:
> Try updating from the SVN again, it should be fixed
> now. The site/pom.xml was using myfaces-master 1.0.3
> instead of 1.0.4 as parent, although i'm not sure
> why it didn't worked anyway, but it will work now.
>
> Regards,
> Catalin
>
> Wendy Smoak <ws...@gmail.com> wrote: On 6/5/06,
> Matthias Wessendorf wrote:
>
> > > [INFO] Scanning for projects...
> > > [INFO]
>
------------------------------------------------------------------------
> > > [ERROR] FATAL ERROR
> > > [INFO]
>
------------------------------------------------------------------------
> > > [INFO] Failed to resolve artifact.
> > >
> > > GroupId: org.apache.myfaces.maven
> > > ArtifactId: myfaces-master
> > > Version: 1.0.3-SNAPSHOT
> > >
> > > Reason: Unable to download the artifact from any
> repository
> > >
> > >
>
org.apache.myfaces.maven:myfaces-master:pom:1.0.3-SNAPSHOT
> > >
> > > from the specified remote repositories:
> > > central (http://repo1.maven.org/maven2)
> > >
>
> > mmm
> > to me it works.
>
> I can reproduce it after rm -rf
> $M2_REPO/org/apache/myfaces.
>
> There is either a missing, or an incorrect
> dependency version.
>
> The myfaces-master pom is currently at
> 1.0.4-SNAPSHOT, yet from the
> error, something is looking for 1.0.3-SNAPSHOT.
> Regardless, it should
> be able to find 1.0.3-SNAPSHOT in Apache's Maven
> snapshot repo, yet it
> only looked in the central repo.
>
> I'm sorry I don't have time to chase this down
> tonight, but I can
> confirm that 'mvn install' does not work from a
> fresh checkout of
> myfaces/current with nothing in my local repo.
>
> --
> Wendy
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Build failure
Posted by Catalin Kormos <ca...@yahoo.com>.
Try updating from the SVN again, it should be fixed now. The site/pom.xml was using myfaces-master 1.0.3 instead of 1.0.4 as parent, although i'm not sure why it didn't worked anyway, but it will work now.
Regards,
Catalin
Wendy Smoak <ws...@gmail.com> wrote: On 6/5/06, Matthias Wessendorf wrote:
> > [INFO] Scanning for projects...
> > [INFO] ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO] ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.myfaces.maven
> > ArtifactId: myfaces-master
> > Version: 1.0.3-SNAPSHOT
> >
> > Reason: Unable to download the artifact from any repository
> >
> > org.apache.myfaces.maven:myfaces-master:pom:1.0.3-SNAPSHOT
> >
> > from the specified remote repositories:
> > central (http://repo1.maven.org/maven2)
> >
> mmm
> to me it works.
I can reproduce it after rm -rf $M2_REPO/org/apache/myfaces.
There is either a missing, or an incorrect dependency version.
The myfaces-master pom is currently at 1.0.4-SNAPSHOT, yet from the
error, something is looking for 1.0.3-SNAPSHOT. Regardless, it should
be able to find 1.0.3-SNAPSHOT in Apache's Maven snapshot repo, yet it
only looked in the central repo.
I'm sorry I don't have time to chase this down tonight, but I can
confirm that 'mvn install' does not work from a fresh checkout of
myfaces/current with nothing in my local repo.
--
Wendy
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Build failure
Posted by Wendy Smoak <ws...@gmail.com>.
On 6/5/06, Matthias Wessendorf <ma...@apache.org> wrote:
> > [INFO] Scanning for projects...
> > [INFO] ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO] ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.myfaces.maven
> > ArtifactId: myfaces-master
> > Version: 1.0.3-SNAPSHOT
> >
> > Reason: Unable to download the artifact from any repository
> >
> > org.apache.myfaces.maven:myfaces-master:pom:1.0.3-SNAPSHOT
> >
> > from the specified remote repositories:
> > central (http://repo1.maven.org/maven2)
> >
> mmm
> to me it works.
I can reproduce it after rm -rf $M2_REPO/org/apache/myfaces.
There is either a <repository> missing, or an incorrect dependency version.
The myfaces-master pom is currently at 1.0.4-SNAPSHOT, yet from the
error, something is looking for 1.0.3-SNAPSHOT. Regardless, it should
be able to find 1.0.3-SNAPSHOT in Apache's Maven snapshot repo, yet it
only looked in the central repo.
I'm sorry I don't have time to chase this down tonight, but I can
confirm that 'mvn install' does not work from a fresh checkout of
myfaces/current with nothing in my local repo.
--
Wendy
Re: Build failure
Posted by Matthias Wessendorf <ma...@apache.org>.
mmm
to me it works.
Can you kill your complete maven2 repo ?
maybe there is some problem ?!?
Just a guess
On 6/5/06, Bill Six <bi...@yahoo.com> wrote:
> Hi,
>
> I just downloaded the source for the first time today
> and would like to build it.
>
> I tried following the instructions from the wiki to
> build it with maven
> http://wiki.apache.org/myfaces/Building_With_Maven.
>
> However my build fails. I have attached the error
> that was given.
>
> Any ideas?
>
> Bill
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.myfaces.maven
> ArtifactId: myfaces-master
> Version: 1.0.3-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> org.apache.myfaces.maven:myfaces-master:pom:1.0.3-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.maven:myfaces-master for project: org.apache.myfaces:myfaces:pom:1.0.0-SNAPSHOT
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> 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.maven:myfaces-master for project: org.apache.myfaces:myfaces:pom:1.0.0-SNAPSHOT
> at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674)
> at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416)
> at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
> at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:491)
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
> ... 11 more
> Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.myfaces.maven:myfaces-master' not found in repository: Unable to download the artifact from any repository
>
> org.apache.myfaces.maven:myfaces-master:pom:1.0.3-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
> at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513)
> at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)
> ... 18 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository
>
> org.apache.myfaces.maven:myfaces-master:pom:1.0.3-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136)
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> ... 19 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:260)
> at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
> ... 21 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Tue Jun 06 00:02:05 GMT-05:00 2006
> [INFO] Final Memory: 2M/4M
> [INFO] ------------------------------------------------------------------------
>
>
>
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com