Build failed in Jenkins: ManifoldCF » ManifoldCF-mvn #96

2023-11-24 Thread Apache Jenkins Server
See 


Changes:

[Piergiorgio Lucidi] Fixed an issue of the Ant build related to the Solr Output 
Connector and another one of the Maven build for CSV and Nuxeo connectors


--
[...truncated 477.86 KB...]
AUsite/src/documentation/resources/images/zh_CN/mapping-throttling.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-authority-memex-server.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-authority-status.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-authority-user-mapping.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-connection-memex-server.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-connection-status.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-connection-web-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-authority-credentials.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-authority-document-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-authority-records-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-authority-status.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-authority-user-service-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-connection-credentials.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-connection-document-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-connection-records-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-connection-status.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-connection-web-client.PNG
AU
site/src/documentation/resources/images/zh_CN/metadataadjuster-job-add-metadata.PNG
AU
site/src/documentation/resources/images/zh_CN/metadataadjuster-job-move-metadata.PNG
AU
site/src/documentation/resources/images/zh_CN/opensearchserver-connection-parameters.PNG
AU
site/src/documentation/resources/images/zh_CN/opensearchserver-history-report.PNG
AU
site/src/documentation/resources/images/zh_CN/opensearchserver-job-parameters.PNG
AU
site/src/documentation/resources/images/zh_CN/opensearchserver-user.PNG
AUsite/src/documentation/resources/images/zh_CN/output-throttling.PNG
AUsite/src/documentation/resources/images/zh_CN/queue-status-example.PNG
AU
site/src/documentation/resources/images/zh_CN/queue-status-select-connection.PNG
AU
site/src/documentation/resources/images/zh_CN/queue-status-select-job.PNG
AU
site/src/documentation/resources/images/zh_CN/regexp-mapping-status.PNG
AU
site/src/documentation/resources/images/zh_CN/regexp-mapping-user-mapping.PNG
AU
site/src/documentation/resources/images/zh_CN/repository-throttling-with-throttle.PNG
AU
site/src/documentation/resources/images/zh_CN/repository-throttling.PNG
AU
site/src/documentation/resources/images/zh_CN/rss-configure-bandwidth.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-configure-email.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-configure-proxy.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-configure-robots.PNG
AU
site/src/documentation/resources/images/zh_CN/rss-job-canonicalization.PNG
AU
site/src/documentation/resources/images/zh_CN/rss-job-dechromed-content.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-job-exclusions.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-job-mappings.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-job-security.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-job-time-values.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-job-urls.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-status.PNG
AU
site/src/documentation/resources/images/zh_CN/sharepoint-configure-authoritytype.PNG
AU
site/src/documentation/resources/images/zh_CN/sharepoint-configure-server.PNG
AU
site/src/documentation/resources/images/zh_CN/sharepoint-job-metadata.PNG
AUsite/src/documentation/resources/images/zh_CN/sharepoint-job-paths.PNG
AU
site/src/documentation/resources/images/zh_CN/sharepoint-job-security.PNG
AUsite/src/documentation/resources/images/zh_CN/sharepoint-status.PNG
AU
site/src/documentation/resources/images/zh_CN/sharepointadauthority-configure-cache.PNG
AU
site/src/documentation/resources/images/zh_CN/sharepointadauthority-configure-dc.PNG
AU
site/src/documentation/resources/images/zh_CN/sharepointadauthority-status.PNG
AU
site/src/documentation/resources/images/zh_CN/sharepointnativeauthority-configure-cache.PNG
AU

Jenkins build is back to normal : ManifoldCF » ManifoldCF-Artifacts-Ant-JDK11 #90

2023-11-24 Thread Apache Jenkins Server
See 




[jira] [Updated] (CONNECTORS-1751) HDFS Connector - Maven build issue

2023-11-24 Thread Piergiorgio Lucidi (Jira)


 [ 
https://issues.apache.org/jira/browse/CONNECTORS-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piergiorgio Lucidi updated CONNECTORS-1751:
---
Description: 
Thanks to the ManifoldCF SDK, I found another issue with the Maven build.
Steps to reproduce the issue with the Manifold SDK:
 
1. Clone the ManifoldCF SDK project from the following URL:
git clone [https://github.com/OpenPj/manifoldcf-sdk.git]
 
2. Remove row 27 from the {{run.sh}} script, this line is including the hotfix 
for the Hadoop version upgrading it to the latest version 3.3.6.
 
3. Run the following command in order to download the MCF source code and run 
the Ant and Maven build process in a Docker container (Maven 3.9.5 and JDK 
Temurin 11).
 
This in order to install locally all the Maven dependencies needed to implement 
custom extensions / connectors. The Docker Volume includes the entire Maven 
repo (around 1GB) used by the ManifoldCF build process and it will be copied in 
the SDK target folder and configured in order to compile your Java Custom code:
 
./run.sh init 2.26 ga
 
The current version of the ManifoldCF SDK 0.0.3 includes all the sep 
instructions to fix all the build problems described here including the Hadoop 
one:
https://issues.apache.org/jira/browse/CONNECTORS-1750
 
These issues are also resolved in ManifoldCF main trunk, except the Hadoop one, 
but these are still present in the latest release packages (source code 
packages).
I have to confess that I don't know if those issue are also included in other 
releases.
 
The SDK is returning the following error that should be related to the Hadoop 
Annotations dependencies of Hadoop 2.6.0, an old version of Hadoop that 
includes a JDK 1.6 dependency: }} jdk.tools:jdk.tools:jar:1.6{}}}.
 
{code:java}
[ERROR] Failed to execute goal on project mcf-hdfs-connector: Could not resolve 
dependencies for project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The 
following artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could 
not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path 
/opt/java/openjdk/../lib/tools.jar -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
on project mcf-hdfs-connector: Could not resolve dependencies for project 
org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following artifacts 
could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find artifact 
jdk.tools:jdk.tools:jar:1.6 at specified path /opt/java/openjdk/../lib/tools.jar
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies 
(LifecycleDependencyResolver.java:243)
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
 (LifecycleDependencyResolver.java:136)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved 
(MojoExecutor.java:355)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:313)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
(MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
(MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
(DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:105)
    at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:193)
    at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:180)
    at java.util.concurrent.FutureTask.run (FutureTask.java:264)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
    at java.util.concurrent.FutureTask.run (FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker 
(ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run 
(ThreadPoolExecutor.java:628)
    at java.lang.Thread.run (Thread.java:829)
. . .
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not 
find artifact jdk.tools:jdk.tools:jar:1.6 at specified path 
/opt/java/openjdk/../lib/tools.jar
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve 
(DefaultArtifactResolver.java:305)
    at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts 
(DefaultArtifactResolver.java:261)
    at 
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies 
(DefaultRepositorySystem.java:353)
    at 

[jira] [Assigned] (CONNECTORS-1751) HDFS Connector - Maven build issue

2023-11-24 Thread Piergiorgio Lucidi (Jira)


 [ 
https://issues.apache.org/jira/browse/CONNECTORS-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piergiorgio Lucidi reassigned CONNECTORS-1751:
--

Assignee: Piergiorgio Lucidi

> HDFS Connector - Maven build issue
> --
>
> Key: CONNECTORS-1751
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1751
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: HDFS connector
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Assignee: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>
> Thanks to the ManifoldCF SDK, I found another issue with the Maven build.
> Steps to reproduce the issue with the Manifold SDK:
>  
> 1. Clone the ManifoldCF SDK project from the following URL:
> git clone [https://github.com/OpenPj/manifoldcf-sdk.git]
>  
> 2. Remove row 27 from the {{run.sh}} script, this line is including the 
> hotfix for the Hadoop version upgrading it to the latest version 3.3.6.
>  
> 3. Run the following command in order to download the MCF source code and run 
> the Ant and Maven build process in a Docker container (Maven 3.9.5 and JDK 
> Temurin 11).
>  
> This in order to install locally all the Maven dependencies needed to 
> implement custom extensions / connectors. The Docker Volume includes the 
> entire Maven repo (around 1GB) used by the ManifoldCF build process and it 
> will be copied in the SDK target folder and configured in order to compile 
> your Java Custom code:
>  
> ./run.sh init 2.26 ga
>  
> The current version of the ManifoldCF SDK 0.0.3 includes all the sep 
> instructions to fix all the build problems described here including the 
> Hadoop one:
> https://issues.apache.org/jira/browse/CONNECTORS-1750
>  
> These issues are also resolved in ManifoldCF main trunk, except the Hadoop 
> one, but these are still present in the latest release packages (source code 
> packages).
> I have to confess that I don't know if those issue are also included in other 
> releases.
>  
> The SDK is returning the following error that should be related to the Hadoop 
> Annotations dependencies of Hadoop 2.6.0, an old version of Hadoop that 
> includes a JDK 1.6 dependency: }} jdk.tools:jdk.tools:jar:1.6{}}}.
>  
> {code:java}
> [ERROR] Failed to execute goal on project mcf-hdfs-connector: Could not 
> resolve dependencies for project 
> org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following artifacts 
> could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find artifact 
> jdk.tools:jdk.tools:jar:1.6 at specified path 
> /opt/java/openjdk/../lib/tools.jar -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal on project mcf-hdfs-connector: Could not resolve dependencies for 
> project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following 
> artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find 
> artifact jdk.tools:jdk.tools:jar:1.6 at specified path 
> /opt/java/openjdk/../lib/tools.jar
>     at 
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
>  (LifecycleDependencyResolver.java:243)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
>  (LifecycleDependencyResolver.java:136)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
>  (MojoExecutor.java:355)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:313)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:212)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:174)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
> (MojoExecutor.java:75)
>     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
> (MojoExecutor.java:162)
>     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
> (DefaultMojosExecutionStrategy.java:39)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:159)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:105)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:193)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:180)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:264)
>     at java.util.concurrent.Executors$RunnableAdapter.call 
> (Executors.java:515)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:264)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1128)
>     at 

