Building M2Eclipse

View: New views
15 Messages — Rating Filter:   Alert me  

Building M2Eclipse

by Pedro Pedruzzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all!

I'm trying to build M2Eclipse (0.9.4.20080603-0114 tag).

Is there any maven repo I can use to fetch the following thyco plugin
(and possibly other needed dependencies)?

org.codehaus.tycho:maven-osgi-lifecycle-plugin:maven-plugin:1.0-SNAPSHOT

Or do I have to build thyco too?

Any comments and answers are appreciated.

Regards,

--
Pedro Pedruzzi | V2COM

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Building M2Eclipse

by Pedro Pedruzzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've just manage to fetch some dependencies from
http://repository.sonatype.org with CLI maven (mvn install).

I still can't get:
org.apache.maven.artifact:maven-artifact:jar:3.0-SNAPSHOT

When I tryied through m2eclipse, it could not find the thyco plugin
dependency. It was simply not searching the sonatype repo. Why is
that?

Thanks again,

--
Pedro Pedruzzi | V2COM

On Tue, Jul 1, 2008 at 10:40 AM, Pedro Pedruzzi <ppedruzzi@...> wrote:

> Hi all!
>
> I'm trying to build M2Eclipse (0.9.4.20080603-0114 tag).
>
> Is there any maven repo I can use to fetch the following thyco plugin
> (and possibly other needed dependencies)?
>
> org.codehaus.tycho:maven-osgi-lifecycle-plugin:maven-plugin:1.0-SNAPSHOT
>
> Or do I have to build thyco too?
>
> Any comments and answers are appreciated.
>
> Regards,
>
> --
> Pedro Pedruzzi | V2COM
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Building M2Eclipse

by Pedro Pedruzzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

Sorry for the very confusing posts. Let me make it clear.

There are two strange things I noticed when trying to build m2eclipse
(0.9.4.20080603-0114 tag).

1. When invoking maven CLI (mvn install, at
org.maven.ide.eclipse.parent directory), it can't resolve the
following dependency:
org.apache.maven.artifact:maven-artifact:jar:3.0-SNAPSHOT

  Path to dependency:
        1) org.maven.ide.components:org.maven.ide.components.maven_embedder:osgi-bundle:2.1.0.20080530-2300
        2) org.apache.maven:maven-embedder:jar:2.1-SNAPSHOT
        3) org.apache.maven:maven-core:jar:2.1-SNAPSHOT
        4) org.apache.maven.artifact:maven-artifact:jar:3.0-SNAPSHOT

I think that it is caused by this empty directory at maven-eclipse repo:

http://repository.sonatype.org:8081/nexus/content/groups/maven-eclipse/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/



2. Doing the same 'maven install' process, but this time using
m2eclipse (and embedded maven), I get a different behaviour:

Error scanning for extensions: 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

It isn't even looking at the maven-eclipse repository.

Is my m2eclipse installation broken?

--
Pedro Pedruzzi | V2COM


On Tue, Jul 1, 2008 at 10:51 AM, Pedro Pedruzzi <ppedruzzi@...> wrote:

> I've just manage to fetch some dependencies from
> http://repository.sonatype.org with CLI maven (mvn install).
>
> I still can't get:
> org.apache.maven.artifact:maven-artifact:jar:3.0-SNAPSHOT
>
> When I tryied through m2eclipse, it could not find the thyco plugin
> dependency. It was simply not searching the sonatype repo. Why is
> that?
>
> Thanks again,
>
> --
> Pedro Pedruzzi | V2COM
>
> On Tue, Jul 1, 2008 at 10:40 AM, Pedro Pedruzzi <ppedruzzi@...> wrote:
>> Hi all!
>>
>> I'm trying to build M2Eclipse (0.9.4.20080603-0114 tag).
>>
>> Is there any maven repo I can use to fetch the following thyco plugin
>> (and possibly other needed dependencies)?
>>
>> org.codehaus.tycho:maven-osgi-lifecycle-plugin:maven-plugin:1.0-SNAPSHOT
>>
>> Or do I have to build thyco too?
>>
>> Any comments and answers are appreciated.
>>
>> Regards,
>>
>> --
>> Pedro Pedruzzi | V2COM
>>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Re: Building M2Eclipse

by Igor Fedorenko-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pedro,

