diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-06-15 23:09:44 +0200 |
commit | 72231250ed81e10d66bfe70701e64fa5fe50f712 (patch) | |
tree | 2728bba1131a6f6e5bdf95afec7d7ff9358dac50 /messagebus-disc/pom.xml |
Publish
Diffstat (limited to 'messagebus-disc/pom.xml')
-rw-r--r-- | messagebus-disc/pom.xml | 113 |
1 files changed, 113 insertions, 0 deletions
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> |