Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update parent POM to 30 and remove contrib dir #3550

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

ctubbsii
Copy link
Member

Remove contrib/ directory:

  • Force use of JDK 17 for building aggregate javadocs for website, to avoid needing to patch buggy JDK 11 javadocs before publishing
  • Relocate contrib/ci scripts to more Maven-like location, src/build/ci
  • Remove redundant copy of contrib/accumulo-logo.png; use identical copy from monitor module for the README.md
  • Remove unmaintained contrib/scripts/check-tservers.py (has not received any substantive updates since initial publication, and does not work with current versions of Python, and is not documented (if updated, this can be restored to a blog on the website, or added elsewhere as a maintenance tool, but there are probably better ways of checking a cluster's health using non-python command-line utilities)
  • Relocate license template and formatter config file to src/build, and fix license-header.txt references using build-helper's rootlocation rather than session.executionRootDirectory

Bump ASF parent POM to version 30 and related POM improvements:

  • Remove useless comment about <url>, regarding plugin not built in this repo
  • Ensure maven.site.skip is true, since we don't use that to build our website, and don't want that plugin running at all, and remove the outdated and unused src/site/site.xml site descriptor
  • Stop overriding plugin versions that are the same as in the parent POM (or in the case of maven-site-plugin, doesn't matter because we don't use that plugin)
  • Remove extraneous maven-clean-plugin configuration that isn't needed since those files don't appear in our source tree and are cleaned up already from the target directory
  • Bump minimum Maven version to build, because apilyzer requires 3.6
  • Adopt version property naming convention ASF parent POM

Other fixes:

  • Bump some build plugins
  • Bump errorprone and fix newly detected illogical check if int is greater than Integer.MAX_VALUE
  • Bump some dependency versions

Remove `contrib/` directory:

* Force use of JDK 17 for building aggregate javadocs for website, to
  avoid needing to patch buggy JDK 11 javadocs before publishing
* Relocate contrib/ci scripts to more Maven-like location, src/build/ci
* Remove redundant copy of contrib/accumulo-logo.png; use identical copy
  from monitor module for the README.md
* Remove unmaintained contrib/scripts/check-tservers.py (has not
  received any substantive updates since initial publication, and does
  not work with current versions of Python, and is not documented
  (if updated, this can be restored to a blog on the website, or added
  elsewhere as a maintenance tool, but there are probably better ways of
  checking a cluster's health using non-python command-line utilities)
* Relocate license template and formatter config file to src/build, and
  fix license-header.txt references using build-helper's rootlocation
  rather than session.executionRootDirectory

Bump ASF parent POM to version 30 and related POM improvements:

* Remove useless comment about `<url>`, regarding plugin not built in
  this repo
* Ensure `maven.site.skip` is true, since we don't use that to build our
  website, and don't want that plugin running at all, and remove the
  outdated and unused src/site/site.xml site descriptor
* Stop overriding plugin versions that are the same as in the parent POM
  (or in the case of maven-site-plugin, doesn't matter because we don't
  use that plugin)
* Remove extraneous maven-clean-plugin configuration that isn't needed
  since those files don't appear in our source tree and are cleaned up
  already from the target directory
* Bump minimum Maven version to build, because apilyzer requires 3.6
* Adopt version property naming convention ASF parent POM

Other fixes:

* Bump some build plugins
* Bump errorprone and fix newly detected illogical check if int is
  greater than `Integer.MAX_VALUE`
* Bump some dependency versions
@ctubbsii ctubbsii self-assigned this Jun 28, 2023
@ctubbsii
Copy link
Member Author

Full ITs passed.

@ctubbsii ctubbsii merged commit 314eeb7 into apache:main Jun 28, 2023
@ctubbsii ctubbsii deleted the parent-30 branch June 28, 2023 19:21
asfgit pushed a commit that referenced this pull request Aug 14, 2023
Remove `contrib/` directory:

* Force use of JDK 17 for building aggregate javadocs for website, to
  avoid needing to patch buggy JDK 11 javadocs before publishing
* Relocate contrib/ci scripts to more Maven-like location, src/build/ci
* Remove redundant copy of contrib/accumulo-logo.png; use identical copy
  from monitor module for the README.md
* Remove unmaintained contrib/scripts/check-tservers.py (has not
  received any substantive updates since initial publication, and does
  not work with current versions of Python, and is not documented
  (if updated, this can be restored to a blog on the website, or added
  elsewhere as a maintenance tool, but there are probably better ways of
  checking a cluster's health using non-python command-line utilities)
* Relocate license template and formatter config file to src/build, and
  fix license-header.txt references using build-helper's rootlocation
  rather than session.executionRootDirectory

Bump ASF parent POM to version 30 and related POM improvements:

* Remove useless comment about `<url>`, regarding plugin not built in
  this repo
* Ensure `maven.site.skip` is true, since we don't use that to build our
  website, and don't want that plugin running at all, and remove the
  outdated and unused src/site/site.xml site descriptor
* Stop overriding plugin versions that are the same as in the parent POM
  (or in the case of maven-site-plugin, doesn't matter because we don't
  use that plugin)
* Remove extraneous maven-clean-plugin configuration that isn't needed
  since those files don't appear in our source tree and are cleaned up
  already from the target directory
* Bump minimum Maven version to build, because apilyzer requires 3.6
* Adopt version property naming convention ASF parent POM

Other fixes:

* Bump some build plugins
* Bump errorprone and fix newly detected illogical check if int is
  greater than `Integer.MAX_VALUE`
* Bump some dependency versions
@ctubbsii
Copy link
Member Author

Applied to 2.1.2 as 9e8b59c in prep for 2.1.2-rc1, as this includes a lot of build quality fixes and a few CVE fixes in our dependencies.

@dlmarion
Copy link
Contributor

Looks like this finds an issue in one of the tests, so the errorprone profile fails to build successfully.

test/src/main/java/org/apache/accumulo/test/mapreduce/AccumuloInputFormatIT.java:[193,9] [UseCorrectAssertInTests] Java assert is used in testing code. For testing purposes, prefer using Truth-based assertions.

@ctubbsii
Copy link
Member Author

Looks like this finds an issue in one of the tests, so the errorprone profile fails to build successfully.

Yep, already fixed in #3691, a few hours before this comment.

@ctubbsii ctubbsii added this to the 2.1.2 milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants