This is an automated email from the ASF dual-hosted git repository. abesto pushed a commit to branch dont-sign-snapshots in repository https://gitbox.apache.org/repos/asf/incubator-zipkin-brave-karaf.git
commit 48ae3d86bcaf6e8503ee488a228b61fb60f98757 Author: Christian Schneider <[email protected]> AuthorDate: Thu Dec 8 17:59:24 2016 +0100 Added parent --- pom.xml | 343 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/etc/header.txt | 11 ++ 2 files changed, 354 insertions(+) diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..d31d811 --- /dev/null +++ b/pom.xml @@ -0,0 +1,343 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + Copyright 2016 The OpenZipkin Authors + + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + in compliance with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software distributed under the License + is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + or implied. See the License for the specific language governing permissions and limitations under + the License. + +--> +<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> + + <groupId>io.zipkin.brave.karaf</groupId> + <artifactId>brave-karaf-parent</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <modules> + </modules> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding> + + <!-- default bytecode version for src/main --> + <main.java.version>1.6</main.java.version> + <main.signature.artifact>java16</main.signature.artifact> + + <main.basedir>${project.basedir}</main.basedir> + + <license-maven-plugin.version>2.11</license-maven-plugin.version> + + <zipkin.version>1.16.0</zipkin.version> + <zipkin-reporter.version>0.6.7</zipkin-reporter.version> + + <slf4j.version>1.7.21</slf4j.version> + </properties> + + <name>Brave Karaf Parent</name> + <description>Brave Karaf Parent</description> + <url>https://github.com/openzipkin/brave-karaf</url> + <inceptionYear>2016</inceptionYear> + + <organization> + <name>OpenZipkin</name> + <url>http://zipkin.io/</url> + </organization> + + <licenses> + <license> + <name>The Apache Software License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> + <distribution>repo</distribution> + </license> + </licenses> + + <scm> + <url>https://github.com/openzipkin/brave-karaf</url> + <connection>scm:git:https://github.com/openzipkin/brave-karaf</connection> + <developerConnection>scm:git:https://github.com/openzipkin/brave-karaf</developerConnection> + <tag>0.0.1</tag> + </scm> + + <developers> + </developers> + + <distributionManagement> + <repository> + <id>bintray</id> + <url>https://api.bintray.com/maven/openzipkin/maven/brave-karaf/;publish=1</url> + </repository> + <snapshotRepository> + <id>jfrog-snapshots</id> + <url>http://oss.jfrog.org/artifactory/oss-snapshot-local</url> + </snapshotRepository> + </distributionManagement> + + <issueManagement> + <system>Github</system> + <url>https://github.com/openzipkin/brave-karaf/issues</url> + </issueManagement> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>io.zipkin.java</groupId> + <artifactId>zipkin</artifactId> + <version>${zipkin.version}</version> + </dependency> + <dependency> + <groupId>io.zipkin.reporter</groupId> + <artifactId>zipkin-reporter</artifactId> + <version>${zipkin-reporter.version}</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + </dependency> + <dependency> + <groupId>org.awaitility</groupId> + <artifactId>awaitility</artifactId> + <version>2.0.0</version> + </dependency> + </dependencies> + </dependencyManagement> + + <dependencies> + <dependency> + <groupId>io.zipkin.java</groupId> + <artifactId>zipkin</artifactId> + <version>${zipkin.version}</version> + </dependency> + + <!-- don't worry. auto-* are source retention, not runtime --> + <dependency> + <groupId>com.google.auto.value</groupId> + <artifactId>auto-value</artifactId> + <version>1.3</version> + <scope>provided</scope> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.assertj</groupId> + <artifactId>assertj-core</artifactId> + <version>3.5.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>io.zipkin.java</groupId> + <artifactId>zipkin</artifactId> + <version>${zipkin.version}</version> + <type>test-jar</type> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <version>1.1.7</version> + <scope>test</scope> + </dependency> + </dependencies> + + + <build> + <pluginManagement> + <plugins> + <!-- mvn -N io.takari:maven:wrapper -Dmaven=3.3.9 --> + <plugin> + <groupId>io.takari</groupId> + <artifactId>maven</artifactId> + <version>0.3.3</version> + </plugin> + </plugins> + </pluginManagement> + + <plugins> + <plugin> + <inherited>true</inherited> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.5.1</version> + <configuration> + <!-- Retrolambda will rewrite lambdas as Java 6 bytecode --> + <source>1.8</source> + <target>1.8</target> + <compilerId>javac-with-errorprone</compilerId> + <forceJavacCompilerUse>true</forceJavacCompilerUse> + <showWarnings>true</showWarnings> + </configuration> + <dependencies> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-compiler-javac-errorprone</artifactId> + <version>2.8</version> + </dependency> + <dependency> + <groupId>com.google.errorprone</groupId> + <artifactId>error_prone_core</artifactId> + <version>2.0.9</version> + </dependency> + </dependencies> + </plugin> + + <plugin> + <groupId>net.orfjackal.retrolambda</groupId> + <artifactId>retrolambda-maven-plugin</artifactId> + <version>2.3.0</version> + <executions> + <execution> + <goals> + <goal>process-main</goal> + </goals> + <configuration> + <target>${main.java.version}</target> + <fork>false</fork> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>animal-sniffer-maven-plugin</artifactId> + <version>1.15</version> + <configuration> + <signature> + <groupId>org.codehaus.mojo.signature</groupId> + <artifactId>${main.signature.artifact}</artifactId> + <version>1.0</version> + </signature> + </configuration> + <executions> + <execution> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + + <!-- Ensures checksums are added to published jars --> + <plugin> + <artifactId>maven-install-plugin</artifactId> + <version>2.5.2</version> + <configuration> + <createChecksum>true</createChecksum> + </configuration> + </plugin> + + <plugin> + <groupId>com.mycila</groupId> + <artifactId>license-maven-plugin</artifactId> + <version>${license-maven-plugin.version}</version> + <configuration> + <header>${main.basedir}/src/etc/header.txt</header> + <excludes> + <exclude>.travis.yml</exclude> + <exclude>.gitignore</exclude> + <exclude>.mvn/**</exclude> + <exclude>mvnw*</exclude> + <exclude>etc/header.txt</exclude> + <exclude>**/.idea/**</exclude> + <exclude>LICENSE</exclude> + <exclude>**/*.md</exclude> + <exclude>src/test/resources/**</exclude> + <exclude>src/main/resources/**</exclude> + </excludes> + <strictCheck>true</strictCheck> + </configuration> + <dependencies> + <dependency> + <groupId>com.mycila</groupId> + <artifactId>license-maven-plugin-git</artifactId> + <version>${license-maven-plugin.version}</version> + </dependency> + </dependencies> + <executions> + <execution> + <goals> + <goal>check</goal> + </goals> + <phase>compile</phase> + </execution> + </executions> + </plugin> + + <plugin> + <artifactId>maven-release-plugin</artifactId> + <version>2.5.3</version> + <configuration> + <useReleaseProfile>false</useReleaseProfile> + <releaseProfiles>release</releaseProfiles> + <autoVersionSubmodules>true</autoVersionSubmodules> + <tagNameFormat>@{project.version}</tagNameFormat> + </configuration> + </plugin> + + <plugin> + <groupId>io.zipkin.centralsync-maven-plugin</groupId> + <artifactId>centralsync-maven-plugin</artifactId> + <version>0.1.0</version> + <configuration> + <packageName>zipkin-aws</packageName> + </configuration> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>release</id> + <build> + <plugins> + <!-- Creates source jar --> + <plugin> + <artifactId>maven-source-plugin</artifactId> + <version>3.0.1</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.10.4</version> + <configuration> + <failOnError>false</failOnError> + <excludePackageNames>zipkin.aws.internal,zipkin.aws.internal.* + </excludePackageNames> + <!-- hush pedantic warnings: we don't put param and return on everything! --> + <additionalparam>-Xdoclint:none</additionalparam> + </configuration> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + <phase>package</phase> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> +</project> diff --git a/src/etc/header.txt b/src/etc/header.txt new file mode 100644 index 0000000..6dba3bd --- /dev/null +++ b/src/etc/header.txt @@ -0,0 +1,11 @@ +Copyright ${license.git.copyrightYears} The OpenZipkin Authors + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except +in compliance with the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed under the License +is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express +or implied. See the License for the specific language governing permissions and limitations under +the License.