[jira] [Comment Edited] (CONNECTORS-1751) HDFS Connector - Maven build issue

2023-11-24 Thread Piergiorgio Lucidi (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17789591#comment-17789591
 ] 

Piergiorgio Lucidi edited comment on CONNECTORS-1751 at 11/24/23 10:39 PM:
---

Using ManifoldCF SDK, adding the following dependency in the 
{{connectors/hdfs/pom.xml}} solved the issue:
{code:java}

      org.apache.hadoop
      hadoop-annotations
      ${hadoop.version}
      
        
          jdk.tools
          jdk.tools
        
      
    {code}


was (Author: piergiorgioluc...@gmail.com):
Using ManifoldCF SDK, adding the following dependency solved the issue:
{code:java}

      org.apache.hadoop
      hadoop-annotations
      ${hadoop.version}
      
        
          jdk.tools
          jdk.tools
        
      
    {code}

> HDFS Connector - Maven build issue
> --
>
> Key: CONNECTORS-1751
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1751
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: HDFS connector
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>
> Thanks to the ManifoldCF SDK, I found another issue with the Maven build.
> Steps to reproduce the issue with the Manifold SDK:
>  
> 1. Clone the ManifoldCF SDK project from the following URL:
> git clone [https://github.com/OpenPj/manifoldcf-sdk.git]
>  
> 2. Remove row 27 from the {{run.sh}} script, this line is including the 
> hotfix for the Hadoop version upgrading it to the latest version 3.3.6.
>  
> 3. Run the following command in order to download the MCF source code and run 
> the Ant and Maven build process in a Docker container (Maven 3.9.5 and JDK 
> Temurin 11).
>  
> This in order to install locally all the Maven dependencies needed to 
> implement custom extensions / connectors. The Docker Volume includes the 
> entire Maven repo (around 1GB) used by the ManifoldCF build process and it 
> will be copied in the SDK target folder and configured in order to compile 
> your Java Custom code:
>  
> ./run.sh init 2.26 ga
>  
> The current version of the [ManifoldCF SDK 
> (0.0.2-Beta)|https://github.com/OpenPj/manifoldcf-sdk/releases/tag/v0.0.2-Beta]
>  includes all the sep instructions to fix all the build problems described 
> here including the Hadoop one:
> https://issues.apache.org/jira/browse/CONNECTORS-1750
>  
> These issues are also resolved in ManifoldCF main trunk, except the Hadoop 
> one, but these are still present in the latest release packages (source code 
> packages).
> I have to confess that I don't know if those issue are also included in other 
> releases.
>  
> The SDK is returning the following error that should be related to the Hadoop 
> Annotations dependencies of Hadoop 2.6.0, an old version of Hadoop that 
> includes a JDK 1.6 dependency: }} jdk.tools:jdk.tools:jar:1.6{}}}.
>  
> {code:java}
> [ERROR] Failed to execute goal on project mcf-hdfs-connector: Could not 
> resolve dependencies for project 
> org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following artifacts 
> could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find artifact 
> jdk.tools:jdk.tools:jar:1.6 at specified path 
> /opt/java/openjdk/../lib/tools.jar -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal on project mcf-hdfs-connector: Could not resolve dependencies for 
> project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following 
> artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find 
> artifact jdk.tools:jdk.tools:jar:1.6 at specified path 
> /opt/java/openjdk/../lib/tools.jar
>     at 
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
>  (LifecycleDependencyResolver.java:243)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
>  (LifecycleDependencyResolver.java:136)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
>  (MojoExecutor.java:355)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:313)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:212)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:174)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
> (MojoExecutor.java:75)
>     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
> (MojoExecutor.java:162)
>     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
> (DefaultMojosExecutionStrategy.java:39)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:159)
>     at 
> 

[jira] [Commented] (CONNECTORS-1751) HDFS Connector - Maven build issue

2023-11-24 Thread Piergiorgio Lucidi (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17789591#comment-17789591
 ] 

Piergiorgio Lucidi commented on CONNECTORS-1751:


Using ManifoldCF SDK, adding the following dependency solved the issue:
{code:java}

      org.apache.hadoop
      hadoop-annotations
      ${hadoop.version}
      
        
          jdk.tools
          jdk.tools
        
      
    {code}

> HDFS Connector - Maven build issue
> --
>
> Key: CONNECTORS-1751
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1751
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: HDFS connector
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>
> Thanks to the ManifoldCF SDK, I found another issue with the Maven build.
> Steps to reproduce the issue with the Manifold SDK:
>  
> 1. Clone the ManifoldCF SDK project from the following URL:
> git clone [https://github.com/OpenPj/manifoldcf-sdk.git]
>  
> 2. Remove row 27 from the {{run.sh}} script, this line is including the 
> hotfix for the Hadoop version upgrading it to the latest version 3.3.6.
>  
> 3. Run the following command in order to download the MCF source code and run 
> the Ant and Maven build process in a Docker container (Maven 3.9.5 and JDK 
> Temurin 11).
>  
> This in order to install locally all the Maven dependencies needed to 
> implement custom extensions / connectors. The Docker Volume includes the 
> entire Maven repo (around 1GB) used by the ManifoldCF build process and it 
> will be copied in the SDK target folder and configured in order to compile 
> your Java Custom code:
>  
> ./run.sh init 2.26 ga
>  
> The current version of the [ManifoldCF SDK 
> (0.0.2-Beta)|https://github.com/OpenPj/manifoldcf-sdk/releases/tag/v0.0.2-Beta]
>  includes all the sep instructions to fix all the build problems described 
> here including the Hadoop one:
> https://issues.apache.org/jira/browse/CONNECTORS-1750
>  
> These issues are also resolved in ManifoldCF main trunk, except the Hadoop 
> one, but these are still present in the latest release packages (source code 
> packages).
> I have to confess that I don't know if those issue are also included in other 
> releases.
>  
> The SDK is returning the following error that should be related to the Hadoop 
> Annotations dependencies of Hadoop 2.6.0, an old version of Hadoop that 
> includes a JDK 1.6 dependency: }} jdk.tools:jdk.tools:jar:1.6{}}}.
>  
> {code:java}
> [ERROR] Failed to execute goal on project mcf-hdfs-connector: Could not 
> resolve dependencies for project 
> org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following artifacts 
> could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find artifact 
> jdk.tools:jdk.tools:jar:1.6 at specified path 
> /opt/java/openjdk/../lib/tools.jar -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal on project mcf-hdfs-connector: Could not resolve dependencies for 
> project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following 
> artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find 
> artifact jdk.tools:jdk.tools:jar:1.6 at specified path 
> /opt/java/openjdk/../lib/tools.jar
>     at 
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
>  (LifecycleDependencyResolver.java:243)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
>  (LifecycleDependencyResolver.java:136)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
>  (MojoExecutor.java:355)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:313)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:212)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:174)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
> (MojoExecutor.java:75)
>     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
> (MojoExecutor.java:162)
>     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
> (DefaultMojosExecutionStrategy.java:39)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:159)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:105)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:193)
>     at 
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
>  (MultiThreadedBuilder.java:180)
>     at java.util.concurrent.FutureTask.run 

