Asaf Shakarchi has uploaded a new change for review.

Change subject: build: Explicit versions definitions for maven plugins.
......................................................................

build: Explicit versions definitions for maven plugins.

Maven 3.x deprecates definition of plugins and dependencies without
explicit version specified,

This commit defines explicit version for some maven plugins thus
eliminates the startup maven warnings when a build occurs.

Change-Id: I968a9ef2e4741acd313d2e165348bee1ccd1b0ed
Signed-off-by: Asaf Shakarchi <[email protected]>
---
M pom.xml
1 file changed, 22 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/89/14289/1

diff --git a/pom.xml b/pom.xml
index da9ca9e..4b0806d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -89,6 +89,12 @@
     <jbosssx-bare.version>2.0.4</jbosssx-bare.version>
     <log4j.version>1.2.16</log4j.version>
     <infinispan.version>5.2.5.Final</infinispan.version>
+
+    <!-- Plugins Versions -->
+    <maven-surefire-plugin.version>2.7.2</maven-surefire-plugin.version>
+    <maven-resources-plugin.version>2.4.3</maven-resources-plugin.version>
+    <exec-maven-plugin.version>1.2</exec-maven-plugin.version>
+    <maven-ejb-plugin.version>2.3</maven-ejb-plugin.version>
   </properties>
   <dependencyManagement>
     <dependencies>
@@ -421,6 +427,7 @@
         </plugin>
         <plugin>
           <artifactId>maven-ejb-plugin</artifactId>
+          <version>${maven-ejb-plugin.version}</version>
           <configuration>
             <ejbVersion>3.1</ejbVersion>
             <generateClient>true</generateClient>
@@ -440,6 +447,21 @@
             <useProjectReferences>true</useProjectReferences>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>${maven-surefire-plugin.version}</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-resources-plugin</artifactId>
+          <version>${maven-resources-plugin.version}</version>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>exec-maven-plugin</artifactId>
+          <version>${exec-maven-plugin.version}</version>
+        </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>


--
To view, visit http://gerrit.ovirt.org/14289
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I968a9ef2e4741acd313d2e165348bee1ccd1b0ed
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Asaf Shakarchi <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to