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

Nick Burch commented on TIKA-1287:
----------------------------------

Tika Parsers seems to currently depend on netcdf {{4.2-min}}, which seems to be 
the latest one in maven central. (I believe the -min version is the one without 
the dependencies)

Best option would be to approach the people who produce netcdf, and ask them if 
they'd mind pushing their latest release to maven central

Failing that, it is possible for 3rd parties to get open source jars pushed 
into maven central when the source project has no interest, but it isn't ideal. 
We have helped drive that a few times though. Details are at 
https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository

Getting the netcdf team to push themselves is by far the best option though! No 
need for them to use maven themselves, just push the resulting jars they 
already generate along with a small pom which describes it

> Update NetCDF .jar file on Maven Central
> ----------------------------------------
>
>                 Key: TIKA-1287
>                 URL: https://issues.apache.org/jira/browse/TIKA-1287
>             Project: Tika
>          Issue Type: Bug
>    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)

Reply via email to