You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Jerry Carter <je...@jerrycarter.org> on 2011/05/27 19:52:19 UTC

Enhancement under Eclipse Helios

Using Eclipse Helios (3.6.2) with the Maven-to-Eclipse plug-ins (0.13.0.201105171436), I have attempted to use the 'openjpa-maven-plugin' for enhancement.  Unfortunately it doesn't appear to play well with M2E:

> Plugin execution not covered by lifecycle configuration: org.apache.openjpa:openjpa-maven-plugin:2.2.0-SNAPSHOT:enhance (execution: enhancer, phase: process-classes).


Anyone else hit this?  Thanks.

-=- Jerry


Re: Enhancement under Eclipse Helios

Posted by No1UNo <je...@jerrycarter.org>.
Strub:

FYI, both appear to work fine.  The problem is definitely in m2e and has been introduced somewhere between the current version (0.13.2011...) and an older version (0.9.8.20090504141) which worked.

-=- Jerry


On May 29, 2011, at 7:28 AM, Mark Struberg [via OpenJPA] wrote:

> Oki, please could you try the following scenarios: 
> 
> 
> 1.) 
> invoking 
> $>mvn openjpa:enhance 
> on the commandline in your project. 
> 
> 2.) 
> invoke the process-classes phase from within eclipse. 
> 
> For both scenarios: 
> Does Eclipse pickup your enhanced classes? Can you run a unit test from within eclipse this way? 
> 
> If 1.) isn't working too, then it looks like Eclipse has got a huge regression... 
> 
> LieGrue, 
> strub 
> 
> 
> --- On Sun, 5/29/11, No1UNo <[hidden email]> wrote: 
> 
> > From: No1UNo <[hidden email]> 
> > Subject: Re: Enhancement under Eclipse Helios 
> > To: [hidden email] 
> > Date: Sunday, May 29, 2011, 11:16 AM 
> > 
> > Strub: 
> > 
> > The three key components are Eclipse 3.6.2, m2e 0.13, and 
> > openjpa-maven-plugin 2.2.0-SNAPSHOT as per: 
> > 
> > <groupId>org.apache.openjpa</groupId> 
> > <artifactId>openjpa-maven-plugin</artifactId> 
> > <version>2.2.0-SNAPSHOT</version> 
> > 
> > The m2e plugin is blocking enhancement by 
> > openjpa-maven-plugin.  This was a change in m2e from 
> > earlier versions which worked fine. 
> > 
> > -=- Jerry 
> > 
> > 
> > 
> > On May 29, 2011, at 6:17 AM, Mark Struberg [via OpenJPA] 
> > wrote: 
> > 
> > > Hi! 
> > > 
> > > I didn't yet use eclipse-3.6 but I was successfully 
> > able to use openjpa-maven-plugin with eclpise-3.5 and idea 
> > 9.0 to 10.5. 
> > > 
> > > Which openjpa-maven-plugin do you use? The one from 
> > codehaus, or our new one over here from openjpa directly? 
> > They should basically be the same, but just in case we 
> > messed up something... 
> > > 
> > > LieGrue, 
> > > strub 
> > > 
> > > --- On Fri, 5/27/11, No1UNo <[hidden email]> 
> > wrote: 
> > > 
> > > > From: No1UNo <[hidden email]> 
> > > > Subject: Re: Enhancement under Eclipse Helios 
> > > > To: [hidden email] 
> > > > Date: Friday, May 27, 2011, 6:41 PM 
> > > > I've filed a bug report with M2E 
> > > > &lt;https://bugs.eclipse.org/bugs/show_bug.cgi?id=347494>. 
> > 
> > > > 
> > > > More broadly, is anyone able to do build-time 
> > enhancement 
> > > > in Eclipse 3.6 
> > > > with Maven? 
> > > > 
> > > > 
> > > > -- 
> > > > View this message in context: http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6412128.html
> > > > Sent from the OpenJPA Users mailing list archive 
> > at 
> > > > Nabble.com. 
> > > > 
> > > 
> > > 
> > > If you reply to this email, your message will be added 
> > to the discussion below: 
> > > http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6416285.html
> > > To start a new topic under OpenJPA Users, email 
> > [hidden email] 
> > 
> > > To unsubscribe from OpenJPA Users, click here. 
> > 
> > 
> > 
> > -- 
> > View this message in context: http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6416341.html
> > Sent from the OpenJPA Users mailing list archive at 
> > Nabble.com. 
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6416352.html
> To start a new topic under OpenJPA Users, email ml-node+208411-1703014788-244680@n2.nabble.com 
> To unsubscribe from OpenJPA Users, click here.



--
View this message in context: http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6420319.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: Enhancement under Eclipse Helios

Posted by Mark Struberg <st...@yahoo.de>.
Oki, please could you try the following scenarios:


1.) 
invoking 
$>mvn openjpa:enhance 
on the commandline in your project.

2.) 
invoke the process-classes phase from within eclipse.

For both scenarios:
Does Eclipse pickup your enhanced classes? Can you run a unit test from within eclipse this way?

If 1.) isn't working too, then it looks like Eclipse has got a huge regression...

LieGrue,
strub


--- On Sun, 5/29/11, No1UNo <je...@jerrycarter.org> wrote:

