GitHub user agrz opened a pull request:
https://github.com/apache/karaf/pull/55
Cloudyle 3.0.x
I added the function to karaf maven plugin to allow replacing dependency
versions in feature.xml.
This is useful to add configuration files from maven artifacts. For each
dependency in the pom.xml a property is created automatically during plugin
execution. The properties are named artifactId.version (or
groupId.artifactId.version).
This allows a syntax in feature.xml like this:
<configfile finalname="etc/test.cfg"
override="false">mvn:test/dependency-module-c/${test.dependency-module-c.version}/cfg</configfile>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Cloudyle/karaf cloudyle-3.0.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/karaf/pull/55.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #55
----
commit 44ea84fd3cb1e8583ea374b1f218fbc56f00f468
Author: Alexander Grzesik <[email protected]>
Date: 2015-02-17T14:40:57Z
Added Dependency Version properties support
commit 1f59e045fe33caf06ab00bbe83187e35e630e64f
Author: Alexander Grzesik <[email protected]>
Date: 2015-02-17T14:42:07Z
Itest fix
commit b3b57088eb074c276a3c0f78e638d8bc6c18f778
Author: Alexander Grzesik <[email protected]>
Date: 2015-02-17T14:44:41Z
Reverted group id
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---