Permalink
Browse files

Add Gradle build

- Add gradle build script
- Remove spring-build/
- Remove build-spring-webflow/
- Remove ivy.xml, pom.xml, template.mf
- Remove eclipse  metadata
- Remove RichFacesAjaxHandler.java
- Create src/dist and add changelog.txt, readme.txt

Dependency changes:
- EBR dependency -> Maven-central dependencies
- el-api 1.0 -> 2.2.0
- ognl 2.6.9 -> 2.6.11
- org.jboss.el -> tomcat-jasper-el 7.0.27
  • Loading branch information...
1 parent b4847ef commit 4e81930b723a9ee0387621d6f00415b6bb93b836 @rstoyanchev rstoyanchev committed May 24, 2012
Showing with 659 additions and 9,157 deletions.
  1. +16 −5 .gitignore
  2. +0 −11 build-spring-webflow/.project
  3. +0 −21 build-spring-webflow/build.xml
  4. +0 −33 build-spring-webflow/ivysettings.xml
  5. +0 −93 build-spring-webflow/package-artifact.xml
  6. +0 −9 build-spring-webflow/package-bundle.xml
  7. +0 −65 build-spring-webflow/package-top-level.xml
  8. +0 −12 build-spring-webflow/publish-artifact.xml
  9. +0 −67 build-spring-webflow/publish-documentation.xml
  10. +0 −37 build-spring-webflow/publish-top-level.xml
  11. +0 −42 build-spring-webflow/readme.txt
  12. +0 −22 build-spring-webflow/resources/notice.txt
  13. +266 −0 build.gradle
  14. +1 −0 gradle.properties
  15. BIN gradle/wrapper/gradle-wrapper.jar
  16. +6 −0 gradle/wrapper/gradle-wrapper.properties
  17. +164 −0 gradlew
  18. +90 −0 gradlew.bat
  19. +0 −23 pom.xml
  20. +65 −0 publish-maven.gradle
  21. +8 −0 settings.gradle
  22. +0 −19 spring-binding/.classpath
  23. +16 −12 spring-binding/.project
  24. +0 −356 spring-binding/.settings/org.eclipse.jdt.core.prefs
  25. +0 −58 spring-binding/.settings/org.eclipse.jdt.ui.prefs
  26. +0 −6 spring-binding/.settings/org.eclipse.wst.validation.prefs
  27. +0 −39 spring-binding/ivy.xml
  28. +0 −130 spring-binding/pom.xml
  29. +1 −1 spring-binding/src/test/java/org/springframework/binding/expression/el/ELExpressionParserTests.java
  30. +0 −13 spring-binding/template.mf
  31. +0 −33 spring-build/aspect/artifact.xml
  32. +0 −45 spring-build/aspect/common.xml
  33. +0 −25 spring-build/aspect/default.xml
  34. +0 −22 spring-build/aspect/package.xml
  35. +0 −22 spring-build/aspect/publish.xml
  36. +0 −74 spring-build/aspect/quality.xml
  37. +0 −120 spring-build/common/artifact.xml
  38. +0 −183 spring-build/common/common.properties
  39. +0 −240 spring-build/common/common.xml
  40. +0 −34 spring-build/common/default-ivy-configurations.xml
  41. +0 −22 spring-build/common/findbugs-exclude.xml
  42. +0 −82 spring-build/common/ivysettings.xml
  43. BIN spring-build/common/javadoc-resources/TableHeading-background.png
  44. +0 −109 spring-build/common/package.xml
  45. +0 −110 spring-build/common/publish.xml
  46. +0 −276 spring-build/common/quality.xml
  47. +0 −184 spring-build/common/spring-javadoc.css
  48. +0 −21 spring-build/docbook/common.xml
  49. +0 −46 spring-build/docbook/css/html/highlight.css
  50. +0 −75 spring-build/docbook/css/html/stylesheet.css
  51. +0 −24 spring-build/docbook/default.xml
  52. +0 −182 spring-build/docbook/documentation.xml
  53. +0 −29 spring-build/docbook/package.xml
  54. +0 −44 spring-build/docbook/publish.xml
  55. +0 −119 spring-build/docbook/styles/html/custom.xsl
  56. +0 −56 spring-build/docbook/styles/html/titlepage.xml
  57. +0 −661 spring-build/docbook/styles/pdf/custom.xsl
  58. +0 −96 spring-build/docbook/styles/pdf/titlepage.xml
  59. BIN spring-build/lib/ivy/commons-codec.jar
  60. BIN spring-build/lib/ivy/commons-httpclient.jar
  61. BIN spring-build/lib/ivy/commons-logging.jar
  62. +0 −20 spring-build/lib/ivy/current.version
  63. BIN spring-build/lib/ivy/ivy.jar
  64. BIN spring-build/lib/ivy/jets3t.jar
  65. +0 −26 spring-build/lib/ivy/jets3t.properties
  66. BIN spring-build/lib/ivy/org.springframework.build.aws.ivy.jar
  67. +0 −52 spring-build/library/artifact.xml
  68. +0 −21 spring-build/library/common.xml
  69. +0 −25 spring-build/library/default.xml
  70. +0 −37 spring-build/library/package.xml
  71. +0 −82 spring-build/library/publish.xml
  72. +0 −35 spring-build/library/quality.xml
  73. +0 −70 spring-build/multi-bundle/artifact.xml
  74. +0 −120 spring-build/multi-bundle/common.xml
  75. +0 −25 spring-build/multi-bundle/default.xml
  76. +0 −29 spring-build/multi-bundle/package.xml
  77. +0 −83 spring-build/multi-bundle/publish.xml
  78. +0 −138 spring-build/multi-bundle/quality.xml
  79. +0 −66 spring-build/par/artifact.xml
  80. +0 −21 spring-build/par/common.xml
  81. +0 −25 spring-build/par/default.xml
  82. +0 −31 spring-build/par/package.xml
  83. +0 −66 spring-build/par/publish.xml
  84. +0 −22 spring-build/par/quality.xml
  85. +0 −45 spring-build/resource/artifact.xml
  86. +0 −21 spring-build/resource/common.xml
  87. +0 −25 spring-build/resource/default.xml
  88. +0 −39 spring-build/resource/package.xml
  89. +0 −82 spring-build/resource/publish.xml
  90. +0 −35 spring-build/resource/quality.xml
  91. +0 −40 spring-build/standard/artifact.xml
  92. +0 −48 spring-build/standard/common.xml
  93. +0 −25 spring-build/standard/default.xml
  94. +0 −22 spring-build/standard/package.xml
  95. +0 −22 spring-build/standard/publish.xml
  96. +0 −22 spring-build/standard/quality.xml
  97. +0 −85 spring-build/war/artifact.xml
  98. +0 −48 spring-build/war/common.xml
  99. +0 −25 spring-build/war/default.xml
  100. +0 −31 spring-build/war/package.xml
  101. +0 −70 spring-build/war/publish.xml
  102. +0 −74 spring-build/war/quality.xml
  103. +0 −83 spring-build/weaving-external/artifact.xml
  104. +0 −48 spring-build/weaving-external/common.xml
  105. +0 −25 spring-build/weaving-external/default.xml
  106. +0 −22 spring-build/weaving-external/package.xml
  107. +0 −22 spring-build/weaving-external/publish.xml
  108. +0 −63 spring-build/weaving-external/quality.xml
  109. +0 −59 spring-build/weaving/artifact.xml
  110. +0 −50 spring-build/weaving/common.xml
  111. +0 −25 spring-build/weaving/default.xml
  112. +0 −22 spring-build/weaving/package.xml
  113. +0 −22 spring-build/weaving/publish.xml
  114. +0 −45 spring-build/weaving/quality.xml
  115. +0 −37 spring-faces/.classpath
  116. +0 −356 spring-faces/.settings/org.eclipse.jdt.core.prefs
  117. +0 −58 spring-faces/.settings/org.eclipse.jdt.ui.prefs
  118. +0 −6 spring-faces/.settings/org.eclipse.wst.validation.prefs
  119. +0 −82 spring-faces/ivy.xml
  120. +0 −221 spring-faces/pom.xml
  121. +0 −72 spring-faces/src/main/java/org/springframework/faces/richfaces/RichFacesAjaxHandler.java
  122. +0 −5 spring-faces/src/main/java/org/springframework/faces/richfaces/package.html
  123. +1 −0 spring-faces/src/main/java/org/springframework/faces/webflow/JsfView.java
  124. +2 −2 spring-faces/src/test/java/org/springframework/faces/config/flow-builder-services.xml
  125. +2 −2 spring-faces/src/test/java/org/springframework/faces/config/resources.xml
  126. +1 −1 spring-faces/src/test/java/org/springframework/faces/webflow/JsfFinalResponseActionTests.java
  127. +1 −1 ...s/src/test/java/org/springframework/faces/webflow/JsfManagedBeanAwareELExpressionParserTests.java
  128. +1 −1 spring-faces/src/test/java/org/springframework/faces/webflow/JsfViewFactoryTests.java
  129. +0 −21 spring-faces/template.mf
  130. +0 −30 spring-js-resources/.classpath
  131. +0 −356 spring-js-resources/.settings/org.eclipse.jdt.core.prefs
  132. +0 −58 spring-js-resources/.settings/org.eclipse.jdt.ui.prefs
  133. +0 −6 spring-js-resources/.settings/org.eclipse.wst.validation.prefs
  134. +0 −23 spring-js-resources/ivy.xml
  135. +0 −31 spring-js-resources/pom.xml
  136. +0 −4 spring-js-resources/template.mf
  137. +0 −30 spring-js/.classpath
  138. +0 −356 spring-js/.settings/org.eclipse.jdt.core.prefs
  139. +0 −58 spring-js/.settings/org.eclipse.jdt.ui.prefs
  140. +0 −6 spring-js/.settings/org.eclipse.wst.validation.prefs
  141. +0 −46 spring-js/ivy.xml
  142. +0 −148 spring-js/pom.xml
  143. +0 −15 spring-js/template.mf
  144. +0 −28 spring-webflow-library/ivy.xml
  145. +0 −22 spring-webflow-reference/ivy.xml
  146. +0 −51 spring-webflow/.classpath
  147. +0 −356 spring-webflow/.settings/org.eclipse.jdt.core.prefs
  148. +0 −58 spring-webflow/.settings/org.eclipse.jdt.ui.prefs
  149. +0 −6 spring-webflow/.settings/org.eclipse.wst.validation.prefs
  150. +0 −61 spring-webflow/ivy.xml
  151. +0 −261 spring-webflow/pom.xml
  152. +2 −2 spring-webflow/src/test/java/org/springframework/webflow/config/flow-builder-services.xml
  153. +2 −2 spring-webflow/src/test/java/org/springframework/webflow/config/flow-executor.xml
  154. +2 −2 spring-webflow/src/test/java/org/springframework/webflow/config/flow-registry.xml
  155. +1 −1 ...bflow/src/test/java/org/springframework/webflow/expression/el/WebFlowELExpressionParserTests.java
  156. +0 −28 spring-webflow/template.mf
  157. 0 {spring-webflow/src/main/java → src/api}/overview.html
  158. 0 {build-spring-webflow/resources → src/dist}/changelog.txt
  159. 0 {build-spring-webflow/resources → src/dist}/javascript-copyright.txt
  160. 0 {build-spring-webflow/resources → src/dist}/license.txt
  161. +11 −0 src/dist/notice.txt
  162. 0 {build-spring-webflow/resources → src/dist}/readme.txt
