Skip to content

Instantly share code, notes, and snippets.

@fivesmallq
Forked from jnatkins/pom.xml
Created May 29, 2014 06:14
Show Gist options
  • Select an option

  • Save fivesmallq/a79ae92f1de89aca345a to your computer and use it in GitHub Desktop.

Select an option

Save fivesmallq/a79ae92f1de89aca345a to your computer and use it in GitHub Desktop.

Revisions

  1. fivesmallq revised this gist May 29, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion pom.xml
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@
    <url>http://maven.apache.org</url>

    <properties>
    <hadoop.version>2.0.0-mr1-cdh4.0.1</hadoop.version>
    <hadoop.version>2.0.0-mr1-cdh4.5.0</hadoop.version>
    </properties>

    <build>
  2. Jon Natkins revised this gist Sep 28, 2012. 1 changed file with 14 additions and 14 deletions.
    28 changes: 14 additions & 14 deletions pom.xml
    Original file line number Diff line number Diff line change
    @@ -17,21 +17,21 @@
    </properties>

    <build>
    <plugins>
    <pluginManagement>
    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.3.2</version>
    <configuration>
    <source>1.6</source>
    <target>1.6</target>
    </configuration>
    </plugin>
    </plugins>
    </pluginManagement>
    <pluginManagement>
    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.3.2</version>
    <configuration>
    <source>1.6</source>
    <target>1.6</target>
    </configuration>
    </plugin>
    </plugins>
    </pluginManagement>

    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-shade-plugin</artifactId>
  3. Jon Natkins created this gist Aug 29, 2012.
    90 changes: 90 additions & 0 deletions pom.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,90 @@
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <!-- Replace the group ID with your group ID -->
    <groupId>com.mycompany.hadoopproject</groupId>
    <!-- Replace the artifact ID with the name of your project -->
    <artifactId>my-hadoop-project</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>
    <!-- The name should likely match the artifact ID -->
    <name>my-hadoop-project</name>
    <url>http://maven.apache.org</url>

    <properties>
    <hadoop.version>2.0.0-mr1-cdh4.0.1</hadoop.version>
    </properties>

    <build>
    <plugins>
    <pluginManagement>
    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>2.3.2</version>
    <configuration>
    <source>1.6</source>
    <target>1.6</target>
    </configuration>
    </plugin>
    </plugins>
    </pluginManagement>

    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-shade-plugin</artifactId>
    <version>1.7.1</version>
    <executions>
    <execution>
    <phase>package</phase>
    <goals>
    <goal>shade</goal>
    </goals>
    </execution>
    </executions>
    </plugin>

    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-eclipse-plugin</artifactId>
    <version>2.9</version>
    <configuration>
    <buildOutputDirectory>eclipse-classes</buildOutputDirectory>
    <downloadSources>true</downloadSources>
    <downloadJavadocs>false</downloadJavadocs>
    </configuration>
    </plugin>
    </plugins>
    </build>

    <dependencies>
    <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.8.2</version>
    <scope>test</scope>
    </dependency>

    <dependency>
    <groupId>org.apache.hadoop</groupId>
    <artifactId>hadoop-client</artifactId>
    <version>${hadoop.version}</version>
    <scope>provided</scope>
    </dependency>
    </dependencies>

    <repositories>
    <repository>
    <id>cloudera</id>
    <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
    <releases>
    <enabled>true</enabled>
    </releases>
    <snapshots>
    <enabled>false</enabled>
    </snapshots>
    </repository>
    </repositories>
    </project>