I'm updating a maven dependency tika-parsers from v1.14 to v2.4.0. Changing the version alone causes maven to fail to find the jar:
Could not resolve dependencies for project samm:samm:war:2.0.0: Could not find artifact org.apache.tika:tika-parsers:jar:2.4.0 in central (https://repo.maven.apache.org/maven2)
Since mvnrepository reports that v2 now needs to have <type>pom</type>, I added that in and while the jar error goes away, my code fails to compile as it can't find anything in the tika-parses package.
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-parsers</artifactId>
<version>2.4.0</version>
<type>pom</type>
</dependency>
package org.apache.tika.detect does not exist
I've confirmed that the package should exist as it hasn't been renamed in v2, it's still in their API docs. It sounds like type=pom should tell maven to download all of the dependencies listed in their POM but I can't tell what's happening.
Do I need to do something else?