[
https://issues.apache.org/jira/browse/HADOOP-17965?focusedWorklogId=666295&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-666295
]
ASF GitHub Bot logged work on HADOOP-17965:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 18/Oct/21 13:31
Start Date: 18/Oct/21 13:31
Worklog Time Spent: 10m
Work Description: iwasakims opened a new pull request #3562:
URL: https://github.com/apache/hadoop/pull/3562
https://issues.apache.org/jira/browse/HADOOP-17965
`mvn site` by JDK 7 fails due to error related to spotbugs which does not
support Java 7.
```
$ ./start-build-env.sh
ubuntu@2a660195e110:~/hadoop$ mvn clean install -DskipTests
ubuntu@2a660195e110:~/hadoop$ mvn site
...(snip)
[INFO] Apache Hadoop YARN Site ............................ SUCCESS [ 2.138
s]
[INFO] Apache Hadoop YARN UI .............................. SUCCESS [ 0.044
s]
[INFO] Apache Hadoop YARN Project ......................... FAILURE [ 0.700
s]
...(snip)
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.5:site (default-site) on project
hadoop-yarn-project: Execution default-site of goal
org.apache.maven.plugins:maven-site-plugin:3.5:site failed: An API
incompatibility was encountered while executing
org.apache.maven.plugins:maven-site-plugin:3.5:site:
java.lang.UnsupportedClassVersionError:
org/codehaus/mojo/spotbugs/SpotbugsViolationCheckMojo : Unsupported major.minor
version 52.0
```
Since we are using JDK 7 in the Dockerfile, dev-support/bin/create-release
is affected too.
The cause is obsolete <reporting> entries of pom.xml for already resolved
[MSITE-443](https://issues.apache.org/jira/browse/MSITE-443).
We can safely remove the <reporting> entry. `mvn site` generates same
contents without the entry. spotbugsXml.xml are generated regardless of it (on
`mvn compile spotbugs:spotbugs` using JDK 8).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 666295)
Remaining Estimate: 0h
Time Spent: 10m
> Fix documentation build failure using JDK 7 on branch-2.10
> ----------------------------------------------------------
>
> Key: HADOOP-17965
> URL: https://issues.apache.org/jira/browse/HADOOP-17965
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Reporter: Masatake Iwasaki
> Assignee: Masatake Iwasaki
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{mvn site}} by JDK 7 fails due to error related to spotbugs which does not
> support Java 7.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]