Skip to content

Instantly share code, notes, and snippets.

@aalmiray
Created December 3, 2021 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aalmiray/8d7b24ca301323c33e3e822ee0409b1d to your computer and use it in GitHub Desktop.
Save aalmiray/8d7b24ca301323c33e3e822ee0409b1d to your computer and use it in GitHub Desktop.
$ git remote -vv
origin https://github.com/MorphiaOrg/morphia.git (fetch)
origin https://github.com/MorphiaOrg/morphia.git (push)
$ mvn org.kordamp.maven:pomchecker-maven-plugin:1.2.0:check-maven-central -Dchecker.release=false
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Morphia [pom]
[INFO] build-plugins [maven-plugin]
[INFO] util [jar]
[INFO] morphia-core [jar]
[INFO] morphia-kotlin [jar]
[INFO] morphia-validation [jar]
[INFO] examples [jar]
[INFO]
[INFO] --------------------< dev.morphia.morphia:morphia >---------------------
[INFO] Building Morphia 2.3.0-SNAPSHOT [1/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- pomchecker-maven-plugin:1.2.0:check-maven-central (default-cli) @ morphia ---
[WARNING] <description> is not defined in POM. Will use value from parent:
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Morphia 2.3.0-SNAPSHOT:
[INFO]
[INFO] Morphia ............................................ FAILURE [ 0.096 s]
[INFO] build-plugins ...................................... SKIPPED
[INFO] util ............................................... SKIPPED
[INFO] morphia-core ....................................... SKIPPED
[INFO] morphia-kotlin ..................................... SKIPPED
[INFO] morphia-validation ................................. SKIPPED
[INFO] examples ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.219 s
[INFO] Finished at: 2021-12-03T21:13:37+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.kordamp.maven:pomchecker-maven-plugin:1.2.0:check-maven-central (default-cli) on project morphia: MavenCentral check failed:
[ERROR] The POM file
[ERROR] /private/tmp/morphia/pom.xml
[ERROR] cannot be uploaded to Maven Central due to the following reasons:
[ERROR] * <licenses> block is required but was left empty.
[ERROR] * <developers> block is required but was left empty.
[ERROR] * The <pluginRepositories> block should not be present.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment