You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jf...@apache.org on 2019/10/20 13:52:42 UTC
[plc4x] 07/25: [OSGi] Added version replacement to feature.xml.
This is an automated email from the ASF dual-hosted git repository.
jfeinauer pushed a commit to branch feature/resolve-split-package-osgi
in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit 23165c0a1d45b7a2f4e0b0d9c840cfc63a3e8968
Author: Julian Feinauer <j....@pragmaticminds.de>
AuthorDate: Sun Oct 13 14:03:15 2019 +0200
[OSGi] Added version replacement to feature.xml.
---
plc4j/karaf-features/pom.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/plc4j/karaf-features/pom.xml b/plc4j/karaf-features/pom.xml
index 14d7f56..76ab877 100644
--- a/plc4j/karaf-features/pom.xml
+++ b/plc4j/karaf-features/pom.xml
@@ -36,6 +36,14 @@
</modules>
<build>
+ <resources>
+ <resource>
+ <directory>src/main/feature</directory>
+ <filtering>true</filtering>
+ <targetPath>${project.build.directory}/feature</targetPath>
+ </resource>
+ </resources>
+
<pluginManagement>
<plugins>
<plugin>
@@ -53,6 +61,18 @@
<artifactId>karaf-maven-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>resources</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
<!-- No checking needed here -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>