From 43181d3db9a6a7ebbe3b33c93ed9336837bc9be8 Mon Sep 17 00:00:00 2001 From: Jae Gangemi Date: Fri, 27 Sep 2024 13:00:07 -0600 Subject: [PATCH] - don't create test jars, not needed for publishing (#16) - use javadoc defaults for header, etc - disable javadoc publushing to 'gh-pages' (for now) - readme updates --- README.md | 64 +++++++++++++++++++++++++++++++++++++++------------ pom.xml | 68 ++++++++++++++++++------------------------------------- 2 files changed, 72 insertions(+), 60 deletions(-) diff --git a/README.md b/README.md index 448bfd7..1682afa 100644 --- a/README.md +++ b/README.md @@ -15,21 +15,57 @@ dangernoodle.io organization build pom ``` -### Code Coverage +### Build Plugins -Add the following to the downstream maven `pom.xml` +Add the following to the downstream maven `pom.xml`. Activation occurs alongside the associated profile. + +##### Source and Javadocs + +```xml + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + org.apache.maven.plugins + maven-source-plugin + + + +``` + +#### Code Coverage + +```xml + + + + org.jacoco + jacoco-maven-plugin + + + com.github.hazendaz.maven + coveralls-maven-plugin + + + +``` + +#### Integration Tests ```xml - - - - org.jacoco - jacoco-maven-plugin - - - com.github.hazendaz.maven - coveralls-maven-plugin - - - + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-failsafe-plugin + + + ``` diff --git a/pom.xml b/pom.xml index b5f3c1e..c46e4ca 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,7 @@ - + 4.0.0 @@ -7,11 +9,10 @@ io.dangernoodle dangernoodle-io-org-pom 12.1.0 - dangernoodle-io-build-pom - 14.2.1-SNAPSHOT + 14.3.0-SNAPSHOT pom ${project.artifactId} @@ -96,14 +97,6 @@ org.apache.maven.plugins maven-jar-plugin ${maven-jar-plugin.version} - - - test-jar - - test-jar - - - org.apache.maven.plugins @@ -117,10 +110,6 @@ -Xdoclint:none true -
${javadoc.project.artifactId} - ${project.version}
- ${javadoc.project.artifactId} - ${project.version} - ${javadoc.project.artifactId} - ${project.version} - ${javadoc.project.artifactId} - ${project.version}
@@ -219,7 +208,6 @@ attach-sources jar-no-fork - test-jar-no-fork @@ -233,9 +221,6 @@ jar - - ${project.reporting.outputDirectory}/apidocs - @@ -363,45 +348,36 @@ + + - none - - copy-resources - - - ${project.reporting.outputDirectory} - - - src/main/site - - - - - - org.apache.maven.plugins maven-javadoc-plugin site-javadoc - none - javadoc-no-fork + aggregate-no-fork + ${project.parent.artifactId} - ${project.version} API true @@ -413,15 +389,14 @@ ${maven-scm-publish-plugin.version} - publishing javadoc for ${project.version} - ${project.reporting.outputDirectory} + ${project.build.directory}/reports/apidocs ${javadoc.site.scm} gh-pages - true + git publish-javadoc - none publish-scm @@ -433,6 +408,7 @@ + -->