Permalink
Browse files

bring back old pom

  • Loading branch information...
1 parent c0fbc9d commit 7414cfd1bdb92464c3d61707014599287afe0a23 @nitay nitay committed Mar 28, 2013
Showing with 249 additions and 15 deletions.
  1. +15 −0 license-header.txt
  2. +234 −15 pom.xml
View
@@ -0,0 +1,15 @@
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
View
249 pom.xml
@@ -21,9 +21,9 @@ under the License.
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>com.facebook</groupId>
- <artifactId>facebook-oss-pom</artifactId>
- <version>5</version>
+ <groupId>org.sonatype.oss</groupId>
+ <artifactId>oss-parent</artifactId>
+ <version>7</version>
</parent>
<groupId>com.facebook.giraph.hive</groupId>
@@ -32,6 +32,7 @@ under the License.
<version>0.6-SNAPSHOT</version>
<name>${project.artifactId}</name>
+ <url>https://github.com/facebook/${project.artifactId}</url>
<description>Library for reading / writing to Hive</description>
<inceptionYear>2013</inceptionYear>
@@ -44,10 +45,9 @@ under the License.
</licenses>
<scm>
- <connection>scm:git:git@github.com/facebook/${project.artifactId}.git</connection>
+ <connection>scm:git:git://github.com/facebook/${project.artifactId}.git</connection>
<developerConnection>scm:git:git@github.com:facebook/${project.artifactId}.git</developerConnection>
<url>https://github.com/facebook/${project.artifactId}</url>
- <tag>HEAD</tag>
</scm>
<developers>
@@ -62,17 +62,30 @@ under the License.
</developers>
<properties>
- <project.build.targetJdk>1.6</project.build.targetJdk>
- <fb.check.fail-all>true</fb.check.fail-all>
- <fb.check.fail-duplicate-finder>false</fb.check.fail-duplicate-finder>
- <fb.check.fail-license>false</fb.check.fail-license>
- <fb.check.fail-pmd>false</fb.check.fail-pmd>
<dep.hive.version>0.10.0</dep.hive.version>
</properties>
<build>
<plugins>
<plugin>
+ <groupId>com.github.koraktor</groupId>
+ <artifactId>mavanagaiata</artifactId>
+ <version>0.4.1</version>
+ <configuration>
+ <gitDir>${project.basedir}/.git</gitDir>
+ </configuration>
+ <executions>
+ <execution>
+ <id>git-commit</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>branch</goal>
+ <goal>commit</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
@@ -113,22 +126,227 @@ under the License.
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.9</version>
+ <configuration>
+ <configLocation>${project.basedir}/checkstyle.xml</configLocation>
+ <consoleOutput>true</consoleOutput>
+ <enableRulesSummary>false</enableRulesSummary>
+ <failOnViolation>false</failOnViolation>
+ <headerLocation>${project.basedir}/license-header.txt</headerLocation>
+ <includeTestSourceDirectory>false</includeTestSourceDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+ <addClasspath>true</addClasspath>
+ </manifest>
+ <manifestEntries>
+ <Build-Jdk>${java.version}</Build-Jdk>
+ <Build-Time>${maven.build.timestamp}</Build-Time>
+ <Git-Commit-Branch>${mvngit.branch}</Git-Commit-Branch>
+ <Git-Commit-Hash>${mvngit.commit.id}</Git-Commit-Hash>
+ <Git-Commit-Date>${mvngit.commit.committer.date}</Git-Commit-Date>
+ <Git-Committer-Email>${mvngit.commit.committer.email}</Git-Committer-Email>
+ <Git-Committer-Name>${mvngit.commit.committer.name}</Git-Committer-Name>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>jar</goal>
+ <!--<goal>test-jar</goal>-->
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
- <source>${project.build.targetJdk}</source>
- <target>${project.build.targetJdk}</target>
- <encoding>${project.build.sourceEncoding}</encoding>
- <maxmem>${fb.build.jvmsize}</maxmem>
+ <source>1.6</source>
+ <target>1.6</target>
<showWarnings>false</showWarnings>
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.0.1</version>
+ <executions>
+ <execution>
+ <id>enforce-maven</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>3.0.0</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
+ <version>2.5.1</version>
<configuration>
- <excludeFilterFile>${project.basedir}/findbugs-exclude.xml</excludeFilterFile>
<xmlOutput>true</xmlOutput>
+ <findbugsXmlOutput>false</findbugsXmlOutput>
+ <excludeFilterFile>${project.basedir}/findbugs-exclude.xml</excludeFilterFile>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.9</version>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.0</version>
+ <configuration>
+ <reportPlugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.2</version>
+ <reports>
+ <report>index</report>
+ <report>project-team</report>
+ <report>license</report>
+ <report>mailing-list</report>
+ <report>dependencies</report>
+ <report>dependency-convergence</report>
+ <report>plugin-management</report>
+ <report>cim</report>
+ <report>issue-tracking</report>
+ <report>scm</report>
+ <report>summary</report>
+ </reports>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.6</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.7</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.9</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jdepend-maven-plugin</artifactId>
+ <version>2.0-beta-2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>taglist-maven-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>2.5.1</version>
+ </plugin>
+ </reportPlugins>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.8</version>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeSubProjects>false</excludeSubProjects>
+ <numUnapprovedLicenses>0</numUnapprovedLicenses>
+ <excludes>
+ <exclude>CODE_CONVENTIONS</exclude>
+ <!-- generated content -->
+ <exclude>**/target/**</exclude>
+ <exclude>_bsp/**</exclude>
+ <exclude>.checkstyle</exclude>
+ <!-- source control and IDEs -->
+ <exclude>.reviewboardrc</exclude>
+ <exclude>.git/**</exclude>
+ <exclude>.gitignore</exclude>
+ <exclude>*.patch</exclude>
+ <exclude>.idea/**</exclude>
+ <exclude>**/*.iml</exclude>
+ <exclude>**/*.ipr</exclude>
+ </excludes>
</configuration>
</plugin>
</plugins>
@@ -187,6 +405,7 @@ under the License.
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
+ <version>12.0</version>
</dependency>
<dependency>
<groupId>com.yammer.metrics</groupId>

0 comments on commit 7414cfd

Please sign in to comment.