summaryrefslogtreecommitdiffstats
path: root/message-router/publisher/features
diff options
context:
space:
mode:
Diffstat (limited to 'message-router/publisher/features')
-rwxr-xr-xmessage-router/publisher/features/pom.xml58
-rwxr-xr-xmessage-router/publisher/features/src/main/feature/feature.xml16
2 files changed, 74 insertions, 0 deletions
diff --git a/message-router/publisher/features/pom.xml b/message-router/publisher/features/pom.xml
new file mode 100755
index 000000000..33a19b8c1
--- /dev/null
+++ b/message-router/publisher/features/pom.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.onap.ccsdk.messagerouter</groupId>
+ <artifactId>publisher.aggregate</artifactId>
+ <version>0.4.1-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>publisher.features</artifactId>
+ <packaging>pom</packaging>
+
+ <build>
+ <resources>
+ <resource>
+ <directory>src/main/feature</directory>
+ <filtering>true</filtering>
+ <targetPath>${project.build.directory}/feature</targetPath>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>resources</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>target/feature/feature.xml</file>
+ <type>xml</type>
+ <classifier>features</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/message-router/publisher/features/src/main/feature/feature.xml b/message-router/publisher/features/src/main/feature/feature.xml
new file mode 100755
index 000000000..f5e9bb6ee
--- /dev/null
+++ b/message-router/publisher/features/src/main/feature/feature.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<features name="messagerouter-publisher-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
+
+ <feature name='messagerouter-publisher' description="exposes message router publisher service" version='${project.version}'>
+ <bundle>mvn:org.onap.ccsdk.messagerouter/publisher.api/${project.version}</bundle>
+ <bundle>mvn:org.onap.ccsdk.messagerouter/publisher.provider/${project.version}</bundle>
+ </feature>
+
+ <feature name='sample-client' description="initializes a dummy client" version='${project.version}'>
+ <bundle>mvn:org.onap.ccsdk.messagerouter/sample.client/${project.version}</bundle>
+ </feature>
+
+</features>