View
@@ -2,11 +2,22 @@
*.sonarj
*.sw*
.DS_Store
-.settings
-.springBeans
bin
build.sh
-ivy-cache
integration-repo
-target
-spring-build/lib/docbook
+ivy-cache
+.gradle
+build
+
+# Eclipse metadata
+#.classpath
+#.project
+#.settings
+#.springBeans
+
+# IDEA metadata and output dirs
+*.iml
+*.ipr
+*.iws
+out
+
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>build-spring-webflow</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- </natures>
-</projectDescription>
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="build-spring-webflow" default="precommit">
-
- <path id="bundles">
- <pathelement location="../spring-binding"/>
- <pathelement location="../spring-js-resources"/>
- <pathelement location="../spring-js"/>
- <pathelement location="../spring-webflow"/>
- <pathelement location="../spring-faces"/>
- <pathelement location="../spring-webflow-library"/>
- </path>
-
- <property file="${basedir}/../build.properties"/>
- <import file="${basedir}/package-top-level.xml"/>
- <import file="${basedir}/publish-top-level.xml"/>
- <import file="${basedir}/publish-documentation.xml"/>
- <import file="${basedir}/../spring-build/multi-bundle/default.xml"/>
-
- <target name="precommit" depends="clean,clean-integration,jar,test"/>
-
-</project>
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ivysettings>
- <include file="${spring.build.dir}/common/ivysettings.xml"/>
-
- <settings defaultResolver="extended-external-lookup" defaultLatestStrategy="latest-lexico"/>
-
- <resolvers>
- <chain name="extended-external-lookup">
- <resolver ref="external-lookup"/>
- <!-- Maven central -->
- <ibiblio name="maven2" m2compatible="true"/>
- <!-- Mojarra 2.x -->
- <ibiblio name="java-net"
- m2compatible="true"
- usepoms="true"
- pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
- root="http://download.java.net/maven/2"/>
- <!-- PrimeFaces -->
- <ibiblio name="primefaces"
- m2compatible="true"
- usepoms="true"
- pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
- root="http://repository.prime.com.tr"/>
- <!-- MyFaces Core 2.0.1-SNAPSHOT -->
- <ibiblio name="apache-maven2-snapshot"
- m2compatible="true"
- usepoms="true"
- pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
- root="http://people.apache.org/repo/m2-snapshot-repository"/>
- </chain>
- </resolvers>
-
-</ivysettings>
@@ -1,93 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="package-artifact" xmlns:ivy="antlib:org.apache.ivy.ant">
-
- <target name="javadoc-all" depends="ivy.init, resolve.compile, src.init" if="src.exists"
- description="Creates javadoc documentation for all classes.">
- <java-doc input.dir="${main.java.dir}" output.dir="${javadoc-all.output.dir}" classpath.id="compile.classpath"
- access="private"/>
- <antcall target="jsdoc-api"/>
- </target>
-
- <target name="javadoc-api" depends="ivy.init, resolve.compile, src.init" if="src.exists"
- description="Creates javadoc documentation for all classes.">
- <java-doc input.dir="${main.java.dir}" output.dir="${javadoc-api.output.dir}" classpath.id="compile.classpath"
- access="protected" exclude.package.names="${javadoc.exclude.package.names}"/>
- <antcall target="jsdoc-api"/>
- </target>
-
- <target name="jar" depends="ivy.init, resolve.compile, compile.init, jar.init"
- description="Creates a JAR file containing the output of a compilation of the source tree.">
-
- <delete quiet="true" file="${ivy.output.file}"/>
- <mkdir dir="${ivy.output.dir}"/>
- <delete quiet="true" file="${jar.output.file}"/>
- <mkdir dir="${jar.output.dir}"/>
- <delete quiet="true" file="${source-jar.output.file}"/>
- <mkdir dir="${source-jar.output.dir}"/>
-
- <compile classpath.id="compile.classpath" input.dir="${main.java.dir}" output.dir="${main.output.dir}"
- resources.dir="${main.resources.dir}"/>
-
- <antcall target="minify-spring-js" inheritAll="false"/>
-
- <unzip src="${basedir}/../spring-js-resources/dojo-build/dojo-build.zip"
- dest="${main.output.dir}/META-INF/web-resources"/>
-
- <jar destfile="${jar.output.file}" basedir="${main.output.dir}" index="true" filesetmanifest="merge">
- <manifest>
- <attribute name="Bundle-ManifestVersion" value="2"/>
- <attribute name="Bundle-Version" value="${bundle.version}"/>
- <attribute name="Implementation-Title" value="${implementation.title}"/>
- <attribute name="Implementation-Version" value="${implementation.version}"/>
- </manifest>
- </jar>
- <antcall target="bundlor"/>
- <jar destfile="${source-jar.output.file}" basedir="${main.java.dir}" index="true"/>
- <ivy:publish resolver="integration" pubdate="${timestamp}" status="${release.type}">
- <artifacts pattern="${jar.output.dir}/[artifact].[ext]"/>
- <artifacts pattern="${source-jar.output.dir}/[artifact].[ext]"/>
- <artifacts pattern="${ivy.output.dir}/[artifact].[ext]"/>
- </ivy:publish>
-
- </target>
-
- <target name="minify-spring-js">
-
- <ivy:cachepath resolveId="shrinksafe.path" pathid="shrinksafe.path"
- organisation="org.dojotoolkit"
- module="com.springsource.org.dojotoolkit.shrinksafe"
- revision="1.3.2"
- conf="runtime" type="jar" inline="true"
- log="download-only"/>
-
- <macrodef name="compress">
- <attribute name="file"/>
- <sequential>
- <copy file="${main.output.dir}@{file}" tofile="${main.output.dir}@{file}.uncompressed.js" />
- <java classname="org.dojotoolkit.shrinksafe.Main" output="${main.output.dir}@{file}.TMP.js">
- <classpath refid="shrinksafe.path"/>
- <arg value="${main.output.dir}@{file}"/>
- </java>
- <move file="${main.output.dir}@{file}.TMP.js" toFile="${main.output.dir}@{file}">
- <filterchain>
- <filterreader classname="org.apache.tools.ant.filters.StripLineBreaks"/>
- </filterchain>
- <filterchain>
- <concatfilter prepend="${basedir}/../build-spring-webflow/resources/javascript-copyright.txt"/>
- </filterchain>
- </move>
- <delete file="${main.output.dir}@{file}.TMP.js" />
- </sequential>
- </macrodef>
-
- <compress file="/META-INF/web-resources/spring/Spring.js"/>
- <compress file="/META-INF/web-resources/spring/Spring-Dojo.js"/>
-
- </target>
-
- <target name="jsdoc-api" description="Creates JavaScript API documentation.">
- <!-- TODO -->
- </target>
-
-</project>
-
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="package-bundle">
-
- <target name="package" depends="ivy.init">
- <dist-jar/>
- <src-jar/>
- </target>
-
-</project>
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="package-top-level">
-
- <target name="package" description="Creates the release package for this project">
- <delete dir="${package.output.dir}" quiet="true"/>
- <mkdir dir="${package.output.dir}"/>
- <delete file="${package.output.file}" quiet="true"/>
- <mkdir dir="${artifacts.dir}"/>
-
- <all-bundles target="package">
- <property name="package.output.dir" value="${package.output.dir}"/>
- </all-bundles>
-
- <ant target="javadoc-api" inheritAll="false">
- <property name="target.dir" value="${package.docs.dir}"/>
- </ant>
-
- <ant dir="../spring-webflow-reference" target="doc" inheritAll="false">
- <property name="package.output.dir" value="${package.output.dir}"/>
- <propertyset>
- <propertyref builtin="commandline"/>
- </propertyset>
- <property name="timestamp" value="${timestamp}"/>
- </ant>
-
- <subant target="package" verbose="true" buildpath="../spring-webflow-reference">
- <property name="package.output.dir" value="${package.output.dir}"/>
- <propertyset>
- <propertyref builtin="commandline"/>
- </propertyset>
- <property name="timestamp" value="${timestamp}"/>
- </subant>
-
- <copy todir="${package.output.dir}">
- <fileset dir="${basedir}/resources"/>
- </copy>
-
- <copy todir="${package.output.dir}/projects">
- <fileset dir="${basedir}/..">
- <exclude name="**/target/**"/>
- <exclude name="integration-repo/**"/>
- <exclude name="ivy-cache/repository/org.apache.velocity/org.apache.velocity.docbookframework.dist/**"/>
- <exclude name="spring-build/lib/docbook/**" />
- <exclude name="**/*OLD*/**"/>
- </fileset>
- </copy>
-
- <replaceregexp match="build.stamp.*\n" replace="" flags="g"
- file="${package.output.dir}/projects/build.properties"/>
-
- <replaceregexp match="release.type=.*" replace="release.type=integration" flags="g"
- file="${package.output.dir}/projects/build.properties"/>
-
- <zip destfile="${package.output.file}">
- <zipfileset dir="${package.dir}">
- <exclude name="${package.basename}/projects/ivy-cache/**"/>
- </zipfileset>
- </zip>
-
- <zip destfile="${artifacts.dir}/${package.basename}-with-dependencies.zip">
- <zipfileset dir="${package.dir}"/>
- </zip>
- </target>
-
-</project>
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="publish-bundle" xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:maven="antlib:org.apache.maven.artifact.ant">
-
- <target name="publish-maven-central-local" depends="maven.init">
- <property name="maven.central.repository" value="s3://maven.springframework.org/${adjusted.release.type}"/>
- <maven:install file="${jar.output.file}">
- <pom file="${local.pom.output.file}"/>
- <attach file="${source-jar.output.file}" classifier="sources"/>
- </maven:install>
- </target>
-
-</project>
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="publish-documentation">
-
-<!-- Main targets -->
- <target name="publish-documentation" depends="publish-documentation.init">
- <sshexec host="static.springsource.org" username="${username}" keyfile="${key.file}" passphrase="${passphrase}"
- command="mkdir /var/www/domains/springsource.org/www/htdocs/spring-webflow/docs/${bundle.version}"/>
-
- <scp remoteToDir="${username}@static.springsource.org:/var/www/domains/springsource.org/www/htdocs/spring-webflow/docs/${bundle.version}"
- keyfile="${key.file}" passphrase="${passphrase}" sftp="true" verbose="true">
- <fileset dir="${package.output.dir}">
- <include name="changelog.txt" />
- <include name="license.txt" />
- <include name="readme.txt" />
- </fileset>
- <fileset dir="${package.docs.dir}" />
- </scp>
-
- <sshexec host="static.springsource.org" username="${username}" keyfile="${key.file}" passphrase="${passphrase}"
- command="rm /var/www/domains/springsource.org/www/htdocs/spring-webflow/docs/2.3.x ; ln -s /var/www/domains/springsource.org/www/htdocs/spring-webflow/docs/${bundle.version} /var/www/domains/springsource.org/www/htdocs/spring-webflow/docs/2.3.x ; ln -s /var/www/domains/springsource.org/www/htdocs/spring-webflow/docs/${bundle.version}/spring-webflow-reference/ /var/www/domains/springsource.org/www/htdocs/spring-webflow/docs/${bundle.version}/reference" />
-
- <scp remoteToDir="${username}@static.springsource.org:/var/www/domains/springsource.org/www/htdocs/schema/faces"
- keyfile="${key.file}" passphrase="${passphrase}" sftp="true" verbose="true">
- <fileset dir="${package.output.dir}/projects/spring-faces/src/main/java/org/springframework/faces/config">
- <include name="spring-faces-*.xsd" />
- </fileset>
- </scp>
- <scp remoteToDir="${username}@static.springsource.org:/var/www/domains/springsource.org/www/htdocs/schema/webflow"
- keyfile="${key.file}" passphrase="${passphrase}" sftp="true" verbose="true">
- <fileset dir="${package.output.dir}/projects/spring-webflow/src/main/java/org/springframework/webflow/engine/model/builder/xml">
- <include name="spring-webflow-*.xsd" />
- </fileset>
- </scp>
- <scp remoteToDir="${username}@static.springsource.org:/var/www/domains/springsource.org/www/htdocs/schema/webflow-config"
- keyfile="${key.file}" passphrase="${passphrase}" sftp="true" verbose="true">
- <fileset dir="${package.output.dir}/projects/spring-webflow/src/main/java/org/springframework/webflow/config">
- <include name="spring-webflow-config-*.xsd" />
- </fileset>
- </scp>
- </target>
-
-<!-- Other targets -->
- <target name="publish-documentation.init">
- <fail message="The 'username' property must be set">
- <condition>
- <not>
- <isset property="username"/>
- </not>
- </condition>
- </fail>
- <fail message="The 'key.file' property must be set">
- <condition>
- <not>
- <isset property="key.file"/>
- </not>
- </condition>
- </fail>
- <fail message="The 'passphrase' property must be set">
- <condition>
- <not>
- <isset property="passphrase"/>
- </not>
- </condition>
- </fail>
- </target>
-
-</project>
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="publish-top-level" xmlns:aws="antlib:org.springframework.build.aws">
-
- <target name="publish" depends="publish-multi-bundle.publish, publish-package"
- description="Publish package, Ivy, and Maven artifacts"/>
-
- <target name="publish-package" depends="aws.init">
- <checksum file="${package.output.file}" algorithm="sha1"/>
- <checksum file="${artifacts.dir}/${package.basename}-with-dependencies.zip" algorithm="sha1"/>
-
- <aws:s3 accessKey="${accessKey}" secretKey="${secretKey}">
- <upload bucketName="dist.${bucket.basename}" file="${package.output.file}"
- toFile="${adjusted.release.type}/${project.key}/${package.file.name}" publicRead="true">
- <metadata name="project.name" value="Spring Web Flow"/>
- <metadata name="release.type" value="${release.type}"/>
- <metadata name="bundle.version" value="${bundle.version}"/>
- <metadata name="package.file.name" value="${package.file.name}"/>
- </upload>
- <upload bucketName="dist.${bucket.basename}" file="${package.output.file}.sha1"
- toFile="${adjusted.release.type}/${project.key}/${package.file.name}.sha1" publicRead="true"/>
- <upload bucketName="dist.${bucket.basename}" file="${artifacts.dir}/${package.basename}-with-dependencies.zip"
- toFile="${adjusted.release.type}/${project.key}/${package.basename}-with-dependencies.zip" publicRead="true">
- <metadata name="project.name" value="Spring Web Flow"/>
- <metadata name="release.type" value="${release.type}"/>
- <metadata name="bundle.version" value="${bundle.version}"/>
- <metadata name="package.file.name" value="${package.basename}-with-dependencies.zip"/>
- </upload>
- <upload bucketName="dist.${bucket.basename}" file="${artifacts.dir}/${package.basename}-with-dependencies.zip.sha1"
- toFile="${adjusted.release.type}/${project.key}/${package.basename}-with-dependencies.zip.sha1" publicRead="true"/>
- </aws:s3>
- </target>
-
- <target name="publish-maven-central-local">
- <all-bundles target="publish-maven-central-local"/>
- </target>
-
-</project>
Oops, something went wrong.

0 comments on commit 4e81930

Please sign in to comment.