Tycho requires maven 2.1, and you can pickup pre-built/pre-configured
package from [1]. You will also need to m2eclipse target platform ([2]
or [3], depending on your Eclipse version). Then you should be able to
build m2eclipse by running the following command from
org.maven.ide.eclipse.parent project

C:\tycho\bin\mvn package -Dtycho.targetPlatform=C:\m2etarget

Let me know if it works.

As a side note, tycho is a work in progress at the moment, but I hope to
have first dev build along with some user documentation in few weeks, so
stay tuned. ;-)


[1]
http://repository.sonatype.org:8081/nexus/content/repositories/eclipse-snapshots/org/codehaus/tycho/tycho-distribution/0.2.0-SNAPSHOT/
[2] http://docs.codehaus.org/display/M2ECLIPSE/m2e+target+platform
[3] http://docs.codehaus.org/display/M2ECLIPSE/m2e+target+platform+(e3.4)

Pedro Pedruzzi wrote:

> I've just manage to fetch some dependencies from
> http://repository.sonatype.org with CLI maven (mvn install).
>
> I still can't get:
> org.apache.maven.artifact:maven-artifact:jar:3.0-SNAPSHOT
>
> When I tryied through m2eclipse, it could not find the thyco plugin
> dependency. It was simply not searching the sonatype repo. Why is
> that?
>
> Thanks again,
>
> --
> Pedro Pedruzzi | V2COM
>
> On Tue, Jul 1, 2008 at 10:40 AM, Pedro Pedruzzi <ppedruzzi@...> wrote:
>> Hi all!
>>
>> I'm trying to build M2Eclipse (0.9.4.20080603-0114 tag).
>>
>> Is there any maven repo I can use to fetch the following thyco plugin
>> (and possibly other needed dependencies)?
>>
>> org.codehaus.tycho:maven-osgi-lifecycle-plugin:maven-plugin:1.0-SNAPSHOT
>>
>> Or do I have to build thyco too?
>>
>> Any comments and answers are appreciated.
>>
>> Regards,
>>
>> --
>> Pedro Pedruzzi | V2COM
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Re: Building M2Eclipse

by Pedro Pedruzzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Igor.

On Tue, Jul 1, 2008 at 11:46 AM, Igor Fedorenko <igor@...> wrote:
> Tycho requires maven 2.1, and you can pickup pre-built/pre-configured
> package from [1].

Ok. I've managed to build m2eclipse using maven 2.0.9 (from CLI). I
was having problems downloading that dependency
(org.apache.maven.artifact:maven-artifact:jar:3.0-SNAPSHOT) but it
suddenly worked out.

I just did not understand why I could not do the same using m2eclipse
(triggering its own building). Don't you guys use m2eclipse to build
itself?

> You will also need to m2eclipse target platform ([2] or
> [3], depending on your Eclipse version). Then you should be able to build
> m2eclipse by running the following command from org.maven.ide.eclipse.parent
> project
>
> C:\tycho\bin\mvn package -Dtycho.targetPlatform=C:\m2etarget
>
> Let me know if it works.

I will prepare a target platform to deploy it to. I'll let you know.

> As a side note, tycho is a work in progress at the moment, but I hope to
> have first dev build along with some user documentation in few weeks, so
> stay tuned. ;-)

That would be great.

Thanks for your time and answers.

Regards,

--
Pedro Pedruzzi | V2COM

>
>
> [1]
> http://repository.sonatype.org:8081/nexus/content/repositories/eclipse-snapshots/org/codehaus/tycho/tycho-distribution/0.2.0-SNAPSHOT/
> [2] http://docs.codehaus.org/display/M2ECLIPSE/m2e+target+platform
> [3] http://docs.codehaus.org/display/M2ECLIPSE/m2e+target+platform+(e3.4)
>
> Pedro Pedruzzi wrote:
>>
>> I've just manage to fetch some dependencies from
>> http://repository.sonatype.org with CLI maven (mvn install).
>>
>> I still can't get:
>> org.apache.maven.artifact:maven-artifact:jar:3.0-SNAPSHOT
>>
>> When I tryied through m2eclipse, it could not find the thyco plugin
>> dependency. It was simply not searching the sonatype repo. Why is
>> that?
>>
>> Thanks again,
>>
>> --
>> Pedro Pedruzzi | V2COM
>>
>> On Tue, Jul 1, 2008 at 10:40 AM, Pedro Pedruzzi <ppedruzzi@...>
>> wrote:
>>>
>>> Hi all!
>>>
>>> I'm trying to build M2Eclipse (0.9.4.20080603-0114 tag).
>>>
>>> Is there any maven repo I can use to fetch the following thyco plugin
>>> (and possibly other needed dependencies)?
>>>
>>> org.codehaus.tycho:maven-osgi-lifecycle-plugin:maven-plugin:1.0-SNAPSHOT
>>>
>>> Or do I have to build thyco too?
>>>
>>> Any comments and answers are appreciated.
>>>
>>> Regards,
>>>
>>> --
>>> Pedro Pedruzzi | V2COM
>>>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



