Update to new parent pom to simplify configuration
diff --git a/pom.xml b/pom.xml
index b8b7d1d..de49198 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,8 +4,8 @@
<parent>
<groupId>com.fasterxml.jackson</groupId>
- <artifactId>jackson-bom</artifactId>
- <version>2.9.1</version>
+ <artifactId>jackson-base</artifactId>
+ <version>2.9.2-SNAPSHOT</version>
</parent>
<groupId>com.fasterxml.jackson.core</groupId>
@@ -68,11 +68,6 @@
-->
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>1.6.5</version>
@@ -95,6 +90,18 @@
<build>
<plugins>
+ <!-- Important: enable enforcer plug-in: -->
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions> <!-- or? combine.children="merge"> -->
+ <execution>
+ <id>enforce-properties</id>
+ <phase>validate</phase>
+ <goals><goal>enforce</goal></goals>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<version>${version.plugin.surefire}</version>
@@ -109,35 +116,22 @@
</configuration>
</plugin>
+ <!-- parent definitions should be ok, but need to add more links -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${version.plugin.javadoc}</version>
<configuration>
-<!-- Only works on Java 8:
- <additionalparam>-Xdoclint:none</additionalparam>
--->
-<!-- so with Java 7, use this: -->
- <failOnError>false</failOnError>
- <links>
- <link>http://docs.oracle.com/javase/7/docs/api/</link>
+ <links combine.children="append">
<link>http://fasterxml.github.com/jackson-annotations/javadoc/2.9</link>
<link>http://fasterxml.github.com/jackson-core/javadoc/2.9</link>
</links>
</configuration>
</plugin>
- <!-- May want to configure debug info -->
+ <!-- settings are fine, but needed to trigger execution! -->
<plugin>
- <!-- Inherited from oss-base. Generate PackageVersion.java.-->
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
- <executions>
- <execution>
- <id>process-packageVersion</id>
- <phase>process-sources</phase>
- </execution>
- </executions>
</plugin>
<!-- 18-Oct-2016, tatu: Try to make coveralls work -->
@@ -146,26 +140,6 @@
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
</plugin>
-
- <!-- 08-Aug-2017, tatu: Need newer version of cobertura... -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>cobertura-maven-plugin</artifactId>
- <version>2.7</version>
- </plugin>
-
- <!-- 06-Sep-2017, tatu: Try to generate "automatic module name" -->
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <configuration>
- <!-- note: usually would use `packageVersion.package`, but need slight variation here -->
- <instructions combine.children="merge">
- <Automatic-Module-Name>${jdk.module.name}</Automatic-Module-Name>
- </instructions>
- </configuration>
- </plugin>
-
</plugins>
</build>