blob: f33a0ea6e29c3cc4999208414d8fd9d9563c2d53 [file] [log] [blame]
<?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">
<groupId>com.firebase</groupId>
<artifactId>tubesock</artifactId>
<version>0.0.12</version>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<name>TubeSock</name>
<description>A WebSocket client implemented in Java</description>
<url>https://github.com/firebase/TubeSock</url>
<organization>
<name>Firebase</name>
<url>https://www.firebase.com/</url>
</organization>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<licenses>
<license>
<name>MIT</name>
<url>http://firebase.mit-license.org</url>
</license>
</licenses>
<properties>
<project.java.version>1.6</project.java.version>
</properties>
<scm>
<connection>scm:git:git@github.com:firebase/TubeSock.git</connection>
<developerConnection>scm:git:git@github.com:firebase/TubeSock.git</developerConnection>
<url>https://github.com/firebase/TubeSock</url>
</scm>
<developers>
<developer>
<id>gsoltis</id>
<name>Greg Soltis</name>
<email>greg@firebase.com</email>
<organization>Firebase</organization>
<url>https://twitter.com/gsoltis</url>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.0.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${project.java.version}</source>
<target>${project.java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!--
Used to generate a jar with all dependencies included + shaded. Used to build something for devs who aren't
using maven and just want something they can put in their libs directory. The shading avoids clashes with
other versions of the same libraries being present
-->
<id>standalone</id>
<activation>
<property>
<name>standalone</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>org.apache.commons</pattern>
<shadedPattern>org.firebase-shaded.apache.commons</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.http</pattern>
<shadedPattern>org.firebase-shaded.apache.http</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>