summaryrefslogtreecommitdiffstats
path: root/messagebus-disc
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2016-06-15 23:09:44 +0200
commit72231250ed81e10d66bfe70701e64fa5fe50f712 (patch)
tree2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /messagebus-disc
Publish
Diffstat (limited to 'messagebus-disc')
-rw-r--r--messagebus-disc/.gitignore2
-rw-r--r--messagebus-disc/OWNERS1
-rw-r--r--messagebus-disc/README2
-rw-r--r--messagebus-disc/pom.xml113
4 files changed, 118 insertions, 0 deletions
diff --git a/messagebus-disc/.gitignore b/messagebus-disc/.gitignore
new file mode 100644
index 00000000000..3cc25b51fc4
--- /dev/null
+++ b/messagebus-disc/.gitignore
@@ -0,0 +1,2 @@
+/pom.xml.build
+/target
diff --git a/messagebus-disc/OWNERS b/messagebus-disc/OWNERS
new file mode 100644
index 00000000000..0e39145d8c3
--- /dev/null
+++ b/messagebus-disc/OWNERS
@@ -0,0 +1 @@
+dybdahl
diff --git a/messagebus-disc/README b/messagebus-disc/README
new file mode 100644
index 00000000000..256990ecfb1
--- /dev/null
+++ b/messagebus-disc/README
@@ -0,0 +1,2 @@
+This module provides jDISC ClientProvider and ServerProvider implementations for
+Vespa Message Bus.
diff --git a/messagebus-disc/pom.xml b/messagebus-disc/pom.xml
new file mode 100644
index 00000000000..60393f48ebd
--- /dev/null
+++ b/messagebus-disc/pom.xml
@@ -0,0 +1,113 @@
+<?xml version="1.0"?>
+<!-- Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
+<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>com.yahoo.vespa</groupId>
+ <artifactId>parent</artifactId>
+ <version>6-SNAPSHOT</version>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
+ <artifactId>messagebus-disc</artifactId>
+ <version>6-SNAPSHOT</version>
+ <packaging>container-plugin</packaging>
+ <name>${project.artifactId}</name>
+ <dependencies>
+ <dependency>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>jdisc_messagebus_service</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <finalName>${project.artifactId}</finalName>
+ <excludePackageNames>com.yahoo.jdisc.core</excludePackageNames>
+ <additionalparam>-Xdoclint:${doclint} -Xdoclint:-missing</additionalparam>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ <configuration>
+ <finalName>${project.artifactId}</finalName>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <finalName>${project.artifactId}</finalName>
+ <appendAssemblyId>true</appendAssemblyId>
+ <descriptorRefs>
+ <descriptorRef>jar-with-dependencies</descriptorRef>
+ </descriptorRefs>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Export-Package>
+ com.yahoo.messagebus,
+ com.yahoo.messagebus.jdisc,
+ com.yahoo.messagebus.metrics,
+ com.yahoo.messagebus.network,
+ com.yahoo.messagebus.network.rpc,
+ com.yahoo.messagebus.routing,
+ com.yahoo.messagebus.shared,
+ com.yahoo.messagebus.test
+ </Export-Package>
+ <Import-Package>
+ com.google.inject;version="1.3",
+ com.yahoo.jdisc,
+ com.yahoo.jdisc.application,
+ com.yahoo.jdisc.handler,
+ com.yahoo.jdisc.service,
+ javax.xml.parsers,
+ org.w3c.dom,
+ org.xml.sax,
+ org.xml.sax.ext,
+ org.xml.sax.helpers
+ </Import-Package>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>