use parent pom, update dependencies and plugin
diff --git a/nb-repository-plugin/pom.xml b/nb-repository-plugin/pom.xml
index fc4ca84..b6264c0 100644
--- a/nb-repository-plugin/pom.xml
+++ b/nb-repository-plugin/pom.xml
@@ -1,9 +1,9 @@
<?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">
<parent>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>mojo-parent</artifactId>
- <version>40</version>
+ <groupId>org.netbeans.maven</groupId>
+ <artifactId>utilities-parent</artifactId>
+ <version>1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -11,14 +11,14 @@
<version>1.4-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
- <name>NB Repository Plugin</name>
+ <name>Apache NetBeans Maven Utilities - NB Repository Plugin</name>
<description>Maven plugin for creating Maven Repository out of a NetBeans installation (and other sources) for consumption by the projects using nbm-maven-plugin.
</description>
<inceptionYear>2005</inceptionYear>
- <url>https://github.com/mojohaus/nb-repository-plugin</url>
+ <url>http://netbeans.apache.org/mavenutilities/nb-repository-plugin</url>
<issueManagement>
- <system>GitHub</system>
- <url>https://github.com/mojohaus/nb-repository-plugin/issues</url>
+ <system>jira</system>
+ <url>https://issues.apache.org/jira/browse/NETBEANS</url>
</issueManagement>
<prerequisites>
<maven>3.1.1</maven>
@@ -31,10 +31,9 @@
</license>
</licenses>
<scm>
- <connection>scm:git:https://github.com/mojohaus/nb-repository-plugin.git</connection>
- <developerConnection>scm:git:ssh://git@github.com/mojohaus/nb-repository-plugin.git</developerConnection>
- <url>https://github.com/mojohaus/nb-repository-plugin/tree/${project.scm.tag}</url>
- <tag>master</tag>
+ <connection>scm:git:https://gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git</connection>
+ <developerConnection>scm:git:gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git</developerConnection>
+ <url>https://github.com/apache/incubator-netbeans-mavenutils</url>
</scm>
<developers>
<developer>
@@ -146,7 +145,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>3.6</version>
</plugin>
</plugins>
</build>
@@ -155,7 +153,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.9</version>
<reportSets>
<reportSet>
<reports>
@@ -168,30 +165,21 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>2.12.1</version>
-
<configuration>
<!-- configure github milestone ? -->
- <onlyMilestoneIssues>false</onlyMilestoneIssues>
- <onlyCurrentVersion>false</onlyCurrentVersion>
+ <!--<onlyMilestoneIssues>false</onlyMilestoneIssues>
+ <onlyCurrentVersion>false</onlyCurrentVersion>-->
+ <skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.17</version>
-
- <configuration>
- <configLocation>config/maven_checks.xml</configLocation>
- <headerLocation>config/maven-header.txt</headerLocation>
- </configuration>
-
+ <artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -210,7 +198,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>3.0.0-M1</version>
<configuration>
<quiet>true</quiet>
<links>
@@ -249,15 +236,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>3.8</version>
- <configuration>
- <targetJdk>1.5</targetJdk>
+ <configuration>
+ <targetJdk>1.6</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-linkcheck-plugin</artifactId>
- <version>1.2</version>
<configuration>
<excludedLinks>
<excludedLink>../../images/codehaus-small.png</excludedLink>
@@ -432,7 +417,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>nb-shared</artifactId>
- <version>1.2</version>
+ <version>1.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
diff --git a/nbm-maven-harness/pom.xml b/nbm-maven-harness/pom.xml
index e083410..e785fc2 100644
--- a/nbm-maven-harness/pom.xml
+++ b/nbm-maven-harness/pom.xml
@@ -2,13 +2,18 @@
<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>
<parent>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>mojo-parent</artifactId>
- <version>40</version>
+ <groupId>org.netbeans.maven</groupId>
+ <artifactId>utilities-parent</artifactId>
+ <version>1-SNAPSHOT</version>
</parent>
<artifactId>nbm-maven-harness</artifactId>
- <version>8.3-SNAPSHOT</version>
- <name>NBM Harness for Maven</name>
+ <version>9.0-SNAPSHOT</version>
+ <name>Apache NetBeans Maven Utilities - NBM Harness for Maven</name>
+ <url>http://netbeans.apache.org/mavenutilities/nbm-maven-harness</url>
+ <issueManagement>
+ <system>jira</system>
+ <url>https://issues.apache.org/jira/browse/NETBEANS</url>
+ </issueManagement>
<licenses>
<license>
<name>Apache License 2</name>
@@ -17,10 +22,9 @@
</license>
</licenses>
<scm>
- <connection>scm:git:https://github.com/mojohaus/nbm-maven-harness.git</connection>
- <developerConnection>scm:git:ssh://git@github.com/mojohaus/nbm-maven-harness.git</developerConnection>
- <url>https://github.com/mojohaus/nbm-maven-harness/tree/${project.scm.tag}</url>
- <tag>master</tag>
+ <connection>scm:git:https://gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git</connection>
+ <developerConnection>scm:git:gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git</developerConnection>
+ <url>https://github.com/apache/incubator-netbeans-mavenutils</url>
</scm>
<build>
<plugins>
@@ -221,7 +225,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.9</version>
<reportSets>
<reportSet>
<reports>
diff --git a/nbm-maven-plugin/pom.xml b/nbm-maven-plugin/pom.xml
index 1a47b8a..c7ddb3e 100644
--- a/nbm-maven-plugin/pom.xml
+++ b/nbm-maven-plugin/pom.xml
@@ -1,9 +1,9 @@
<?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">
<parent>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>mojo-parent</artifactId>
- <version>40</version>
+ <groupId>org.netbeans.maven</groupId>
+ <artifactId>utilities-parent</artifactId>
+ <version>1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -11,14 +11,14 @@
<version>4.2-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
- <name>NBM Maven Plugin</name>
+ <name>Apache NetBeans Maven Utilities - NBM Maven Plugin</name>
<description>Maven plugin for creating NetBeans modules. It defines a custom lifecycle called "nbm". During packaging, the module JAR is enhanced with NetBeans-specific manifest entries and, along with other required files, packed into a *.nbm file, ready for distribution. Additionally the plugin provides aggregator goals to create an update site or cluster for your module projects.
</description>
<inceptionYear>2005</inceptionYear>
- <url>https://github.com/mojohaus/nbm-maven-plugin</url>
+ <url>http://netbeans.apache.org/mavenutilities/nbm-maven-plugin</url>
<issueManagement>
- <system>GitHub</system>
- <url>https://github.com/mojohaus/nbm-maven-plugin/issues</url>
+ <system>jira</system>
+ <url>https://issues.apache.org/jira/browse/NETBEANS</url>
</issueManagement>
<prerequisites>
<maven>3.0.5</maven>
@@ -31,10 +31,9 @@
</license>
</licenses>
<scm>
- <connection>scm:git:https://github.com/mojohaus/nbm-maven-plugin.git</connection>
- <developerConnection>scm:git:ssh://git@github.com/mojohaus/nbm-maven-plugin.git</developerConnection>
- <url>https://github.com/mojohaus/nbm-maven-plugin/tree/${project.scm.tag}</url>
- <tag>master</tag>
+ <connection>scm:git:https://gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git</connection>
+ <developerConnection>scm:git:gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git</developerConnection>
+ <url>https://github.com/apache/incubator-netbeans-mavenutils</url>
</scm>
<developers>
<developer>
@@ -155,7 +154,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
- <version>1.16</version>
<executions>
<execution>
<phase>package</phase>
@@ -175,7 +173,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>3.6</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
@@ -196,7 +193,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.9</version>
<reportSets>
<reportSet>
<reports>
@@ -210,43 +206,19 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.12.1</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>github-report</report>
- </reports>
- </reportSet>
- </reportSets>
- <configuration>
- <!-- configure github milestone ? -->
- <onlyMilestoneIssues>false</onlyMilestoneIssues>
- <onlyCurrentVersion>false</onlyCurrentVersion>
-
+ <configuration>
+ <skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.17</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>checkstyle</report>
- </reports>
- </reportSet>
- </reportSets>
- <configuration>
- <configLocation>config/maven_checks.xml</configLocation>
- <headerLocation>config/maven-header.txt</headerLocation>
- </configuration>
-
+ <artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>3.0.0-M1</version>
<configuration>
<quiet>true</quiet>
<links>
@@ -293,7 +265,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -312,7 +283,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>3.8</version>
<configuration>
<targetJdk>1.5</targetJdk>
</configuration>
@@ -320,7 +290,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-linkcheck-plugin</artifactId>
- <version>1.2</version>
<configuration>
<excludedLinks>
<excludedLink>../../images/codehaus-small.png</excludedLink>
@@ -438,10 +407,12 @@
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
+ <version>3.0</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
+ <version>3.5</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
@@ -507,7 +478,8 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <!-- use harness from NetBeans 8.2 -->
+ <groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-harness</artifactId>
<version>8.2</version>
</dependency>
@@ -519,7 +491,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>nb-shared</artifactId>
- <version>1.2</version>
+ <version>1.3-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
diff --git a/nbm-shared/pom.xml b/nbm-shared/pom.xml
index 680b83e..53e4875 100644
--- a/nbm-shared/pom.xml
+++ b/nbm-shared/pom.xml
@@ -1,9 +1,9 @@
<?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">
<parent>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>mojo-parent</artifactId>
- <version>40</version>
+ <groupId>org.netbeans.maven</groupId>
+ <artifactId>utilities-parent</artifactId>
+ <version>1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -11,14 +11,14 @@
<version>1.3-SNAPSHOT</version>
<packaging>jar</packaging>
- <name>NBM Plugins Utilities</name>
- <description>Maven plugin for creating Maven Repository out of a NetBeans installation (and other sources) for consumption by the projects using nbm-maven-plugin.
+ <name>Apache NetBeans Maven Utilities - NBM Plugins Utilities</name>
+ <description>Maven plugin for creating Maven Repository out of a Apache NetBeans installation (and other sources) for consumption by the projects using nbm-maven-plugin.
</description>
<inceptionYear>2005</inceptionYear>
- <url>https://github.com/mojohaus/nbm-shared</url>
+ <url>http://netbeans.apache.org/mavenutilities/nb-shared</url>
<issueManagement>
- <system>GitHub</system>
- <url>https://github.com/mojohaus/nbm-shared/issues</url>
+ <system>jira</system>
+ <url>https://issues.apache.org/jira/browse/NETBEANS</url>
</issueManagement>
<licenses>
<license>
@@ -28,10 +28,9 @@
</license>
</licenses>
<scm>
- <connection>scm:git:https://github.com/mojohaus/nbm-shared.git</connection>
- <developerConnection>scm:git:ssh://git@github.com/mojohaus/nbm-shared.git</developerConnection>
- <url>https://github.com/mojohaus/nbm-shared/tree/${project.scm.tag}</url>
- <tag>master</tag>
+ <connection>scm:git:https://gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git</connection>
+ <developerConnection>scm:git:gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git</developerConnection>
+ <url>https://github.com/apache/incubator-netbeans-mavenutils</url>
</scm>
<developers>
<developer>
@@ -95,7 +94,7 @@
<execution>
<phase>package</phase>
<goals>
- <goal>check</goal>
+ <goal>check</goal>
</goals>
<configuration>
<signature>
@@ -110,16 +109,14 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
- <version>3.6</version>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
- <plugin>
+ <!--<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.9</version>
<reportSets>
<reportSet>
<reports>
@@ -128,32 +125,26 @@
<report>project-team</report>
<report>scm</report>
<report>summary</report>
- <!-- <report>cim</report> -->
+
</reports>
</reportSet>
</reportSets>
- </plugin>
+ </plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
- <version>2.12.1</version>
<configuration>
- <!-- <onlyCurrentVersion>true</onlyCurrentVersion>-->
+ <skip>true</skip>
+ <!-- <onlyCurrentVersion>true</onlyCurrentVersion>-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.9.1</version>
- <configuration>
- <configLocation>config/maven_checks.xml</configLocation>
- <headerLocation>config/maven-header.txt</headerLocation>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>3.0.0-M1</version>
<configuration>
<quiet>true</quiet>
<links>
@@ -179,7 +170,6 @@
<tagletArtifact>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-javadoc</artifactId>
- <version>2.8</version>
</tagletArtifact>
<tagletArtifact>
<groupId>org.codehaus.plexus</groupId>
@@ -192,20 +182,17 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
- <version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>3.8</version>
<configuration>
- <targetJdk>1.5</targetJdk>
+ <targetJdk>1.6</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-linkcheck-plugin</artifactId>
- <version>1.2</version>
<configuration>
<excludedLinks>
<excludedLink>../../images/codehaus-small.png</excludedLink>