[MSOURCES-83] Make Plugin only Maven 3.0 minimum
- Lifted Java limit to 1.6 in accordance with 3.0.0
- Replaced maven-project dependency with dependency to maven-core.
- Upgraded maven-plugin-testing-harness to 2.1 which
needs maven-compat to work which is only in scope test.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1705678 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index dd19543..bdaa9cf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,11 +30,11 @@
</parent>
<artifactId>maven-source-plugin</artifactId>
- <version>2.5-SNAPSHOT</version>
+ <version>3.0.0-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
<name>Apache Maven Source Plugin</name>
- <description>The Maven 2 Source Plugin creates a JAR archive of the source files of the current project.</description>
+ <description>The Maven Source Plugin creates a JAR archive of the source files of the current project.</description>
<prerequisites>
<maven>${mavenVersion}</maven>
@@ -67,7 +67,13 @@
</distributionManagement>
<properties>
- <mavenVersion>2.2.1</mavenVersion>
+ <mavenVersion>3.0</mavenVersion>
+ <!--
+ ! Here we start with JDK 6 for release 3.X
+ -->
+ <maven.compiler.target>1.6</maven.compiler.target>
+ <maven.compiler.source>1.6</maven.compiler.source>
+
</properties>
<dependencies>
@@ -88,7 +94,7 @@
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-project</artifactId>
+ <artifactId>maven-core</artifactId>
<version>${mavenVersion}</version>
</dependency>
@@ -97,8 +103,8 @@
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<scope>provided</scope>
- </dependency>
-
+ </dependency>
+
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-archiver</artifactId>
@@ -114,11 +120,17 @@
<artifactId>plexus-utils</artifactId>
<version>3.0.20</version>
</dependency>
-
+
<dependency>
<groupId>org.apache.maven.plugin-testing</groupId>
<artifactId>maven-plugin-testing-harness</artifactId>
- <version>1.2</version>
+ <version>2.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-compat</artifactId>
+ <version>${mavenVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -129,6 +141,8 @@
</dependency>
</dependencies>
+
+
<profiles>
<profile>
<id>run-its</id>