You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Wendy Smoak <ws...@gmail.com> on 2006/12/01 14:16:15 UTC

Re: build problem

[moved to dev@myfaces from the user list]

On 12/1/06, Marcus Beyer <mb...@thomas-daily.de> wrote:

> I would like to work on a tomahawk tag.

Please come join us on the development list to talk about working on
Tomahawk itself.

> So I just downloaded and installed subclipse, maven, maven plugin for
> eclipse, etc.
>
> Then I checked out tomahawk.

What URL?

> When I tried to build the project using the provided pom.xml, I get
> an error message.
...
> org.apache.maven.project.ProjectBuildingException: Cannot find
> parent: org.apache.myfaces.tomahawk:tomahawk-project for project:
> org.apache.myfaces.tomahawk:tomahawk:jar:null

It sounds like you've checked out just tomahawk/trunk/core instead of
the entire trunk.  The next problem you're likely to run into is that
Tomahawk and MyFaces core both use the 'shared' module.

The easiest thing to do is check out the 'current' svn external
definition, which is described here:
http://wiki.apache.org/myfaces/Building_With_Maven

-- 
Wendy

Re: build problem

Posted by Marcus Beyer <mb...@thomas-daily.de>.
Am 01.12.2006 um 14:16 schrieb Wendy Smoak:

>> So I just downloaded and installed subclipse, maven, maven plugin for
>> eclipse, etc.
>>
>> Then I checked out tomahawk.
>
> What URL?

<https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/core>

as I found right here:

<http://myfaces.apache.org/tomahawk/source-repository.html>

>> org.apache.maven.project.ProjectBuildingException: Cannot find
>> parent: org.apache.myfaces.tomahawk:tomahawk-project for project:
>> org.apache.myfaces.tomahawk:tomahawk:jar:null
>
> It sounds like you've checked out just tomahawk/trunk/core instead of
> the entire trunk.

hmm, so I guess the given URL on the page I mentioned above is wrong.

>   The next problem you're likely to run into is that
> Tomahawk and MyFaces core both use the 'shared' module.
>
> The easiest thing to do is check out the 'current' svn external
> definition, which is described here:
> http://wiki.apache.org/myfaces/Building_With_Maven

ah, so I take this one:

<https://svn.apache.org/repos/asf/myfaces/current>

Using the "Maven 2.x Plug-in for Eclipse" I get "BUILD SUCCESSFUL"
but I don't see any target folders (with goal "install").

Then I tried command line (mvn install) and that works!

thank you!

Does someone use Maven 2 with Eclipse and has an idea
what is going wrong? "Run As" -> "Maven2 build..." doesn't work well ...

cheers
Marcus