To start, this is a very old code base, currently being compiled/run under Java8. I'm trying to get it compiled/run under OpenJDK 17. So far getting many of the modules to compile, but I'm getting stuck on one of them, which depends on another, asking for the "tests" jar.
The error is Could not find artifact com.findology.f2:biz-lib:jar:tests:1.3-SNAPSHOT
In the local ~/.m2/repository
repository, I do see biz-lib-1.3-SNAPSHOT-tests.jar
file, so really not sure why it's not finding it.
I'm building the module WAR module with mvn clean install -Dmaven.test.skip=true -DfailIfNoTests=false
, but despite that it still keeps giving me that error.
I've tried adding the following to the dependency, but hasn't made a difference
<scope>compile</scope>
<type>jar</type>
I'm using Maven v3.8.5, OpenJDK v17.0.5 on KDE Neon (Ubuntu 22.04 based
EDIT: My dependency entry looks like
<dependency>
<groupId>com.findology.f2</groupId>
<artifactId>biz-lib</artifactId>
<version>${f2.version}</version>
</dependency>