Skip to content

Commit 329ff22

Browse files
committed
reference pom.xml for building with CDH4
1 parent 5077ad8 commit 329ff22

1 file changed

Lines changed: 229 additions & 0 deletions

File tree

pom-cdh4.xml

Lines changed: 229 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,229 @@
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>org.archive</groupId>
6+
<artifactId>ia-web-commons</artifactId>
7+
<version>1.0-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
10+
<name>ia-web-commons</name>
11+
<url>http://maven.apache.org</url>
12+
13+
<properties>
14+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
<build.time>${maven.build.timestamp}</build.time>
16+
<maven.build.timestamp.format>yyyyMMddhhmmss</maven.build.timestamp.format>
17+
</properties>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>junit</groupId>
22+
<artifactId>junit</artifactId>
23+
<version>3.8.1</version>
24+
<scope>test</scope>
25+
</dependency>
26+
27+
<dependency>
28+
<groupId>com.google.guava</groupId>
29+
<artifactId>guava</artifactId>
30+
<version>14.0.1</version>
31+
</dependency>
32+
33+
<dependency>
34+
<groupId>org.json</groupId>
35+
<artifactId>json</artifactId>
36+
<version>20090211</version>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.htmlparser</groupId>
40+
<artifactId>htmlparser</artifactId>
41+
<version>1.6</version>
42+
</dependency>
43+
44+
<dependency>
45+
<groupId>org.mozilla</groupId>
46+
<artifactId>juniversalchardet</artifactId>
47+
<version>1.0.3</version>
48+
</dependency>
49+
50+
<dependency>
51+
<groupId>commons-httpclient</groupId>
52+
<artifactId>commons-httpclient</artifactId>
53+
<version>3.1</version>
54+
</dependency>
55+
56+
<dependency>
57+
<groupId>org.apache.hadoop</groupId>
58+
<artifactId>hadoop-core</artifactId>
59+
<version>2.0.0-mr1-cdh4.2.0</version>
60+
<exclusions>
61+
<exclusion>
62+
<groupId>commons-httpclient</groupId>
63+
<artifactId>commons-httpclient</artifactId>
64+
</exclusion>
65+
<exclusion>
66+
<groupId>javax.servlet</groupId>
67+
<artifactId>servlet-api</artifactId>
68+
</exclusion>
69+
<exclusion>
70+
<groupId>javax.servlet.jsp</groupId>
71+
<artifactId>jsp-api</artifactId>
72+
</exclusion>
73+
<exclusion>
74+
<groupId>org.mortbay.jetty</groupId>
75+
<artifactId>jetty</artifactId>
76+
</exclusion>
77+
<exclusion>
78+
<groupId>org.mortbay.jetty</groupId>
79+
<artifactId>jetty-util</artifactId>
80+
</exclusion>
81+
<exclusion>
82+
<groupId>tomcat</groupId>
83+
<artifactId>jasper-runtime</artifactId>
84+
</exclusion>
85+
<exclusion>
86+
<groupId>tomcat</groupId>
87+
<artifactId>jasper-compiler</artifactId>
88+
</exclusion>
89+
</exclusions>
90+
</dependency>
91+
<dependency>
92+
<groupId>org.apache.hadoop</groupId>
93+
<artifactId>hadoop-common</artifactId>
94+
<version>2.0.0-cdh4.2.0</version>
95+
</dependency>
96+
<dependency>
97+
<groupId>org.apache.hadoop</groupId>
98+
<artifactId>hadoop-mapreduce-client-common</artifactId>
99+
<version>2.0.0-cdh4.2.0</version>
100+
</dependency>
101+
<dependency>
102+
<groupId>org.apache.hadoop</groupId>
103+
<artifactId>hadoop-mapreduce-client-core</artifactId>
104+
<version>2.0.0-cdh4.2.0</version>
105+
</dependency>
106+
107+
<dependency>
108+
<groupId>org.apache.pig</groupId>
109+
<artifactId>pig</artifactId>
110+
<version>0.11.1</version>
111+
<scope>provided</scope>
112+
</dependency>
113+
114+
<dependency>
115+
<groupId>commons-lang</groupId>
116+
<artifactId>commons-lang</artifactId>
117+
<version>2.5</version>
118+
</dependency>
119+
120+
<dependency>
121+
<groupId>commons-io</groupId>
122+
<artifactId>commons-io</artifactId>
123+
<version>2.4</version>
124+
</dependency>
125+
126+
<dependency>
127+
<groupId>org.gnu.inet</groupId>
128+
<artifactId>libidn</artifactId>
129+
<version>1.15</version>
130+
</dependency>
131+
<dependency>
132+
<groupId>it.unimi.dsi</groupId>
133+
<artifactId>mg4j</artifactId>
134+
<version>1.0.1</version>
135+
<scope>compile</scope>
136+
</dependency>
137+
<dependency>
138+
<groupId>org.apache.httpcomponents</groupId>
139+
<artifactId>httpcore</artifactId>
140+
<version>4.3</version>
141+
</dependency>
142+
</dependencies>
143+
144+
<build>
145+
<plugins>
146+
<plugin>
147+
<groupId>org.apache.maven.plugins</groupId>
148+
<artifactId>maven-compiler-plugin</artifactId>
149+
<version>2.3.2</version>
150+
<configuration>
151+
<source>1.6</source>
152+
<target>1.6</target>
153+
</configuration>
154+
</plugin>
155+
<plugin>
156+
<artifactId>maven-assembly-plugin</artifactId>
157+
<version>2.4</version>
158+
<configuration>
159+
<descriptorRefs>
160+
<descriptorRef>jar-with-dependencies</descriptorRef>
161+
</descriptorRefs>
162+
<finalName>ia-web-commons</finalName>
163+
</configuration>
164+
<executions>
165+
<execution>
166+
<phase>package</phase>
167+
<goals>
168+
<goal>single</goal>
169+
</goals>
170+
</execution>
171+
</executions>
172+
</plugin>
173+
</plugins>
174+
<resources>
175+
<resource>
176+
<directory>src/main/resources</directory>
177+
<filtering>true</filtering>
178+
</resource>
179+
</resources>
180+
181+
</build>
182+
<repositories>
183+
<repository>
184+
<id>internetarchive</id>
185+
<name>Internet Archive Maven Repository</name>
186+
<url>http://builds.archive.org:8080/maven2</url>
187+
<layout>default</layout>
188+
189+
<releases>
190+
<enabled>true</enabled>
191+
<updatePolicy>daily</updatePolicy>
192+
<checksumPolicy>warn</checksumPolicy>
193+
</releases>
194+
<snapshots>
195+
<enabled>true</enabled>
196+
<updatePolicy>daily</updatePolicy>
197+
<checksumPolicy>warn</checksumPolicy>
198+
</snapshots>
199+
</repository>
200+
201+
<repository>
202+
<id>cloudera</id>
203+
<name>Cloudera Hadoop</name>
204+
<url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
205+
<layout>default</layout>
206+
207+
<releases>
208+
<enabled>true</enabled>
209+
<updatePolicy>daily</updatePolicy>
210+
<checksumPolicy>warn</checksumPolicy>
211+
</releases>
212+
<snapshots>
213+
<enabled>true</enabled>
214+
<updatePolicy>daily</updatePolicy>
215+
<checksumPolicy>warn</checksumPolicy>
216+
</snapshots>
217+
</repository>
218+
219+
</repositories>
220+
221+
<distributionManagement>
222+
<repository>
223+
<id>repository</id>
224+
<!--Pass as command-line system property to maven-->
225+
<url>${repository.url}</url>
226+
</repository>
227+
</distributionManagement>
228+
229+
</project>

0 commit comments

Comments
 (0)