sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1152974 - in /incubator/sqoop/trunk: ./ pom.xml src/java/com/cloudera/sqoop/tool/VersionTool.java
Date Tue, 02 Aug 2011 00:01:39 GMT
Author: olamy
Date: Tue Aug  2 00:01:38 2011
New Revision: 1152974

URL: http://svn.apache.org/viewvc?rev=1152974&view=rev
Log:
start working on a maven build : some tests failed due to missing oracle jdbc driver

Added:
    incubator/sqoop/trunk/pom.xml   (with props)
Modified:
    incubator/sqoop/trunk/   (props changed)
    incubator/sqoop/trunk/src/java/com/cloudera/sqoop/tool/VersionTool.java

Propchange: incubator/sqoop/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Aug  2 00:01:38 2011
@@ -6,3 +6,4 @@ build.properties
 *qoop.iml
 src/*qoop.iml
 .idea
+target

Added: incubator/sqoop/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/pom.xml?rev=1152974&view=auto
==============================================================================
--- incubator/sqoop/trunk/pom.xml (added)
+++ incubator/sqoop/trunk/pom.xml Tue Aug  2 00:01:38 2011
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+-->
+<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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache</groupId>
+    <artifactId>apache</artifactId>
+    <version>9</version>
+  </parent>
+
+  <groupId>org.apache.sqoop</groupId>
+  <artifactId>sqoop</artifactId>
+  <version>1.0-incubating-SNAPSHOT</version>
+  <packaging>jar</packaging>
+
+  <name>Apache Sqoop</name>
+  <description>TODO</description>
+  <url>http://incubator.apache.org/sqoop/</url>
+  <inceptionYear>2011</inceptionYear>
+  <organization>
+    <name>The Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <developers>
+    <developer>
+      <name>Olivier Lamy</name>
+      <id>olamy</id>
+      <email>olamy at apache dot org</email>
+      <roles>
+        <role>Mentor</role>
+        <role>PPMC Member</role>
+        <role>Committer</role>
+      </roles>
+    </developer>
+  </developers>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/ognl/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/ognl/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewvc/incubator/ognl/trunk/</url>
+  </scm>
+  <issueManagement>
+    <system>jira</system>
+    <url>https://issues.apache.org/jira/browse/OGNL</url>
+  </issueManagement>
+  <ciManagement>
+    <system>Jenkins</system>
+    <url>https://builds.apache.org/job/sqoop/</url>
+  </ciManagement>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <maven.compile.source>1.5</maven.compile.source>
+    <maven.compile.target>1.5</maven.compile.target>
+    <avroVersion>1.5.1</avroVersion>
+    <!--
+    <hadoopVersion>0.20.203.0</hadoopVersion>
+    -->
+    <!-- FIXME Cloudera Distribution dependency version -->
+    <hadoopVersion>0.20.2-737</hadoopVersion>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>commons-cli</groupId>
+      <artifactId>commons-cli</artifactId>
+      <version>1.2</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.0.4</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>1.4</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.avro</groupId>
+      <artifactId>avro</artifactId>
+      <version>${avroVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.avro</groupId>
+      <artifactId>avro-mapred</artifactId>
+      <version>${avroVersion}</version>
+    </dependency>
+    <dependency>
+      <!--
+      FIXME we must depends on org.apache !
+      <groupId>org.apache.hadoop</groupId>
+      -->
+      <groupId>com.cloudera.hadoop</groupId>
+      <artifactId>hadoop-core</artifactId>
+      <version>${hadoopVersion}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.hbase</groupId>
+      <artifactId>hbase</artifactId>
+      <!-- from cloudera repo -->
+      <version>0.90.3</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.hbase</groupId>
+      <artifactId>hbase</artifactId>
+      <!-- from cloudera repo -->
+      <version>0.89.20100924-28</version>
+      <classifier>tests</classifier>
+    </dependency>
+
+    <dependency>
+      <groupId>hsqldb</groupId>
+      <artifactId>hsqldb</artifactId>
+      <version>1.8.0.10</version>
+    </dependency>
+    <dependency>
+      <!--
+      FIXME we must depends on org.apache !
+      <groupId>org.apache.hadoop</groupId>
+      -->
+      <groupId>com.cloudera.hadoop</groupId>
+      <artifactId>hadoop-test</artifactId>
+      <version>${hadoopVersion}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.hadoop</groupId>
+      <artifactId>hadoop-mrunit</artifactId>
+      <version>0.20.2-cdh3u1</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.8.2</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <sourceDirectory>src/java</sourceDirectory>
+    <testSourceDirectory>src/test</testSourceDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3.2</version>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+        <executions>
+          <execution>
+            <id>compile-tests</id>
+            <phase>process-test-sources</phase>
+            <goals>
+              <goal>testCompile</goal>
+            </goals>
+            <configuration>
+              <source>1.5</source>
+              <target>1.5</target>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.9</version>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.3.1</version>
+        <configuration>
+          <archive>
+            <compress>true</compress>
+            <index>true</index>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-clean-plugin</artifactId>
+        <version>2.4.1</version>
+      </plugin>
+
+    </plugins>
+  </build>
+
+  <profiles>
+    <profile>
+      <id>reporting</id>
+      <activation>
+        <property>
+          <name>skipReports</name>
+          <value>!true</value>
+        </property>
+      </activation>
+
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>taglist-maven-plugin</artifactId>
+            <version>2.4</version>
+            <configuration>
+              <tags>
+                <tag>TODO</tag>
+                <tag>NOPMD</tag>
+                <tag>NOTE</tag>
+              </tags>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.codehaus.sonar-plugins</groupId>
+            <artifactId>maven-report</artifactId>
+            <version>0.1</version>
+            <configuration>
+              <sonarHostURL>https://analysis.apache.org/</sonarHostURL>
+            </configuration>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+  </profiles>
+
+  <repositories>
+    <repository>
+      <id>cloudera.release</id>
+      <url>https://repository.cloudera.com/content/repositories/releases/</url>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+
+</project>

Propchange: incubator/sqoop/trunk/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/sqoop/trunk/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: incubator/sqoop/trunk/src/java/com/cloudera/sqoop/tool/VersionTool.java
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/src/java/com/cloudera/sqoop/tool/VersionTool.java?rev=1152974&r1=1152973&r2=1152974&view=diff
==============================================================================
--- incubator/sqoop/trunk/src/java/com/cloudera/sqoop/tool/VersionTool.java (original)
+++ incubator/sqoop/trunk/src/java/com/cloudera/sqoop/tool/VersionTool.java Tue Aug  2 00:01:38
2011
@@ -19,7 +19,6 @@
 package com.cloudera.sqoop.tool;
 
 import com.cloudera.sqoop.SqoopOptions;
-import com.cloudera.sqoop.SqoopVersion;
 import com.cloudera.sqoop.cli.ToolOptions;
 
 /**
@@ -34,7 +33,8 @@ public class VersionTool extends BaseSqo
   @Override
   /** {@inheritDoc} */
   public int run(SqoopOptions options) {
-    System.out.print(new SqoopVersion().toString());
+    // FIXME with maven buildnumber plugin
+    System.out.print("FIXME ");
     return 0;
   }
 



Mime
View raw message