Giter Club home page Giter Club logo

Comments (7)

jdcasey avatar jdcasey commented on August 27, 2024

the result in the effective POM would look like:

<properties>
  <version.org.foo-bar>1.2</version.org.foo-bar>
</properties>

from maven-dependency-management-extension.

rnc avatar rnc commented on August 27, 2024

How do we handle the scenario where are project is using

org.foo-bar.version

and VMan was used to map the original property to the new on e (https://github.com/jdcasey/pom-version-manipulator#property-modification)

from maven-dependency-management-extension.

pgier avatar pgier commented on August 27, 2024

I think you could continue to use v-man to map the property name from one string to another. Also, you can try to push property name changes to the upstream projects, so that they better conform to whatever standard we set.

from maven-dependency-management-extension.

rnc avatar rnc commented on August 27, 2024

I agree we could try and push name changes but I'm sure there will always be a project that doesn't conform or a third party we can't change. Actually vman changes the value of the old property and injects the new mapped value ... so I am not sure we could continue to use vman to do it because we need the value of the new property from the dependency extension.

from maven-dependency-management-extension.

pgier avatar pgier commented on August 27, 2024

What if we had a new feature where you specify a remote pom on the command line, similar to how dependency or plugin management is specified. The extension reads that remote pom and looks at all the propoerties, and then adds or overrides those properties in the current build?

from maven-dependency-management-extension.

jdcasey avatar jdcasey commented on August 27, 2024

What's the advantage of that over simply reflecting the injected dependencies via properties? I suppose one side effect would be that you could have any sort of property in the referenced POM and get it injected...which may not be a great thing (maven.test.skip, for instance).

from maven-dependency-management-extension.

pgier avatar pgier commented on August 27, 2024

I've added the property injection. It defaults to the property format "version:[groupId]:[artifactId]=[version]", but you can customize the prefix, suffix, and GA separator. I put some information in the readme in the section "Using Dependency Properties".

from maven-dependency-management-extension.

Related Issues (8)

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.