Repository navigation
Closed
Description
While reviewing the staged Maven artefacts for 2.1.0-incubating RC7 (orgapachefesod-1058), I noticed that the published POMs (fesod-parent, fesod-bom, fesod-common, fesod-shaded, fesod-sheet) are missing some metadata that Maven Central's publishing requirements ask for. 2.0.2-incubating on Central has the same gaps, so this isn't a regression and doesn't block RC7.
The good parts: <name>, <description> (with the incubator disclaimer), <licenses>, <organization>, <mailingLists> and <issueManagement> are all present and correct.
Missing
<url>: the rootpom.xmlsets<url>https://github.com/apache/fesod</url>, but the flatten-maven-plugin config removes it:<pomElements> <url>remove</url> <scm>remove</scm> ... </pomElements>
<scm>: removed by the same config. The root<scm>also has a wrong<url>: it isscm:git:[email protected]:apache/fesod.git, butscm/urlshould be a browsable web URL such ashttps://github.com/apache/fesod.<developers>: not defined anywhere. For ASF projects this is usually a single entry pointing at the dev list, for example:<developers> <developer> <id>fesod</id> <name>The Apache Fesod (Incubating) Team</name> <email>[email protected]</email> <url>https://fesod.apache.org</url> <organization>The Apache Software Foundation</organization> <organizationUrl>https://www.apache.org</organizationUrl> </developer> </developers>
-javadoc.jar: none are staged, because the root POM sets<maven.javadoc.skip>true</maven.javadoc.skip>. Central requires a javadoc jar for every publishedjarartefact. A minimal or empty javadoc jar is accepted if full javadoc is not wanted.
Suggested fix
- Stop removing
urlandscmin the flatten config (drop the tworemoveentries, or set them tokeep/interpolate). If they were removed to stop Maven appending the child artifactId to inherited URLs, add these to the root POM instead:child.project.url.inherit.append.path="false"on<project>child.scm.connection.inherit.append.path="false",child.scm.developerConnection.inherit.append.path="false"andchild.scm.url.inherit.append.path="false"on<scm>
- Fix
<scm><url>tohttps://github.com/apache/fesod, and consider usinghttps://github.com/apache/fesod.gitfor<connection>. GitHub no longer serves thegit://protocol. - Add a
<developers>block as above. - Produce javadoc jars in the release profile.
Minor
fesod-parenthas<name>fesod-parent</name>, while the other modules use names like "Fesod Common". Something like "Fesod Parent" would be more consistent.
Metadata
Metadata
Assignees
Labels
No labels
Activity