ndimiduk commented on pull request #4220:
URL: https://github.com/apache/hbase/pull/4220#issuecomment-1067063757
> @busbey do you have any idea why this might be? Is there something missing
from the hadoop.three profile in one of the submodules that is required for
invoking tests on this module? The failing build is prefixed with this warning.
>
> ```
> cd
/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-4220/yetus-jdk11-hadoop3-check/src
> /opt/maven/bin/mvn --batch-mode
-Dmaven.repo.local=/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-4220/yetus-m2/hbase-branch-2-patch-1
-fae clean install -DskipTests=true -Dmaven.javadoc.skip=true
-Dcheckstyle.skip=true -Dfindbugs.skip=true -Dspotbugs.skip=true
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
model for org.apache.hbase:hbase-build-configuration:pom:2.6.0-SNAPSHOT
> [WARNING]
'profiles.profile[hadoop-3.0].dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.apache.hadoop:hadoop-mapreduce-client-app:test-jar ->
duplicate declaration of version ${hadoop-three.version} @
org.apache.hbase:hbase:2.6.0-SNAPSHOT,
/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-4220/yetus-jdk11-hadoop3-check/src/pom.xml,
line 3527, column 22
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
model for org.apache.hbase:hbase:pom:2.6.0-SNAPSHOT
> [WARNING]
'profiles.profile[hadoop-3.0].dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.apache.hadoop:hadoop-mapreduce-client-app:test-jar ->
duplicate declaration of version ${hadoop-three.version} @ line 3527, column 22
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
> [WARNING]
> ```
Oh. That `mvn` invocation is missing the `-Dhadoop.profile=3.0` that is
required for building under JDK11.
--
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]