Merge branch 'master' into 14669-java-sdk-v2
[arvados.git] / sdk / java / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <groupId>org.arvados.sdk</groupId>
5   <artifactId>arvados</artifactId>
6   <packaging>jar</packaging>
7   <version>1.1</version>
8   <name>arvados-sdk</name>
9   <url>http://arvados.org</url>
10
11   <dependencies>
12     <dependency>
13       <groupId>com.google.apis</groupId>
14       <artifactId>google-api-services-discovery</artifactId>
15       <version>v1-rev42-1.18.0-rc</version>
16     </dependency>
17     <dependency>
18       <groupId>com.google.api-client</groupId>
19       <artifactId>google-api-client</artifactId>
20       <version>1.18.0-rc</version>
21     </dependency>
22     <dependency>
23       <groupId>com.google.http-client</groupId>
24       <artifactId>google-http-client-jackson2</artifactId>
25       <version>1.18.0-rc</version>
26     </dependency>
27     <dependency>
28       <groupId>com.google.guava</groupId>
29       <artifactId>guava</artifactId>
30       <version>r05</version>
31     </dependency>
32     <dependency>
33       <groupId>log4j</groupId>
34       <artifactId>log4j</artifactId>
35       <version>1.2.16</version>
36     </dependency>
37     <dependency>
38       <groupId>com.googlecode.json-simple</groupId>
39       <artifactId>json-simple</artifactId>
40       <version>1.1.1</version>
41     </dependency>
42
43     <dependency>
44       <groupId>junit</groupId>
45       <artifactId>junit</artifactId>
46       <version>4.8.1</version>
47     </dependency>
48   </dependencies>
49
50   <build>
51     <finalName>arvados-sdk-1.1</finalName>
52
53     <plugins>
54       <plugin>
55         <groupId>org.apache.maven.plugins</groupId>
56         <artifactId>maven-compiler-plugin</artifactId>
57         <version>3.1</version>
58         <configuration>
59           <source>1.6</source>
60           <target>1.6</target>
61         </configuration>
62       </plugin>
63       <plugin>
64         <groupId>org.apache.maven.plugins</groupId>
65         <artifactId>maven-assembly-plugin</artifactId>
66         <executions>
67           <execution>
68             <goals>
69               <goal>attached</goal>
70             </goals>
71             <phase>package</phase>
72             <configuration>
73               <descriptorRefs>
74                 <descriptorRef>jar-with-dependencies</descriptorRef>
75               </descriptorRefs>
76               <archive>
77                 <manifest>
78                   <mainClass>org.arvados.sdk.Arvados</mainClass>
79                 </manifest>
80                 <manifestEntries>
81                   <!--<Premain-Class>Your.agent.class</Premain-Class> <Agent-Class>Your.agent.class</Agent-Class> -->
82                   <Can-Redefine-Classes>true</Can-Redefine-Classes>
83                   <Can-Retransform-Classes>true</Can-Retransform-Classes>
84                 </manifestEntries>
85               </archive>
86             </configuration>
87           </execution>
88         </executions>
89       </plugin>
90     </plugins>
91     <resources>
92       <resource>
93         <directory>src/main/resources</directory>
94         <targetPath>${basedir}/target/classes</targetPath>
95         <includes>
96           <include>log4j.properties</include>
97         </includes>
98         <filtering>true</filtering>
99       </resource>
100       <resource>
101         <directory>src/test/resources</directory>
102         <filtering>true</filtering>
103       </resource>
104     </resources>
105   </build>
106 </project>