Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Building with Maven


On Wed, Sep 21, 2011 at 8:44 AM, Vladimir Prus <vladimir@xxxxxxxxxxxxxxxx> wrote:

Hi,

I've tried to do a headless build, according to http://wiki.eclipse.org/CDT/release_engineering:
However, running "mvn clean install" tells me:

       [INFO] Scanning for projects...
       [INFO] ------------------------------------------------------------------------
       [ERROR] FATAL ERROR
       [INFO] ------------------------------------------------------------------------
       [INFO] Error building POM (may not be this project's POM).


       Project ID: org.eclipse.cdt:cdt-parent

       Reason: Cannot find layout implementation corresponding to: 'p2' for remote repository with id:
       'platform-${platform-version}'. for project org.eclipse.cdt:cdt-parent

Am I doing something wrong?

You may be running with Maven 2.2 (or 2.1, or 2.0) which don't understand P2 layouts. You will need to download Maven 3.x to run Tycho.

Alex

Back to the top