Git Product home page Git Product logo

gradle-m2metadata-plugin's Introduction

This is Maven2 metadata (embedder) plugin for Gradle. It retrieves project information from pom.xml during the Gradle build and configures Gradle (at runtime) accordingly.

See the project's wiki for full details.

Features:

  • Project (POM)
    • Add project version, groupId and status (SNAPSHOT/release)
    • Runtime parsing of Maven pom.xml files
  • Plugins, Goals
    • Applying plugins for packagings: jar, war
    • Add source packaging if source-plugin present
    • Executes maven-clean-plugin after Gradle's Java plugin clean task
  • Dependencies
    • Runtime configuration of Gradle dependencies via the <dependency> tags in the pom.xml
    • Dependencies in compile, provided and test scopes
    • Exclusions for dependencies
    • Turn on transitivity for compile scope
  • Repositories
    • Maven repositories (both from pom.xml and profiles in settings.xml)
  • Compile, Source
    • Java compiler source and target levels
    • Add source packaging if source-plugin present

Limitations (To Dos):

  • Does not map all Maven plugins to the Gradle cousins (only a small subset).
  • Requires slightly special configuration to apply to multi-modules Gradle projects.
  • Requires definition of repositories and dependencies for the plugin to function. These should possibly be defaulted by the apply plugin: 'maven-metadata' statement.

Recognized Contributors:

gradle-m2metadata-plugin's People

Contributors

matthewmccullough avatar jbaruch avatar

Stargazers

OSS Contributor avatar

Watchers

OSS Contributor 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.