clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject git commit: CLEREZZA-952: moved eclipse pseudo plugin config to profile #resolve
Date Mon, 06 Oct 2014 20:51:20 GMT
Repository: clerezza
Updated Branches:
  refs/heads/master 3898f17de -> dae456a97


CLEREZZA-952: moved eclipse pseudo plugin config to profile #resolve


Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/dae456a9
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/dae456a9
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/dae456a9

Branch: refs/heads/master
Commit: dae456a970286e19c72fbb9629ebec71a6c40d34
Parents: 3898f17
Author: Reto Gmür <reto@apache.org>
Authored: Mon Oct 6 22:51:15 2014 +0200
Committer: Reto Gmür <reto@apache.org>
Committed: Mon Oct 6 22:51:15 2014 +0200

----------------------------------------------------------------------
 parent/pom.xml | 77 ++++++++++++++++++++++++++++++++---------------------
 1 file changed, 46 insertions(+), 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/dae456a9/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index e430003..7285f30 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -222,37 +222,6 @@
                         <nosuffix>true</nosuffix>
                     </configuration>
                 </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.felix
-                                        </groupId>
-                                        <artifactId>
-                                            maven-scr-plugin
-                                        </artifactId>
-                                        <versionRange>
-                                            [1.9.0,)
-                                        </versionRange>
-                                        <goals>
-                                            <goal>scr</goal>
-                                        </goals>
-                                    </pluginExecutionFilter>
-                                    <action>
-                                        <ignore />
-                                    </action>
-                                </pluginExecution>
-                            </pluginExecutions>
-                        </lifecycleMappingMetadata>
-                    </configuration>
-                </plugin>
                 <plugin>
                     <groupId>org.wymiwyg.karaf.tooling</groupId>
                     <artifactId>karaf-sling-maven-plugin</artifactId>
@@ -693,6 +662,52 @@
             </build>
         </profile>
         <profile>
+            <!-- this is to prevent the eclipse pseude-plugins to cause warnings during
build -->
+            <id>only-eclipse</id>
+            <activation>
+                <property>
+                    <name>m2e.version</name>
+                </property>
+            </activation>
+            <build>
+                <pluginManagement>
+                    <plugins>
+                        <!--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.felix
+                                                </groupId>
+                                                <artifactId>
+                                                    maven-scr-plugin
+                                                </artifactId>
+                                                <versionRange>
+                                                    [1.9.0,)
+                                                </versionRange>
+                                                <goals>
+                                                    <goal>scr</goal>
+                                                </goals>
+                                            </pluginExecutionFilter>
+                                            <action>
+                                                <ignore />
+                                            </action>
+                                        </pluginExecution>
+                                    </pluginExecutions>
+                                </lifecycleMappingMetadata>
+                            </configuration>
+                        </plugin>
+                    </plugins>
+                </pluginManagement>
+            </build>
+        </profile>
+        <profile>
             <!--
              This profile allows for installing/updating a bundle in a running
              instance right after building it. Example: mvn clean install -P


Mime
View raw message