Hi all,
I have a multi-module project, one of the modules in the project is an
eclipse PDE plugin, and as such is configured as follows:
<pde>true</pde>
In order to force the PDE config to be in sync with the maven config, the
maven-eclipse-plugin is tied into the validate phase. This means that the
eclipse:eclipse goal gets run on every mvn install.
The problem is that maven-eclipse-plugin only works correctly when "mvn
install" is run from within the PDE plugin's directory.
If an attempt is made to run "mvn install" from the root of the reactor
build, eclipse:eclipse does run - but the PDE flag goes missing, and the
PDE build is corrupted.
Does anyone know how to fix this problem?
The full config for the eclipse plugin bound to the validate phase, and
with the PDE flag enabled, is as follows:
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>synchronise-eclipse</id>
<phase>validate</phase>
<goals>
<goal>eclipse</goal>
</goals>
<inherited>true</inherited>
<configuration>
<pde>true</pde>
</configuration>
</execution>
</executions>
<configuration>
<pde>true</pde>
</configuration>
</plugin>
Regards,
Graham
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]