aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@ericsson.com>2018-05-31 11:09:58 +0100
committerwaqas.ikram <waqas.ikram@ericsson.com>2018-05-31 11:16:43 +0100
commit34bdfe15be3a7fe058867b64ee479e1516463574 (patch)
treebe9a7184530a8725a20e277e12aa3f32b97c43c4
parent8eefbb9e55dfbab447e2495312af6aa81a51eb6e (diff)
Fixing Lifecycle Mapping Problem
Change-Id: I508f064c8f20a96d2eeeb67a4b7a05812e1e2152 Issue-ID: POLICY-857 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
-rw-r--r--model/basic-model/pom.xml42
-rw-r--r--pom.xml12
2 files changed, 12 insertions, 42 deletions
diff --git a/model/basic-model/pom.xml b/model/basic-model/pom.xml
index d663f92b2..8d11fe5e3 100644
--- a/model/basic-model/pom.xml
+++ b/model/basic-model/pom.xml
@@ -70,46 +70,4 @@
</plugin>
</plugins>
</build>
- <profiles>
- <profile>
- <!--This profile is used to store Eclipse m2e settings only. It has no
- influence on the Maven build itself. -->
- <id>only-eclipse</id>
- <activation>
- <property>
- <name>m2e.version</name>
- </property>
- </activation>
- <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.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <versionRange>1.2.1</versionRange>
- <goals>
- <goal>java</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <execute />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- </profile>
- </profiles>
</project> \ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 8863e50ff..095b06585 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,6 +97,18 @@
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <execute />
+ </action>
+ </pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
<groupId>org.commonjava.maven.plugins</groupId>
<artifactId>directory-maven-plugin</artifactId>
<versionRange>0.2</versionRange>