M2Eclipse and Eclipse 3.4

by adingfelder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 I have just moved to Eclipse 3.4 and wanted to say way to go folks...
Maven is still working flawlessly for me!

Cheers,

Ding

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please consider the environment before printing this email

WARNING: This email and any attachments may be confidential and/or privileged.
They are intended for the addressee only and are not to be read, used, copied or
disseminated by anyone receiving them in error. If you are not the intended recipient,
please notify the sender by return email and delete this message and any attachments.

The views expressed in this email are those of the sender and do not necessarily reflect
the official views of SirTrack. see   http://www.sirtrack.com
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Building M2Eclipse

by Eugene Kuleshov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pedro Pedruzzi wrote:
> I'm trying to build M2Eclipse (0.9.4.20080603-0114 tag).
>  
  Out of curiosity, can you tell us why you are trying to build
m2eclipse from the command line?

  Just to clarify, you don't need to be able to build from the command
line and you can actually run and debug m2eclipse from the IDE as
described on the wiki [1]. If you just want the latest version built
from trunk, you can always grab it from the CI server [2], which is
building it with Tycho.

  regards,
  Eugene

[1]
http://docs.codehaus.org/display/M2ECLIPSE/Configuring+Development+Environment
[2]
https://ci.sonatype.org/job/m2eclipse-with-e33/ws/trunk/org.maven.ide.eclipse.update/target/site/



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: M2Eclipse and Eclipse 3.4

by Eugene Kuleshov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andy Dingfelder wrote:
>  I have just moved to Eclipse 3.4 and wanted to say way to go folks...
> Maven is still working flawlessly for me!
>  
  Thanks Andy. Appreciate your feedback. Stay tuned for the greatest
features in 0.9.5 version. You can actually get a preview of them in the
0.9.5 dev build available now.

  regards,
  Eugene



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Re: Building M2Eclipse

by Igor Fedorenko-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pedro Pedruzzi wrote:

> Hi Igor.
>
> On Tue, Jul 1, 2008 at 11:46 AM, Igor Fedorenko <igor@...> wrote:
>> Tycho requires maven 2.1, and you can pickup pre-built/pre-configured
>> package from [1].
>
> Ok. I've managed to build m2eclipse using maven 2.0.9 (from CLI). I
> was having problems downloading that dependency
> (org.apache.maven.artifact:maven-artifact:jar:3.0-SNAPSHOT) but it
> suddenly worked out.
>
> I just did not understand why I could not do the same using m2eclipse
> (triggering its own building). Don't you guys use m2eclipse to build
> itself?

Tycho is m2e subproject with the goal to provide first class support for
building Eclipse/OSGi based system using Maven. We will eventually
integrate Tycho functionality into m2e GUI, but right now it is
CLI-only. Also, as Eugene already explained, you can change and debug
m2eclipse right from Eclipse IDE, without running CLI build.


>
>> You will also need to m2eclipse target platform ([2] or
>> [3], depending on your Eclipse version). Then you should be able to build
>> m2eclipse by running the following command from org.maven.ide.eclipse.parent
>> project
>>
>> C:\tycho\bin\mvn package -Dtycho.targetPlatform=C:\m2etarget
>>
>> Let me know if it works.
>
> I will prepare a target platform to deploy it to. I'll let you know.

I apologize for the confusion, but the build instructions I gave you
apply to the current m2e trunk, and do NOT apply to m2e 0.9.4.

>
>> As a side note, tycho is a work in progress at the moment, but I hope to
>> have first dev build along with some user documentation in few weeks, so
>> stay tuned. ;-)
>
> That would be great.
>
> Thanks for your time and answers.
>
> Regards,
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Building M2Eclipse

