manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1698361 - in /manifoldcf/branches/CONNECTORS-1233: build.xml connectors/amazons3/build.xml
Date Fri, 28 Aug 2015 16:14:18 GMT
Author: kwright
Date: Fri Aug 28 16:14:17 2015
New Revision: 1698361

URL: http://svn.apache.org/r1698361
Log:
Add amazons3 dependencies to make-core-deps

Added:
    manifoldcf/branches/CONNECTORS-1233/connectors/amazons3/build.xml   (with props)
Modified:
    manifoldcf/branches/CONNECTORS-1233/build.xml

Modified: manifoldcf/branches/CONNECTORS-1233/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1233/build.xml?rev=1698361&r1=1698360&r2=1698361&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1233/build.xml (original)
+++ manifoldcf/branches/CONNECTORS-1233/build.xml Fri Aug 28 16:14:17 2015
@@ -129,7 +129,8 @@
     <property name="resteasy.client.version" value="3.0.8.Final"/>
     <property name="jsoup.version" value="1.8.1"/>
     <property name="hadoop.version" value="2.6.0"/>
-
+    <property name="aws-sdk.version" value="1.9.0"/>
+    <property name="joda-time.version" value="2.8.2"/>
 
     <target name="downloaded-condition">
         <!-- Spot check a few of the dependent jars; no point including ALL of them here...
-->
@@ -885,6 +886,177 @@ Use Apache Forrest version forrest-0.9-d
         </antcall>
     </target>
 
+    <target name="download-aws-sdk">
+        <mkdir dir="lib"/>
+        <property name="aws-sdk-package" value="com/amazonaws"/>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-directconnect"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-logs"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-elasticbeanstalk"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-iam"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-autoscaling"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-emr"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-cognitoidentity"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-cloudwatchmetrics"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-cloudwatch"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-dynamodb"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-ses"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-simpleworkflow"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-swf-libraries"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-importexport"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-support"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-elasticache"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-cloudfront"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-opsworks"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-storagegateway"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-kinesis"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-redshift"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-cloudsearch"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-cloudformation"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-rds"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-sts"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-route53"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-glacier"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-sqs"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-sns"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-cloudtrail"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-ec2"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-cognitosync"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-simpledb"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-datapipeline"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-elasticloadbalancing"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-elastictranscoder"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-s3"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="project-path" value="${aws-sdk-package}"/><param
name="artifact-version" value="${aws-sdk.version}"/><param name="target" value="lib"/>
+            <param name="artifact-name" value="aws-java-sdk-core"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+    </target>
+    
+    <target name="download-joda-time">
+        <mkdir dir="lib"/>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="joda-time"/>
+            <param name="artifact-version" value="${joda-time.version}"/>
+            <param name="artifact-name" value="joda-time"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+    </target>
+    
     <target name="download-axis">
         <mkdir dir="lib"/>
         <property name="axis-package" value="org/apache/axis"/>
@@ -1970,7 +2142,7 @@ Use Apache Forrest version forrest-0.9-d
         </antcall>
     </target>
 	
-    <target name="make-core-deps" depends="download-resteasy,download-jsoup,download-mockito,download-alfresco-webscript-plugin,download-alfresco-indexer-client,download-mongo-java-driver,download-jira-client,download-google-api-client,download-dropbox-client,download-solrj,download-zookeeper,download-httpcomponents,download-json,download-hsqldb,download-xerces,download-commons,download-elasticsearch-plugin,download-solr-plugins,download-sharepoint-plugins,download-jstl,download-xmlgraphics-commons,download-woodstox,download-xmlsec,download-xml-apis,download-wss4j,download-velocity,download-streambuffer,download-stax,download-servlet-api,download-xml-resolver,download-osgi,download-opensaml,download-mimepull,download-mail,download-log4j,download-junit,download-jaxws,download-glassfish,download-jaxb,download-tomcat,download-h2,download-h2-support,download-geronimo-specs,download-fop,download-postgresql,download-axis,download-saaj,download-wsdl4j,download-castor,download-jetty,downloa
 d-slf4j,download-xalan,download-activation,download-avalon-framework,download-poi,download-chemistry,download-ecj,download-hadoop,download-htrace,download-protobuf,download-tika,download-jackson">
