From bf4b347a963fff42efe198b759ef4efdf1d97d19 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 2 May 2014 22:21:28 +0200 Subject: [PATCH] Fix build failure Commit e26e06d5dd broke the full build as the generated zip file for the size is not generated. Actually, the site plugin has a jar goal that is exactly meant for what we need to do. This commit removes the use of the assembly plugin and invokes the jar goal of the site plugin when the full profile is enabled. Relates to #749 --- spring-boot-docs/pom.xml | 7 ++- .../spring-boot-maven-plugin/pom.xml | 62 +++++++++---------- .../src/assemble/site.xml | 15 ----- 3 files changed, 33 insertions(+), 51 deletions(-) delete mode 100644 spring-boot-tools/spring-boot-maven-plugin/src/assemble/site.xml diff --git a/spring-boot-docs/pom.xml b/spring-boot-docs/pom.xml index 9918f200d1..5ddb355930 100644 --- a/spring-boot-docs/pom.xml +++ b/spring-boot-docs/pom.xml @@ -240,8 +240,11 @@ spring-boot-maven-plugin ${project.version} site - zip - ${project.build.directory}/contents + jar + + ${project.build.directory}/contents/maven-plugin + + META-INF/** diff --git a/spring-boot-tools/spring-boot-maven-plugin/pom.xml b/spring-boot-tools/spring-boot-maven-plugin/pom.xml index e1322174c4..9af7addf4c 100644 --- a/spring-boot-tools/spring-boot-maven-plugin/pom.xml +++ b/spring-boot-tools/spring-boot-maven-plugin/pom.xml @@ -56,24 +56,43 @@ org.apache.maven.plugins - maven-assembly-plugin - - - src/assemble/site.xml - - + maven-site-plugin - create-site-zip - site + generate-site - single + jar + + + + org.apache.maven.plugins + maven-plugin-plugin + + + org.apache.maven.plugins + maven-project-info-reports-plugin + 2.7 + + + + index + cim + issue-tracking + license + scm + + + + + + + @@ -168,29 +187,4 @@ - - - - org.apache.maven.plugins - maven-plugin-plugin - - - org.apache.maven.plugins - maven-project-info-reports-plugin - 2.7 - - - - index - cim - issue-tracking - license - scm - - - - - - - diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/assemble/site.xml b/spring-boot-tools/spring-boot-maven-plugin/src/assemble/site.xml deleted file mode 100644 index cadc42520a..0000000000 --- a/spring-boot-tools/spring-boot-maven-plugin/src/assemble/site.xml +++ /dev/null @@ -1,15 +0,0 @@ - - site - maven-plugin - - zip - - - - ${project.build.directory}/site - / - - - \ No newline at end of file