Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Plugin execution not covered by lifecycle

Damon,

Just explicitly add the torque generated source folder with the build helper plugin and it should make it (at least it did the trick for me).

Something like that in the build section :
     <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>add-torque-generated-sources</id>
            <phase>process-sources</phase>
            <goals>
              <goal>add-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>${project.build.directory}/where/torque/generates/the/sources</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>

 

Considering the amount of hours I spent on 0.10 and 0.12 trying to understand some erratic behaviors of the Eclipse build, I really think that 1.0 is a big step forward. Although it's still in its infancy, the foundations seem much more solid. It now has to be trained to understand more and more Maven plugins.

I also feel frustrated in  a way, but I'm confident that it will evolve fast.

Cheers,
Vincent
 
Le 21 juin 2011 à 22:23, Damon Jacobsen a écrit :

Vincent,
 
                My situation is that of your second example (torque adds source folders automagically). So far, IMO the cure seems worse than the disease. In 0.12 everything seemed to just work. Now I am in build hell. I will try to hold faith that this will get better quickly as more users hit the new Indigo release.I'd even go so far as to jump in and properly fix this, but as it is, there seems to be very little documentation on what is going on and how to resolve it.
 
> Damon,
>
> If you use the build-helper plugin to add your extra source folder to the Maven module, then you have to use the corresponding build-helper M2E lifecycle plugin > (installed from M2E marketplace) that make M2E "understand" that there is an extra source folder.
>……
 
 
Damon Jacobsen
Sr. Programmer/Analyst
Lifetouch Portrait Studios
775.677.6909
 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
_____________________________________________________________________
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

-- 
Vincent Vandenschrick
 Jspresso Framework


Back to the top