Bug 7182 related: Remove M2E lifecycle mapping 28/52428/2
authorMichael Vorburger <vorburger@redhat.com>
Tue, 28 Feb 2017 22:48:43 +0000 (23:48 +0100)
committerTom Pantelis <tpanteli@brocade.com>
Thu, 2 Mar 2017 11:55:21 +0000 (11:55 +0000)
These should never be in individual projects anymore now,
we handle this centrally, either in odlparent,
or https://github.com/vorburger/opendaylight-eclipse-setup,
or by appropriate lifecycle-mapping-metadata.xml in a Maven plugin
(that's what Bug 7182 does for the yang-maven-plugin).

Change-Id: I3649f9a10066dfacd4762b3270bbb2e112e5858f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
common/parent/pom.xml

index 388fe23c6ab73bc998c003b4866c972a3dc8bdf9..8e63652c288ddb7cb5d399b244be028de165e31c 100644 (file)
     <build>
         <pluginManagement>
             <plugins>
-                <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.0,)</versionRange>
-                                        <goals>
-                                            <goal>run</goal>
-                                        </goals>
-                                    </pluginExecutionFilter>
-                                    <action>
-                                        <execute/>
-                                    </action>
-                                </pluginExecution>
-                                <pluginExecution>
-                                    <pluginExecutionFilter>
-                                        <groupId>org.opendaylight.yangtools</groupId>
-                                        <artifactId>yang-maven-plugin</artifactId>
-                                        <versionRange>[0.5,)</versionRange>
-                                        <goals>
-                                            <goal>generate-sources</goal>
-                                        </goals>
-                                     </pluginExecutionFilter>
-                                     <action>
-                                         <execute/>
-                                     </action>
-                                 </pluginExecution>
-                                 <pluginExecution>
-                                    <pluginExecutionFilter>
-                                        <groupId>org.codehaus.mojo</groupId>
-                                        <artifactId>properties-maven-plugin</artifactId>
-                                        <versionRange>1.0-alpha-2</versionRange>
-                                        <goals>
-                                            <goal>write-project-properties</goal>
-                                        </goals>
-                                     </pluginExecutionFilter>
-                                     <action>
-                                         <ignore />
-                                     </action>
-                                 </pluginExecution>
-                                 <pluginExecution>
-                                    <pluginExecutionFilter>
-                                        <groupId>org.ops4j.pax.exam</groupId>
-                                        <artifactId>maven-paxexam-plugin</artifactId>
-                                        <versionRange>1.2.4</versionRange>
-                                        <goals>
-                                            <goal>generate-depends-file</goal>
-                                        </goals>
-                                     </pluginExecutionFilter>
-                                     <action>
-                                         <ignore />
-                                     </action>
-                                 </pluginExecution>
-                                 <pluginExecution>
-                                    <pluginExecutionFilter>
-                                        <groupId>org.jacoco</groupId>
-                                        <artifactId>jacoco-maven-plugin</artifactId>
-                                        <versionRange>[0.6,)</versionRange>
-                                        <goals>
-                                            <goal>prepare-agent</goal>
-                                        </goals>
-                                     </pluginExecutionFilter>
-                                     <action>
-                                         <ignore/>
-                                     </action>
-                                 </pluginExecution>
-                            </pluginExecutions>
-                        </lifecycleMappingMetadata>
-                    </configuration>
-                </plugin>
                 <plugin>
                     <groupId>org.opendaylight.yangtools</groupId>
                     <artifactId>yang-maven-plugin</artifactId>