Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » contributing to m2eclipse
contributing to m2eclipse [message #3416] Wed, 23 April 2008 00:34 Go to next message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 505
Registered: July 2009
Senior Member
I put some basic documentation on how to setup Eclipse workspace for
working with m2eclipse code.

http://docs.codehaus.org/display/M2ECLIPSE/Configuring+Devel opment+Environment

It may see bit lengthy, but things actually quite simple. You can
import the following Eclipse Team Project Sets (PSF) using "File /
Import... / Team / Team Project Set" wizard and it would bring all
required projects into your Eclipse workspace (this PSF is based on
Subclipse).

https://svn.sonatype.org/m2eclipse/trunk/org.maven.ide.eclip se.parent/m2eclipse-all.psf

Once you get all projects, you should be able to run m2eclipse in
self-hosted mode. Open org.maven.ide.eclipse/plugin.xml with PDE's
Plug-in manifest editor and then click "Launch an Eclipse application"
link on the Overview page. You can also use main menu "Run / Run
configurations..." to create new launch configuration using "Eclipse
Application" cofiguration type. There you can also select JRE used to
run Eclipse and what plugins should be included at runtime (use "all
workspace and enabled target plug-ins, or select them individually and
use "Validate Plug-ins" action to verify if selected configuration is
correct).

Here are few last tips for contributing patches.
http://docs.codehaus.org/display/M2ECLIPSE/Contributing+Patc hes

Happy coding

Eugene
Re: contributing to m2eclipse [message #3553 is a reply to message #3416] Sun, 27 April 2008 06:31 Go to previous messageGo to next message
Willian Mitsuda is currently offline Willian MitsudaFriend
Messages: 27
Registered: July 2009
Junior Member
Eugene, is there any additional steps to configure the local repository
or something else?

After importing the source into a blank workspace, I get a couple of
errors like:

Project 'org.maven.ide.components.pom' is missing required library:
'target/generated-classes/xmlbeans'

Project 'org.maven.ide.components.pom' is missing required source
folder: 'target/generated-sources/xmlbeans'

Project build error:Cannot find artifact for parent POM:
org.maven.ide.eclipse:parent::0.9.2-SNAPSHOT for project
org.maven.ide.components:org.maven.ide.components.pom:jar:${ maven_pom.version}
at
C:\Users\wmitsuda\Desktop\eclipse-m2eclipse-test\workspace\o rg.maven.ide.components.pom\pom.xml

Project build error:Cannot resolve pre-scanned plugin artifact (for use
as an extension): org.codehaus.tycho:maven-osgi-lifecycle-plugin: Failed
to resolve extension plugin:
org.codehaus.tycho:maven-osgi-lifecycle-plugin:maven-plugin: 1.0-SNAPSHOT
Re: contributing to m2eclipse [message #3586 is a reply to message #3553] Sun, 27 April 2008 18:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: igorfie.yahoo.com

Willian,

The easiest short-term solution is to remove project
'org.maven.ide.components.pom' from workspace. This project is only
needed during headless build, but is not required when running m2eclipse
from development workspace. Long term, we're looking at proper
integration between PDE and maven/m2eclipse.

Willian Mitsuda wrote:
> Eugene, is there any additional steps to configure the local repository
> or something else?
>
> After importing the source into a blank workspace, I get a couple of
> errors like:
>
> Project 'org.maven.ide.components.pom' is missing required library:
> 'target/generated-classes/xmlbeans'
>
> Project 'org.maven.ide.components.pom' is missing required source
> folder: 'target/generated-sources/xmlbeans'
>
> Project build error:Cannot find artifact for parent POM:
> org.maven.ide.eclipse:parent::0.9.2-SNAPSHOT for project
> org.maven.ide.components:org.maven.ide.components.pom:jar:${ maven_pom.version}
> at
> C:\Users\wmitsuda\Desktop\eclipse-m2eclipse-test\workspace\o rg.maven.ide.components.pom\pom.xml
>
>
> Project build error:Cannot resolve pre-scanned plugin artifact (for use
> as an extension): org.codehaus.tycho:maven-osgi-lifecycle-plugin: Failed
> to resolve extension plugin:
> org.codehaus.tycho:maven-osgi-lifecycle-plugin:maven-plugin: 1.0-SNAPSHOT
Re: contributing to m2eclipse (build) [message #3715 is a reply to message #3553] Wed, 30 April 2008 18:54 Go to previous message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 505
Registered: July 2009
Senior Member
Willian,

As Igor already mentioned, this project is not required to run
m2eclipse in self-hosted mode from PDE.

However we made several fixes in our build configuration, as well as
Maven repository we use for all external dependencies. So, you should be
able to build all projects from the command line. See instructions for
configuring development environment on the wiki [1].

regards,
Eugene

[1]
http://docs.codehaus.org/display/M2ECLIPSE/Configuring+Devel opment+Environment


Willian Mitsuda wrote:
> Eugene, is there any additional steps to configure the local
> repository or something else?
>
> After importing the source into a blank workspace, I get a couple of
> errors like:
>
> Project 'org.maven.ide.components.pom' is missing required library:
> 'target/generated-classes/xmlbeans'
>
> Project 'org.maven.ide.components.pom' is missing required source
> folder: 'target/generated-sources/xmlbeans'
>
> Project build error:Cannot find artifact for parent POM:
> org.maven.ide.eclipse:parent::0.9.2-SNAPSHOT for project
> org.maven.ide.components:org.maven.ide.components.pom:jar:${ maven_pom.version}
> at
> C:\Users\wmitsuda\Desktop\eclipse-m2eclipse-test\workspace\o rg.maven.ide.components.pom\pom.xml
>
>
> Project build error:Cannot resolve pre-scanned plugin artifact (for
> use as an extension): org.codehaus.tycho:maven-osgi-lifecycle-plugin:
> Failed to resolve extension plugin:
> org.codehaus.tycho:maven-osgi-lifecycle-plugin:maven-plugin: 1.0-SNAPSHOT
Previous Topic:Imported plugin code into eclipse. Compile problem.
Next Topic:feedback for the Maven POM editor
Goto Forum:
  


Current Time: Thu Dec 18 19:31:05 GMT 2014

Powered by FUDForum. Page generated in 0.01761 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software