<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.7.0-SNAPSHOT</version>
+ <version>1.8.4-SNAPSHOT</version>
<packaging>pom</packaging>
<name>ODL :: odlparent :: ${project.artifactId}</name>
+ <!-- Sufficient Metadata for Maven Central Repository deployment
+ These are default, some of which project inheriting from this POM may override (but don't have to, typically)
+ see http://central.sonatype.org/pages/requirements.html
+ -->
+ <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
+ <description>OpenDaylight is leading the transformation to Open Software Defined Networking (SDN). For more information, please see https://www.opendaylight.org</description>
+
<licenses>
<license>
<name>Eclipse Public License v1.0</name>
<url>https://jenkins.opendaylight.org/releng/</url>
</ciManagement>
+ <scm>
+ <url>https://git.opendaylight.org/gerrit/</url>
+ </scm>
+
+ <developers>
+ <developer>
+ <id>*</id>
+ <name>Please consult the PROJECT_INFO.yaml, README* and/or CONTRIBUTORS which should be included with this JAR</name>
+ <url>https://www.opendaylight.org</url>
+ <email>helpdesk@opendaylight.org</email>
+ </developer>
+ </developers>
+
<prerequisites>
<!-- This is only used to prevent building with Maven < 3 and to appease
maven-dependency-plugin; our real Maven requirement is enforced by
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+
+ <!-- This property is used in the pluginManagement and the q profile as well as -D set e.g. in releng/builder by c/53426
+ to emulate a future "maven.gitcommitid.skip", which only a future not-yet-available-on-Maven-central maven-git-commit-id-plugin release has.
+ (If we ever upgrade the version of the maven-git-commit-id-plugin we use, then this and re. pluginManagement config could be removed; BUT then
+ the q profile and all -D in releng/builder etc. else would have to be changed from this "gitid.skip" to "maven.gitcommitid.skip.)
+ -->
+ <gitid.skip>false</gitid.skip>
</properties>
<build>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
+ <plugin>
+ <artifactId>maven-help-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.3</version>
+ <version>2.10.4</version>
<configuration>
<!-- Keep things quiet except for warnings/errors -->
<quiet>true</quiet>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
- <version>3.5.1</version>
+ <version>3.6</version>
<configuration>
<asciidoc>
<attributes>
<artifactId>asciidoctorj-diagram</artifactId>
<version>1.3.1</version>
</dependency>
+
+ <!-- Needed for JDK-9 compatibility -->
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>2.6</version>
+ </dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.5.0</version>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>pl.project13.maven</groupId>
+ <artifactId>git-commit-id-plugin</artifactId>
+ <versionRange>[1,)</versionRange>
+ <goals>
+ <goal>revision</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<ignore></ignore>
</action>
</pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <versionRange>[1.0.0,)</versionRange>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore/>
+ </action>
+ </pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
+
+ <plugins>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.4.1</version>
+ <executions>
+ <execution>
+ <id>enforce-maven</id>
+ <configuration>
+ <rules>
+ <requireJavaVersion>
+ <version>1.8.0</version>
+ </requireJavaVersion>
+ <requireMavenVersion>
+ <version>[3.3.9,)</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>pl.project13.maven</groupId>
+ <artifactId>git-commit-id-plugin</artifactId>
+ <version>2.2.1</version>
+ <executions>
+ <execution>
+ <id>get-git-infos</id>
+ <goals>
+ <goal>revision</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <skip>${gitid.skip}</skip>
+ <failOnNoGitDirectory>false</failOnNoGitDirectory>
+ <generateGitPropertiesFile>true</generateGitPropertiesFile>
+ <generateGitPropertiesFilename>${project.build.outputDirectory}/META-INF/git.properties</generateGitPropertiesFilename>
+ <gitDescribe>
+ <skip>false</skip>
+ <always>true</always>
+ <tags>true</tags>
+ </gitDescribe>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
<profiles>
+ <profile>
+ <id>ide</id>
+ <activation>
+ <property>
+ <name>m2e.version</name>
+ </property>
+ </activation>
+ <build>
+ <!-- Put the IDE's build output in a folder other than target, so that IDE builds don't interact with Maven builds -->
+ <directory>target-ide</directory>
+ </build>
+ </profile>
<profile>
<!-- http://blog2.vorburger.ch/2016/06/improve-maven-build-speed-with-q.html
q = http://memory-alpha.wikia.com/wiki/Q ;)
<id>q</id>
<properties>
<skipTests>true</skipTests>
+ <!-- But NOT <maven.test.skip>true, as that's for compiling, not running, tests;
+ and that's usually quick. Skipping test compilation with -Pq with maven.test.skip would be
+ particularly confusing when used in a project with maven-jar-plugin <goal>test-jar, so don't.) -->
<skipIT>true</skipIT>
<skipITs>true</skipITs>
- <maven.test.skip>true</maven.test.skip>
<skip.karaf.featureTest>true</skip.karaf.featureTest>
+ <skip.karaf4.featureTest>true</skip.karaf4.featureTest>
<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>
+ <pmd.skip>true</pmd.skip>
+ <cpd.skip>true</cpd.skip>
<maven.site.skip>true</maven.site.skip>
<invoker.skip>true</invoker.skip>
<enforcer.skip>true</enforcer.skip>
+ <mdsal.skip.verbose>true</mdsal.skip.verbose> <!-- Bug 6236 -->
+ <gitid.skip>true</gitid.skip>
</properties>
</profile>
<profile>
</profile>
</profiles>
-
- <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
-
<distributionManagement>
<repository>
<id>opendaylight-release</id>