No Jira: Add log4j dependency for JavaDoc to avoid JavaDoc error failing build when building against recent JDKs; use Java source/target levels instead of hardcoding Java 7
<goal>javadoc</goal>
</goals>
<configuration>
- <source>7</source>
+ <source>${maven.compiler.source}</source>
+ <javadocVersion>${maven.compiler.target}</javadocVersion>
<groups>
<group>
<title>Packages</title>
<artifactId>jackson-core</artifactId>
<version>2.4.2</version>
</additionalDependency>
+ <additionalDependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.8</version>
+ </additionalDependency>
</additionalDependencies>
</configuration>
</execution>
<phase>verify</phase>
<!-- default configuration -->
<configuration>
- <excludes>
+ <excludes combine.children="append">
<exclude>release.properties</exclude> <!-- generated file -->
<exclude>README*</exclude>
<exclude>RELEASE_NOTES*</exclude>
