Home | History | Annotate | Download | only in 0.0.12
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <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">
      3   <groupId>com.firebase</groupId>
      4   <artifactId>tubesock</artifactId>
      5   <version>0.0.12</version>
      6   <modelVersion>4.0.0</modelVersion>
      7   <packaging>jar</packaging>
      8   <name>TubeSock</name>
      9   <description>A WebSocket client implemented in Java</description>
     10   <url>https://github.com/firebase/TubeSock</url>
     11   <organization>
     12     <name>Firebase</name>
     13     <url>https://www.firebase.com/</url>
     14   </organization>
     15   <parent>
     16     <groupId>org.sonatype.oss</groupId>
     17     <artifactId>oss-parent</artifactId>
     18     <version>7</version>
     19   </parent>
     20   <licenses>
     21     <license>
     22       <name>MIT</name>
     23       <url>http://firebase.mit-license.org</url>
     24     </license>
     25   </licenses>
     26   <properties>
     27     <project.java.version>1.6</project.java.version>
     28   </properties>
     29   <scm>
     30     <connection>scm:git:git (a] github.com:firebase/TubeSock.git</connection>
     31     <developerConnection>scm:git:git (a] github.com:firebase/TubeSock.git</developerConnection>
     32     <url>https://github.com/firebase/TubeSock</url>
     33   </scm>
     34   <developers>
     35     <developer>
     36       <id>gsoltis</id>
     37       <name>Greg Soltis</name>
     38       <email>greg (a] firebase.com</email>
     39       <organization>Firebase</organization>
     40       <url>https://twitter.com/gsoltis</url>
     41     </developer>
     42   </developers>
     43   <dependencies>
     44     <dependency>
     45       <groupId>org.apache.httpcomponents</groupId>
     46       <artifactId>httpclient</artifactId>
     47       <version>4.0.1</version>
     48     </dependency>
     49   </dependencies>
     50   <build>
     51     <plugins>
     52       <plugin>
     53         <groupId>org.apache.maven.plugins</groupId>
     54         <artifactId>maven-compiler-plugin</artifactId>
     55         <version>3.1</version>
     56         <configuration>
     57           <source>${project.java.version}</source>
     58           <target>${project.java.version}</target>
     59         </configuration>
     60       </plugin>
     61       <plugin>
     62         <groupId>org.apache.maven.plugins</groupId>
     63         <artifactId>maven-source-plugin</artifactId>
     64         <version>2.2.1</version>
     65         <executions>
     66           <execution>
     67             <id>attach-sources</id>
     68             <goals>
     69               <goal>jar</goal>
     70             </goals>
     71           </execution>
     72         </executions>
     73       </plugin>
     74       <plugin>
     75         <groupId>org.apache.maven.plugins</groupId>
     76         <artifactId>maven-javadoc-plugin</artifactId>
     77         <version>2.9.1</version>
     78         <executions>
     79           <execution>
     80             <id>attach-javadocs</id>
     81             <goals>
     82               <goal>jar</goal>
     83             </goals>
     84           </execution>
     85         </executions>
     86       </plugin>
     87       <plugin>
     88         <groupId>org.apache.maven.plugins</groupId>
     89         <artifactId>maven-gpg-plugin</artifactId>
     90         <version>1.4</version>
     91         <executions>
     92           <execution>
     93             <id>sign-artifacts</id>
     94             <phase>verify</phase>
     95             <goals>
     96               <goal>sign</goal>
     97             </goals>
     98           </execution>
     99         </executions>
    100       </plugin>
    101     </plugins>
    102   </build>
    103   <profiles>
    104     <profile>
    105       <!--
    106         Used to generate a jar with all dependencies included + shaded. Used to build something for devs who aren't
    107         using maven and just want something they can put in their libs directory. The shading avoids clashes with
    108         other versions of the same libraries being present
    109       -->
    110       <id>standalone</id>
    111       <activation>
    112         <property>
    113           <name>standalone</name>
    114         </property>
    115       </activation>
    116       <build>
    117         <plugins>
    118           <plugin>
    119             <groupId>org.apache.maven.plugins</groupId>
    120             <artifactId>maven-shade-plugin</artifactId>
    121             <version>2.1</version>
    122             <executions>
    123               <execution>
    124                 <phase>package</phase>
    125                 <goals>
    126                   <goal>shade</goal>
    127                 </goals>
    128                 <configuration>
    129                   <createDependencyReducedPom>false</createDependencyReducedPom>
    130                   <relocations>
    131                     <relocation>
    132                       <pattern>org.apache.commons</pattern>
    133                       <shadedPattern>org.firebase-shaded.apache.commons</shadedPattern>
    134                     </relocation>
    135                     <relocation>
    136                       <pattern>org.apache.http</pattern>
    137                       <shadedPattern>org.firebase-shaded.apache.http</shadedPattern>
    138                     </relocation>
    139                   </relocations>
    140                 </configuration>
    141               </execution>
    142             </executions>
    143           </plugin>
    144         </plugins>
    145       </build>
    146     </profile>
    147   </profiles>
    148 </project>