• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2
3<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">
4  <modelVersion>4.0.0</modelVersion>
5
6  <parent>
7    <groupId>com.squareup.okhttp</groupId>
8    <artifactId>parent</artifactId>
9    <version>2.0.0-SNAPSHOT</version>
10  </parent>
11
12  <artifactId>okcurl</artifactId>
13  <name>OkCurl</name>
14
15  <dependencies>
16    <dependency>
17      <groupId>com.squareup.okhttp</groupId>
18      <artifactId>okhttp</artifactId>
19      <version>${project.version}</version>
20    </dependency>
21    <dependency>
22      <groupId>org.bouncycastle</groupId>
23      <artifactId>bcprov-jdk15on</artifactId>
24    </dependency>
25    <dependency>
26      <groupId>org.mortbay.jetty.npn</groupId>
27      <artifactId>npn-boot</artifactId>
28    </dependency>
29    <dependency>
30      <groupId>io.airlift</groupId>
31      <artifactId>airline</artifactId>
32    </dependency>
33    <dependency>
34      <groupId>com.google.guava</groupId>
35      <artifactId>guava</artifactId>
36    </dependency>
37
38    <dependency>
39      <groupId>junit</groupId>
40      <artifactId>junit</artifactId>
41      <scope>test</scope>
42    </dependency>
43  </dependencies>
44
45  <build>
46    <resources>
47      <resource>
48        <directory>src/main/resources</directory>
49        <filtering>true</filtering>
50      </resource>
51    </resources>
52
53    <plugins>
54      <plugin>
55        <groupId>org.apache.maven.plugins</groupId>
56        <artifactId>maven-assembly-plugin</artifactId>
57        <configuration>
58          <descriptorRefs>
59            <descriptorRef>jar-with-dependencies</descriptorRef>
60          </descriptorRefs>
61          <archive>
62            <manifest>
63              <mainClass>com.squareup.okhttp.curl.Main</mainClass>
64            </manifest>
65          </archive>
66        </configuration>
67        <executions>
68          <execution>
69            <phase>package</phase>
70            <goals>
71              <goal>single</goal>
72            </goals>
73          </execution>
74        </executions>
75      </plugin>
76      <plugin>
77        <groupId>org.skife.maven</groupId>
78        <artifactId>really-executable-jar-maven-plugin</artifactId>
79        <version>1.1.0</version>
80        <executions>
81          <execution>
82            <phase>package</phase>
83            <goals>
84              <goal>really-executable-jar</goal>
85            </goals>
86          </execution>
87        </executions>
88        <configuration>
89          <flags>-Xbootclasspath/p:$0</flags>
90        </configuration>
91      </plugin>
92    </plugins>
93  </build>
94</project>
95