[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] Eclipse builds again and again and again
|
Effective POM tells me that currently maven-resources-plugin 2.5 is used. Seems that bug is still there?
-----Ursprüngliche Nachricht-----
Von: Igor Fedorenko [mailto:igor@xxxxxxxxxxxxxx]
Gesendet: Dienstag, 3. Juli 2012 14:01
An: Maven Integration for Eclipse users mailing list
Cc: Markus Karg
Betreff: Re: [m2e-users] Eclipse builds again and again and again
What version of resources plugin do you use? IIRC, versions before 2.4.3 did not properly communicate resource changes with Eclipse workspace, which would trigger endless build -- resources plugin filters java sources, which triggers jdt builder execution, which generates .class files, which triggers new execution of resources plugin and so on.
--
Regards,
Igor
On 12-07-03 7:54 AM, Markus Karg wrote:
> Thank you for picking this up.
>
> I am using Eclipse Indigo with latest updates, and m2e 1.1.0.20120530-0009.
>
> No, my pom is rather clean. The only specials are:
>
> * packaging is ejb
> * Filtering .java src files to patch version number into source code, which implies the following build helper configuration:
>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>build-helper-maven-plugin</artifactId>
> <executions>
> <execution>
> <id>add-source</id>
> <phase>generate-sources</phase>
> <goals>
> <goal>add-source</goal>
> </goals>
> <configuration>
> <sources>
> <source>generated/java</source>
> </sources>
> </configuration>
> </execution>
> </executions>
> </plugin>
>
> Do you think this is the cause?
>
> Thanks!
> Markus
>
> -----Ursprüngliche Nachricht-----
> Von: m2e-users-bounces@xxxxxxxxxxx
> [mailto:m2e-users-bounces@xxxxxxxxxxx] Im Auftrag von Rafal Krzewski
> Gesendet: Dienstag, 3. Juli 2012 12:20
> An: Maven Integration for Eclipse users mailing list
> Betreff: Re: [m2e-users] Eclipse builds again and again and again
>
> Which m2e version are you using?
> Do you have custom lifecycle mappings defined in your POM that use action "execute"? They are a likely culprit.
>
> Regards,
> Rafał
>
> On Tue 03 Jul 2012 09:24:47 AM CEST, Markus Karg wrote:
>> Hello m2e Community,
>>
>> I have a strange problem with m2e.
>>
>> Since I enabled the Maven Nature of a project (“Convert to Maven
>> project” in Eclipse), the IDE builds my project again and again and
>> again and again (and, as side effect, validates all dependent
>> projects again and again and again and again).
>>
>> This eats up lots of CPU power, so actually editing now is nearly
>> impossible.
>>
>> Any ideas how to stop this?
>>
>> I already tried to restart Eclipse, but the problem still occurs. It
>> seems, m2e detects something that it interprets as a change, but as I
>> do not even touch the mouse or keyboard, I cannot see what.
>>
>> Thanks!
>>
>> Markus
>>
>>
>>
>> _______________________________________________
>> m2e-users mailing list
>> m2e-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>