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.7.5</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>com.squareup.okhttp</groupId> 23 <artifactId>okhttp-testing-support</artifactId> 24 <version>${project.version}</version> 25 <scope>test</scope> 26 </dependency> 27 <dependency> 28 <groupId>org.bouncycastle</groupId> 29 <artifactId>bcprov-jdk15on</artifactId> 30 </dependency> 31 <dependency> 32 <groupId>io.airlift</groupId> 33 <artifactId>airline</artifactId> 34 </dependency> 35 <dependency> 36 <groupId>com.google.guava</groupId> 37 <artifactId>guava</artifactId> 38 </dependency> 39 40 <dependency> 41 <groupId>junit</groupId> 42 <artifactId>junit</artifactId> 43 <scope>test</scope> 44 </dependency> 45 </dependencies> 46 47 <build> 48 <resources> 49 <resource> 50 <directory>src/main/resources</directory> 51 <filtering>true</filtering> 52 </resource> 53 </resources> 54 55 <plugins> 56 <plugin> 57 <groupId>org.apache.maven.plugins</groupId> 58 <artifactId>maven-assembly-plugin</artifactId> 59 <configuration> 60 <descriptorRefs> 61 <descriptorRef>jar-with-dependencies</descriptorRef> 62 </descriptorRefs> 63 <archive> 64 <manifest> 65 <mainClass>com.squareup.okhttp.curl.Main</mainClass> 66 </manifest> 67 </archive> 68 </configuration> 69 <executions> 70 <execution> 71 <phase>package</phase> 72 <goals> 73 <goal>single</goal> 74 </goals> 75 </execution> 76 </executions> 77 </plugin> 78 <plugin> 79 <groupId>org.skife.maven</groupId> 80 <artifactId>really-executable-jar-maven-plugin</artifactId> 81 <version>1.1.0</version> 82 <executions> 83 <execution> 84 <phase>package</phase> 85 <goals> 86 <goal>really-executable-jar</goal> 87 </goals> 88 </execution> 89 </executions> 90 <configuration> 91 <flags>-Xbootclasspath/p:$0</flags> 92 </configuration> 93 </plugin> 94 </plugins> 95 </build> 96</project> 97