inspectit-ocelot
inspectit-ocelot copied to clipboard
[Bug] - JitPack Build is broken
Describe the bug See https://jitpack.io/#inspectit/inspectit-ocelot/ The build log reports an error
⚠️ ERROR: No build artifacts found Expected artifacts in: $HOME/.m2/repository/rocks/inspectit/ocelot/inspectit-ocelot- config/SNAPSHOT
This seems to have broken when going from 1.13 to 1.14.
Which was the switch from gradle 6.5 to gradle 7. (so from the maven
to maven-publish
plugin)
It looks like jitpackcannot find any artifacts/poms.
Executing ./gradlew clean -Pgroup=com.github.inspectit -Pversion=2.5.3 -xtest assemble publishToMavenLocal
locally does not install any packages either.
I fixed this by adding
publishing {
publications {
_sdk_(MavenPublication) {
from components.java
}
}
}
to the sdk project build.gradle
. Since this is the one I want to use.
This might also fix the jitpack-problem.
To Reproduce Steps to reproduce the behavior:
- Create a release. ;)
@EddeCCC ping ;)