Re: HDFS Connector - Maven build issue found thanks to the ManifoldCF SDK

2023-11-24 Thread Piergiorgio Lucidi
Hi Karl,

it works perfectly so this means that we don't need to upgrade to a newer
version of Hadoop.
I added the following sed instruction to the ManifoldCF SDK using version
2.26 and it worked:

sed -i -e
's/<\/dependencies>/org.apache.hadoop<\/groupId>hadoop-annotations<\/artifactId>${hadoop.version}<\/version>jdk.tools<\/groupId>jdk.tools<\/artifactId><\/exclusion><\/exclusions><\/dependency><\/dependencies>/g'
connectors/hdfs/pom.xml

We have to declare the following dependency in the connectors/hdfs/pom.xml:


  org.apache.hadoop
  hadoop-annotations
  ${hadoop.version}
  

  jdk.tools
  jdk.tools

  


Cheers,
PG


Il giorno ven 24 nov 2023 alle ore 23:26 Piergiorgio Lucidi <
piergior...@apache.org> ha scritto:

> Hi Karl,
>
> the problem is that the unique dependency declared in that pom.xml is the
> hadoop-common importing hadoop-annotations that is causing the issue.
> Below what I see in the hadoop-annotations pom:
>
> 
> 
>   os.linux
>   
> 
>   !Mac
> 
>   
>   
> 
>   jdk.tools
>   jdk.tools
>   1.6
>   system
>   ${java.home}/../lib/tools.jar
> 
>   
> 
> 
>   jdk1.7
>   
> 1.7
>   
>   
> 
>   jdk.tools
>   jdk.tools
>   1.7
>   system
>   ${java.home}/../lib/tools.jar
> 
>   
> 
>   
>
> Probably we could solve declaring hadoop-annotations dependency by adding
> an exclusion related to the jdk.tools dependency.
> Something like this:
>
> 
>   org.apache.hadoop
>   hadoop-annotations
>   ${hadoop.version}
>   
> 
>   jdk.tools
>   jdk.tools
> 
>   
> 
>
> I'll try to apply this using the ManifoldCF SDK and I'll let you know
>
> Cheers,
> PG
>
>
> Il giorno ven 24 nov 2023 alle ore 21:34 Karl Wright 
> ha scritto:
>
>> Hi - the jar it's looking for may no longer be part of the java 11 jdk.
>> I'm not exactly sure how to best handle this in Maven.  It may simply be
>> possible to remove the dependency entirely from the maven pom.
>>
>>
>> On Fri, Nov 24, 2023 at 12:34 PM Piergiorgio Lucidi <
>> piergior...@apache.org>
>> wrote:
>>
>> > I have just created this ticket:
>> > https://issues.apache.org/jira/browse/CONNECTORS-1751
>> >
>> > Il giorno ven 24 nov 2023 alle ore 18:19 Piergiorgio Lucidi <
>> > piergior...@apache.org> ha scritto:
>> >
>> > > Hi folks,
>> > >
>> > > Thanks to the ManifoldCF SDK, I found another issue with the Maven
>> build.
>> > > Steps to reproduce the issue with the Manifold SDK:
>> > >
>> > > 1. Clone the ManifoldCF SDK project from the following URL:
>> > > git clone https://github.com/OpenPj/manifoldcf-sdk.git
>> > >
>> > > 2. Remove row 27 from the run.sh script, this line is including the
>> > hotfix
>> > > for the hadoop version upgrading it to the latest version 3.3.6.
>> > >
>> > > 3. Run the following command in order to download the ManifoldCF
>> source
>> > > code and run the Ant and Maven build process in a Docker container
>> based
>> > on
>> > > Maven 3.9.5 and OpenJDK Temurin 11This in order to install locally all
>> > the
>> > > Maven dependencies needed to implement custom extensions / connectors.
>> > The
>> > > Docker Volume includes the entire Maven repo used by the ManifoldCF
>> build
>> > > process and it will be copied in the SDK target folder and configured
>> in
>> > > order to compile your Java Custom code:
>> > >
>> > > ./run.sh init 2.26 ga
>> > >
>> > > The current version of the SDK includes the sep instruction to fix all
>> > the
>> > > build problems described here:
>> > > https://issues.apache.org/jira/browse/CONNECTORS-1750
>> > >
>> > > These issues are also resolved in ManifoldCF main trunk but still
>> present
>> > > in the latest previous release packages (source code packages).
>> > > I have to confess that I don't know if this issue is also included in
>> > > other releases.
>> > > The SDK is returning the following error that should be related to the
>> > > Hadoop Annotations dependencies of Hadoop 2.6.0, a very old version of
>> > > Hadoop that includes a JDK 1.6 dependency:
>> jdk.tools:jdk.tools:jar:1.6.
>> > >
>> > > [ERROR] Failed to execute goal on project mcf-hdfs-connector: Could
>> not
>> > > resolve dependencies for project
>> > > org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following
>> > artifacts
>> > > could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find
>> > artifact
>> > > jdk.tools:jdk.tools:jar:1.6 at specified path
>> > > /opt/java/openjdk/../lib/tools.jar -> [Help 1]
>> > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute
>> > > goal on project mcf-hdfs-connector: Could not resolve dependencies for
>> > > project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The
>> following
>> > > artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: 

Re: HDFS Connector - Maven build issue found thanks to the ManifoldCF SDK

2023-11-24 Thread Piergiorgio Lucidi
Hi Karl,

the problem is that the unique dependency declared in that pom.xml is the
hadoop-common importing hadoop-annotations that is causing the issue.
Below what I see in the hadoop-annotations pom:



  os.linux
  

  !Mac

  
  

  jdk.tools
  jdk.tools
  1.6
  system
  ${java.home}/../lib/tools.jar

  


  jdk1.7
  
1.7
  
  

  jdk.tools
  jdk.tools
  1.7
  system
  ${java.home}/../lib/tools.jar

  

  

Probably we could solve declaring hadoop-annotations dependency by adding
an exclusion related to the jdk.tools dependency.
Something like this:


  org.apache.hadoop
  hadoop-annotations
  ${hadoop.version}
  

  jdk.tools
  jdk.tools

  


I'll try to apply this using the ManifoldCF SDK and I'll let you know

Cheers,
PG


Il giorno ven 24 nov 2023 alle ore 21:34 Karl Wright 
ha scritto:

