Coder Social home page Coder Social logo

maven-plugins's People

Contributors

dependabot[bot] avatar fameing avatar jenkins-playtika avatar vladislav-sidorovich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

Forkers

monflabs-forks

maven-plugins's Issues

pluginManagement to override version for existing plugin imported but not applied

If you want to apply a pluginManagement configuration for a plugin that is already applied, for example maven-compiler-plugin, the section is imported but it is not applied.

For example, if you put this configuration if your mixin:

  <build>
      <pluginManagement>
          <plugins>
              <plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-compiler-plugin</artifactId>
                  <version>3.11.0</version>
              </plugin>
          </plugins>
      </pluginManagement>
  </build>

And you import it via the mixin-maven-plugin, the pluginManagement section is correctly imported, but the version of the applied maven-compiler-plugin is still 3.1, as you can see from the build of the user project and in the effective pom.

Attached you can see two project:

  • mixin-bug: the mixin that will be imported
  • mixin-user-bug: the project that uses the mixin.

Build mixin-bug first, then mixin-user-bug and see the fact that maven-compiler 3.1 (not 3.11.0) is used. Generate the effective pom to have a confirmation of it.
mixin-bug-demo.zip

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.