+    <target name="make-core-deps" depends="download-joda-time,download-aws-sdk,download-resteasy,download-jsoup,download-mockito,download-alfresco-webscript-plugin,download-alfresco-indexer-client,download-mongo-java-driver,download-jira-client,download-google-api-client,download-dropbox-client,download-solrj,download-zookeeper,download-httpcomponents,download-json,download-hsqldb,download-xerces,download-commons,download-elasticsearch-plugin,download-solr-plugins,download-sharepoint-plugins,download-jstl,download-xmlgraphics-commons,download-woodstox,download-xmlsec,download-xml-apis,download-wss4j,download-velocity,download-streambuffer,download-stax,download-servlet-api,download-xml-resolver,download-osgi,download-opensaml,download-mimepull,download-mail,download-log4j,download-junit,download-jaxws,download-glassfish,download-jaxb,download-tomcat,download-h2,download-h2-support,download-geronimo-specs,download-fop,download-postgresql,download-axis,download-saaj,download-wsdl4j,do
 wnload-castor,download-jetty,download-slf4j,download-xalan,download-activation,download-avalon-framework,download-poi,download-chemistry,download-ecj,download-hadoop,download-htrace,download-protobuf,download-tika,download-jackson">
         <copy todir="lib">
             <fileset dir="lib-license" includes="*.txt"/>
         </copy>

Added: manifoldcf/branches/CONNECTORS-1233/connectors/amazons3/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1233/connectors/amazons3/build.xml?rev=1698361&view=auto
==============================================================================
--- manifoldcf/branches/CONNECTORS-1233/connectors/amazons3/build.xml (added)
+++ manifoldcf/branches/CONNECTORS-1233/connectors/amazons3/build.xml Fri Aug 28 16:14:17
2015
@@ -0,0 +1,68 @@
+<!--
+ 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 name="amazons3" default="all">
+
+    <property environment="env"/>
+    <condition property="mcf-dist" value="${env.MCFDISTPATH}">
+        <isset property="env.MCFDISTPATH"/>
+    </condition>
+    <property name="abs-dist" location="../../dist"/>
+    <condition property="mcf-dist" value="${abs-dist}">
+        <not>
+            <isset property="env.MCFDISTPATH"/>
+        </not>
+    </condition>
+
+    <import file="${mcf-dist}/connector-build.xml"/>
+
+    <path id="connector-classpath">
+        <path refid="mcf-connector-build.connector-classpath"/>
+        <fileset dir="../../lib">
+            <include name="aws-java-sdk-*.jar"/>
+            <include name="jackson-core*.jar"/>
+            <include name="jackson-databind*.jar"/>
+            <include name="jackson-annotations*.jar"/>
+            <include name="joda-time*.jar"/>
+        </fileset>
+    </path>
+
+    <target name="lib" depends="mcf-connector-build.lib,precompile-check" if="canBuild">
+        <mkdir dir="dist/lib"/>
+        <copy todir="dist/lib">
+            <fileset dir="../../lib">
+              <include name="aws-java-sdk-*.jar"/>
+              <include name="jackson-core*.jar"/>
+              <include name="jackson-databind*.jar"/>
+              <include name="jackson-annotations*.jar"/>
+              <include name="joda-time*.jar"/>
+            </fileset>
+        </copy>
+    </target>
+	
+    <target name="deliver-connector" depends="mcf-connector-build.deliver-connector">
+        <antcall target="general-add-repository-connector">
+            <param name="connector-label" value="AmazonS3"/>
+            <param name="connector-class" value="org.apache.manifoldcf.crawler.connectors.amazons3.AmazonS3Connector"/>
+        </antcall>
+        <antcall target="general-add-authority-connector">
+            <param name="connector-label" value="AmazonS3"/>
+            <param name="connector-class" value="org.apache.manifoldcf.authorities.authorities.amazons3.AmazonS3Authority"/>
+        </antcall>
+    </target>
+
+</project>

Propchange: manifoldcf/branches/CONNECTORS-1233/connectors/amazons3/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: manifoldcf/branches/CONNECTORS-1233/connectors/amazons3/build.xml
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message