> Hi - the jar it's looking for may no longer be part of the java 11 jdk.
> I'm not exactly sure how to best handle this in Maven.  It may simply be
> possible to remove the dependency entirely from the maven pom.
>
>
> On Fri, Nov 24, 2023 at 12:34 PM Piergiorgio Lucidi <
> piergior...@apache.org>
> wrote:
>
> > I have just created this ticket:
> > https://issues.apache.org/jira/browse/CONNECTORS-1751
> >
> > Il giorno ven 24 nov 2023 alle ore 18:19 Piergiorgio Lucidi <
> > piergior...@apache.org> ha scritto:
> >
> > > Hi folks,
> > >
> > > Thanks to the ManifoldCF SDK, I found another issue with the Maven
> build.
> > > Steps to reproduce the issue with the Manifold SDK:
> > >
> > > 1. Clone the ManifoldCF SDK project from the following URL:
> > > git clone https://github.com/OpenPj/manifoldcf-sdk.git
> > >
> > > 2. Remove row 27 from the run.sh script, this line is including the
> > hotfix
> > > for the hadoop version upgrading it to the latest version 3.3.6.
> > >
> > > 3. Run the following command in order to download the ManifoldCF source
> > > code and run the Ant and Maven build process in a Docker container
> based
> > on
> > > Maven 3.9.5 and OpenJDK Temurin 11This in order to install locally all
> > the
> > > Maven dependencies needed to implement custom extensions / connectors.
> > The
> > > Docker Volume includes the entire Maven repo used by the ManifoldCF
> build
> > > process and it will be copied in the SDK target folder and configured
> in
> > > order to compile your Java Custom code:
> > >
> > > ./run.sh init 2.26 ga
> > >
> > > The current version of the SDK includes the sep instruction to fix all
> > the
> > > build problems described here:
> > > https://issues.apache.org/jira/browse/CONNECTORS-1750
> > >
> > > These issues are also resolved in ManifoldCF main trunk but still
> present
> > > in the latest previous release packages (source code packages).
> > > I have to confess that I don't know if this issue is also included in
> > > other releases.
> > > The SDK is returning the following error that should be related to the
> > > Hadoop Annotations dependencies of Hadoop 2.6.0, a very old version of
> > > Hadoop that includes a JDK 1.6 dependency:
> jdk.tools:jdk.tools:jar:1.6.
> > >
> > > [ERROR] Failed to execute goal on project mcf-hdfs-connector: Could not
> > > resolve dependencies for project
> > > org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following
> > artifacts
> > > could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find
> > artifact
> > > jdk.tools:jdk.tools:jar:1.6 at specified path
> > > /opt/java/openjdk/../lib/tools.jar -> [Help 1]
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> > > goal on project mcf-hdfs-connector: Could not resolve dependencies for
> > > project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The
> following
> > > artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not
> > > find artifact jdk.tools:jdk.tools:jar:1.6 at specified path
> > > /opt/java/openjdk/../lib/tools.jar
> > > at
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
> > > (LifecycleDependencyResolver.java:243)
> > > at
> > >
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
> > > (LifecycleDependencyResolver.java:136)
> > > at
> > >
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
> > > (MojoExecutor.java:355)
> > > at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute
> > > (MojoExecutor.java:313)
> > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:212)
> > > at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > > (MojoExecutor.java:174)
> > > at org.apache.maven.lifecycle.internal.MojoExecutor.access$000
> > > (MojoExecutor.java:75)
> > > at 

[jira] [Updated] (CONNECTORS-1751) HDFS Connector - Maven build issue

2023-11-24 Thread Piergiorgio Lucidi (Jira)


 [ 
https://issues.apache.org/jira/browse/CONNECTORS-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piergiorgio Lucidi updated CONNECTORS-1751:
---
Description: 
Thanks to the ManifoldCF SDK, I found another issue with the Maven build.
Steps to reproduce the issue with the Manifold SDK:
 
1. Clone the ManifoldCF SDK project from the following URL:
git clone [https://github.com/OpenPj/manifoldcf-sdk.git]
 
2. Remove row 27 from the {{run.sh}} script, this line is including the hotfix 
for the Hadoop version upgrading it to the latest version 3.3.6.
 
3. Run the following command in order to download the MCF source code and run 
the Ant and Maven build process in a Docker container (Maven 3.9.5 and JDK 
Temurin 11).
 
This in order to install locally all the Maven dependencies needed to implement 
custom extensions / connectors. The Docker Volume includes the entire Maven 
repo (around 1GB) used by the ManifoldCF build process and it will be copied in 
the SDK target folder and configured in order to compile your Java Custom code:
 
./run.sh init 2.26 ga
 
The current version of the [ManifoldCF SDK 
(0.0.2-Beta)|https://github.com/OpenPj/manifoldcf-sdk/releases/tag/v0.0.2-Beta] 
includes all the sep instructions to fix all the build problems described here 
including the Hadoop one:
https://issues.apache.org/jira/browse/CONNECTORS-1750
 
These issues are also resolved in ManifoldCF main trunk, except the Hadoop one, 
but these are still present in the latest release packages (source code 
packages).
I have to confess that I don't know if those issue are also included in other 
releases.
 
The SDK is returning the following error that should be related to the Hadoop 
Annotations dependencies of Hadoop 2.6.0, an old version of Hadoop that 
includes a JDK 1.6 dependency: }} jdk.tools:jdk.tools:jar:1.6{}}}.
 
{code:java}
[ERROR] Failed to execute goal on project mcf-hdfs-connector: Could not resolve 
dependencies for project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The 
following artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could 
not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path 
/opt/java/openjdk/../lib/tools.jar -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
on project mcf-hdfs-connector: Could not resolve dependencies for project 
org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following artifacts 
could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find artifact 
jdk.tools:jdk.tools:jar:1.6 at specified path /opt/java/openjdk/../lib/tools.jar
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies 
(LifecycleDependencyResolver.java:243)
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
 (LifecycleDependencyResolver.java:136)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved 
(MojoExecutor.java:355)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:313)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
(MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
(MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
(DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:105)
    at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:193)
    at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:180)
    at java.util.concurrent.FutureTask.run (FutureTask.java:264)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
    at java.util.concurrent.FutureTask.run (FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker 
(ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run 
(ThreadPoolExecutor.java:628)
    at java.lang.Thread.run (Thread.java:829)
. . .
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not 
find artifact jdk.tools:jdk.tools:jar:1.6 at specified path 
/opt/java/openjdk/../lib/tools.jar
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve 
(DefaultArtifactResolver.java:305)
    at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts 
(DefaultArtifactResolver.java:261)
    at 
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies 

Re: HDFS Connector - Maven build issue found thanks to the ManifoldCF SDK

2023-11-24 Thread Karl Wright
Hi - the jar it's looking for may no longer be part of the java 11 jdk.
I'm not exactly sure how to best handle this in Maven.  It may simply be
possible to remove the dependency entirely from the maven pom.


On Fri, Nov 24, 2023 at 12:34 PM Piergiorgio Lucidi 
wrote:

> I have just created this ticket:
> https://issues.apache.org/jira/browse/CONNECTORS-1751
>
> Il giorno ven 24 nov 2023 alle ore 18:19 Piergiorgio Lucidi <
> piergior...@apache.org> ha scritto:
>
> > Hi folks,
> >
> > Thanks to the ManifoldCF SDK, I found another issue with the Maven build.
> > Steps to reproduce the issue with the Manifold SDK:
> >
> > 1. Clone the ManifoldCF SDK project from the following URL:
> > git clone https://github.com/OpenPj/manifoldcf-sdk.git
> >
> > 2. Remove row 27 from the run.sh script, this line is including the
> hotfix
> > for the hadoop version upgrading it to the latest version 3.3.6.
> >
> > 3. Run the following command in order to download the ManifoldCF source
> > code and run the Ant and Maven build process in a Docker container based
> on
> > Maven 3.9.5 and OpenJDK Temurin 11This in order to install locally all
> the
> > Maven dependencies needed to implement custom extensions / connectors.
> The
> > Docker Volume includes the entire Maven repo used by the ManifoldCF build
> > process and it will be copied in the SDK target folder and configured in
> > order to compile your Java Custom code:
> >
> > ./run.sh init 2.26 ga
> >
> > The current version of the SDK includes the sep instruction to fix all
> the
> > build problems described here:
> > https://issues.apache.org/jira/browse/CONNECTORS-1750
> >
> > These issues are also resolved in ManifoldCF main trunk but still present
> > in the latest previous release packages (source code packages).
> > I have to confess that I don't know if this issue is also included in
> > other releases.
> > The SDK is returning the following error that should be related to the
> > Hadoop Annotations dependencies of Hadoop 2.6.0, a very old version of
> > Hadoop that includes a JDK 1.6 dependency:  jdk.tools:jdk.tools:jar:1.6.
> >
> > [ERROR] Failed to execute goal on project mcf-hdfs-connector: Could not
> > resolve dependencies for project
> > org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following
> artifacts
> > could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find
> artifact
> > jdk.tools:jdk.tools:jar:1.6 at specified path
> > /opt/java/openjdk/../lib/tools.jar -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal on project mcf-hdfs-connector: Could not resolve dependencies for
> > project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following
> > artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not
> > find artifact jdk.tools:jdk.tools:jar:1.6 at specified path
> > /opt/java/openjdk/../lib/tools.jar
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
> > (LifecycleDependencyResolver.java:243)
> > at
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
> > (LifecycleDependencyResolver.java:136)
> > at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
> > (MojoExecutor.java:355)
> > at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute
> > (MojoExecutor.java:313)
> > at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:212)
> > at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:174)
> > at org.apache.maven.lifecycle.internal.MojoExecutor.access$000
> > (MojoExecutor.java:75)
> > at org.apache.maven.lifecycle.internal.MojoExecutor$1.run
> > (MojoExecutor.java:162)
> > at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute
> > (DefaultMojosExecutionStrategy.java:39)
> > at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> > (MojoExecutor.java:159)
> > at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> > (LifecycleModuleBuilder.java:105)
> > at
> >
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
> > (MultiThreadedBuilder.java:193)
> > at
> >
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
> > (MultiThreadedBuilder.java:180)
> > at java.util.concurrent.FutureTask.run (FutureTask.java:264)
> > at java.util.concurrent.Executors$RunnableAdapter.call
> > (Executors.java:515)
> > at java.util.concurrent.FutureTask.run (FutureTask.java:264)
> > at java.util.concurrent.ThreadPoolExecutor.runWorker
> > (ThreadPoolExecutor.java:1128)
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run
> > (ThreadPoolExecutor.java:628)
> > at java.lang.Thread.run (Thread.java:829)
> > . . .
> > Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could
> > not find artifact 

