GithubHelp home page GithubHelp logo

1and1 / bill-of-materials-maven-plugin Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 834 KB

Plugin to create and read a bill of materials, i.e. the SHA1 sum of all artifacts and their names.

Home Page: http://1and1.github.com/bill-of-materials-maven-plugin

License: Other

Shell 0.29% Python 6.42% Groovy 2.72% Java 90.57%

bill-of-materials-maven-plugin's People

Contributors

mfriedenhagen-ui avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bill-of-materials-maven-plugin's Issues

Update to modern components

The current version uses foss-parent-1.5.2 which holds old Maven components, this results to duplicate downloads and uploads of maven-manifest.xml files. Using foss-parent-1.6.0 this should be fixed.

Make path to BOM absolute

Make path to BOM absolute to allow reusing one file during the invocation of multiple projects. The default position is still at ${session.executionRootDirectory}/target/tickets/bill-of-materials.txt

Plugin is not @threadSafe

[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project      *
[WARNING] * contains the following plugin(s) that have goals not marked   *
[WARNING] * as @threadSafe to support parallel building.                  *
[WARNING] * While this /may/ work fine, please look for plugin updates    *
[WARNING] * and/or request plugins be made thread-safe.                   *
[WARNING] * If reporting an issue, report it against the plugin in        *
[WARNING] * question, not against maven-core                              *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked @threadSafe in Identity Test-RP:
[WARNING] net.oneandone.maven.plugins:bill-of-materials-maven-plugin:3.1
[WARNING] Enable debug to see more precisely which goals are not marked @threadSafe.
[WARNING] *****************************************************************

Multiple entries per artifact in bill-of-materials.txt

Right now the plugin just appends new data to the existing file. When install is invoked repeatedly (e.g. during site creation), new artifacts will be installed the SHA1 of which will always be different as at least the Build-Time entry in MANIFEST.MF or the generation comment in pom.properties are always different.

Shorten names of goals - strip -bill-of-materials

Right now the plugin has two redundantly named goals reads funnily when invoked on the commandline:

  • `bill-of-materials:create-bill-of-materials``
  • bill-of-materials:read-bill-of-materials

Strip these to bill-of-materials:create and bill-of-materials:read respectively. As this will break backwards compatibility, bump the major number.

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.