[ https://issues.apache.org/jira/browse/TIKA-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Allison resolved TIKA-2691. ------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 1.19 Thank you [~valeria] > 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 > Assignee: Tim Allison > Priority: Major > Fix For: 1.19, 2.0.0 > > > 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 pom.xml of 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)