Skip to content

Commit ccd009e

Browse files
"Added sample: java/pom.xml"
1 parent 4b89711 commit ccd009e

File tree

1 file changed

+94
-0
lines changed

1 file changed

+94
-0
lines changed

java/pom.xml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>com.google.api.services.samples.youtube.cmdline</groupId>
6+
<artifactId>samples</artifactId>
7+
<version>0.0.1-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
10+
<name>youtube-api-cmdline-samples</name>
11+
<url>http://maven.apache.org</url>
12+
13+
<properties>
14+
<project.youtube.version>v3-rev79-1.17.0-rc</project.youtube.version>
15+
<project.youtube.analytics.version>v1-rev24-1.17.0-rc</project.youtube.analytics.version>
16+
<project.http.version>1.17.0-rc</project.http.version>
17+
<project.oauth.version>1.17.0-rc</project.oauth.version>
18+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19+
</properties>
20+
21+
<repositories>
22+
<repository>
23+
<id>google-api-services</id>
24+
<url>http://google-api-client-libraries.appspot.com/mavenrepo</url>
25+
</repository>
26+
</repositories>
27+
28+
<dependencies>
29+
30+
<!-- YouTube Data V3 support -->
31+
<dependency>
32+
<groupId>com.google.apis</groupId>
33+
<artifactId>google-api-services-youtube</artifactId>
34+
<version>${project.youtube.version}</version>
35+
</dependency>
36+
37+
<!-- Required for any code that makes calls to the Google Analytics API -->
38+
<dependency>
39+
<groupId>com.google.apis</groupId>
40+
<artifactId>google-api-services-youtubeAnalytics</artifactId>
41+
<version>${project.youtube.analytics.version}</version>
42+
</dependency>
43+
44+
<!-- This dependency is only used for the Topics API sample, which requires the Jackson JSON parser -->
45+
<dependency>
46+
<groupId>org.codehaus.jackson</groupId>
47+
<artifactId>jackson-mapper-asl</artifactId>
48+
<version>1.9.4</version>
49+
</dependency>
50+
51+
<dependency>
52+
<groupId>com.google.http-client</groupId>
53+
<artifactId>google-http-client-jackson2</artifactId>
54+
<version>${project.http.version}</version>
55+
</dependency>
56+
57+
<dependency>
58+
<groupId>com.google.oauth-client</groupId>
59+
<artifactId>google-oauth-client-jetty</artifactId>
60+
<version>${project.oauth.version}</version>
61+
</dependency>
62+
63+
<dependency>
64+
<groupId>com.google.collections</groupId>
65+
<artifactId>google-collections</artifactId>
66+
<version>1.0</version>
67+
</dependency>
68+
69+
</dependencies>
70+
71+
<build>
72+
<plugins>
73+
<plugin>
74+
<groupId>org.codehaus.mojo</groupId>
75+
<artifactId>exec-maven-plugin</artifactId>
76+
<version>1.2.1</version>
77+
<configuration>
78+
<mainClass>com.google.api.services.samples.youtube.cmdline.samples.RunAllSamples</mainClass>
79+
</configuration>
80+
</plugin>
81+
82+
<!-- Forces Maven to use Java 1.6 -->
83+
<plugin>
84+
<artifactId>maven-compiler-plugin</artifactId>
85+
<version>2.3.2</version>
86+
<configuration>
87+
<source>1.6</source>
88+
<target>1.6</target>
89+
<compilerArgument></compilerArgument>
90+
</configuration>
91+
</plugin>
92+
</plugins>
93+
</build>
94+
</project>

0 commit comments

Comments
 (0)