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

2021-12-17 Thread Apache Jenkins Server
See 




[jira] [Comment Edited] (CONNECTORS-1680) WebConnector: Support the Document Base URL element

2021-12-17 Thread Markus Schuch (Jira)


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

Markus Schuch edited comment on CONNECTORS-1680 at 12/17/21, 5:52 PM:
--

thanks [~kwri...@metacarta.com], fixed with r1896101


was (Author: schuchm):
fixed with r1896101

> WebConnector: Support the Document Base URL element
> ---
>
> Key: CONNECTORS-1680
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1680
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Web connector
>Reporter: Markus Schuch
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.21
>
>
> HTML allows to specifiy the base URL to use for all relative URLs in a 
> document:
> {code:java}
> 
>   
>
> https://example.org/"/>
> ...
>   
>...
> {code}
> [https://developer.mozilla.org/de/docs/Web/HTML/Element/base]
> The Web Connector should respect this element when handling relative links.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Resolved] (CONNECTORS-1680) WebConnector: Support the Document Base URL element

2021-12-17 Thread Markus Schuch (Jira)


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

Markus Schuch resolved CONNECTORS-1680.
---
Resolution: Fixed

> WebConnector: Support the Document Base URL element
> ---
>
> Key: CONNECTORS-1680
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1680
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Web connector
>Reporter: Markus Schuch
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.21
>
>
> HTML allows to specifiy the base URL to use for all relative URLs in a 
> document:
> {code:java}
> 
>   
>
> https://example.org/"/>
> ...
>   
>...
> {code}
> [https://developer.mozilla.org/de/docs/Web/HTML/Element/base]
> The Web Connector should respect this element when handling relative links.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (CONNECTORS-1680) WebConnector: Support the Document Base URL element

2021-12-17 Thread Markus Schuch (Jira)


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

Markus Schuch commented on CONNECTORS-1680:
---

fixed with r1896101

> WebConnector: Support the Document Base URL element
> ---
>
> Key: CONNECTORS-1680
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1680
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Web connector
>Reporter: Markus Schuch
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.21
>
>
> HTML allows to specifiy the base URL to use for all relative URLs in a 
> document:
> {code:java}
> 
>   
>
> https://example.org/"/>
> ...
>   
>...
> {code}
> [https://developer.mozilla.org/de/docs/Web/HTML/Element/base]
> The Web Connector should respect this element when handling relative links.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Comment Edited] (CONNECTORS-1680) WebConnector: Support the Document Base URL element

2021-12-17 Thread Karl Wright (Jira)


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

Karl Wright edited comment on CONNECTORS-1680 at 12/17/21, 5:22 PM:


The baseDocumentIdentifier code is new for adding the ability to set the base 
URL for all relative references, a change you requested and I implemented.

All relative document urls should be based on baseDocumentIdentifier, and that 
is initialized to be documentIdentifier at the start.  Since this is obviously 
not happening you are correct in your diagnosis.



was (Author: kwri...@metacarta.com):
The baseDocumentIdentifier code is new for adding the ability to set the base 
URL for all relative references, a change you requested and I implemented.

All relative document urls should be based on baseDocumentIdentifier, and that 
is initialized to be documentIdentifier at the start.


> WebConnector: Support the Document Base URL element
> ---
>
> Key: CONNECTORS-1680
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1680
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Web connector
>Reporter: Markus Schuch
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.21
>
>
> HTML allows to specifiy the base URL to use for all relative URLs in a 
> document:
> {code:java}
> 
>   
>
> https://example.org/"/>
> ...
>   
>...
> {code}
> [https://developer.mozilla.org/de/docs/Web/HTML/Element/base]
> The Web Connector should respect this element when handling relative links.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (CONNECTORS-1680) WebConnector: Support the Document Base URL element

2021-12-17 Thread Karl Wright (Jira)


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

Karl Wright commented on CONNECTORS-1680:
-

The baseDocumentIdentifier code is new for adding the ability to set the base 
URL for all relative references, a change you requested and I implemented.

All relative document urls should be based on baseDocumentIdentifier, and that 
is initialized to be documentIdentifier at the start.


> WebConnector: Support the Document Base URL element
> ---
>
> Key: CONNECTORS-1680
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1680
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Web connector
>Reporter: Markus Schuch
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.21
>
>
> HTML allows to specifiy the base URL to use for all relative URLs in a 
> document:
> {code:java}
> 
>   
>
> https://example.org/"/>
> ...
>   
>...
> {code}
> [https://developer.mozilla.org/de/docs/Web/HTML/Element/base]
> The Web Connector should respect this element when handling relative links.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Comment Edited] (CONNECTORS-1680) WebConnector: Support the Document Base URL element

2021-12-17 Thread Markus Schuch (Jira)


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

Markus Schuch edited comment on CONNECTORS-1680 at 12/17/21, 4:44 PM:
--

I think this is actually causes the issue:
{quote}
I also looked over the code changes. One minor issue: the assignment of 
{{baseDocumentIdentifier}} in the constructor of {{ProcessActivityLinkHandler}} 
looks useless (assigned to itself) --> 
[https://github.com/apache/manifoldcf/commit/8b88d6d44aba54ee276619340ad36a9cc441932d#diff-9fff09bc306de2115d24403a5fe1c3c9fe831d30a54448291f1f90b4d5c6b2a7R3889]
{quote}

This should be the fix, right?
{code:java}
this.baseDocumentIdentifier = documentIdentifier; 
{code}
 


was (Author: schuchm):
I think this is actually causes the issue:
{quote}I also looked over the code changes. One minor issue: the assignment of 
{{baseDocumentIdentifier}} in the constructor of {{ProcessActivityLinkHandler}} 
looks useless (assigned to itself) --> 
[https://github.com/apache/manifoldcf/commit/8b88d6d44aba54ee276619340ad36a9cc441932d#diff-9fff09bc306de2115d24403a5fe1c3c9fe831d30a54448291f1f90b4d5c6b2a7R3889]
{quote}

This should be the fix, right?
{code:java}
this.baseDocumentIdentifier = documentIdentifier; 
{code}
 

> WebConnector: Support the Document Base URL element
> ---
>
> Key: CONNECTORS-1680
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1680
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Web connector
>Reporter: Markus Schuch
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.21
>
>
> HTML allows to specifiy the base URL to use for all relative URLs in a 
> document:
> {code:java}
> 
>   
>
> https://example.org/"/>
> ...
>   
>...
> {code}
> [https://developer.mozilla.org/de/docs/Web/HTML/Element/base]
> The Web Connector should respect this element when handling relative links.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (CONNECTORS-1680) WebConnector: Support the Document Base URL element

2021-12-17 Thread Markus Schuch (Jira)


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

Markus Schuch commented on CONNECTORS-1680:
---

[~kwri...@metacarta.com] in my journey of fixing the travis ci build i found 
out, that the 
{{org.apache.manifoldcf.crawler.connectors.webcrawler.tests.SessionLoginHSQLDBIT}}
 fails after this change:

{code:java}
 [junit] -  ---
    [junit] Testcase: 
sessionCrawl(org.apache.manifoldcf.crawler.connectors.webcrawler.tests.SessionLoginHSQLDBIT):
     Caused an ERROR
    [junit] Wrong number of documents processed - expected 101, saw 1
    [junit] org.apache.manifoldcf.core.interfaces.ManifoldCFException: Wrong 
number of documents processed - expected 101, saw 1
    [junit]     at 
org.apache.manifoldcf.crawler.connectors.webcrawler.tests.SessionTester.executeTest(SessionTester.java:166)
    [junit]     at 
org.apache.manifoldcf.crawler.connectors.webcrawler.tests.SessionLoginHSQLDBIT.sessionCrawl(SessionLoginHSQLDBIT.java:59)
    [junit]
    [junit]
{code}

> WebConnector: Support the Document Base URL element
> ---
>
> Key: CONNECTORS-1680
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1680
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Web connector
>Reporter: Markus Schuch
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.21
>
>
> HTML allows to specifiy the base URL to use for all relative URLs in a 
> document:
> {code:java}
> 
>   
>
> https://example.org/"/>
> ...
>   
>...
> {code}
> [https://developer.mozilla.org/de/docs/Web/HTML/Element/base]
> The Web Connector should respect this element when handling relative links.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Reopened] (CONNECTORS-1680) WebConnector: Support the Document Base URL element

2021-12-17 Thread Markus Schuch (Jira)


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

Markus Schuch reopened CONNECTORS-1680:
---

> WebConnector: Support the Document Base URL element
> ---
>
> Key: CONNECTORS-1680
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1680
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Web connector
>Reporter: Markus Schuch
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.21
>
>
> HTML allows to specifiy the base URL to use for all relative URLs in a 
> document:
> {code:java}
> 
>   
>
> https://example.org/"/>
> ...
>   
>...
> {code}
> [https://developer.mozilla.org/de/docs/Web/HTML/Element/base]
> The Web Connector should respect this element when handling relative links.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (CONNECTORS-1689) Forbidden apis violations

2021-12-17 Thread Markus Schuch (Jira)


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

Markus Schuch commented on CONNECTORS-1689:
---

r1896097 fixes the validation phase in the travis ci (apache-rat was missing in 
the ant classpath)

> Forbidden apis violations
> -
>
> Key: CONNECTORS-1689
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1689
> Project: ManifoldCF
>  Issue Type: Bug
>Reporter: Markus Schuch
>Assignee: Markus Schuch
>Priority: Major
>
> ant precommit fails in trunk with
> {code:java}
> [forbiddenapis] Reading bundled API signatures: jdk-unsafe-1.7
> [forbiddenapis] Reading bundled API signatures: jdk-non-portable
> [forbiddenapis] Loading classes to check...
> [forbiddenapis] Scanning classes for violations...
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.output.elasticsearch.tests.BaseITHSQLDB 
> (BaseITHSQLDB.java:48)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.confluence.v6.ConfluenceRepositoryConnector
>  (ConfluenceRepositoryConnector.java:1327)
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 'kafka.server.KafkaConfig' 
> cannot be loaded. Please fix the classpath!
> [forbiddenapis] WARNING: The referenced class 'kafka.server.KafkaConfig' 
> cannot be loaded. Please fix the classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] Forbidden method invocation: 
> java.text.SimpleDateFormat#(java.lang.String) [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.nuxeo.NuxeoConnectorTest 
> (NuxeoConnectorTest.java:163)
> [forbiddenapis] Forbidden method invocation: 
> java.text.SimpleDateFormat#(java.lang.String) [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.nuxeo.NuxeoConnectorTest 
> (NuxeoConnectorTest.java:224)
> [forbiddenapis] Forbidden method invocation: 
> java.text.SimpleDateFormat#(java.lang.String) [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.solr.SolrIngesterConnector 
> (SolrIngesterConnector.java:395)
> [forbiddenapis] Forbidden method invocation: java.lang.String#getBytes() 
> [Uses default charset]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.solr.SolrIngesterConnector 
> (SolrIngesterConnector.java:663)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:957)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:957)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:975)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:989)
> [forbiddenapis] Scanned 5237 (and 1241 related) class file(s) for forbidden 
> API invocations (in 36.65s), 10 error(s). {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Resolved] (CONNECTORS-1689) Forbidden apis violations

2021-12-17 Thread Markus Schuch (Jira)


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

Markus Schuch resolved CONNECTORS-1689.
---
Resolution: Fixed

> Forbidden apis violations
> -
>
> Key: CONNECTORS-1689
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1689
> Project: ManifoldCF
>  Issue Type: Bug
>Reporter: Markus Schuch
>Assignee: Markus Schuch
>Priority: Major
>
> ant precommit fails in trunk with
> {code:java}
> [forbiddenapis] Reading bundled API signatures: jdk-unsafe-1.7
> [forbiddenapis] Reading bundled API signatures: jdk-non-portable
> [forbiddenapis] Loading classes to check...
> [forbiddenapis] Scanning classes for violations...
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.output.elasticsearch.tests.BaseITHSQLDB 
> (BaseITHSQLDB.java:48)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.confluence.v6.ConfluenceRepositoryConnector
>  (ConfluenceRepositoryConnector.java:1327)
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 'kafka.server.KafkaConfig' 
> cannot be loaded. Please fix the classpath!
> [forbiddenapis] WARNING: The referenced class 'kafka.server.KafkaConfig' 
> cannot be loaded. Please fix the classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] Forbidden method invocation: 
> java.text.SimpleDateFormat#(java.lang.String) [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.nuxeo.NuxeoConnectorTest 
> (NuxeoConnectorTest.java:163)
> [forbiddenapis] Forbidden method invocation: 
> java.text.SimpleDateFormat#(java.lang.String) [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.nuxeo.NuxeoConnectorTest 
> (NuxeoConnectorTest.java:224)
> [forbiddenapis] Forbidden method invocation: 
> java.text.SimpleDateFormat#(java.lang.String) [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.solr.SolrIngesterConnector 
> (SolrIngesterConnector.java:395)
> [forbiddenapis] Forbidden method invocation: java.lang.String#getBytes() 
> [Uses default charset]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.solr.SolrIngesterConnector 
> (SolrIngesterConnector.java:663)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:957)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:957)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:975)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:989)
> [forbiddenapis] Scanned 5237 (and 1241 related) class file(s) for forbidden 
> API invocations (in 36.65s), 10 error(s). {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (CONNECTORS-1685) Alfresco Webscript Connector: Integration test fails on JDKs having patch level > 255

2021-12-17 Thread Piergiorgio Lucidi (Jira)


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

Piergiorgio Lucidi commented on CONNECTORS-1685:


In the r1896098 I have just shared the new re-packaging strategy for both the 
Alfresco WARs (Ant + Maven).

We only need to enable again the execution of integration tests.

> Alfresco Webscript Connector: Integration test fails on JDKs having patch 
> level > 255
> -
>
> Key: CONNECTORS-1685
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1685
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: Alfresco webscript connector, Build
>Reporter: Markus Schuch
>Assignee: Piergiorgio Lucidi
>Priority: Major
>
> Currently the {{ant test}} job executed by TravisCI in the github mirror of 
> manifoldcf fails



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (CONNECTORS-1689) Forbidden apis violations

2021-12-17 Thread Markus Schuch (Jira)


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

Markus Schuch commented on CONNECTORS-1689:
---

* fixed the violations (used {{{}Locale.ROOT{}}})
 * added precommit checks to travis ci
 * revamped travis ci job defitions
 ** stages:
 *** validate
  rat source and forbidden api checks
 *** build_test
  ant build
  maven build

r1896094

> Forbidden apis violations
> -
>
> Key: CONNECTORS-1689
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1689
> Project: ManifoldCF
>  Issue Type: Bug
>Reporter: Markus Schuch
>Assignee: Markus Schuch
>Priority: Major
>
> ant precommit fails in trunk with
> {code:java}
> [forbiddenapis] Reading bundled API signatures: jdk-unsafe-1.7
> [forbiddenapis] Reading bundled API signatures: jdk-non-portable
> [forbiddenapis] Loading classes to check...
> [forbiddenapis] Scanning classes for violations...
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.output.elasticsearch.tests.BaseITHSQLDB 
> (BaseITHSQLDB.java:48)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.confluence.v6.ConfluenceRepositoryConnector
>  (ConfluenceRepositoryConnector.java:1327)
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 'kafka.server.KafkaConfig' 
> cannot be loaded. Please fix the classpath!
> [forbiddenapis] WARNING: The referenced class 'kafka.server.KafkaConfig' 
> cannot be loaded. Please fix the classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] WARNING: The referenced class 
> 'kafka.server.KafkaServerStartable' cannot be loaded. Please fix the 
> classpath!
> [forbiddenapis] Forbidden method invocation: 
> java.text.SimpleDateFormat#(java.lang.String) [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.nuxeo.NuxeoConnectorTest 
> (NuxeoConnectorTest.java:163)
> [forbiddenapis] Forbidden method invocation: 
> java.text.SimpleDateFormat#(java.lang.String) [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.nuxeo.NuxeoConnectorTest 
> (NuxeoConnectorTest.java:224)
> [forbiddenapis] Forbidden method invocation: 
> java.text.SimpleDateFormat#(java.lang.String) [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.solr.SolrIngesterConnector 
> (SolrIngesterConnector.java:395)
> [forbiddenapis] Forbidden method invocation: java.lang.String#getBytes() 
> [Uses default charset]
> [forbiddenapis]   in 
> org.apache.manifoldcf.crawler.connectors.solr.SolrIngesterConnector 
> (SolrIngesterConnector.java:663)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:957)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:957)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:975)
> [forbiddenapis] Forbidden method invocation: java.lang.String#toLowerCase() 
> [Uses default locale]
> [forbiddenapis]   in 
> org.apache.manifoldcf.agents.transformation.tikaservice.rmeta.TikaExtractor 
> (TikaExtractor.java:989)
> [forbiddenapis] Scanned 5237 (and 1241 related) class file(s) for forbidden 
> API invocations (in 36.65s), 10 error(s). {code}



--
This message was sent by Atlassian