Re: HDFS Connector - Maven build issue found thanks to the ManifoldCF SDK

2023-11-24 Thread Piergiorgio Lucidi
I have just created this ticket:
https://issues.apache.org/jira/browse/CONNECTORS-1751

Il giorno ven 24 nov 2023 alle ore 18:19 Piergiorgio Lucidi <
piergior...@apache.org> ha scritto:

> Hi folks,
>
> Thanks to the ManifoldCF SDK, I found another issue with the Maven build.
> Steps to reproduce the issue with the Manifold SDK:
>
> 1. Clone the ManifoldCF SDK project from the following URL:
> git clone https://github.com/OpenPj/manifoldcf-sdk.git
>
> 2. Remove row 27 from the run.sh script, this line is including the hotfix
> for the hadoop version upgrading it to the latest version 3.3.6.
>
> 3. Run the following command in order to download the ManifoldCF source
> code and run the Ant and Maven build process in a Docker container based on
> Maven 3.9.5 and OpenJDK Temurin 11This in order to install locally all the
> Maven dependencies needed to implement custom extensions / connectors. The
> Docker Volume includes the entire Maven repo used by the ManifoldCF build
> process and it will be copied in the SDK target folder and configured in
> order to compile your Java Custom code:
>
> ./run.sh init 2.26 ga
>
> The current version of the SDK includes the sep instruction to fix all the
> build problems described here:
> https://issues.apache.org/jira/browse/CONNECTORS-1750
>
> These issues are also resolved in ManifoldCF main trunk but still present
> in the latest previous release packages (source code packages).
> I have to confess that I don't know if this issue is also included in
> other releases.
> The SDK is returning the following error that should be related to the
> Hadoop Annotations dependencies of Hadoop 2.6.0, a very old version of
> Hadoop that includes a JDK 1.6 dependency:  jdk.tools:jdk.tools:jar:1.6.
>
> [ERROR] Failed to execute goal on project mcf-hdfs-connector: Could not
> resolve dependencies for project
> org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following artifacts
> could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find artifact
> jdk.tools:jdk.tools:jar:1.6 at specified path
> /opt/java/openjdk/../lib/tools.jar -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal on project mcf-hdfs-connector: Could not resolve dependencies for
> project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following
> artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not
> find artifact jdk.tools:jdk.tools:jar:1.6 at specified path
> /opt/java/openjdk/../lib/tools.jar
> at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
> (LifecycleDependencyResolver.java:243)
> at
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
> (LifecycleDependencyResolver.java:136)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
> (MojoExecutor.java:355)
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute
> (MojoExecutor.java:313)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:212)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:174)
> at org.apache.maven.lifecycle.internal.MojoExecutor.access$000
> (MojoExecutor.java:75)
> at org.apache.maven.lifecycle.internal.MojoExecutor$1.run
> (MojoExecutor.java:162)
> at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute
> (DefaultMojosExecutionStrategy.java:39)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:159)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:105)
> at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
> (MultiThreadedBuilder.java:193)
> at
> org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
> (MultiThreadedBuilder.java:180)
> at java.util.concurrent.FutureTask.run (FutureTask.java:264)
> at java.util.concurrent.Executors$RunnableAdapter.call
> (Executors.java:515)
> at java.util.concurrent.FutureTask.run (FutureTask.java:264)
> at java.util.concurrent.ThreadPoolExecutor.runWorker
> (ThreadPoolExecutor.java:1128)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:628)
> at java.lang.Thread.run (Thread.java:829)
> . . .
> Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could
> not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path
> /opt/java/openjdk/../lib/tools.jar
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve
> (DefaultArtifactResolver.java:305)
> at
> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts
> (DefaultArtifactResolver.java:261)
> at
> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies
> (DefaultRepositorySystem.java:353)
> at 

[jira] [Created] (CONNECTORS-1751) HDFS Connector - Maven build issue

2023-11-24 Thread Piergiorgio Lucidi (Jira)
Piergiorgio Lucidi created CONNECTORS-1751:
--

 Summary: HDFS Connector - Maven build issue
 Key: CONNECTORS-1751
 URL: https://issues.apache.org/jira/browse/CONNECTORS-1751
 Project: ManifoldCF
  Issue Type: Bug
  Components: HDFS connector
Affects Versions: ManifoldCF 2.26
Reporter: Piergiorgio Lucidi
 Fix For: ManifoldCF next


Thanks to the ManifoldCF SDK, I found another issue with the Maven build.
Steps to reproduce the issue with the Manifold SDK:
 