by Pedro Pedruzzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eugene.

On Tue, Jul 1, 2008 at 10:48 PM, Eugene Kuleshov <eu@...> wrote:

> Pedro Pedruzzi wrote:
>>
>> I'm trying to build M2Eclipse (0.9.4.20080603-0114 tag).
>>
>
>  Out of curiosity, can you tell us why you are trying to build m2eclipse
> from the command line?
>
>  Just to clarify, you don't need to be able to build from the command line
> and you can actually run and debug m2eclipse from the IDE as described on
> the wiki [1]. If you just want the latest version built from trunk, you can
> always grab it from the CI server [2], which is building it with Tycho.

Actually I am interested to build it myself. And hacking it also! :-)

The first thing I did was reading that wiki page [1]. Unfortunately, I
did not find there (and still) any instructions on how to setup an
eclipse project from the sources. Of course, intuitively, as it being
a maven project, my attempt was to import it as such (import maven
project wizard). But after doing that, m2eclipse complained about
missing artifacts (extension plugins) that is should had fetched from
the maven-eclipse repository (hosted at sonatype.org) described in the
POM descriptor. But it did not even try that.

After some time trying to understand why that was happening, I feel
like calling maven directly with mvn install. And it worked. Of course
after this command line build, I was able to build with eclipse as
well, because all the dependencies were already available locally. But
if I remove those from the local repository and try to build m2eclipse
from ide, I get the same problem. Do you have any idea why I might
experiencing that behaviour?

Regards,

--
Pedro Pedruzzi | V2COM

> [1]
> http://docs.codehaus.org/display/M2ECLIPSE/Configuring+Development+Environment
> [2]
> https://ci.sonatype.org/job/m2eclipse-with-e33/ws/trunk/org.maven.ide.eclipse.update/target/site/

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Building M2Eclipse

by Igor Fedorenko-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Pedro Pedruzzi wrote:

> Hi Eugene.
>
> On Tue, Jul 1, 2008 at 10:48 PM, Eugene Kuleshov <eu@...> wrote:
>> Pedro Pedruzzi wrote:
>>> I'm trying to build M2Eclipse (0.9.4.20080603-0114 tag).
>>>
>>  Out of curiosity, can you tell us why you are trying to build m2eclipse
>> from the command line?
>>
>>  Just to clarify, you don't need to be able to build from the command line
>> and you can actually run and debug m2eclipse from the IDE as described on
>> the wiki [1]. If you just want the latest version built from trunk, you can
>> always grab it from the CI server [2], which is building it with Tycho.
>
> Actually I am interested to build it myself. And hacking it also! :-)
>
> The first thing I did was reading that wiki page [1]. Unfortunately, I
> did not find there (and still) any instructions on how to setup an
> eclipse project from the sources. Of course, intuitively, as it being
> a maven project, my attempt was to import it as such (import maven
> project wizard). But after doing that, m2eclipse complained about
> missing artifacts (extension plugins) that is should had fetched from
> the maven-eclipse repository (hosted at sonatype.org) described in the
> POM descriptor. But it did not even try that.
>

I believe repository.sonatype.org was down for several minutes yesterday
morning (eastern timezone).

> After some time trying to understand why that was happening, I feel
> like calling maven directly with mvn install. And it worked. Of course
> after this command line build, I was able to build with eclipse as
> well, because all the dependencies were already available locally. But
> if I remove those from the local repository and try to build m2eclipse
> from ide, I get the same problem. Do you have any idea why I might
> experiencing that behaviour?
>

This page [1] explains how to setup m2eclipse development environment
and checkout sources from SVN. We plan to support import as maven
projects for Eclipse/PDE projects sometime in the future, but this does
not work at the moment.

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

--
Regards,
Igor

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Building M2Eclipse

by Pedro Pedruzzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Igor. Thanks for your reponse.

On Wed, Jul 2, 2008 at 10:38 AM, Igor Fedorenko <igor@...> wrote:

