Git Product home page Git Product logo

freelib-build-tools's People

Contributors

dependabot[bot] avatar hardyoyo avatar ksclarke avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

hardyoyo

freelib-build-tools's Issues

Update dependency on Sonatype's oss-parent

org.sonatype.oss:oss-parent:9 is deprecated:

In the past all the plugin configuration and other setup was managed by a Maven parent POM with the latest coordinates of org.sonatype.oss:oss-parent:9. This project leaked SCM, URL and other details and its usage is discouraged. Maintenance of the project has stopped and it no longer works with latest tooling such as Maven versions or Java versions. If desired, please manage your own organization-level POM in a similar manner.

See https://central.sonatype.org/pages/apache-maven.html for details.

Add default profile

The Actions spit out a warning if a default profile isn't defined. Add an empty default profile to get rid of the warning message.

Don't hard-code SuppressionFilter path in checkstyle.xml

When the checkstyle.xml is copied to the local file system of a project using freelib-parent, it has a hard-coded path. This file gets checked into Git because Codacy needs it to run checks on the child project. There should be a way to use a relative path here instead of having to check in a hard-coded path that's specific to the dev's machine (which Codacy must currently be ignoring?)

Add JDK 16 to the parent project JDK profiles

We sniff JDK version to know which version Maven should use, but we only check for up to 15 currently. A JDK 16 will not be recognized. Update the parent pom to look for JDK 16 too.

Update Checkstyle rules

  • Update so checkstyle is run on the freelib-resources files
  • Update so violations are only logged once to the console
  • Update so target directory's contents are ignored by Checkstyle
  • Update Checkstyle version

Remove custom branches from Action configs

After some experimentation, I think it's going to be best to just override the default for projects that are more complicated (e.g. have more than one branch from which releases are made). This rolls back the earlier customizations trying to support this.

Explicitly disable filtering for github actions copy

The Maven Resources Plugin ignores the 'overwrite' config when filtering is turned on. This project has filtering off for the GitHub Actions copy, but when a child project turns on filtering for resources, in general, the overwrite value for the actions copy config gets ignored. Explicitly setting filtering to 'off' for the Actions copy should fix that.

Replace the maven-exec-plugin's chmod-travis-scripts with set-file-perms

The freelib-maven-plugins project includes a Maven plugin that will set file (and dir) permissions. Right now this project uses maven-exec-plugin to do that (which depends on a Bash environment). Switch to the freelib-maven-plugins' set-file-perms plugin, which will work on systems that don't have Bash too.

It might be good to expand set-file-perms to set the perms on a directory's contents too so one could specify a directory without having to specify all its contents.

Don't require codacy to be able to use

The codacy plugin is configured in a profile. Can we make that run from a profile that only runs if the CODACY_API_TOKEN and CODACY_PROJECT_TOKEN ENV vars are found?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.