Merge branch 'master' into 2525-java-sdk
[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.java</groupId>
5   <artifactId>java</artifactId>
6   <packaging>jar</packaging>
7   <version>1.0-SNAPSHOT</version>
8   <name>java</name>
9   <url>http://maven.apache.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                     
38     <dependency>
39           <groupId>junit</groupId>
40           <artifactId>junit</artifactId>
41           <version>4.8.1</version>
42         </dependency>
43     <dependency>
44         <groupId>com.googlecode.json-simple</groupId>
45         <artifactId>json-simple</artifactId>
46         <version>1.1.1</version>
47         </dependency>
48   </dependencies>
49
50   <build>
51     <finalName>arvados-sdk-1.0</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>
82                     <Agent-Class>Your.agent.class</Agent-Class>-->
83                     <Can-Redefine-Classes>true</Can-Redefine-Classes>
84                     <Can-Retransform-Classes>true</Can-Retransform-Classes>
85                   </manifestEntries>
86                 </archive>
87               </configuration>
88             </execution>
89           </executions>
90         </plugin>
91       </plugins>
92       <resources>
93         <resource>
94           <directory>src/main/resources</directory>
95             <targetPath>${basedir}/target/classes</targetPath>
96             <includes>
97               <include>log4j.properties</include>
98             </includes>         
99           <filtering>true</filtering>      
100         </resource>
101         <resource>
102           <directory>src/test/resources</directory>      
103           <filtering>true</filtering>      
104         </resource>
105       </resources>
106     </build>
107 </project>