From ced3d0686649a302699ea273b9a1ce4d3ff7f502 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Fri, 7 Jan 2022 20:42:15 +0100 Subject: [PATCH] Add maven build-helper plugin This plugin is used to attach metadata about documentation artifacts --- pom.xml | 1 + spring-batch-docs/pom.xml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/pom.xml b/pom.xml index 60e30973e..10f785e9e 100644 --- a/pom.xml +++ b/pom.xml @@ -139,6 +139,7 @@ 3.1.2 3.2.0 3.2.0 + 1.10 diff --git a/spring-batch-docs/pom.xml b/spring-batch-docs/pom.xml index 73856a6d6..b516fea9f 100644 --- a/spring-batch-docs/pom.xml +++ b/spring-batch-docs/pom.xml @@ -171,6 +171,36 @@ + + org.codehaus.mojo + build-helper-maven-plugin + ${build-helper-maven-plugin.version} + + + attach-zip + + attach-artifact + + site + + + + ${project.build.directory}/spring-batch-${project.version}-docs.zip + zip;zip.type=docs;zip.deployed=false + + + ${project.build.directory}/spring-batch-${project.version}-schemas.zip + zip;zip.type=schemas;zip.deployed=false + + + ${project.build.directory}/spring-batch-${project.version}-dist.zip + zip;zip.type=dist;zip.deployed=false + + + + + + org.apache.maven.plugins maven-deploy-plugin