>
>
> Pedro Pedruzzi wrote:
>>
>> Hi Eugene.
>>
>> On Tue, Jul 1, 2008 at 10:48 PM, Eugene Kuleshov <eu@...> wrote:
>>>
>>> Pedro Pedruzzi wrote:
>>>>
>>>> I'm trying to build M2Eclipse (0.9.4.20080603-0114 tag).
>>>>
>>>  Out of curiosity, can you tell us why you are trying to build m2eclipse
>>> from the command line?
>>>
>>>  Just to clarify, you don't need to be able to build from the command
>>> line
>>> and you can actually run and debug m2eclipse from the IDE as described on
>>> the wiki [1]. If you just want the latest version built from trunk, you
>>> can
>>> always grab it from the CI server [2], which is building it with Tycho.
>>
>> Actually I am interested to build it myself. And hacking it also! :-)
>>
>> The first thing I did was reading that wiki page [1]. Unfortunately, I
>> did not find there (and still) any instructions on how to setup an
>> eclipse project from the sources. Of course, intuitively, as it being
>> a maven project, my attempt was to import it as such (import maven
>> project wizard). But after doing that, m2eclipse complained about
>> missing artifacts (extension plugins) that is should had fetched from
>> the maven-eclipse repository (hosted at sonatype.org) described in the
>> POM descriptor. But it did not even try that.
>>
>
> I believe repository.sonatype.org was down for several minutes yesterday
> morning (eastern timezone).

I noticed. And that was the cause of some dificulties I had yesterday.
But even when it get back stable (I tryied few minutes ago) I have
this problem. As I said, it did not even try reaching this repo.

>> After some time trying to understand why that was happening, I feel
>> like calling maven directly with mvn install. And it worked. Of course
>> after this command line build, I was able to build with eclipse as
>> well, because all the dependencies were already available locally. But
>> if I remove those from the local repository and try to build m2eclipse
>> from ide, I get the same problem. Do you have any idea why I might
>> experiencing that behaviour?
>>
>
> This page [1] explains how to setup m2eclipse development environment and
> checkout sources from SVN. We plan to support import as maven projects for
> Eclipse/PDE projects sometime in the future, but this does not work at the
> moment.
>
> [1]
> http://docs.codehaus.org/display/M2ECLIPSE/Configuring+Development+Environment

Ok.

Thanks again.

Regards,

--
Pedro Pedruzzi | V2COM

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Building M2Eclipse

by Igor Fedorenko-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmm, indeed, our CI has the same problem now
http://ci.sonatype.org/job/m2eclipse-with-e34/91/console . We will have
a look.

Pedro Pedruzzi wrote:

> Hi Igor. Thanks for your reponse.
>
> On Wed, Jul 2, 2008 at 10:38 AM, Igor Fedorenko <igor@...> wrote:
>>
>> Pedro Pedruzzi wrote:
>>> Hi Eugene.
>>>
>>> On Tue, Jul 1, 2008 at 10:48 PM, Eugene Kuleshov <eu@...> wrote:
>>>> Pedro Pedruzzi wrote:
>>>>> I'm trying to build M2Eclipse (0.9.4.20080603-0114 tag).
>>>>>
>>>>  Out of curiosity, can you tell us why you are trying to build m2eclipse
>>>> from the command line?
>>>>
>>>>  Just to clarify, you don't need to be able to build from the command
>>>> line
>>>> and you can actually run and debug m2eclipse from the IDE as described on
>>>> the wiki [1]. If you just want the latest version built from trunk, you
>>>> can
>>>> always grab it from the CI server [2], which is building it with Tycho.
>>> Actually I am interested to build it myself. And hacking it also! :-)
>>>
>>> The first thing I did was reading that wiki page [1]. Unfortunately, I
>>> did not find there (and still) any instructions on how to setup an
>>> eclipse project from the sources. Of course, intuitively, as it being
>>> a maven project, my attempt was to import it as such (import maven
>>> project wizard). But after doing that, m2eclipse complained about
>>> missing artifacts (extension plugins) that is should had fetched from
>>> the maven-eclipse repository (hosted at sonatype.org) described in the
>>> POM descriptor. But it did not even try that.
>>>
>> I believe repository.sonatype.org was down for several minutes yesterday
>> morning (eastern timezone).
>
> I noticed. And that was the cause of some dificulties I had yesterday.
> But even when it get back stable (I tryied few minutes ago) I have
> this problem. As I said, it did not even try reaching this repo.
>
>>> After some time trying to understand why that was happening, I feel
>>> like calling maven directly with mvn install. And it worked. Of course
>>> after this command line build, I was able to build with eclipse as
>>> well, because all the dependencies were already available locally. But
>>> if I remove those from the local repository and try to build m2eclipse
>>> from ide, I get the same problem. Do you have any idea why I might
>>> experiencing that behaviour?
>>>
>> This page [1] explains how to setup m2eclipse development environment and
>> checkout sources from SVN. We plan to support import as maven projects for
>> Eclipse/PDE projects sometime in the future, but this does not work at the
>> moment.
>>
>> [1]
>> http://docs.codehaus.org/display/M2ECLIPSE/Configuring+Development+Environment
>
> Ok.
>
> Thanks again.
>
> Regards,
>
> --
> Pedro Pedruzzi | V2COM
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Building M2Eclipse

