Skip to content

[AMBARI-24865] Build error at Findbugs with Maven 3.6.#2581

Merged
adoroszlai merged 1 commit intoapache:trunkfrom
adoroszlai:AMBARI-24865_trunk
Nov 7, 2018
Merged

[AMBARI-24865] Build error at Findbugs with Maven 3.6.#2581
adoroszlai merged 1 commit intoapache:trunkfrom
adoroszlai:AMBARI-24865_trunk

Conversation

@adoroszlai
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Fix build error observable with recently released Maven 3.6:

$ mvn -am -pl ambari-server clean verify
...
[INFO] Ambari Server 3.0.0.0-SNAPSHOT ..................... FAILURE [01:16 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
...
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs (findbugs) on project ambari-server: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:3.0.3:findbugs for parameter pluginArtifacts: Cannot assign configuration entry 'pluginArtifacts' with value '${plugin.artifacts}' of type java.util.Collections.UnmodifiableRandomAccessList to property of type java.util.ArrayList -> [Help 1]

The bug was fixed in findbugs-maven-plugin 3.0.4.

Upgrade findbugs-maven-plugin to latest release (3.0.5).

How was this patch tested?

Build with Maven 3.6:

$ mvn -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00)
...
$ mvn -am -pl ambari-server clean verify
...
[INFO] Ambari Server 3.0.0.0-SNAPSHOT ..................... SUCCESS [02:32 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS

Build with Maven 3.5:

$ mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T20:33:14+02:00)
...
$ mvn -am -pl ambari-server clean verify
...
[INFO] Ambari Server 3.0.0.0-SNAPSHOT ..................... SUCCESS [02:47 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS

Change-Id: Ifa6c384e1b6b146e3d0381f5c33425047d84be68
@adoroszlai adoroszlai self-assigned this Nov 7, 2018
@asfgit
Copy link
Copy Markdown

asfgit commented Nov 7, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4468/
Test PASSed.

@adoroszlai adoroszlai merged commit 6972507 into apache:trunk Nov 7, 2018
@adoroszlai adoroszlai deleted the AMBARI-24865_trunk branch November 7, 2018 12:20
vishalsuvagia pushed a commit to vishalsuvagia/ambari that referenced this pull request Nov 13, 2018
* upstream/trunk: (129 commits)
  AMBARI-24879. kAdmin principal name is set on the GUI when enabling Kerberos with MIT KDC using a new variable replacement function (apache#2593)
  AMBARI-24866. Make sure we use stack advisor to apply relevant service recommendation upon LDAP configuration addition/change (apache#2592)
  [AMBARI-24870] Allow blueprint install without HISTORYMANAGER, APP_TIMELINE_SERVER (benyoka) (apache#2590)
  [AMBARI-24873] Rolling Upgrade Orchestration Changes For Client Performance (apache#2591)
  [AMBARI-24869] Request configurations when needed during server-side actions rather than rely on configuration data from the execution command
  AMBARI-24864 Delete host confirm popup does not contain all master components
  AMBARI-24868 JS error when changing service auto-start toggle
  AMBARI-24862. Pre-Upgrade Checklist Changes (Code review changes. Part 5
  [AMBARI-24836] Service Auto start is enabled after page refresh
  AMBARI-24862. Pre-Upgrade Checklist Changes (Code review changes. Part 4
  AMBARI-24865. Build error at Findbugs with Maven 3.6. (apache#2581)
  AMBARI-24862. Pre-Upgrade Checklist Changes (Code review changes. Part 3
  AMBARI-24862. Pre-Upgrade Checklist Changes (Code review changes. Part 2
  AMBARI-24862. Pre-Upgrade Checklist Changes (Code review changes. Host heartbeat bugfix)
  AMBARI-24839. Ambari is trying to create hbase.rootdir using s3 url (aonishuk)
  AMBARI-24861. New wrapper class on Python side for LDAP-related data for use in service advisors (apache#2579)
  [AMBARI-24859] Admin View: Apache Ambari logo and favicon does not show when using Knox Gateway (apache#2577)
  AMBARI-24830. Add datatype option to the SwaggerUi client being used for api-docs. (jaimin) (apache#2576)
  AMBARI-24862. Pre-Upgrade Checklist Changes (Code review fixes)
  AMBARI-24862. Pre-Upgrade Checklist Changes (service autostrt fix)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants