[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.m2e] Re: Maven dependencies?

I can't install Tycho based on your tutorial:


http://docs.codehaus.org/display/M2ECLIPSE/tycho+technology+demo+script


I just get:

c:\tychodemo>c:\tycho\bin\mvn org.codehaus.tycho:maven-tycho-plugin:generate-poms -DgroupId=tycho.demo -Dtycho.targetPlatform=C:\Programs\ecl
ipse-galileo
[INFO] Build target platform tycho.targetPlatform=C:\Programs\eclipse-galileo
. This overrides target platform specified in pom.xml files, if any.
[INFO] Using mirror: test for repository: forge
(mirror url: http://test:8081/test/content/groups/public)
[INFO] Using mirror: test for repository: central
(mirror url: http://test:8081/test/content/groups/public)
[ERROR]
Cannot find mojo descriptor for: 'org.codehaus.tycho:maven-tycho-plugin:generate-poms' - Treating as non-aggregator.



[INFO] ------------------------------------------------------------------------ [INFO] For more information, run with the -e flag [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILED [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5 seconds [INFO] Finished at: Thu Sep 10 20:15:41 CEST 2009 [INFO] Final Memory: 9M/16M [INFO] ------------------------------------------------------------------------ c:\tychodemo>

any ideas?







"Igor Fedorenko" <igor@xxxxxxxxxxxxxx> wrote in message news:h8ba6t$n4f$1@xxxxxxxxxxxxxxxxxxxx
Have a look at Tycho project [1], which provides set of Maven extensions and plugins to build PDE projects with Maven. In particular, look at sample application that shows P2-based target platform resolver.

[1] https://docs.sonatype.org/display/M2ECLIPSE/Tycho+project+overview
[2] https://docs.sonatype.org/display/M2ECLIPSE/Tycho+build+target+platform+management


--
Regards,
Igor

klm wrote:
I am trying to create a Maven module that contains a Eclipse PDE project. I therefore need the following imports:

import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.handlers.HandlerUtil;
import org.eclipse.jface.dialogs.MessageDialog;


I have found jface:

<dependency>
   <groupId>swt</groupId>
   <artifactId>jface</artifactId>
   <version>3.0m8</version>
</dependency>

from a site. But how do I get the other dependencies in Maven? I cannot find them using the build in dependency manager.