1. Clone the ManifoldCF SDK project from the following URL:
git clone [https://github.com/OpenPj/manifoldcf-sdk.git]
 
2. Remove row 27 from the {{run.sh}} script, this line is including the hotfix 
for the Hadoop version upgrading it to the latest version 3.3.6.
 
3. Run the following command in order to download the MCF source code and run 
the Ant and Maven build process in a Docker container (Maven 3.9.5 and JDK 
Temurin 11).
 
This in order to install locally all the Maven dependencies needed to implement 
custom extensions / connectors. The Docker Volume includes the entire Maven 
repo (around 1GB) used by the ManifoldCF build process and it will be copied in 
the SDK target folder and configured in order to compile your Java Custom code:
 
./run.sh init 2.26 ga
 
The current version of the ManifoldCF SDK (0.0.2-SNAPSHOT) includes all the sep 
instructions to fix all the build problems described here including the Hadoop 
one:
https://issues.apache.org/jira/browse/CONNECTORS-1750
 
These issues are also resolved in ManifoldCF main trunk, except the Hadoop one, 
but these are still present in the latest release packages (source code 
packages).
I have to confess that I don't know if those issue are also included in other 
releases.
 
The SDK is returning the following error that should be related to the Hadoop 
Annotations dependencies of Hadoop 2.6.0, an old version of Hadoop that 
includes a JDK 1.6 dependency: {{{} jdk.tools:jdk.tools:jar:1.6{}}}.
 
[ERROR] Failed to execute goal on project mcf-hdfs-connector: Could not resolve 
dependencies for project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The 
following artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could 
not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path 
/opt/java/openjdk/../lib/tools.jar -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
on project mcf-hdfs-connector: Could not resolve dependencies for project 
org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following artifacts 
could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find artifact 
jdk.tools:jdk.tools:jar:1.6 at specified path /opt/java/openjdk/../lib/tools.jar
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies 
(LifecycleDependencyResolver.java:243)
    at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
 (LifecycleDependencyResolver.java:136)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved 
(MojoExecutor.java:355)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:313)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 
(MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run 
(MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute 
(DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:105)
    at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:193)
    at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
 (MultiThreadedBuilder.java:180)
    at java.util.concurrent.FutureTask.run (FutureTask.java:264)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
    at java.util.concurrent.FutureTask.run (FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker 
(ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run 
(ThreadPoolExecutor.java:628)
    at java.lang.Thread.run (Thread.java:829)
. . .
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not 
find artifact jdk.tools:jdk.tools:jar:1.6 at specified path 
/opt/java/openjdk/../lib/tools.jar
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve 
(DefaultArtifactResolver.java:305)
    at 

HDFS Connector - Maven build issue found thanks to the ManifoldCF SDK

2023-11-24 Thread Piergiorgio Lucidi
Hi folks,

Thanks to the ManifoldCF SDK, I found another issue with the Maven build.
Steps to reproduce the issue with the Manifold SDK:

1. Clone the ManifoldCF SDK project from the following URL:
git clone https://github.com/OpenPj/manifoldcf-sdk.git

2. Remove row 27 from the run.sh script, this line is including the hotfix
for the hadoop version upgrading it to the latest version 3.3.6.

3. Run the following command in order to download the ManifoldCF source
code and run the Ant and Maven build process in a Docker container based on
Maven 3.9.5 and OpenJDK Temurin 11This in order to install locally all the
Maven dependencies needed to implement custom extensions / connectors. The
Docker Volume includes the entire Maven repo used by the ManifoldCF build
process and it will be copied in the SDK target folder and configured in
order to compile your Java Custom code:

./run.sh init 2.26 ga

The current version of the SDK includes the sep instruction to fix all the
build problems described here:
https://issues.apache.org/jira/browse/CONNECTORS-1750

These issues are also resolved in ManifoldCF main trunk but still present
in the latest previous release packages (source code packages).
I have to confess that I don't know if this issue is also included in other
releases.
The SDK is returning the following error that should be related to the
Hadoop Annotations dependencies of Hadoop 2.6.0, a very old version of
Hadoop that includes a JDK 1.6 dependency:  jdk.tools:jdk.tools:jar:1.6.

[ERROR] Failed to execute goal on project mcf-hdfs-connector: Could not
resolve dependencies for project
org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following artifacts
could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not find artifact
jdk.tools:jdk.tools:jar:1.6 at specified path
/opt/java/openjdk/../lib/tools.jar -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal on project mcf-hdfs-connector: Could not resolve dependencies for
project org.apache.manifoldcf:mcf-hdfs-connector:jar:2.26: The following
artifacts could not be resolved: jdk.tools:jdk.tools:jar:1.6: Could not
find artifact jdk.tools:jdk.tools:jar:1.6 at specified path
/opt/java/openjdk/../lib/tools.jar
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
(LifecycleDependencyResolver.java:243)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
(LifecycleDependencyResolver.java:136)
at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved
(MojoExecutor.java:355)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute
(MojoExecutor.java:313)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:174)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000
(MojoExecutor.java:75)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run
(MojoExecutor.java:162)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute
(DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute
(MojoExecutor.java:159)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
(LifecycleModuleBuilder.java:105)
at
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
(MultiThreadedBuilder.java:193)
at
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call
(MultiThreadedBuilder.java:180)
at java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.util.concurrent.Executors$RunnableAdapter.call
(Executors.java:515)
at java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:628)
at java.lang.Thread.run (Thread.java:829)
. . .
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not
find artifact jdk.tools:jdk.tools:jar:1.6 at specified path
/opt/java/openjdk/../lib/tools.jar
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve
(DefaultArtifactResolver.java:305)
at
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts
(DefaultArtifactResolver.java:261)
at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies
(DefaultRepositorySystem.java:353)
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve
(DefaultProjectDependenciesResolver.java:182)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies
(LifecycleDependencyResolver.java:224)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies
(LifecycleDependencyResolver.java:136)
at

[jira] [Comment Edited] (CONNECTORS-1750) Build broken due to the Nuxeo Maven repo not available

2023-11-24 Thread Piergiorgio Lucidi (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17789473#comment-17789473
 ] 

Piergiorgio Lucidi edited comment on CONNECTORS-1750 at 11/24/23 3:08 PM:
--

I found an issue related to the Ant build of the Solr connector:
{code:java}
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:485: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:471: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/build.xml:108:
 Directory does not exist: 
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/test-materials{code}
I updated the {{connectors/solr/build.xml}} adding a new attribute 
{{{}erroronmissingdir="false"{}}}:
{code:java}


   


{code}
Another issue related to the Maven build of the CSV connector, the Maven pom 
was not valid and finally I updated the URL of the Nuxeo Maven repo.

In order to patch the Ant and Maven build process for any recent version of 
ManifoldCF source package, we could share the following commands for string 
replacement:
{code:java}
sed -i -e 's// /g' 
connectors/csv/pom.xml; \
sed -i -e 
's/https\:\/\/maven.nuxeo.org\/nexus\/content\/repositories\/public-releases/https\:\/\/packages.nuxeo.com\/repository\/maven-public-archives/g'
 build.xml; \
sed -i -e 
's/https\:\/\/maven.nuxeo.org\/nexus\/content\/repositories\/public-releases\//https\:\/\/packages.nuxeo.com\/repository\/maven-public-archives/g'
 connectors/nuxeo/pom.xml;{code}
I had to include these sed instructions in the run.sh of the ManifoldCF SDK in 
order to solve all the build problems. 

 


was (Author: piergiorgioluc...@gmail.com):
I found an issue related to the Ant build of the Solr connector:
{code:java}
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:485: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:471: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/build.xml:108:
 Directory does not exist: 
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/test-materials{code}
I updated the {{connectors/solr/build.xml}} adding a new attribute 
{{{}erroronmissingdir="false"{}}}:
{code:java}


   


{code}
Another issue related to the Maven build of the CSV connector, the Maven pom 
was not valid and finally I updated the URL of the Nuxeo Maven repo.

In order to patch the Ant and Maven build process for any recent version of 
ManifoldCF source package, we could share the following commands for string 
replacement:
{code:java}
sed -i -e 's// /g' 
connectors/csv/pom.xml; \
sed -i -e 
's/https\:\/\/maven.nuxeo.org\/nexus\/content\/repositories\/public-releases/https\:\/\/packages.nuxeo.com\/repository\/maven-public-archives/g'
 build.xml;{code}
I had to include these sed instructions in the run.sh of the ManifoldCF SDK in 
order to solve all the build problems. 

 

> Build broken due to the Nuxeo Maven repo not available
> --
>
> Key: CONNECTORS-1750
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1750
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: Build
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Assignee: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>
> Trying to build ManifoldCF, during the first step when we run:
> {{ant make-core-deps}}
> the nuxeo-java-client-3.0.1.jar is not available from the Nuxeo Maven repo.
> It seems that they have a problem with that Nexus instance at the moment:
> {noformat}
> download-via-nuxeo:
>       [get] Getting: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] To: 
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/mcf-trunk-2023/lib/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> 

[jira] [Resolved] (CONNECTORS-1750) Build broken due to the Nuxeo Maven repo not available

2023-11-24 Thread Piergiorgio Lucidi (Jira)


 [ 
https://issues.apache.org/jira/browse/CONNECTORS-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piergiorgio Lucidi resolved CONNECTORS-1750.

Resolution: Fixed

Resolved in r1914089.

> Build broken due to the Nuxeo Maven repo not available
> --
>
> Key: CONNECTORS-1750
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1750
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: Build
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Assignee: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>
> Trying to build ManifoldCF, during the first step when we run:
> {{ant make-core-deps}}
> the nuxeo-java-client-3.0.1.jar is not available from the Nuxeo Maven repo.
> It seems that they have a problem with that Nexus instance at the moment:
> {noformat}
> download-via-nuxeo:
>       [get] Getting: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] To: 
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/mcf-trunk-2023/lib/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Can't get 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>  to 
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/mcf-trunk-2023/lib/nuxeo-java-client-3.0.1.jar{noformat}
> Anyway I noticed that this Maven dependency is also available in Maven 
> Central at the following URL:
> [https://mvnrepository.com/artifact/org.nuxeo.client/nuxeo-java-client/3.0.1]
> So we could just change the URL for downloading this JAR.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (CONNECTORS-1750) Build broken due to the Nuxeo Maven repo not available

2023-11-24 Thread Piergiorgio Lucidi (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17789473#comment-17789473
 ] 

Piergiorgio Lucidi edited comment on CONNECTORS-1750 at 11/24/23 2:47 PM:
--

I found an issue related to the Ant build of the Solr connector:
{code:java}
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:485: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:471: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/build.xml:108:
 Directory does not exist: 
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/test-materials{code}
I updated the {{connectors/solr/build.xml}} adding a new attribute 
{{{}erroronmissingdir="false"{}}}:
{code:java}


   


{code}
Another issue related to the Maven build of the CSV connector, the Maven pom 
was not valid and finally I updated the URL of the Nuxeo Maven repo.

In order to patch the Ant and Maven build process for any recent version of 
ManifoldCF source package, we could share the following commands for string 
replacement:
{code:java}
sed -i -e 's// /g' 
connectors/csv/pom.xml; \
sed -i -e 
's/https\:\/\/maven.nuxeo.org\/nexus\/content\/repositories\/public-releases/https\:\/\/packages.nuxeo.com\/repository\/maven-public-archives/g'
 build.xml;{code}
I had to include these sed instructions in the run.sh of the ManifoldCF SDK in 
order to solve all the build problems. 

 


was (Author: piergiorgioluc...@gmail.com):
I found an issue related to the Ant build of the Solr connector:
{code:java}
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:485: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:471: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/build.xml:108:
 Directory does not exist: 
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/test-materials{code}

I updated the {{connectors/solr/build.xml}} adding a new attribute 
{{{}erroronmissingdir="false"{}}}:
{code:java}


   


{code}
Another issue related to the Maven build of the CSV connector, the Maven pom 
was not valid and finally I updated the URL of the Nuxeo Maven repo.

In order to patch the Ant and Maven build process for any recent version of 
ManifoldCF source package, we could share the following commands for string 
replacement:
{code:java}
sed -i -e 's// /g' 
connectors/csv/pom.xml; \

sed -i -e 
's/https\:\/\/maven.nuxeo.org\/nexus\/content\/repositories\/public-releases/https\:\/\/packages.nuxeo.com\/repository\/maven-public-archives/g'
 build.xml;{code}
I had to include these sed instructions in the run.sh of the ManifoldCF SDK in 
order to solve all the build problems. 

 

> Build broken due to the Nuxeo Maven repo not available
> --
>
> Key: CONNECTORS-1750
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1750
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: Build
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Assignee: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>
> Trying to build ManifoldCF, during the first step when we run:
> {{ant make-core-deps}}
> the nuxeo-java-client-3.0.1.jar is not available from the Nuxeo Maven repo.
> It seems that they have a problem with that Nexus instance at the moment:
> {noformat}
> download-via-nuxeo:
>       [get] Getting: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] To: 
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/mcf-trunk-2023/lib/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Can't get 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>  

[jira] [Comment Edited] (CONNECTORS-1750) Build broken due to the Nuxeo Maven repo not available

2023-11-24 Thread Piergiorgio Lucidi (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17789473#comment-17789473
 ] 

Piergiorgio Lucidi edited comment on CONNECTORS-1750 at 11/24/23 2:46 PM:
--

I found an issue related to the Ant build of the Solr connector:
{code:java}
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:485: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:471: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/build.xml:108:
 Directory does not exist: 
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/test-materials{code}

I updated the {{connectors/solr/build.xml}} adding a new attribute 
{{{}erroronmissingdir="false"{}}}:
{code:java}


   


{code}
Another issue related to the Maven build of the CSV connector, the Maven pom 
was not valid and finally I updated the URL of the Nuxeo Maven repo.

In order to patch the Ant and Maven build process for any recent version of 
ManifoldCF source package, we could share the following commands for string 
replacement:
{code:java}
sed -i -e 's// /g' 
connectors/csv/pom.xml; \

sed -i -e 
's/https\:\/\/maven.nuxeo.org\/nexus\/content\/repositories\/public-releases/https\:\/\/packages.nuxeo.com\/repository\/maven-public-archives/g'
 build.xml;{code}
I had to include these sed instructions in the run.sh of the ManifoldCF SDK in 
order to solve all the build problems. 

 


was (Author: piergiorgioluc...@gmail.com):
I found an issue related to the Ant build of the Solr connector:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:485: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:471: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/build.xml:108:
 Directory does not exist: 
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/test-materials
I have updated the connectors/solr/build.xml adding a new attribute 
erroronmissingdir="false":
{code:java}


   


{code}
Another issue related to the Maven build of the CSV connector, the Maven pom 
was not valid and finally I updated the URL of the Nuxeo Maven repo.

In order to patch the Ant and Maven build process for any recent version of 
ManifoldCF source package, we could share the following commands for string 
replacement:
{code:java}
sed -i -e 's// /g' 
connectors/csv/pom.xml; \

sed -i -e 
's/https\:\/\/maven.nuxeo.org\/nexus\/content\/repositories\/public-releases/https\:\/\/packages.nuxeo.com\/repository\/maven-public-archives/g'
 build.xml;{code}
I had to include these sed instructions in the run.sh of the ManifoldCF SDK in 
order to solve all the build problems. 

 

> Build broken due to the Nuxeo Maven repo not available
> --
>
> Key: CONNECTORS-1750
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1750
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: Build
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Assignee: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>
> Trying to build ManifoldCF, during the first step when we run:
> {{ant make-core-deps}}
> the nuxeo-java-client-3.0.1.jar is not available from the Nuxeo Maven repo.
> It seems that they have a problem with that Nexus instance at the moment:
> {noformat}
> download-via-nuxeo:
>       [get] Getting: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] To: 
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/mcf-trunk-2023/lib/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Can't get 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>  to 
> 

