tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ann Burgess (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-1287) Update NetCDF .jar file on Maven Central
Date Wed, 30 Jul 2014 20:34:38 GMT

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

Ann Burgess commented on TIKA-1287:
-----------------------------------

I am picking this issue back up as I've just finished writing a parser for GRIB files and
GRIB support was not added to netcdf-java until version 4.3+.  As stated above, Central currently
hosts 4.2-min. 

I've just been granted deployer rights on Sonotype to stage an upload of netcdf-4.3+ to Maven
Central: https://issues.sonatype.org/browse/CENTRALSRV-82.

I've made the bundle jar from the most recent stable release from Unidata at: https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases/edu/ucar/netcdf/4.3.22/.
 

I will create a separate JIRA for the new GRIB parser, including updating the Tika .pom with
the updated netcdf .jar file.   Please let me know if you have any thoughts/insights about
updating 3rd party jar files as this.  


> Update NetCDF .jar file on Maven Central
> ----------------------------------------
>
>                 Key: TIKA-1287
>                 URL: https://issues.apache.org/jira/browse/TIKA-1287
>             Project: Tika
>          Issue Type: Improvement
>          Components: parser
>    Affects Versions: 1.5
>            Reporter: Ann Burgess
>              Labels: jar, maven, netcdf, tika, unit-test, update
>
> I am working to update the NetCDFParser file.  When using the most-recent .jar file available
from http://www.unidata.ucar.edu/ at the command line I receive a note about a depreciated
API: 
> javac -classpath ../../../../tika-core/target/tika-core-1.6-SNAPSHOT.jar:../../../../toolsUI-4.3.jar
org/apache/tika/parser/netcdf/NetCDFParser.java
> Note: org/apache/tika/parser/netcdf/NetCDFParser.java uses or overrides a deprecated
API.
> Note: Recompile with -Xlint:deprecation for details.
> After updating the NetCDFParser file with non-deprecated methods (e.x. changing "dimension.getName()"
to "dimension.getFullName()") however, I get failed unit tests in maven, which I assume is
because the Maven Central Repo has the lapsed version of the .jar file needed for NetCDF files
(
> http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22edu.ucar%22%20AND%20a%3A%22netcdf%22)
.
> Can anyone provide insight into how I get the updated .jar file into the Maven Central
Repository? Is there an alternative method to update Tika so I can run my unit tests in Maven?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message