directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: svn commit: r1164649 - in /directory: apacheds/trunk/pom.xml shared/trunk/pom.xml
Date Fri, 02 Sep 2011 17:43:22 GMT
Hi guys,

I installed Eclipse 3.7 and wanted to install the "Maven Integration"
from the Eclipse Marketplace. This installed m2e 1.0. So far so good.
With version 1.0 the architecture of m2e changed. As far as I
understand now for each Maven plugin a m2e extension is required so
that m2e knows in which phase of the Eclipse build it has to run the
Maven plugin. Unfortunately m2e extensions are missing for some Maven
plugins and m2e reports errors in Eclipse. A good summary can also be
found here.

So I added a configuration for m2e into the POMs (shared and apacheds
so far). That configuration has no influence to the Maven build
itself, it is only a hint for m2e. I don't like it and hope that in
near future more m2e extensions exists so we can remove the
configuration again.

Kind Regards,
Stefan

[1] http://grumpyapache.blogspot.com/2011/08/mess-that-is-m2e-connectors.html




On Fri, Sep 2, 2011 at 7:33 PM,  <seelmann@apache.org> wrote:
> Author: seelmann
> Date: Fri Sep  2 17:33:35 2011
> New Revision: 1164649
>
> URL: http://svn.apache.org/viewvc?rev=1164649&view=rev
> Log:
> Configuration for m2e (Eclipse Maven Integration)
>
> Modified:
>    directory/apacheds/trunk/pom.xml
>    directory/shared/trunk/pom.xml
>
> Modified: directory/apacheds/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/pom.xml?rev=1164649&r1=1164648&r2=1164649&view=diff
> ==============================================================================
> --- directory/apacheds/trunk/pom.xml (original)
> +++ directory/apacheds/trunk/pom.xml Fri Sep  2 17:33:35 2011
> @@ -210,7 +210,34 @@
>               <exclude>**/*.log</exclude>
>             </excludes>
>           </configuration>
> -         </plugin>
> +        </plugin>
> +        <!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself.-->
> +        <plugin>
> +          <groupId>org.eclipse.m2e</groupId>
> +          <artifactId>lifecycle-mapping</artifactId>
> +          <version>1.0.0</version>
> +          <configuration>
> +            <lifecycleMappingMetadata>
> +              <pluginExecutions>
> +                <pluginExecution>
> +                  <pluginExecutionFilter>
> +                    <groupId>org.apache.maven.plugins</groupId>
> +                    <artifactId>maven-dependency-plugin</artifactId>
> +                    <versionRange>[2.2,)</versionRange>
> +                    <goals>
> +                      <goal>copy</goal>
> +                      <goal>copy-dependencies</goal>
> +                      <goal>unpack</goal>
> +                    </goals>
> +                  </pluginExecutionFilter>
> +                  <action>
> +                    <ignore></ignore>
> +                  </action>
> +                </pluginExecution>
> +              </pluginExecutions>
> +            </lifecycleMappingMetadata>
> +          </configuration>
> +        </plugin>
>       </plugins>
>     </pluginManagement>
>
>
> Modified: directory/shared/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=1164649&r1=1164648&r2=1164649&view=diff
> ==============================================================================
> --- directory/shared/trunk/pom.xml (original)
> +++ directory/shared/trunk/pom.xml Fri Sep  2 17:33:35 2011
> @@ -125,7 +125,45 @@
>               <exclude>src/main/resources/schema-all.ldif</exclude>
>             </excludes>
>           </configuration>
> -         </plugin>
> +        </plugin>
> +        <!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself.-->
> +        <plugin>
> +          <groupId>org.eclipse.m2e</groupId>
> +          <artifactId>lifecycle-mapping</artifactId>
> +          <version>1.0.0</version>
> +          <configuration>
> +            <lifecycleMappingMetadata>
> +              <pluginExecutions>
> +                <pluginExecution>
> +                  <pluginExecutionFilter>
> +                    <groupId>org.apache.maven.plugins</groupId>
> +                    <artifactId>maven-antrun-plugin</artifactId>
> +                    <versionRange>[1.6,)</versionRange>
> +                    <goals>
> +                      <goal>run</goal>
> +                    </goals>
> +                  </pluginExecutionFilter>
> +                  <action>
> +                    <ignore></ignore>
> +                  </action>
> +                </pluginExecution>
> +                <pluginExecution>
> +                  <pluginExecutionFilter>
> +                    <groupId>org.apache.maven.plugins</groupId>
> +                    <artifactId>maven-dependency-plugin</artifactId>
> +                    <versionRange>[2.2,)</versionRange>
> +                    <goals>
> +                      <goal>copy</goal>
> +                    </goals>
> +                  </pluginExecutionFilter>
> +                  <action>
> +                    <ignore></ignore>
> +                  </action>
> +                </pluginExecution>
> +              </pluginExecutions>
> +            </lifecycleMappingMetadata>
> +          </configuration>
> +        </plugin>
>       </plugins>
>     </pluginManagement>
>
>
>
>
Mime
View raw message