[jira] [Comment Edited] (CONNECTORS-1750) Build broken due to the Nuxeo Maven repo not available

2023-11-24 Thread Piergiorgio Lucidi (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17789473#comment-17789473
 ] 

Piergiorgio Lucidi edited comment on CONNECTORS-1750 at 11/24/23 2:45 PM:
--

I found an issue related to the Ant build of the Solr connector:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:485: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:471: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/build.xml:108:
 Directory does not exist: 
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/test-materials
I have updated the connectors/solr/build.xml adding a new attribute 
erroronmissingdir="false":
{code:java}


   


{code}
Another issue related to the Maven build of the CSV connector, the Maven pom 
was not valid and finally I updated the URL of the Nuxeo Maven repo.

In order to patch the Ant and Maven build process for any recent version of 
ManifoldCF source package, we could share the following commands for string 
replacement:
{code:java}
sed -i -e 's// /g' 
connectors/csv/pom.xml; \

sed -i -e 
's/https\:\/\/maven.nuxeo.org\/nexus\/content\/repositories\/public-releases/https\:\/\/packages.nuxeo.com\/repository\/maven-public-archives/g'
 build.xml;{code}
I had to include these sed instructions in the run.sh of the ManifoldCF SDK in 
order to solve all the build problems. 

 


was (Author: piergiorgioluc...@gmail.com):
I found an issue related to the Ant build of the Solr connector:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:485: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:471: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/build.xml:108:
 Directory does not exist: 
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/test-materials
I have updated the connectors/solr/build.xml adding a new attribute 
erroronmissingdir="false":
 
{code:java}


   


{code}
 

Another issue related to the Maven build of the CSV connector, the Maven pom 
was not valid and finally I updated the URL of the Nuxeo Maven repo.

 

> Build broken due to the Nuxeo Maven repo not available
> --
>
> Key: CONNECTORS-1750
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1750
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: Build
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Assignee: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>
> Trying to build ManifoldCF, during the first step when we run:
> {{ant make-core-deps}}
> the nuxeo-java-client-3.0.1.jar is not available from the Nuxeo Maven repo.
> It seems that they have a problem with that Nexus instance at the moment:
> {noformat}
> download-via-nuxeo:
>       [get] Getting: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] To: 
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/mcf-trunk-2023/lib/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Can't get 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>  to 
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/mcf-trunk-2023/lib/nuxeo-java-client-3.0.1.jar{noformat}
> Anyway I noticed that this Maven dependency is also available in Maven 
> Central at the following URL:
> [https://mvnrepository.com/artifact/org.nuxeo.client/nuxeo-java-client/3.0.1]
> So we could just change the URL for downloading this JAR.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Jenkins build is back to normal : ManifoldCF » ManifoldCF-ant #90

2023-11-24 Thread Apache Jenkins Server
See 




New Solr connector Atomic Update

2023-11-24 Thread Guylaine BASSETTE

Hello all,

I want to add a new feature to the Solr Output connector that is the 
Atomic Update functionality of Solr to do partial document updates.


This involves modifying the syntax of the /update request made to Solr 
to add modifiers to the fields you wish to update:



 Example Updating Part of a Document

If the following document exists in our collection:

|{"id":"mydoc", "price":10, "popularity":42, "categories":["kids"], 
"sub_categories":["under_5","under_10"], "promo_ids":["a123x"], 
"tags":["free_to_try","buy_now","clearance","on_sale"] }|

copy icon

And we apply the following update command:

|{"id":"mydoc", "price":{"set":99}, "popularity":{"inc":-7}, 
"categories":{"add":["toys","games"]}, 
"sub_categories":{"add-distinct":"under_10"}, 
"promo_ids":{"remove":"a123x"}, 
"tags":{"remove":["free_to_try","on_sale"]} }|

copy icon

The resulting document in our collection will be:

|{"id":"mydoc", "price":99, "popularity":35, 
"categories":["kids","toys","games"], 
"sub_categories":["under_5","under_10"], "tags":["buy_now","clearance"] }|


My first idea was to modify the request made to Solr in the current 
connector, but the creation of this request seems rather complex... I'm 
afraid I'd have to go too deep into the current code to add my 
modifications. And I haven't yet found the best place to do it.


Is it possible to do this using the RepositoryDocument in the 
addOrReplaceDocumentWithException() method? Using this object, I was 
able to specify fields to set, but I don't think I can add values to a 
multivalued field...


Do you have any advice?

Regards,
Guylaine

[jira] [Commented] (CONNECTORS-1750) Build broken due to the Nuxeo Maven repo not available

2023-11-24 Thread Piergiorgio Lucidi (Jira)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17789473#comment-17789473
 ] 

