You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2007/11/10 22:39:56 UTC

tomahawk build error using maven

I checked out the latest tomahawk source code, tried to build it. but got the following error. 
  could someone help me. Thanks!
   
  C:\tomahawk>mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
  
Project ID: org.apache.myfaces.tomahawk:tomahawk:jar:null
  Reason: Cannot find parent: org.apache.myfaces.tomahawk:tomahawk-project for project: org.apache.myfaces.tomahawk:tomaha
wk:jar:null for project org.apache.myfaces.tomahawk:tomahawk:jar:null
  
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache.myfaces.tomahawk:tomahawk-project for p
roject: org.apache.myfaces.tomahawk:tomahawk:jar:null for project org.apache.myfaces.tomahawk:tomahawk:jar:null
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        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.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.tomahawk:tomahawk-project for project: org.apache.myfaces.tomahawk:tomahawk:jar:null for project org.apache.myfaces.tomahawk:tomahawk:jar:null

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: tomahawk build error using maven

Posted by Gerhard Petracek <ge...@gmail.com>.
hi simon,

i completely agree with you (and of course with bernhard).
thank you for updating the wiki!

(my question addressed to dave concerning a full build was just a second try
to figure out a further approach for dave (if it works at his machine or if
there is an other problem on-site). it is of course a dispensable overhead
if only tomahawk is required. i agree with bernhard that it looks like the
try to build only the core of tomahawk. as i said before - the question was
rooted in the second mail of dave, after bernhard answered the first one
correctly.)

however, with the updated wiki i think it is pretty clear how to reach the
goal with the first approach mentioned by bernhard (without having the
overhead of a complete build).

i especially like your hint to register the apache snapshot repository in
the default settings to build just the tomahawk core itself.

regards,
gerhard



