You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2016/02/06 03:36:39 UTC

[jira] [Comment Edited] (TIKA-1851) Tika 2.0 - Move test resources from core to test-resources

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

Tim Allison edited comment on TIKA-1851 at 2/6/16 2:35 AM:
-----------------------------------------------------------

Build now works locally for me after manual download of ner models.  The fix to tika-server works at least locally.

I can't figure out what Hudson/Jenkins didn't like here.  It finished building tika-test-resources, and then failed on tika-parser-text module:

{noformat}
[INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ tika-parser-text-module ---
[INFO] Configured Artifact: org.apache.tika:tika-test-resources:2.0-SNAPSHOT:test-jar
Downloading: http://repository.apache.org/snapshots/org/apache/tika/tika-test-resources/2.0-SNAPSHOT/tika-test-resources-2.0-SNAPSHOT-tests.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache Tika
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
{noformat}

Then ...
{noformat}
Could not find artifact org.apache.tika:tika-test-resources:jar:tests:2.0-SNAPSHOT in Nexus (http://repository.apache.org/snapshots)
{noformat}

But the tika-test-resources.jar is available here: https://repository.apache.org/content/repositories/snapshots/org/apache/tika/tika-test-resources/2.0-SNAPSHOT/

That's exciting...

hmmm....


was (Author: tallison@mitre.org):
Build now works locally for me after manual download of ner models.  The fix to tika-server works at least locally.

I can't figure out what Hudson/Jenkins didn't like here.  It finished building tika-test-resources, and then failed on tika-parser-text module:

{noformat}
[INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @ tika-parser-text-module ---
[INFO] Configured Artifact: org.apache.tika:tika-test-resources:2.0-SNAPSHOT:test-jar
Downloading: http://repository.apache.org/snapshots/org/apache/tika/tika-test-resources/2.0-SNAPSHOT/tika-test-resources-2.0-SNAPSHOT-tests.jar
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Apache Tika
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
{noformat}

Then ...
{noformat}
Could not find artifact org.apache.tika:tika-test-resources:jar:tests:2.0-SNAPSHOT in Nexus (http://repository.apache.org/snapshots)
{noformat}


That's exciting...

> Tika 2.0 - Move test resources from core to test-resources
> ----------------------------------------------------------
>
>                 Key: TIKA-1851
>                 URL: https://issues.apache.org/jira/browse/TIKA-1851
>             Project: Tika
>          Issue Type: Sub-task
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>            Priority: Trivial
>             Fix For: 2.0
>
>
> Let's try to move resources that are used for testing to the test-resources module if possible: MockParser, DummyParser, TikaTest and the unit tests for MockParser.  That should also allow us to drop the test-jar goal in tika-core.  Anything else?
> Haven't actually tried this yet; there may be surprises.



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