<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>4.0.6-SNAPSHOT</version>
+ <version>6.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>ODL :: odlparent :: ${project.artifactId}</name>
<!-- This version property instead of just direct version in pluginManagement is the exception that confirms the rule
and is required so that downstream users of the archetype-packaging extension can use this (and get the same version
as the maven-archetype-plugin), because there is no "extensionManagement" in Maven -->
- <maven.archetype.plugin.version>3.0.1</maven.archetype.plugin.version>
+ <maven.archetype.plugin.version>3.1.1</maven.archetype.plugin.version>
<!-- This property allows deployments to be skipped in child modules -->
<maven.deploy.skip>false</maven.deploy.skip>
<!-- This property allows installations to be skipped in child modules -->
<maven.install.skip>false</maven.install.skip>
+ <!-- Opt-out from running maven-checkstyle-plugin at all. Defaults to false,
+ set to 'true' in pom.xml of project which desires to completely skip
+ execution. -->
+ <odlparent.checkstyle.skip>false</odlparent.checkstyle.skip>
+
+ <!-- Opt-out from running modernizer-maven-plugin at all. Defaults to false,
+ set to 'true' in pom.xml of project which desires to completely skip
+ execution. -->
+ <odlparent.modernizer.skip>false</odlparent.modernizer.skip>
+
+ <!-- Opt-out from running spotbugs-maven-plugin at all. Defaults to false,
+ set to 'true' in pom.xml of project which desires to completely skip
+ execution. -->
+ <odlparent.spotbugs.skip>false</odlparent.spotbugs.skip>
+
<!-- Used in neutron, ovsdb -->
- <jacoco.version>0.8.2</jacoco.version>
+ <jacoco.version>0.8.4</jacoco.version>
</properties>
<build>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.1</version>
+ <!-- Needed for https://issues.apache.org/jira/browse/MDEP-613, remove with 3.1.2 upgrade -->
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.shared</groupId>
+ <artifactId>maven-dependency-analyzer</artifactId>
+ <version>1.11.1</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-help-plugin</artifactId>
- <version>3.1.1</version>
+ <version>3.2.0</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>3.0.1</version>
+ <version>3.1.1</version>
<configuration combine.children="append">
<!-- Keep things quiet except for warnings/errors -->
<quiet>true</quiet>
</tag>
<!-- end HelpMojo support -->
</tags>
- <detectLinks>false</detectLinks> <!-- TODO: It should work once https://issues.apache.org/jira/browse/MJAVADOC-427 is solved -->
- <detectOfflineLinks>true</detectOfflineLinks>
</configuration>
<executions>
<execution>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-diagram</artifactId>
- <version>1.5.11</version>
+ <version>1.5.16</version>
</dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>3.0.0</version>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>versions-maven-plugin</artifactId>
+ <version>2.7</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>
<configuration>
<rules>
<requireJavaVersion>
- <version>1.8.0</version>
+ <version>11</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.5.0,)</version>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
- <version>2.2.5</version>
+ <version>3.0.1</version>
<executions>
<execution>
<id>get-git-infos</id>
<always>true</always>
<tags>true</tags>
</gitDescribe>
+ <!-- trust the working directory -->
+ <offline>true</offline>
</configuration>
</plugin>
</plugins>
<jacoco.skip>true</jacoco.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.source.skip>true</maven.source.skip>
- <checkstyle.skip>true</checkstyle.skip>
- <findbugs.skip>true</findbugs.skip>
- <spotbugs.skip>true</spotbugs.skip>
+ <odlparent.checkstyle.skip>true</odlparent.checkstyle.skip>
+ <odlparent.modernizer.skip>true</odlparent.modernizer.skip>
+ <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
<pmd.skip>true</pmd.skip>
<cpd.skip>true</cpd.skip>
<maven.site.skip>true</maven.site.skip>
<duplicate-finder.skip>true</duplicate-finder.skip>
<mdsal.skip.verbose>true</mdsal.skip.verbose> <!-- Bug 6236 -->
<maven.gitcommitid.skip>true</maven.gitcommitid.skip>
- <modernizer.skip>true</modernizer.skip>
</properties>
</profile>
<profile>
<profile>
<!-- Javadocs with links -->
<id>javadoc-links</id>
+ <activation>
+ <file>
+ <exists>odl-javadoc-links-optin</exists>
+ </file>
+ </activation>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration combine.children="append">
<links>
- <link>http://www.atetric.com/atetric/javadoc/junit/junit/4.11/</link>
- <link>http://hamcrest.org/JavaHamcrest/javadoc/1.3/</link>
- <link>http://google.github.io/truth/api/0.42/</link>
+ <link>https://junit.org/junit4/javadoc/4.11/</link>
+ <link>http://hamcrest.org/JavaHamcrest/javadoc/2.1/</link>
+ <link>http://google.github.io/truth/api/0.43/</link>
<link>https://www.slf4j.org/apidocs/</link>
<link>https://xerces.apache.org/xerces2-j/javadocs/api/</link>
- <link>https://google.github.io/guava/releases/25.1-jre/api/docs/</link>
- <link>http://doc.akka.io/japi/akka/2.5.19/</link>
+ <link>https://google.github.io/guava/releases/27.1-jre/api/docs/</link>
+ <link>http://doc.akka.io/japi/akka/2.5.25/</link>
<link>http://netty.io/4.1/api/</link>
<link>https://commons.apache.org/proper/commons-lang/javadocs/api-2.6/</link>
- <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.8.1/</link>
+ <link>https://commons.apache.org/proper/commons-lang/javadocs/api-3.9/</link>
<link>https://commons.apache.org/proper/commons-codec/apidocs/</link>
</links>
</configuration>
</profile>
<profile>
- <!-- On JDK9-and-later specify html4 javadoc -->
+ <!-- On JDK9-and-later specify html4 javadoc, if requested-->
<id>jdk9-javadoc</id>
<activation>
<jdk>[9,)</jdk>
+ <file>
+ <exists>odl-javadoc-html5-optout</exists>
+ </file>
</activation>
<build>
<plugins>