2007/11/11, simon <si...@chello.at>:
>
> Hi Dave,
>
> The "Tomahawk only" section of the wiki page
>   http://wiki.apache.org/myfaces/Building_With_Maven
> was not quite correct.
>
> As Bernhard Huemer mentioned, you can check out the whole of Tomahawk
> (but do not need to build the whole of MyFaces).
>
> If you really want just tomahawk-core, you must register the apache
> snapshot repository in your default settings. See the updated wiki page
> for details.
>
> Regards,
>
> Simon
>
> On Sun, 2007-11-11 at 13:16 +0100, Gerhard Petracek wrote:
> > hello,
> >
> > have you already tried to run the full myfaces build, which is
> > described in the myfaces wiki:
> > http://wiki.apache.org/myfaces/Building_With_Maven
> >
> > there is also a topic called "For Tomahawk only" - this command works
> > if you built the full myfaces build before - so you should be fine
> > with running the full myfaces build:
> >
> > svn co https://svn.apache.org/repos/asf/myfaces/current
> > myfaces-current
> > cd myfaces-current
> > mvn install
> >
> > this will take some minutes, but it should work.
> >
> > regards,
> > gerhard
> >
> >
> >
> > 2007/11/10, Dave <ja...@yahoo.com>:
> >         I checked out the latest tomahawk source code, tried to build
> >         it. but got the following error.
> >         could someone help me. Thanks!
> >
> >         C:\tomahawk>mvn install
> >         [INFO] Scanning for projects...
> >         [INFO]
> >
> ------------------------------------------------------------------------
> >         [ERROR] FATAL ERROR
> >         [INFO]
> >
> ------------------------------------------------------------------------
> >         [INFO] Error building POM (may not be this project's POM).
> >
> >         Project ID: org.apache.myfaces.tomahawk:tomahawk:jar:null
> >         Reason: Cannot find parent:
> >         org.apache.myfaces.tomahawk:tomahawk-project for project:
> >         org.apache.myfaces.tomahawk:tomaha
> >         wk:jar:null for project
> >         org.apache.myfaces.tomahawk:tomahawk:jar:null
> >
> >         [INFO]
> >
> ------------------------------------------------------------------------
> >         [INFO] Trace
> >         org.apache.maven.reactor.MavenExecutionException: Cannot find
> >         parent: org.apache.myfaces.tomahawk:tomahawk-project for p
> >         roject: org.apache.myfaces.tomahawk:tomahawk:jar:null for
> >         project org.apache.myfaces.tomahawk:tomahawk:jar:null
> >                 at org.apache.maven.DefaultMaven.getProjects
> >
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: tomahawk build error using maven

Posted by simon <si...@chello.at>.
Hi Dave,

The "Tomahawk only" section of the wiki page
  http://wiki.apache.org/myfaces/Building_With_Maven
was not quite correct.

As Bernhard Huemer mentioned, you can check out the whole of Tomahawk
(but do not need to build the whole of MyFaces). 

If you really want just tomahawk-core, you must register the apache
snapshot repository in your default settings. See the updated wiki page
for details.

Regards,

Simon

On Sun, 2007-11-11 at 13:16 +0100, Gerhard Petracek wrote:
> hello,
> 
> have you already tried to run the full myfaces build, which is
> described in the myfaces wiki:
> http://wiki.apache.org/myfaces/Building_With_Maven
> 
> there is also a topic called "For Tomahawk only" - this command works
> if you built the full myfaces build before - so you should be fine
> with running the full myfaces build:
> 
> svn co https://svn.apache.org/repos/asf/myfaces/current
> myfaces-current 
> cd myfaces-current
> mvn install
> 
> this will take some minutes, but it should work.
> 
> regards,
> gerhard
> 
> 
> 
> 2007/11/10, Dave <ja...@yahoo.com>:
>         I checked out the latest tomahawk source code, tried to build
>         it. but got the following error. 
>         could someone help me. Thanks!
>          
>         C:\tomahawk>mvn install
>         [INFO] Scanning for projects... 
>         [INFO]
>         ------------------------------------------------------------------------
>         [ERROR] FATAL ERROR
>         [INFO]
>         ------------------------------------------------------------------------
>         [INFO] Error building POM (may not be this project's POM).
>         
>         Project ID: org.apache.myfaces.tomahawk:tomahawk:jar:null
>         Reason: Cannot find parent:
>         org.apache.myfaces.tomahawk:tomahawk-project for project:
>         org.apache.myfaces.tomahawk:tomaha
>         wk:jar:null for project
>         org.apache.myfaces.tomahawk:tomahawk:jar:null
>         
>         [INFO]
>         ------------------------------------------------------------------------
>         [INFO] Trace
>         org.apache.maven.reactor.MavenExecutionException: Cannot find
>         parent: org.apache.myfaces.tomahawk:tomahawk-project for p
>         roject: org.apache.myfaces.tomahawk:tomahawk:jar:null for
>         project org.apache.myfaces.tomahawk:tomahawk:jar:null
>                 at org.apache.maven.DefaultMaven.getProjects
> 


Re: tomahawk build error using maven

Posted by Gerhard Petracek <ge...@gmail.com>.
hello,

have you already tried to run the full myfaces build, which is described in
the myfaces wiki:
http://wiki.apache.org/myfaces/Building_With_Maven

there is also a topic called "For Tomahawk only" - this command works if you
built the full myfaces build before - so you should be fine with running the
full myfaces build:

svn co https://svn.apache.org/repos/asf/myfaces/current myfaces-current
cd myfaces-current
mvn install

this will take some minutes, but it should work.

regards,
gerhard



2007/11/10, Dave <ja...@yahoo.com>:
>
> I checked out the latest tomahawk source code, tried to build it. but got
> the following error.
> could someone help me. Thanks!
>
> C:\tomahawk>mvn install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
> Project ID: org.apache.myfaces.tomahawk:tomahawk:jar:null
> Reason: Cannot find parent: org.apache.myfaces.tomahawk:tomahawk-projectfor project:
> org.apache.myfaces.tomahawk:tomaha
> wk:jar:null for project org.apache.myfaces.tomahawk:tomahawk:jar:null
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.apache.myfaces.tomahawk:tomahawk-project for p
> roject: org.apache.myfaces.tomahawk:tomahawk:jar:null for project
> org.apache.myfaces.tomahawk:tomahawk:jar:null
>         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java
> :378)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         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.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.tomahawk:tomahawk-project for project:
> org.apache.myfaces.tomahawk:tomahawk:jar:null for project
> org.apache.myfaces.tomahawk:tomahawk:jar:null
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>



-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces