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 Wednesday, September 21, 2011 18:28:54 Alex Blewitt wrote:
> > 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.

In fact, I have Maven 2.2, which is most recent in Ubuntu. I'll try the hard way,
and install 3.x. Thanks!

- Volodya

-- 
Vladimir Prus
CodeSourcery / Mentor Graphics
+7 (812) 677-68-40


Back to the top