diff --git a/parent/pom.xml b/parent/pom.xml index 6248c23e..bd0c6e42 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -84,6 +84,7 @@ 1.8 ${project.artifactId} ${project.build.directory}/jacoco.exec + false 1.1.3 1.9.3 @@ -280,17 +281,21 @@ distribute ${project.build.directory}/shared-resources + ${project.build.directory}/generated-asciidoc-sources/source/ + + ${project.build.directory}/generated-docs + true + true + true true + true true @@ -321,16 +326,16 @@ unpack-dependencies - prepare-package + generate-resources + + ${project.groupId} + spring-data-build-resources + zip + true + ${shared.resources} + - - ${project.groupId} - spring-data-build-resources - zip - true - ${shared.resources} - - org.apache.maven.plugins maven-antrun-plugin @@ -409,15 +409,22 @@ - collect-schema-files - prepare-package + create-generated-docs-resources + process-resources - - - + + + + + + + + + + + - @@ -444,6 +451,11 @@ + + org.jfrog.buildinfo + artifactory-maven-plugin + + @@ -545,104 +557,229 @@ maven-assembly-plugin - static + docs single package - ${shared.resources}/assemblies/static-resources.xml + ${shared.resources}/assemblies/docs.xml - static-resources - false + ${dist.id} + true + + - org.codehaus.mojo - wagon-maven-plugin - - ${project.build.directory} - static-dot-s2 - scp://docs.af.pivotal.io - + org.jfrog.buildinfo + artifactory-maven-plugin - - - - upload-schema - deploy + deploy-docs - upload + publish + deploy - ${project.root}/target/schemas - *.xsd,.autoschemaln - /var/www/domains/spring.io/www/htdocs/autorepo/schema/${dist.id}/${project.version} - true + + false + + + ${dist.id} + ${dist.id} + false + docs + + + + Spring Data Docs ${dist.id} ${project.version} + 1 + + + {{artifactory.server}} + {{artifactory.username}} + {{artifactory.password}} + {{artifactory.distribution-repository}} + {{artifactory.distribution-repository}} + *-docs.zip + - - - - - upload-static-resources - deploy - - upload - - - ${project.build.directory}/static-resources - ** - /var/www/domains/spring.io/www/htdocs/autorepo/docs/${dist.id}/${project.version} - true - - - - - - make-resources-group-writable - deploy - - sshexec - - - - - - - - - - - - - + + + + + + + + + distribute-schema + + + ${project.build.directory}/shared-resources + true + true + true + true + true + true + + + + + org.springframework.data.build + spring-data-build-resources + 2.1.10.BUILD-SNAPSHOT + zip + true + + + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-shared-resources + + unpack-dependencies + + generate-resources + + ${project.groupId} + spring-data-build-resources + zip + true + ${shared.resources} + + + + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + + collect-schema-files + prepare-package + + + + + + + + + + + + run + + + + + + + + + org.jfrog.buildinfo + artifactory-maven-plugin + + + + + + + + org.apache.maven.plugins - maven-deploy-plugin - - true - + maven-assembly-plugin + + + schema + + single + + package + + + ${shared.resources}/assemblies/schema.xml + + ${dist.id} + true + + + + + + + org.jfrog.buildinfo + artifactory-maven-plugin + + + deploy-schema + + publish + + deploy + + + false + + + ${dist.id} + ${dist.id} + true + schema + + + + Spring Data Schema ${dist.id} ${project.version} + 1 + + + {{artifactory.server}} + {{artifactory.username}} + {{artifactory.password}} + {{artifactory.distribution-repository}} + {{artifactory.distribution-repository}} + *-schema.zip + + + + + @@ -914,6 +1051,12 @@ 1.18.4.0 + + org.jfrog.buildinfo + artifactory-maven-plugin + 2.6.1 + + @@ -926,11 +1069,12 @@ - kotlin-maven-plugin org.jetbrains.kotlin + kotlin-maven-plugin ${kotlin} ${source.level} + ${maven.kotlin.skip} diff --git a/resources/src/main/resources/assemblies/static-resources.xml b/resources/src/main/resources/assemblies/docs.xml similarity index 96% rename from resources/src/main/resources/assemblies/static-resources.xml rename to resources/src/main/resources/assemblies/docs.xml index 11aac1d1..eea55b0d 100644 --- a/resources/src/main/resources/assemblies/static-resources.xml +++ b/resources/src/main/resources/assemblies/docs.xml @@ -1,8 +1,9 @@ - resources + docs dir + zip false @@ -34,4 +35,4 @@ api - \ No newline at end of file + diff --git a/resources/src/main/resources/assemblies/schema.xml b/resources/src/main/resources/assemblies/schema.xml new file mode 100644 index 00000000..4d7a9e41 --- /dev/null +++ b/resources/src/main/resources/assemblies/schema.xml @@ -0,0 +1,20 @@ + + + schema + + dir + zip + + false + + + ${project.root}/target/schemas + + *.xsd + .autoschemaln + + + dos + + +