> From: No1UNo <je...@jerrycarter.org>
> Subject: Re: Enhancement under Eclipse Helios
> To: users@openjpa.apache.org
> Date: Sunday, May 29, 2011, 11:16 AM
> 
> Strub:
> 
> The three key components are Eclipse 3.6.2, m2e 0.13, and 
> openjpa-maven-plugin 2.2.0-SNAPSHOT as per:
> 
> <groupId>org.apache.openjpa</groupId>
> <artifactId>openjpa-maven-plugin</artifactId>
> <version>2.2.0-SNAPSHOT</version>
> 
> The m2e plugin is blocking enhancement by
> openjpa-maven-plugin.  This was a change in m2e from
> earlier versions which worked fine.
> 
> -=- Jerry
> 
> 
> 
> On May 29, 2011, at 6:17 AM, Mark Struberg [via OpenJPA]
> wrote:
> 
> > Hi! 
> > 
> > I didn't yet use eclipse-3.6 but I was successfully
> able to use openjpa-maven-plugin with eclpise-3.5 and idea
> 9.0 to 10.5. 
> > 
> > Which openjpa-maven-plugin do you use? The one from
> codehaus, or our new one over here from openjpa directly?
> They should basically be the same, but just in case we
> messed up something... 
> > 
> > LieGrue, 
> > strub 
> > 
> > --- On Fri, 5/27/11, No1UNo <[hidden email]>
> wrote: 
> > 
> > > From: No1UNo <[hidden email]> 
> > > Subject: Re: Enhancement under Eclipse Helios 
> > > To: [hidden email] 
> > > Date: Friday, May 27, 2011, 6:41 PM 
> > > I've filed a bug report with M2E 
> > > &lt;https://bugs.eclipse.org/bugs/show_bug.cgi?id=347494>.
> 
> > > 
> > > More broadly, is anyone able to do build-time
> enhancement 
> > > in Eclipse 3.6 
> > > with Maven? 
> > > 
> > > 
> > > -- 
> > > View this message in context: http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6412128.html
> > > Sent from the OpenJPA Users mailing list archive
> at 
> > > Nabble.com. 
> > > 
> > 
> > 
> > If you reply to this email, your message will be added
> to the discussion below:
> > http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6416285.html
> > To start a new topic under OpenJPA Users, email
> ml-node+208411-1703014788-244680@n2.nabble.com
> 
> > To unsubscribe from OpenJPA Users, click here.
> 
> 
> 
> --
> View this message in context: http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6416341.html
> Sent from the OpenJPA Users mailing list archive at
> Nabble.com.

Re: Enhancement under Eclipse Helios

Posted by No1UNo <je...@jerrycarter.org>.
Strub:

The three key components are Eclipse 3.6.2, m2e 0.13, and 
openjpa-maven-plugin 2.2.0-SNAPSHOT as per:

<groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-maven-plugin</artifactId>
<version>2.2.0-SNAPSHOT</version>

The m2e plugin is blocking enhancement by openjpa-maven-plugin.  This was a change in m2e from earlier versions which worked fine.

-=- Jerry



On May 29, 2011, at 6:17 AM, Mark Struberg [via OpenJPA] wrote:

> Hi! 
> 
> I didn't yet use eclipse-3.6 but I was successfully able to use openjpa-maven-plugin with eclpise-3.5 and idea 9.0 to 10.5. 
> 
> Which openjpa-maven-plugin do you use? The one from codehaus, or our new one over here from openjpa directly? They should basically be the same, but just in case we messed up something... 
> 
> LieGrue, 
> strub 
> 
> --- On Fri, 5/27/11, No1UNo <[hidden email]> wrote: 
> 
> > From: No1UNo <[hidden email]> 
> > Subject: Re: Enhancement under Eclipse Helios 
> > To: [hidden email] 
> > Date: Friday, May 27, 2011, 6:41 PM 
> > I've filed a bug report with M2E 
> > &lt;https://bugs.eclipse.org/bugs/show_bug.cgi?id=347494>. 
> > 
> > More broadly, is anyone able to do build-time enhancement 
> > in Eclipse 3.6 
> > with Maven? 
> > 
> > 
> > -- 
> > View this message in context: http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6412128.html
> > Sent from the OpenJPA Users mailing list archive at 
> > Nabble.com. 
> > 
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6416285.html
> To start a new topic under OpenJPA Users, email ml-node+208411-1703014788-244680@n2.nabble.com 
> To unsubscribe from OpenJPA Users, click here.



--
View this message in context: http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6416341.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Re: Enhancement under Eclipse Helios

Posted by Mark Struberg <st...@yahoo.de>.
Hi!

I didn't yet use eclipse-3.6 but I was successfully able to use openjpa-maven-plugin with eclpise-3.5 and idea 9.0 to 10.5.

Which openjpa-maven-plugin do you use? The one from codehaus, or our new one over here from openjpa directly? They should basically be the same, but just in case we messed up something...

LieGrue,
strub

--- On Fri, 5/27/11, No1UNo <je...@jerrycarter.org> wrote:

> From: No1UNo <je...@jerrycarter.org>
> Subject: Re: Enhancement under Eclipse Helios
> To: users@openjpa.apache.org
> Date: Friday, May 27, 2011, 6:41 PM
> I've filed a bug report with M2E
> &lt;https://bugs.eclipse.org/bugs/show_bug.cgi?id=347494>.
> 
> More broadly, is anyone able to do build-time enhancement
> in Eclipse 3.6
> with Maven?
> 
> 
> --
> View this message in context: http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6412128.html
> Sent from the OpenJPA Users mailing list archive at
> Nabble.com.
> 

Re: Enhancement under Eclipse Helios

Posted by No1UNo <je...@jerrycarter.org>.
I've filed a bug report with M2E
&lt;https://bugs.eclipse.org/bugs/show_bug.cgi?id=347494&gt;.

More broadly, is anyone able to do build-time enhancement in Eclipse 3.6
with Maven?


--
View this message in context: http://openjpa.208410.n2.nabble.com/Enhancement-under-Eclipse-Helios-tp6411954p6412128.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.