Piergiorgio Lucidi commented on CONNECTORS-1750:


I found an issue related to the Ant build of the Solr connector:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:485: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/build.xml:471: The following 
error occurred while executing this line:
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/build.xml:108:
 Directory does not exist: 
/home/jenkins/workspace/ManifoldCF/ManifoldCF-ant/connectors/solr/test-materials
I have updated the connectors/solr/build.xml adding a new attribute 
erroronmissingdir="false":
 
{code:java}


   


{code}
 

Another issue related to the Maven build of the CSV connector, the Maven pom 
was not valid and finally I updated the URL of the Nuxeo Maven repo.

 

> Build broken due to the Nuxeo Maven repo not available
> --
>
> Key: CONNECTORS-1750
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1750
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: Build
>Affects Versions: ManifoldCF 2.26
>Reporter: Piergiorgio Lucidi
>Assignee: Piergiorgio Lucidi
>Priority: Major
> Fix For: ManifoldCF next
>
>
> Trying to build ManifoldCF, during the first step when we run:
> {{ant make-core-deps}}
> the nuxeo-java-client-3.0.1.jar is not available from the Nuxeo Maven repo.
> It seems that they have a problem with that Nexus instance at the moment:
> {noformat}
> download-via-nuxeo:
>       [get] Getting: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] To: 
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/mcf-trunk-2023/lib/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Error opening connection java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>       [get] Can't get 
> https://maven.nuxeo.org/nexus/content/repositories/public-releases/org/nuxeo/client/nuxeo-java-client/3.0.1/nuxeo-java-client-3.0.1.jar
>  to 
> /Users/piergiorgiolucidi/Documents/workspaces/manifoldNew/mcf-trunk-2023/lib/nuxeo-java-client-3.0.1.jar{noformat}
> Anyway I noticed that this Maven dependency is also available in Maven 
> Central at the following URL:
> [https://mvnrepository.com/artifact/org.nuxeo.client/nuxeo-java-client/3.0.1]
> So we could just change the URL for downloading this JAR.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Build failed in Jenkins: ManifoldCF » ManifoldCF-ant #89

2023-11-24 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 1.16 MB...]

scripts-common:
 [copy] Copying 1 file to 


scripts-obfuscate:
 [copy] Copying 4 files to 


compile-core:

jar-core:

compile-ui-core:

jar-ui-core:

compile-agents:

jar-agents:

compile-pull-agent:

jar-pull-agent:

compile-jetty-runner:

jar-jetty-runner:

compile-script-engine:

jar-script-engine:

lib:

obfuscate-lib-classpath:

setup-obfuscate-processes:

general-set-obfuscate-classpath:

file-resources:
[mkdir] Created dir: 

 [copy] Copying 1 file to 


buildfiles:
 [copy] Copying 1 file to 


compile-core-tests:
[mkdir] Created dir: 

[javac] Compiling 14 source files to 

[javac] Note: 

 uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

jar-core-tests:
[mkdir] Created dir: 

  [jar] Building jar: 


compile-agents-tests:
[mkdir] Created dir: 

[javac] Compiling 9 source files to 


jar-agents-tests:
  [jar] Building jar: 


compile-pull-agent-tests:
[mkdir] Created dir: 

[javac] Compiling 29 source files to 

[javac] 
:150:
 warning: [deprecation] Long(long) in Long has been deprecated
[javac] throw new ManifoldCFException("ManifoldCF did not terminate in 
the allotted time of "+new Long(maxTime).toString()+" milliseconds");
[javac] 
  ^
[javac] 
:164:
 warning: [deprecation] Long(long) in Long has been deprecated
[javac] throw new ManifoldCFException("ManifoldCF did not delete in the 
allotted time of "+new Long(maxTime).toString()+" milliseconds");
[javac] 
   ^
[javac] 
:193:
 warning: [deprecation] Long(long) in Long has been deprecated
[javac] throw new ManifoldCFException("ManifoldCF did not start in the 
allotted time of "+new Long(maxTime).toString()+" milliseconds");
[javac] 
  ^
[javac] 
:291:
 warning: [deprecation] Long(String) in Long has been deprecated
[javac] return new Long(documentsProcessed).longValue();
[javac]^
[javac] 
:312:
 warning: [deprecation] Long(long) in Long has been deprecated
[javac] throw new ManifoldCFException("ManifoldCF did not terminate in 
the allotted time of "+new Long(maxTime).toString()+" 

Re: Build failed in Jenkins: ManifoldCF » ManifoldCF-ant #88

2023-11-24 Thread Piergiorgio Lucidi
It seems that Jenkins can't compile with JDK 11, we can't build ManifoldCF
for a month:
https://ci-builds.apache.org/blue/organizations/jenkins/ManifoldCF%2FManifoldCF-ant/activity/

I'm going to change the jdk version on Jenkins in order to fix this problem.

Cheers,
PG


Il giorno ven 24 nov 2023 alle ore 03:23 Apache Jenkins Server <
jenk...@builds.apache.org> ha scritto:

> See <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/88/display/redirect?page=changes
> >
>
> Changes:
>
> [Piergiorgio Lucidi] updated the URL to the new Nuxeo Maven Repo in order
> to download the nuxeo-java-client (CONNECTORS-1750)
>
>
> --
> [...truncated 698.95 KB...]
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/org/apache/pdfbox/jempbox/1.8.16/jempbox-1.8.16.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/jempbox-1.8.16.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox/2.0.25/pdfbox-2.0.25.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/pdfbox-2.0.25.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/org/apache/pdfbox/fontbox/2.0.25/fontbox-2.0.25.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/fontbox-2.0.25.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/org/apache/pdfbox/preflight/2.0.25/preflight-2.0.25.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/preflight-2.0.25.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/org/apache/pdfbox/xmpbox/2.0.25/xmpbox-2.0.25.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/xmpbox-2.0.25.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox-debugger/2.0.25/pdfbox-debugger-2.0.25.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/pdfbox-debugger-2.0.25.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/org/apache/pdfbox/pdfbox-tools/2.0.25/pdfbox-tools-2.0.25.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/pdfbox-tools-2.0.25.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/commons-compress-1.21.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/juniversalchardet-1.0.3.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/de/l3s/boilerpipe/boilerpipe/1.1.0/boilerpipe-1.1.0.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/boilerpipe-1.1.0.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/dom4j-1.6.1.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/org/tallison/xmp/xmpcore-shaded/6.1.11/xmpcore-shaded-6.1.11.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/xmpcore-shaded-6.1.11.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/com/mchange/mchange-commons-java/0.2.19/mchange-commons-java-0.2.19.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/mchange-commons-java-0.2.19.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/com/googlecode/plist/dd-plist/1.23/dd-plist-1.23.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/dd-plist-1.23.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
> https://repo1.maven.org/maven2/org/gagravarr/vorbis-java-core/0.8/vorbis-java-core-0.8.jar
>   [get] To: <
> https://ci-builds.apache.org/job/ManifoldCF/job/ManifoldCF-ant/ws/lib/vorbis-java-core-0.8.jar
> >
>
> setup-maven-url:
>
> download-via-maven:
>   [get] Getting:
>