by Eugene Kuleshov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pedro Pedruzzi wrote:
> Actually I am interested to build it myself. And hacking it also! :-)
>  
  The latter doesn't actually require building it with Maven and we
would like to encourage contribution to the project too.
> The first thing I did was reading that wiki page [1]. Unfortunately, I did not find there (and still) any instructions on how to setup an eclipse project from the sources.
  I've updated instructions on the wiki to clarify that.
> Of course, intuitively, as it being a maven project, my attempt was to import it as such (import maven project wizard). But after doing that, m2eclipse complained about missing artifacts (extension plugins) that is should had fetched from the maven-eclipse repository (hosted at sonatype.org) described in the POM descriptor. But it did not even try that.
>  
  Because we don't have support for PDE projects, all m2eclipse projects
need to be imported as existing Eclipse projects.
> After some time trying to understand why that was happening, I feel like calling maven directly with mvn install. And it worked. Of course after this command line build, I was able to build with eclipse as well, because all the dependencies were already available locally. But if I remove those from the local repository and try to build m2eclipse from ide, I get the same problem. Do you have any idea why I might experiencing that behaviour?
>  
  Anyways, I am not quite following what you have been doing with Maven
on the command line, but this part of instructions haven't actually
changed since 0.9.4, so it is just "mvn clean install" command from the
org.maven.ide.eclipse.parent project as described on the wiki.

  Also note that build used in 0.9.4 code it is not supported anymore
(we can't really help you with it). In the current trunk version 0.9.5
build had been completely changed. We recommend to use that if you need
to build it yourself.

  regards,
  Eugene



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Building M2Eclipse

by Pedro Pedruzzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eugene.

Thanks for your time and answers.

Best regards,

--
Pedro Pedruzzi | V2COM

On Wed, Jul 2, 2008 at 12:24 PM, Eugene Kuleshov <eu@...> wrote:

> Pedro Pedruzzi wrote:
>>
>> Actually I am interested to build it myself. And hacking it also! :-)
>>
>
>  The latter doesn't actually require building it with Maven and we would
> like to encourage contribution to the project too.
>>
>> The first thing I did was reading that wiki page [1]. Unfortunately, I did
>> not find there (and still) any instructions on how to setup an eclipse
>> project from the sources.
>
>  I've updated instructions on the wiki to clarify that.
>>
>> Of course, intuitively, as it being a maven project, my attempt was to
>> import it as such (import maven project wizard). But after doing that,
>> m2eclipse complained about missing artifacts (extension plugins) that is
>> should had fetched from the maven-eclipse repository (hosted at
>> sonatype.org) described in the POM descriptor. But it did not even try that.
>>
>
>  Because we don't have support for PDE projects, all m2eclipse projects need
> to be imported as existing Eclipse projects.
>>
>> After some time trying to understand why that was happening, I feel like
>> calling maven directly with mvn install. And it worked. Of course after this
>> command line build, I was able to build with eclipse as well, because all
>> the dependencies were already available locally. But if I remove those from
>> the local repository and try to build m2eclipse from ide, I get the same
>> problem. Do you have any idea why I might experiencing that behaviour?
>>
>
>  Anyways, I am not quite following what you have been doing with Maven on
> the command line, but this part of instructions haven't actually changed
> since 0.9.4, so it is just "mvn clean install" command from the
> org.maven.ide.eclipse.parent project as described on the wiki.
>
>  Also note that build used in 0.9.4 code it is not supported anymore (we
> can't really help you with it). In the current trunk version 0.9.5 build had
> been completely changed. We recommend to use that if you need to build it
> yourself.
>
>  regards,
>  Eugene

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


LightInTheBox - Buy quality products at wholesale price