Project

General

Profile

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
  <!--
4
  Licensed to the Apache Software Foundation (ASF) under one
5
  or more contributor license agreements.  See the NOTICE file
6
  distributed with this work for additional information
7
  regarding copyright ownership.  The ASF licenses this file
8
  to you under the Apache License, Version 2.0 (the
9
  "License"); you may not use this file except in compliance
10
  with the License.  You may obtain a copy of the License at
11

    
12
       http://www.apache.org/licenses/LICENSE-2.0
13

    
14
  Unless required by applicable law or agreed to in writing, software
15
  distributed under the License is distributed on an "AS IS" BASIS,
16
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
  See the License for the specific language governing permissions and
18
  limitations under the License.
19
  -->
20
  <modelVersion>4.0.0</modelVersion>
21

    
22
  <groupId>com.cloudera.science</groupId>
23
  <artifactId>avro-json</artifactId>
24
  <version>1.0-SNAPSHOT</version>
25
  <packaging>jar</packaging>
26

    
27
  <name>Avro/JSON InputFormat/OutputFormats and SerDes</name>
28
  <url>http://www.cloudera.com</url>
29

    
30
  <properties>
31
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32
    <eclipse.output.directory>eclipse-classes</eclipse.output.directory>
33
    <avro.version>1.7.3</avro.version>
34
    <hive.version>0.9.0-cdh4.1.3</hive.version>
35
    <hadoop.version>2.0.0-cdh4.1.3</hadoop.version>
36
  </properties>
37

    
38
  <build>
39
    <plugins>
40
      <plugin>
41
        <groupId>org.apache.maven.plugins</groupId>
42
        <artifactId>maven-eclipse-plugin</artifactId>
43
        <version>2.9</version>
44
        <configuration>
45
          <buildOutputDirectory>eclipse-classes</buildOutputDirectory>
46
          <downloadSources>true</downloadSources>
47
          <downloadJavadocs>false</downloadJavadocs>
48
        </configuration>
49
      </plugin>
50

    
51
      <plugin>
52
        <groupId>org.apache.maven.plugins</groupId>
53
        <artifactId>maven-shade-plugin</artifactId>
54
        <version>1.7.1</version>
55
        <executions>
56
          <execution>
57
            <phase>package</phase>
58
            <goals>
59
              <goal>shade</goal>
60
            </goals>
61
          </execution>
62
        </executions>
63
      </plugin>
64
    </plugins>
65

    
66
    <pluginManagement>
67
      <plugins>
68
        <plugin>
69
          <groupId>org.apache.maven.plugins</groupId>
70
          <artifactId>maven-compiler-plugin</artifactId>
71
          <version>2.3.2</version>
72
          <configuration>
73
            <source>1.6</source>
74
            <target>1.6</target>
75
          </configuration>
76
        </plugin>
77
      </plugins>
78
    </pluginManagement>
79
  </build>
80

    
81
  <dependencies>
82
    <dependency>
83
      <groupId>junit</groupId>
84
      <artifactId>junit</artifactId>
85
      <version>4.8.2</version>
86
      <scope>test</scope>      
87
    </dependency>
88

    
89
    <dependency>
90
      <groupId>org.apache.avro</groupId>
91
      <artifactId>avro</artifactId>
92
      <version>${avro.version}</version>
93
    </dependency>
94

    
95
    <dependency>
96
      <groupId>org.apache.avro</groupId>
97
      <artifactId>avro-mapred</artifactId>
98
      <version>${avro.version}</version>
99
    </dependency>
100

    
101
    <!-- Hadoop Dependencies -->
102
    <dependency>
103
      <groupId>org.apache.hive</groupId>
104
      <artifactId>hive-serde</artifactId>
105
      <version>${hive.version}</version>
106
      <scope>provided</scope>
107
    </dependency>
108
    <dependency>
109
      <groupId>org.apache.hadoop</groupId>
110
      <artifactId>hadoop-client</artifactId>
111
      <version>${hadoop.version}</version>
112
      <scope>provided</scope>
113
    </dependency>
114
  </dependencies>
115

    
116
  <repositories>
117
    <repository>
118
      <id>cloudera</id>
119
      <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
120
      <releases>
121
        <enabled>true</enabled>
122
      </releases>
123
      <snapshots>
124
        <enabled>false</enabled>
125
      </snapshots>
126
    </repository>
127
  </repositories>
128
</project>
(3-3/3)