Fixing Lifecycle Mapping Problem
Change-Id: I508f064c8f20a96d2eeeb67a4b7a05812e1e2152
Issue-ID: POLICY-857
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
diff --git a/model/basic-model/pom.xml b/model/basic-model/pom.xml
index d663f92..8d11fe5 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 8863e50..095b065 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>