Giter VIP home page Giter VIP logo

jaxpom's Introduction

jaxpom

When migrating to the releases 9+ of Java, the java.xml.bind module was removed from the JDK.

In order to continue using this API, you need to explicitly declare a dependency to the JAXB jars.

This tools tries to automatically append the JAXB dependencies to the pom.xml of the projects using it.

The dependency of a project to JAXB is inferred from its usage of JAXBContext in a java class.

How it works

  1. Find all the Java classes referencing JAXBContext
  2. Crawl up the path of each found Java class to find its related project pom.xml
  3. Edit the resulting pom.xml list to append the missing JAXB <dependency> tags to the project's <dependencies>

Usage

# At the root of your project
$ git clone https://github.com/aallrd/jaxpom.git
$ ln -s jaxpom/jaxpom.sh jaxpom.sh
$ ./jaxpom.sh

jaxpom's People

Contributors

aallrd avatar

Watchers

 avatar  avatar

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.