When I publish to a local maven repository from a Gradle project, I find that the main JAR file has a -plain
suffix.
pdffer/pdffer-template/1.0-SNAPSHOT
➜ ll
total 32
-rw-r--r-- 1 fedmest staff 918B Sep 1 16:39 maven-metadata-local.xml
-rw-r--r-- 1 fedmest staff 3.8K Sep 1 16:39 pdffer-template-1.0-SNAPSHOT-plain.jar
-rw-r--r-- 1 fedmest staff 1.9K Sep 1 16:39 pdffer-template-1.0-SNAPSHOT.module
-rw-r--r-- 1 fedmest staff 1.7K Sep 1 16:39 pdffer-template-1.0-SNAPSHOT.pom
When I include this library as a Maven dependency from a POM file, it cannot find it - it only works if I rename the main JAR to exclude the -plain suffix. Can I get Gradle to generate the JAR without the suffix? Any idea why the suffix appears, please?