Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Prevent overriding dependencies on a module basis. HOT 1
- Add supplemental property override HOT 1
- Adding the extension to the POM does not work in Maven 3.1 HOT 10
- Maven Dependency manager throwing an exception (Plugin exception)
- Avoid need for colon in property names HOT 1
- Manage dependencies of plugins
- Exception Propagation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maven-dependency-management-extension.