diff options
author | Harald Musum <musum@verizonmedia.com> | 2019-10-24 21:01:15 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2019-10-24 21:01:15 +0200 |
commit | 01aa1aecf556d2099913991a7345325f730c725b (patch) | |
tree | 0aead4d166dd4f1641b9a096b1cd3c2469212c4d /zookeeper-server/zookeeper-server-common/pom.xml | |
parent | bb7cef0fb468b84be7e80395ccfccd5522ef5e78 (diff) |
Create seperate bundles compiled against different ZooKeeper versions
Also a common bundle containing just the interface.
Use 3.4 bundle by default
Diffstat (limited to 'zookeeper-server/zookeeper-server-common/pom.xml')
-rw-r--r-- | zookeeper-server/zookeeper-server-common/pom.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/zookeeper-server/zookeeper-server-common/pom.xml b/zookeeper-server/zookeeper-server-common/pom.xml new file mode 100644 index 00000000000..66e5bc2075c --- /dev/null +++ b/zookeeper-server/zookeeper-server-common/pom.xml @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<!-- Copyright 2017 Yahoo Holdings. 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/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>com.yahoo.vespa</groupId> + <artifactId>zookeeper-server</artifactId> + <version>7-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + <artifactId>zookeeper-server-common</artifactId> + <packaging>container-plugin</packaging> + <version>7-SNAPSHOT</version> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <compilerArgs> + <arg>-Xlint:all</arg> + <arg>-Werror</arg> + </compilerArgs> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <redirectTestOutputToFile>${test.hide}</redirectTestOutputToFile> + <forkMode>once</forkMode> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-install-plugin</artifactId> + <configuration> + <updateReleaseInfo>true</updateReleaseInfo> + </configuration> + </plugin> + <plugin> + <groupId>com.yahoo.vespa</groupId> + <artifactId>bundle-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <importPackage>com.sun.management</importPackage> + <bundleSymbolicName>zookeeper-server</bundleSymbolicName> + </configuration> + </plugin> + </plugins> + </build> +</project> |