I am upgrading current system to spring boot 2.5.2 . I have custom spring boot starter which I installed to my local maven repository. But its generating plain jar. I installed plain jar but the project I am gonna use this starter looking for normal jar. When I disable plain jar and install normal jar , its looking plain jar. Is there any way to install both or is there any other way to look only plain jar or normal jar.
Java version is 11, Gradle version is 6.8.3, spring boot version is 2.5.2 , spring boot dependency management version is 1.0.8
CodePudding user response:
sorry , I can't comment. I can't understand your mean.
depend on your message , I know you have write a starter that install to local maven, maybe like mvn install
, but I don't know what is plain jar, what is normal jar.
CodePudding user response:
In the custom starter one of the module added as a "api project" when I change that to "compile project" in build.gradle it worked. Because of "api project" when it generating jar and pom file it was adding classifier as a "plain" and it was searching plain-jar. After change it, everything worked for me.