You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Celpan Valeria (JIRA)" <ji...@apache.org> on 2018/07/19 13:06:00 UTC

[jira] [Created] (TIKA-2691) Can't create an RPM

Celpan Valeria created TIKA-2691:
------------------------------------

             Summary: Can't create an RPM 
                 Key: TIKA-2691
                 URL: https://issues.apache.org/jira/browse/TIKA-2691
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.18
         Environment: * CentOs 7
 * Maven 3
 * Rpm-maven-plugin / org.codehaus.mojo

 

 
            Reporter: Celpan Valeria


When I'm trying to generate RPM using the latest released Tika I get this error:
Unable to get dependency information: Unable to read the metadata file for artifact 'com.github.jai-imageio:jai-imageio-core:jar': Invalid JDK version in profile 'java8-and-higher': Unbounded range: [1.8, for project com.github.jai-imageio:jai-imageio-core
This error is from this internal Tika's dependency that have an issue

<!-- jai-imageio-core is allowed since LEGAL-304 -->
 <dependency>
 <groupId>com.github.jai-imageio</groupId>
 <artifactId>jai-imageio-core</artifactId>
 <version>1.3.1</version>
 </dependency>
 
and jai-imageio-core version 1.3.1 have inside something like this:
 <profile>
 <id>java8-and-higher</id>
 <activation>
 <jdk>[1.8,</jdk>
 </activation>
 <build>
 <plugins>
 <plugin> 
 
in line: <jdk>[1.8,</jdk> is missing closing bracket and because of this I get an error when I trying to generate  RPM 
In the newest version of this library this issue was solved (version 1.4.0)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)