manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rh...@apache.org
Subject svn commit: r1828211 - in /manifoldcf/trunk: ./ connectors/nuxeo/ connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/ connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/model/
Date Tue, 03 Apr 2018 09:34:04 GMT
Author: rharo
Date: Tue Apr  3 09:34:04 2018
New Revision: 1828211

URL: http://svn.apache.org/viewvc?rev=1828211&view=rev
Log:
Fixing ant build for new Nuxeo Client Dependencies

Modified:
    manifoldcf/trunk/build.xml
    manifoldcf/trunk/connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/NuxeoRepositoryConnector.java
    manifoldcf/trunk/connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/model/DocumentManifold.java
    manifoldcf/trunk/connectors/nuxeo/pom.xml

Modified: manifoldcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/build.xml?rev=1828211&r1=1828210&r2=1828211&view=diff
==============================================================================
--- manifoldcf/trunk/build.xml (original)
+++ manifoldcf/trunk/build.xml Tue Apr  3 09:34:04 2018
@@ -51,6 +51,7 @@
     <property name="commons-fileupload.version" value="1.2.2"/>
     <property name="commons-io.version" value="2.5"/>
     <property name="commons-lang.version" value="2.6"/>
+    <property name="commons-lang3.version" value="3.6"/>
     <property name="commons-logging.version" value="1.2"/>
     <property name="commons-configuration.version" value="1.6"/>
     <property name="commons-cli.version" value="1.2"/>
@@ -883,28 +884,28 @@ Use Apache Forrest version forrest-0.9-d
         <mkdir dir="lib"/>
         <antcall target="download-via-nuxeo">
             <param name="project-path" value="org/nuxeo/client"/>
-            <param name="artifact-version" value="2.5"/>
+            <param name="artifact-version" value="3.0.1"/>
             <param name="target" value="lib"/>
             <param name="artifact-name" value="nuxeo-java-client"/>
             <param name="artifact-type" value="jar"/>
         </antcall>
         <antcall target="download-via-maven">
             <param name="project-path" value="com/squareup/retrofit2"/>
-            <param name="artifact-version" value="2.0.2"/>
+            <param name="artifact-version" value="2.3.0"/>
             <param name="target" value="lib"/>
             <param name="artifact-name" value="retrofit"/>
             <param name="artifact-type" value="jar"/>
         </antcall>
         <antcall target="download-via-maven">
             <param name="project-path" value="com/squareup/okhttp3"/>
-            <param name="artifact-version" value="3.0.0-RC1"/>
+            <param name="artifact-version" value="3.9.1"/>
             <param name="target" value="lib"/>
             <param name="artifact-name" value="okhttp"/>
             <param name="artifact-type" value="jar"/>
         </antcall>
         <antcall target="download-via-maven">
             <param name="project-path" value="com/squareup/okio"/>
-            <param name="artifact-version" value="1.6.0"/>
+            <param name="artifact-version" value="1.13.0"/>
             <param name="target" value="lib"/>
             <param name="artifact-name" value="okio"/>
             <param name="artifact-type" value="jar"/>
@@ -1315,6 +1316,12 @@ Use Apache Forrest version forrest-0.9-d
             <param name="artifact-type" value="jar"/>
         </antcall>
         <antcall target="download-via-maven"><param name="target" value="lib"/>
+            <param name="project-path" value="org/apache/commons"/>
+            <param name="artifact-version" value="${commons-lang3.version}"/>
+            <param name="artifact-name" value="commons-lang3"/>
+            <param name="artifact-type" value="jar"/>
+        </antcall>
+        <antcall target="download-via-maven"><param name="target" value="lib"/>
             <param name="project-path" value="commons-logging"/>
             <param name="artifact-version" value="${commons-logging.version}"/>
             <param name="artifact-name" value="commons-logging"/>

Modified: manifoldcf/trunk/connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/NuxeoRepositoryConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/NuxeoRepositoryConnector.java?rev=1828211&r1=1828210&r2=1828211&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/NuxeoRepositoryConnector.java
(original)
+++ manifoldcf/trunk/connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/NuxeoRepositoryConnector.java
Tue Apr  3 09:34:04 2018
@@ -551,7 +551,7 @@ public class NuxeoRepositoryConnector ex
       }
     }
 
-    int lenght = doc.getLenght();
+    int lenght = doc.getLength();
     if (doc.getDocument().getState() != null
         && doc.getDocument().getState().equalsIgnoreCase(DocumentManifold.DELETED))
{
       activities.deleteDocument(manifoldDocumentIdentifier);

Modified: manifoldcf/trunk/connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/model/DocumentManifold.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/model/DocumentManifold.java?rev=1828211&r1=1828210&r2=1828211&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/model/DocumentManifold.java
(original)
+++ manifoldcf/trunk/connectors/nuxeo/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/nuxeo/model/DocumentManifold.java
Tue Apr  3 09:34:04 2018
@@ -107,7 +107,7 @@ public class DocumentManifold {
     return this.mimetype;
   }
 
-  public int getLenght() {
+  public int getLength() {
     int size;
     try {
       size = this.getContent().available();

Modified: manifoldcf/trunk/connectors/nuxeo/pom.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/nuxeo/pom.xml?rev=1828211&r1=1828210&r2=1828211&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/nuxeo/pom.xml (original)
+++ manifoldcf/trunk/connectors/nuxeo/pom.xml Tue Apr  3 09:34:04 2018
@@ -376,7 +376,7 @@
     <dependency>
         <groupId>org.nuxeo.client</groupId>
         <artifactId>nuxeo-java-client</artifactId>
-        <version>3.0.1-SNAPSHOT</version>
+        <version>3.0.1</version>
       </dependency>
   </dependencies>
 



Mime
View raw message