APEXCORE-735 Upgrade maven-dependency-plugin
diff --git a/apex-app-archetype/src/main/resources/archetype-resources/pom.xml b/apex-app-archetype/src/main/resources/archetype-resources/pom.xml
index 22d771a..474dc01 100644
--- a/apex-app-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/apex-app-archetype/src/main/resources/archetype-resources/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<groupId>${groupId}</groupId>
<version>${version}</version>
<artifactId>${artifactId}</artifactId>
@@ -43,7 +43,7 @@
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
- <version>2.8</version>
+ <version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
@@ -99,7 +99,7 @@
</descriptors>
<archiverConfig>
<defaultDirectoryMode>0755</defaultDirectoryMode>
- </archiverConfig>
+ </archiverConfig>
<archive>
<manifestEntries>
<Class-Path>${apex.apppackage.classpath}</Class-Path>
@@ -262,11 +262,11 @@
<groupId>org.apache.apex</groupId>
<artifactId>malhar-library</artifactId>
<version>${apex.malhar.version}</version>
- <!--
+ <!--
If you know that your application does not need transitive dependencies pulled in by malhar-library,
uncomment the following to reduce the size of your app package.
-->
- <!--
+ <!--
<exclusions>
<exclusion>
<groupId>*</groupId>
diff --git a/apex-conf-archetype/src/main/resources/archetype-resources/pom.xml b/apex-conf-archetype/src/main/resources/archetype-resources/pom.xml
index 81e403c..e488b6c 100644
--- a/apex-conf-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/apex-conf-archetype/src/main/resources/archetype-resources/pom.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<groupId>${groupId}</groupId>
<version>${version}</version>
<artifactId>${artifactId}</artifactId>
@@ -17,7 +17,7 @@
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
-
+
<properties>
<apex.apppackage.groupid>${groupId}</apex.apppackage.groupid>
<apex.apppackage.name>myapexapp</apex.apppackage.name>
@@ -53,7 +53,7 @@
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
- <version>2.8</version>
+ <version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
diff --git a/engine/src/test/resources/testAppPackage/mydtapp/pom.xml b/engine/src/test/resources/testAppPackage/mydtapp/pom.xml
index f8cbb1c..1a05124 100644
--- a/engine/src/test/resources/testAppPackage/mydtapp/pom.xml
+++ b/engine/src/test/resources/testAppPackage/mydtapp/pom.xml
@@ -21,7 +21,7 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<groupId>com.example</groupId>
<version>1.0-SNAPSHOT</version>
<artifactId>mydtapp</artifactId>
@@ -62,7 +62,7 @@
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
- <version>2.8</version>
+ <version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
diff --git a/pom.xml b/pom.xml
index 8f7a7bb..155fde4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -150,10 +150,6 @@
</configuration>
</plugin>
<plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.1</version>
- </plugin>
- <plugin>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>
<plugin>