[ 
https://issues.apache.org/jira/browse/TIKA-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14938879#comment-14938879
 ] 

Uwe Schindler commented on TIKA-1756:
-------------------------------------

While testing this I found out that TIKA's test break when running with 
whitespace in folder name (windows user name with whitespace). But this is 
unrelated to this one. The problematic method is one of the crazy stuff that 
may be put on the forbidden list (Lucene does this): {{URL#getPath()}} is bad, 
bad, bad if used to generate a file name. Must be {{new File(url.toURI())}}

> Update forbiddenapis to v2.0
> ----------------------------
>
>                 Key: TIKA-1756
>                 URL: https://issues.apache.org/jira/browse/TIKA-1756
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Uwe Schindler
>         Attachments: TIKA-1756.patch
>
>
> Forbiddenapis 2.0 was released a few hours ago. Apache POI and Lucene already 
> updated, Tika should do this, too.
> Attached is a patch.
> {quote}
> The main new feature is native support for the Gradle build system (minimum 
> requirement is Gradle 2.3). But also Apache Ant and Apache Maven build 
> systems got improved support: Ant can now load signatures from arbitrary 
> resources by using a new XML element <signatures></signatures> that may 
> contain any valid ANT resource, e.g., ivy's cache-filesets or plain URLs. 
> Apache Maven now supports to load signatures files as artifacts from your 
> repository or Maven Central (new signaturesArtifacts Mojo property).
> Breaking changes:
> - Update to Java 6 as minimum requirement.
> - Switch default Maven lifecycle phase to verify.
> Bug fixes:
> - Add automatic plugin execution override for M2E. It is no longer needed to 
> add a lifecycle mapping to exclude forbiddenapis to execute inside Eclipse's 
> M2E 
> {quote}
> The M2E change is nice, because you no longer need the M2E workaround to 
> disable running the plugin in Eclipse manually.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to