I use the
maven-publish plugin to generate pom file and publish the archives to maven central.
But there is no pom file included in the META-INF directory inside the jar file, which causing the problem that we can’t import the classes inside my project after some user installing the project.
Here is the build.gradle configuration: https://github.com/kaelzhang/java-fastjson-protobuf/blob/master/build.gradle
fastjson-protobuf-0.1.2.jar | -- ai.ost.fastjson_protobuf/ | -- the java files exist here | -- META-INF/ | -- MANIFEST.MF # But no pom file found here