Skip to content
This repository
Browse code

INTTEMPLATES-8 - Create Spring Integration Adapter Template

  • Loading branch information...
commit 1e000f0b69ea0c93ea52f3214d95572418385b53 1 parent e013f67
authored June 06, 2012

Showing 98 changed files with 3,112 additions and 761 deletions. Show diff stats Hide diff stats

  1. 17  si-maven-archetypes/archetype-standalone-simple/.project
  2. 49  si-sts-templates/README.md
  3. 20  si-sts-templates/builds/descriptor.xml
  4. BIN  si-sts-templates/builds/org.springframework.integration.sts.templates_1.0.0.M2.jar
  5. BIN  si-sts-templates/builds/org.springframework.integration.sts.templates_1.0.0.M3.jar
  6. BIN  si-sts-templates/builds/si-template-adapter-1.0.0.M3.zip
  7. BIN  si-sts-templates/builds/si-template-standalone-1.0.0.M3.zip
  8. BIN  si-sts-templates/builds/si-template-standalone-simple-1.0.0.M3.zip
  9. BIN  si-sts-templates/builds/si-template-war-1.0.0.M3.zip
  10. 220  si-sts-templates/pom.xml
  11. 5  si-sts-templates/si-template-plugin/META-INF/MANIFEST.MF
  12. 2  si-sts-templates/si-template-plugin/OSGI-INF/l10n/bundle.properties
  13. 3  si-sts-templates/si-template-plugin/build.properties
  14. 13  si-sts-templates/si-template-plugin/plugin.xml
  15. 61  si-sts-templates/si-template-plugin/pom.xml
  16. 16  si-sts-templates/si-template-plugin/src/main/assembly/descriptor-dir.xml
  17. 27  si-sts-templates/si-template-plugin/src/main/assembly/plugin-jar.xml
  18. 22  si-sts-templates/si-template-plugin/src/main/resources/descriptor.xml
  19. 61  si-sts-templates/si-template-standalone-simple/pom.xml
  20. 28  si-sts-templates/si-template-standalone-simple/src/main/assembly/src.xml
  21. 30  si-sts-templates/si-template-standalone-simple/src/main/assembly/zip.xml
  22. 12  si-sts-templates/si-template-standalone-simple/template/template.xml
  23. 53  si-sts-templates/si-template-standalone-simple/template/wizard.json
  24. 61  si-sts-templates/si-template-standalone/pom.xml
  25. 28  si-sts-templates/si-template-standalone/src/main/assembly/src.xml
  26. 30  si-sts-templates/si-template-standalone/src/main/assembly/zip.xml
  27. 12  si-sts-templates/si-template-standalone/template/template.xml
  28. 53  si-sts-templates/si-template-standalone/template/wizard.json
  29. 62  si-sts-templates/si-template-war/pom.xml
  30. 27  si-sts-templates/si-template-war/src/main/assembly/src.xml
  31. 30  si-sts-templates/si-template-war/src/main/assembly/zip.xml
  32. 13  si-sts-templates/si-template-war/template/template.xml
  33. 53  si-sts-templates/si-template-war/template/wizard.json
  34. 34  si-sts-templates/src/main/assembly/adapter.xml
  35. 17  si-sts-templates/src/main/assembly/descriptor.xml
  36. 36  si-sts-templates/src/main/assembly/standalone-simple.xml
  37. 36  si-sts-templates/src/main/assembly/standalone.xml
  38. 35  si-sts-templates/src/main/assembly/war.xml
  39. 74  si-sts-templates/src/main/resources/descriptor.xml
  40. 13  si-template-projects/adapter/.classpath
  41. 20  si-template-projects/adapter/.project
  42. 69  si-template-projects/adapter/README.md
  43. 307  si-template-projects/adapter/build.gradle
  44. 1  si-template-projects/adapter/gradle.properties
  45. BIN  si-template-projects/adapter/gradle/wrapper/gradle-wrapper.jar
  46. 6  si-template-projects/adapter/gradle/wrapper/gradle-wrapper.properties
  47. 164  si-template-projects/adapter/gradlew
  48. 90  si-template-projects/adapter/gradlew.bat
  49. 61  si-template-projects/adapter/publish-maven.gradle
  50. 22  si-template-projects/adapter/src/api/overview.html
  51. 15  si-template-projects/adapter/src/dist/changelog.txt
  52. 201  si-template-projects/adapter/src/dist/license.txt
  53. 21  si-template-projects/adapter/src/dist/notice.txt
  54. 13  si-template-projects/adapter/src/dist/readme.txt
  55. 36  si-template-projects/adapter/src/main/java/stsorg/stsspring/stsint/SIAdapterUpperPrefixHeaders.java
  56. 58  ...apter/src/main/java/stsorg/stsspring/stsint/config/xml/SIAdapterUpperPrefixInboundChannelAdapterParser.java
  57. 37  ...projects/adapter/src/main/java/stsorg/stsspring/stsint/config/xml/SIAdapterUpperPrefixNamespaceHandler.java
  58. 69  ...pter/src/main/java/stsorg/stsspring/stsint/config/xml/SIAdapterUpperPrefixOutboundChannelAdapterParser.java
  59. 73  ...cts/adapter/src/main/java/stsorg/stsspring/stsint/config/xml/SIAdapterUpperPrefixOutboundGatewayParser.java
  60. 62  ...late-projects/adapter/src/main/java/stsorg/stsspring/stsint/config/xml/SIAdapterUpperPrefixParserUtils.java
  61. 4  si-template-projects/adapter/src/main/java/stsorg/stsspring/stsint/config/xml/package-info.java
  62. 98  si-template-projects/adapter/src/main/java/stsorg/stsspring/stsint/core/SIAdapterUpperPrefixExecutor.java
  63. 4  si-template-projects/adapter/src/main/java/stsorg/stsspring/stsint/core/package-info.java
  64. 77  ...ojects/adapter/src/main/java/stsorg/stsspring/stsint/inbound/SIAdapterUpperPrefixPollingChannelAdapter.java
  65. 4  si-template-projects/adapter/src/main/java/stsorg/stsspring/stsint/inbound/package-info.java
  66. 83  ...te-projects/adapter/src/main/java/stsorg/stsspring/stsint/outbound/SIAdapterUpperPrefixOutboundGateway.java
  67. 4  si-template-projects/adapter/src/main/java/stsorg/stsspring/stsint/outbound/package-info.java
  68. 4  si-template-projects/adapter/src/main/java/stsorg/stsspring/stsint/package-info.java
  69. 33  si-template-projects/adapter/src/main/java/stsorg/stsspring/stsint/support/SIAdapterUpperPrefixUtils.java
  70. 4  si-template-projects/adapter/src/main/java/stsorg/stsspring/stsint/support/package-info.java
  71. 1  si-template-projects/adapter/src/main/resources/META-INF/spring.handlers
  72. 2  si-template-projects/adapter/src/main/resources/META-INF/spring.schemas
  73. 4  si-template-projects/adapter/src/main/resources/META-INF/spring.tooling
  74. 192  ...apter/src/main/resources/stsorg/stsspring/stsint/config/xml/spring-integration-siAdapterLowerPrefix-2.2.xsd
  75. BIN  ...s/adapter/src/main/resources/stsorg/stsspring/stsint/config/xml/spring-integration-siAdapterLowerPrefix.gif
  76. 73  si-template-projects/adapter/src/reference/docbook/SIAdapterLowerPrefix.xml
  77. 8  si-template-projects/adapter/src/reference/docbook/history.xml
  78. BIN  si-template-projects/adapter/src/reference/docbook/images/logo.png
  79. 68  si-template-projects/adapter/src/reference/docbook/index.xml
  80. 17  si-template-projects/adapter/src/reference/docbook/resources.xml
  81. 11  si-template-projects/adapter/src/reference/docbook/whats-new.xml
  82. 79  ...va/org/springframework/integration/jpa/config/xml/SIAdapterUpperPrefixInboundChannelAdapterParserTests.java
  83. 20  ...ava/org/springframework/integration/jpa/config/xml/SIAdapterUpperPrefixInboundChannelAdapterParserTests.xml
  84. 79  ...test/java/org/springframework/integration/jpa/config/xml/SIAdapterUpperPrefixMessageHandlerParserTests.java
  85. 20  .../test/java/org/springframework/integration/jpa/config/xml/SIAdapterUpperPrefixMessageHandlerParserTests.xml
  86. 86  ...est/java/org/springframework/integration/jpa/config/xml/SIAdapterUpperPrefixOutboundGatewayParserTests.java
  87. 22  ...test/java/org/springframework/integration/jpa/config/xml/SIAdapterUpperPrefixOutboundGatewayParserTests.xml
  88. 8  si-template-projects/adapter/src/test/resources/log4j.properties
  89. 15  si-template-projects/adapter/template.xml
  90. 75  si-template-projects/adapter/wizard.json
  91. 15  si-template-projects/si-template-standalone-project/template.xml
  92. 49  si-template-projects/si-template-standalone-project/wizard.json
  93. 15  si-template-projects/si-template-standalone-simple-project/template.xml
  94. 50  si-template-projects/si-template-standalone-simple-project/wizard.json
  95. 5  si-template-projects/si-template-war-project/.project
  96. 2  si-template-projects/si-template-war-project/.settings/org.eclipse.core.resources.prefs
  97. 15  si-template-projects/si-template-war-project/template.xml
  98. 49  si-template-projects/si-template-war-project/wizard.json
17  si-maven-archetypes/archetype-standalone-simple/.project
... ...
@@ -0,0 +1,17 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<projectDescription>
  3
+	<name>si-archetype-standalone-simple</name>
  4
+	<comment></comment>
  5
+	<projects>
  6
+	</projects>
  7
+	<buildSpec>
  8
+		<buildCommand>
  9
+			<name>org.eclipse.m2e.core.maven2Builder</name>
  10
+			<arguments>
  11
+			</arguments>
  12
+		</buildCommand>
  13
+	</buildSpec>
  14
+	<natures>
  15
+		<nature>org.eclipse.m2e.core.maven2Nature</nature>
  16
+	</natures>
  17
+</projectDescription>
49  si-sts-templates/README.md
Source Rendered
... ...
@@ -1,7 +1,11 @@
1  
-Spring Integration STS Plugin and Templates
2  
-===========================================
  1
+Spring Integration STS Templates
  2
+================================
3 3
 
4  
-This project provides an plugin and various projects for SpringSource Tool Suite™.
  4
+This project provides various project templates for SpringSource Tool Suite™ (STS).
  5
+
  6
+# Requirements
  7
+
  8
+Starting with Spring Integration STS Template 1.0.0.M4, we rely on the template support provided by STS **3.0.0.M3** and later. The simplifications allowed us to significantly simplify the development and build process for the templates.
5 9
 
6 10
 # How to build the project
7 11
 
@@ -9,32 +13,33 @@ In order to build the entire project run:
9 13
 
10 14
     $ mvn clean package
11 15
 
12  
-This will result in *3 artifacts* being created under **target/out**:
  16
+This will result in *5 artifacts* being created under **target/out**:
13 17
 
14 18
 * descriptor.xml
15  
-* org.springframework.integration.sts.templates_1.0.0.M3.jar
16  
-* si-template-1.0.0.M3.zip
  19
+* si-template-adapter-1.0.0.M4.zip
  20
+* si-template-standalone-1.0.0.M4.zip
  21
+* si-template-standalone-simple-1.0.0.M4.zip
  22
+* si-template-war-1.0.0.M4.zip
  23
+
  24
+In order to deploy to STS for **development** you have **2 options**:
17 25
 
18  
-In order to deploy to STS you have 2 options:
  26
+## Use the Self-Hosted Templates feature in STS
19 27
 
20  
-1. drop the Eclipse plugin **org.springframework.integration.sts.templates_1.0.0.M3.jar**
21  
-   to your Eclipse STS **dropins/plugins folder**. Restart Eclipse STS.
  28
+This approach is  **Best for Development**.
22 29
 
23  
-2. Option 2 is good for developing/changing the Eclipse STS template.
  30
+1. In STS - Go to **Preferences...** --> **Spring** --> **Template Projects**
  31
+2. Mark the checkbox **Show self-hosted templates in New Template Wizard**
  32
+3. Import the individual template projects into STS, they will be immediately available as templates
24 33
 
25  
-Take the **si-template-1.0.0.M3.zip** jar file and unpack it in your Eclipse workspace in a directory called
26  
-**.metadata/.sts/content/${pom.artifactId}-${pom.version}**. Then add or edit the
27  
-template descriptor in **.metadata/.plugins/com.springsource.sts.content.core/content.xml**
28  
-so it has this form:
  34
+## Tell STS to use the descriptor.xml file (Best for hosting your )
29 35
 
30  
-	<descriptor id="${pom.artifactId}" kind="template" local="true"
31  
-	      name="${pom.name}" size="0" version="${pom.version}">
32  
-	   <description>...</description>
33  
-	</descriptor>
  36
+This approach is **Best for Deploying** your own temapltes.
34 37
 
35  
-Make sure there are no conflicting templates with the same name and a different version.
  38
+1. In STS - Go to **Preferences...** --> **Spring** --> **Template Projects**
  39
+2. Press the **Add** Button
  40
+3. Enter the URL that points to the **descriptor.xml** (Currently only HTTP addresses are supported, local file support will be available soon - see: [STS-2666](https://issuetracker.springsource.com/browse/STS-2666))
36 41
 
37  
-## Important
  42
+## Important 1
38 43
 
39 44
 A few files in the template project require absolute URLs. By default the pom is setup to use:
40 45
 
@@ -45,3 +50,7 @@ base.location property such as:
45 50
 
46 51
     $ mvn package -Dbase.location=http://www.mysite.com/si-templates
47 52
 
  53
+## Important 2
  54
+
  55
+Templates are locally cached under *your_workspace/.metadata/.sts/content/*. At times during development you may need to delete the templates there for various reasons... 
  56
+
20  si-sts-templates/builds/descriptor.xml
@@ -2,21 +2,27 @@
2 2
 <descriptors>
3 3
     <descriptor id="org.springframework.integration.sts.template.standalone.simple"
4 4
         name="Spring Integration Project (Standalone) - Simple" kind="template"
5  
-        version="1.0.0.M2" local="false" size="8390"
6  
-        url="https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/si-template-standalone-simple-1.0.0.M2.zip">
  5
+        version="1.0.0.M3" local="false" size="8390" category="Integration"
  6
+        url="https://raw.github.com/ghillert/spring-integration-templates/INTTEMPLATES-8/si-sts-templates/builds/si-template-standalone-simple-1.0.0.M3.zip">
7 7
         <description>Creates a Spring Integration project that runs as a standalone Java application using core components only.</description>
8 8
     </descriptor>
9 9
     <descriptor id="org.springframework.integration.sts.template.standalone"
10 10
         name="Spring Integration Project (Standalone) - File" kind="template"
11  
-        version="1.0.0.M2" local="false" size="10258"
12  
-        url="https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/si-template-standalone-1.0.0.M2.zip">
  11
+        version="1.0.0.M3" local="false" size="10258" category="Integration"
  12
+        url="https://raw.github.com/ghillert/spring-integration-templates/INTTEMPLATES-8/si-sts-templates/builds/si-template-standalone-1.0.0.M3.zip">
13 13
         <description>Creates a Spring Integration project that runs as a standalone Java application using file polling and file output.</description>
14 14
     </descriptor>
15 15
     <descriptor id="org.springframework.integration.sts.template.war"
16  
-        name="Spring Integration Project (War)" kind="template" version="1.0.0.M2"
17  
-        local="false" size="56242"
18  
-        url="https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/si-template-war-1.0.0.M2.zip">
  16
+        name="Spring Integration Project (War)" kind="template" version="1.0.0.M3"
  17
+        local="false" size="56242" category="Integration"
  18
+        url="https://raw.github.com/ghillert/spring-integration-templates/INTTEMPLATES-8/si-sts-templates/builds/si-template-war-1.0.0.M3.zip">
19 19
         <description>Creates a Spring Integration project that runs within a servlet container.
20 20
             Uses the Spring Integration Twitter adapter.</description>
21 21
     </descriptor>
  22
+    <descriptor id="org.springframework.integration.sts.template.adapter"
  23
+        name="Spring Integration Adapter Template Project" kind="template" version="1.0.0.M3"
  24
+        local="false" size="56242" category="Integration"
  25
+        url="https://raw.github.com/ghillert/spring-integration-templates/INTTEMPLATES-8/si-sts-templates/builds/si-template-adapter-1.0.0.M3.zip">
  26
+        <description>Creates a Spring Integration Adapter Template.</description>
  27
+    </descriptor>
22 28
 </descriptors>
BIN  si-sts-templates/builds/org.springframework.integration.sts.templates_1.0.0.M2.jar
Binary file not shown
BIN  si-sts-templates/builds/org.springframework.integration.sts.templates_1.0.0.M3.jar
Binary file not shown
BIN  si-sts-templates/builds/si-template-adapter-1.0.0.M3.zip
Binary file not shown
BIN  si-sts-templates/builds/si-template-standalone-1.0.0.M3.zip
Binary file not shown
BIN  si-sts-templates/builds/si-template-standalone-simple-1.0.0.M3.zip
Binary file not shown
BIN  si-sts-templates/builds/si-template-war-1.0.0.M3.zip
Binary file not shown
220  si-sts-templates/pom.xml
... ...
@@ -1,39 +1,197 @@
1 1
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2  
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3  
-    <modelVersion>4.0.0</modelVersion>
4  
-    <groupId>org.springframework.integration.sts.templates</groupId>
5  
-    <artifactId>si-template-parent</artifactId>
6  
-    <version>1.0.0.M3</version>
7  
-    <packaging>pom</packaging>
  2
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3
+	<modelVersion>4.0.0</modelVersion>
  4
+	<groupId>org.springframework.integration.sts.templates</groupId>
  5
+	<artifactId>si-sts-templates</artifactId>
  6
+	<version>1.0.0.M3</version>
  7
+	<packaging>pom</packaging>
8 8
 
9  
-    <modules>
10  
-        <module>si-template-standalone-simple</module>
11  
-        <module>si-template-standalone</module>
12  
-        <module>si-template-war</module>
13  
-        <module>si-template-plugin</module>
14  
-    </modules>
  9
+	<name>${project.artifactId}</name>
15 10
 
16  
-    <name>${project.artifactId}</name>
  11
+	<description>This is the parent project for the Spring Integration STS Templates project.</description>
17 12
 
18  
-    <description>This is the parent project for the Spring Integration STS Templates project.</description>
  13
+	<inceptionYear>2011</inceptionYear>
  14
+	<developers>
  15
+		<developer>
  16
+			<id>ghillert</id>
  17
+			<name>Gunnar Hillert</name>
  18
+			<email>ghillert at vmware dot com</email>
  19
+			<url>http://blog.hillert.com</url>
  20
+			<roles>
  21
+				<role>Admin</role>
  22
+			</roles>
  23
+			<timezone>-5</timezone>
  24
+		</developer>
  25
+	</developers>
19 26
 
20  
-    <inceptionYear>2011</inceptionYear>
21  
-    <developers>
22  
-        <developer>
23  
-            <id>ghillert</id>
24  
-            <name>Gunnar Hillert</name>
25  
-            <email>ghillert at vmware dot com</email>
26  
-            <url>http://blog.hillert.com</url>
27  
-            <roles>
28  
-                <role>Admin</role>
29  
-            </roles>
30  
-            <timezone>-5</timezone>
31  
-        </developer>
32  
-    </developers>
  27
+	<properties>
  28
+		<base.location>file://${project.basedir}/target/out</base.location>
  29
+		<template.version>${project.version}</template.version>
  30
+		<template.category>Integration</template.category>
33 31
 
34  
-    <properties>
35  
-        <base.location>file://${project.parent.basedir}/target/out</base.location>
36  
-        <template.version>${project.version}</template.version>
37  
-    </properties>
  32
+		<template.standalone.size>12200</template.standalone.size>
  33
+		<template.standalone-simple.size>9900</template.standalone-simple.size>
  34
+		<template.war.size>61000</template.war.size>
  35
+		<template.adapter.size>117000</template.adapter.size>
38 36
 
  37
+	</properties>
  38
+
  39
+	<profiles>
  40
+		<profile>
  41
+			<id>descriptor</id>
  42
+			<activation>
  43
+				<activeByDefault>true</activeByDefault>
  44
+			</activation>
  45
+			<build>
  46
+				<plugins>
  47
+					<plugin>
  48
+						<artifactId>maven-assembly-plugin</artifactId>
  49
+						<version>2.2.1</version>
  50
+						<executions>
  51
+							<execution>
  52
+								<id>make-template-descriptor-assembly</id>
  53
+								<phase>package</phase>
  54
+								<goals>
  55
+									<goal>single</goal>
  56
+								</goals>
  57
+								<configuration>
  58
+									<appendAssemblyId>false</appendAssemblyId>
  59
+									<finalName>out</finalName>
  60
+									<outputDirectory>target</outputDirectory>
  61
+									<descriptors>
  62
+										<descriptor>src/main/assembly/descriptor.xml</descriptor>
  63
+									</descriptors>
  64
+									<attach>true</attach>
  65
+								</configuration>
  66
+							</execution>
  67
+						</executions>
  68
+					</plugin>
  69
+				</plugins>
  70
+			</build>
  71
+		</profile>
  72
+		<profile>
  73
+			<id>standalone</id>
  74
+			<activation>
  75
+				<activeByDefault>true</activeByDefault>
  76
+			</activation>
  77
+			<build>
  78
+				<plugins>
  79
+					<plugin>
  80
+						<artifactId>maven-assembly-plugin</artifactId>
  81
+						<version>2.2.1</version>
  82
+						<executions>
  83
+							<execution>
  84
+								<id>make-standalone-template</id>
  85
+								<phase>package</phase>
  86
+								<goals>
  87
+									<goal>single</goal>
  88
+								</goals>
  89
+								<configuration>
  90
+									<descriptors>
  91
+										<descriptor>src/main/assembly/standalone.xml</descriptor>
  92
+									</descriptors>
  93
+									<appendAssemblyId>false</appendAssemblyId>
  94
+									<finalName>si-template-standalone-${template.version}</finalName>
  95
+									<outputDirectory>target/out</outputDirectory>
  96
+								</configuration>
  97
+							</execution>
  98
+						</executions>
  99
+					</plugin>
  100
+				</plugins>
  101
+			</build>
  102
+		</profile>
  103
+		<profile>
  104
+			<id>standalone-simple</id>
  105
+			<activation>
  106
+				<activeByDefault>true</activeByDefault>
  107
+			</activation>
  108
+			<build>
  109
+				<plugins>
  110
+					<plugin>
  111
+						<artifactId>maven-assembly-plugin</artifactId>
  112
+						<version>2.2.1</version>
  113
+						<executions>
  114
+							<execution>
  115
+								<id>make-standalone-simple-template</id>
  116
+								<phase>package</phase>
  117
+								<goals>
  118
+									<goal>single</goal>
  119
+								</goals>
  120
+								<configuration>
  121
+									<descriptors>
  122
+										<descriptor>src/main/assembly/standalone-simple.xml</descriptor>
  123
+									</descriptors>
  124
+									<appendAssemblyId>false</appendAssemblyId>
  125
+									<finalName>si-template-standalone-simple-${template.version}</finalName>
  126
+									<outputDirectory>target/out</outputDirectory>
  127
+								</configuration>
  128
+							</execution>
  129
+						</executions>
  130
+					</plugin>
  131
+				</plugins>
  132
+			</build>
  133
+		</profile>
  134
+		<profile>
  135
+			<id>war</id>
  136
+			<activation>
  137
+				<activeByDefault>true</activeByDefault>
  138
+			</activation>
  139
+			<build>
  140
+				<plugins>
  141
+					<plugin>
  142
+						<artifactId>maven-assembly-plugin</artifactId>
  143
+						<version>2.2.1</version>
  144
+						<executions>
  145
+							<execution>
  146
+								<id>make-war-template</id>
  147
+								<phase>package</phase>
  148
+								<goals>
  149
+									<goal>single</goal>
  150
+								</goals>
  151
+								<configuration>
  152
+									<descriptors>
  153
+										<descriptor>src/main/assembly/war.xml</descriptor>
  154
+									</descriptors>
  155
+									<appendAssemblyId>false</appendAssemblyId>
  156
+									<finalName>si-template-war-${template.version}</finalName>
  157
+									<outputDirectory>target/out</outputDirectory>
  158
+								</configuration>
  159
+							</execution>
  160
+						</executions>
  161
+					</plugin>
  162
+				</plugins>
  163
+			</build>
  164
+		</profile>
  165
+		<profile>
  166
+			<id>adapter</id>
  167
+			<activation>
  168
+				<activeByDefault>true</activeByDefault>
  169
+			</activation>
  170
+			<build>
  171
+				<plugins>
  172
+					<plugin>
  173
+						<artifactId>maven-assembly-plugin</artifactId>
  174
+						<version>2.2.1</version>
  175
+						<executions>
  176
+							<execution>
  177
+								<id>make-adapter-template</id>
  178
+								<phase>package</phase>
  179
+								<goals>
  180
+									<goal>single</goal>
  181
+								</goals>
  182
+								<configuration>
  183
+									<descriptors>
  184
+										<descriptor>src/main/assembly/adapter.xml</descriptor>
  185
+									</descriptors>
  186
+									<appendAssemblyId>false</appendAssemblyId>
  187
+									<finalName>si-template-adapter-${template.version}</finalName>
  188
+									<outputDirectory>target/out</outputDirectory>
  189
+								</configuration>
  190
+							</execution>
  191
+						</executions>
  192
+					</plugin>
  193
+				</plugins>
  194
+			</build>
  195
+		</profile>
  196
+	</profiles>
39 197
 </project>
5  si-sts-templates/si-template-plugin/META-INF/MANIFEST.MF
... ...
@@ -1,5 +0,0 @@
1  
-Manifest-Version: 1.0
2  
-Bundle-ManifestVersion: 2
3  
-Bundle-Name: Spring Integration STS Plugin
4  
-Bundle-SymbolicName: org.springframework.integration.sts.templates;singleton:=true
5  
-Bundle-Version: 1.0.0.M3
2  si-sts-templates/si-template-plugin/OSGI-INF/l10n/bundle.properties
... ...
@@ -1,2 +0,0 @@
1  
-content.descriptor.urls = http://dist.springsource.com/release/STS/help/descriptors.xml\n\
2  
-${base.location}/descriptor.xml
3  si-sts-templates/si-template-plugin/build.properties
... ...
@@ -1,3 +0,0 @@
1  
-bin.includes = META-INF/,\
2  
-               plugin.xml,\
3  
-               OSGI-INF/
13  si-sts-templates/si-template-plugin/plugin.xml
... ...
@@ -1,13 +0,0 @@
1  
-<?xml version="1.0" encoding="UTF-8"?>
2  
-<?eclipse version="3.4"?>
3  
-<plugin>
4  
-
5  
-   <extension
6  
-         point="com.springsource.sts.core.resources">
7  
-      <url
8  
-            id="content.descriptors"
9  
-            value="%content.descriptor.urls">
10  
-      </url>
11  
-   </extension>
12  
-
13  
-</plugin>
61  si-sts-templates/si-template-plugin/pom.xml
... ...
@@ -1,61 +0,0 @@
1  
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2  
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3  
-    <modelVersion>4.0.0</modelVersion>
4  
-
5  
-    <parent>
6  
-        <groupId>org.springframework.integration.sts.templates</groupId>
7  
-        <artifactId>si-template-parent</artifactId>
8  
-        <version>1.0.0.M3</version>
9  
-    </parent>
10  
-    <artifactId>si-template-plugin</artifactId>
11  
-    <packaging>pom</packaging>
12  
-
13  
-    <name>${project.artifactId}</name>
14  
-
15  
-    <build>
16  
-        <plugins>
17  
-            <plugin>
18  
-                <artifactId>maven-assembly-plugin</artifactId>
19  
-                <version>2.2.1</version>
20  
-                <executions>
21  
-                    <execution>
22  
-                        <id>make-plugin-assembly</id>
23  
-                        <phase>package</phase>
24  
-                        <goals>
25  
-                            <goal>single</goal>
26  
-                        </goals>
27  
-                        <configuration>
28  
-                            <archive>
29  
-                                <manifestFile>META-INF/MANIFEST.MF</manifestFile>
30  
-                            </archive>
31  
-                            <appendAssemblyId>false</appendAssemblyId>
32  
-                            <finalName>${project.groupId}_${project.version}</finalName>
33  
-                            <outputDirectory>../target/out</outputDirectory>
34  
-                            <descriptors>
35  
-                                <descriptor>src/main/assembly/plugin-jar.xml</descriptor>
36  
-                            </descriptors>
37  
-                            <attach>true</attach>
38  
-                        </configuration>
39  
-                    </execution>
40  
-                    <execution>
41  
-                        <id>make-template-descriptor-assembly</id>
42  
-                        <phase>package</phase>
43  
-                        <goals>
44  
-                            <goal>single</goal>
45  
-                        </goals>
46  
-                        <configuration>
47  
-                            <appendAssemblyId>false</appendAssemblyId>
48  
-                            <finalName>out</finalName>
49  
-                            <outputDirectory>../target</outputDirectory>
50  
-                            <descriptors>
51  
-                                <descriptor>src/main/assembly/descriptor-dir.xml</descriptor>
52  
-                            </descriptors>
53  
-                            <attach>true</attach>
54  
-                        </configuration>
55  
-                    </execution>
56  
-                </executions>
57  
-            </plugin>
58  
-        </plugins>
59  
-    </build>
60  
-
61  
-</project>
16  si-sts-templates/si-template-plugin/src/main/assembly/descriptor-dir.xml
... ...
@@ -1,16 +0,0 @@
1  
-<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" 
2  
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3  
-  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
4  
-  <id>descriptor-dir</id>
5  
-  <includeBaseDirectory>false</includeBaseDirectory>
6  
-  <formats>
7  
-    <format>dir</format>
8  
-  </formats>
9  
-  <files>
10  
-    <file>
11  
-      <source>src/main/resources/descriptor.xml</source>
12  
-      <outputDirectory>/</outputDirectory>
13  
-      <filtered>true</filtered>
14  
-    </file>
15  
-   </files>
16  
-</assembly>
27  si-sts-templates/si-template-plugin/src/main/assembly/plugin-jar.xml
... ...
@@ -1,27 +0,0 @@
1  
-<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" 
2  
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3  
-  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
4  
-  <id>project</id>
5  
-  <includeBaseDirectory>false</includeBaseDirectory>
6  
-  <formats>
7  
-    <format>jar</format>
8  
-  </formats>
9  
-  <fileSets>
10  
-    <fileSet>
11  
-      <includes>
12  
-        <include>plugin.xml</include>
13  
-        <include>OSGI-INF/**</include>
14  
-      </includes>
15  
-      <excludes>
16  
-        <exclude>OSGI-INF/l10n/bundle.properties</exclude>
17  
-      </excludes>
18  
-    </fileSet>
19  
-  </fileSets>
20  
-  <files>
21  
-    <file>
22  
-      <source>OSGI-INF/l10n/bundle.properties</source>
23  
-<outputDirectory>OSGI-INF/l10n</outputDirectory>
24  
-      <filtered>true</filtered>
25  
-    </file>
26  
-   </files>
27  
-</assembly>
22  si-sts-templates/si-template-plugin/src/main/resources/descriptor.xml
... ...
@@ -1,22 +0,0 @@
1  
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2  
-<descriptors>
3  
-    <descriptor id="org.springframework.integration.sts.template.standalone.simple"
4  
-        name="Spring Integration Project (Standalone) - Simple" kind="template"
5  
-        version="${template.version}" local="false" size="8390" category="Integration"
6  
-        url="${base.location}/si-template-standalone-simple-${template.version}.zip">
7  
-        <description>Creates a Spring Integration project that runs as a standalone Java application using core components only.</description>
8  
-    </descriptor>
9  
-    <descriptor id="org.springframework.integration.sts.template.standalone"
10  
-        name="Spring Integration Project (Standalone) - File" kind="template"
11  
-        version="${template.version}" local="false" size="10258" category="Integration"
12  
-        url="${base.location}/si-template-standalone-${template.version}.zip">
13  
-        <description>Creates a Spring Integration project that runs as a standalone Java application using file polling and file output.</description>
14  
-    </descriptor>
15  
-    <descriptor id="org.springframework.integration.sts.template.war"
16  
-        name="Spring Integration Project (War)" kind="template" version="${template.version}"
17  
-        local="false" size="56242" category="Integration"
18  
-        url="${base.location}/si-template-war-${template.version}.zip">
19  
-        <description>Creates a Spring Integration project that runs within a servlet container.
20  
-            Uses the Spring Integration Twitter adapter.</description>
21  
-    </descriptor>
22  
-</descriptors>
61  si-sts-templates/si-template-standalone-simple/pom.xml
... ...
@@ -1,61 +0,0 @@
1  
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2  
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3  
-    <modelVersion>4.0.0</modelVersion>
4  
-
5  
-    <groupId>org.springframework.integration.sts.templates</groupId>
6  
-    <artifactId>si-template-standalone-simple</artifactId>
7  
-    <version>1.0.0.M3</version>
8  
-    <packaging>pom</packaging>
9  
-
10  
-    <parent>
11  
-        <groupId>org.springframework.integration.sts.templates</groupId>
12  
-        <artifactId>si-template-parent</artifactId>
13  
-        <version>1.0.0.M3</version>
14  
-    </parent>
15  
-
16  
-    <properties>
17  
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18  
-    </properties>
19  
-
20  
-    <build>
21  
-        <plugins>
22  
-            <plugin>
23  
-                <artifactId>maven-assembly-plugin</artifactId>
24  
-                <version>2.2.1</version>
25  
-                <executions>
26  
-                    <execution>
27  
-                        <id>make-plugin-assembly</id>
28  
-                        <phase>package</phase>
29  
-                        <goals>
30  
-                            <goal>single</goal>
31  
-                        </goals>
32  
-                        <configuration>
33  
-                            <descriptors>
34  
-                                <descriptor>src/main/assembly/src.xml</descriptor>
35  
-                            </descriptors>
36  
-                            <finalName>template</finalName>
37  
-                            <outputDirectory>template</outputDirectory>
38  
-                            <appendAssemblyId>false</appendAssemblyId>
39  
-                        </configuration>
40  
-                    </execution>
41  
-                    <execution>
42  
-                        <id>make-template-descriptor-assembly</id>
43  
-                        <phase>package</phase>
44  
-                        <goals>
45  
-                            <goal>single</goal>
46  
-                        </goals>
47  
-                        <configuration>
48  
-                            <descriptors>
49  
-                                <descriptor>src/main/assembly/zip.xml</descriptor>
50  
-                            </descriptors>
51  
-                            <appendAssemblyId>false</appendAssemblyId>
52  
-                            <finalName>si-template-standalone-simple-${template.version}</finalName>
53  
-                            <outputDirectory>../target/out</outputDirectory>
54  
-                        </configuration>
55  
-                    </execution>
56  
-                </executions>
57  
-            </plugin>
58  
-        </plugins>
59  
-    </build>
60  
-
61  
-</project>
28  si-sts-templates/si-template-standalone-simple/src/main/assembly/src.xml
... ...
@@ -1,28 +0,0 @@
1  
-<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
2  
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3  
-  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
4  
-  <id>project</id>
5  
-  <includeBaseDirectory>false</includeBaseDirectory>
6  
-  <formats>
7  
-    <format>zip</format>
8  
-  </formats>
9  
-  <fileSets>
10  
-    <fileSet>
11  
-      <directory>${project.basedir}/../../si-template-projects/si-template-standalone-simple-project</directory>
12  
-      <outputDirectory>template</outputDirectory>
13  
-      <useDefaultExcludes>true</useDefaultExcludes>
14  
-      <excludes>
15  
-        <exclude>**/*.log</exclude>
16  
-        <exclude>**/.DS_Store</exclude>
17  
-        <exclude>**/.settings/**</exclude>
18  
-        <exclude>**/.pmd</exclude>
19  
-        <exclude>**/.idea/**</exclude>
20  
-        <exclude>**/.gradle/**</exclude>
21  
-        <exclude>**/build.gradle</exclude>
22  
-        <exclude>**/build/**</exclude>
23  
-        <exclude>**/*.iml</exclude>
24  
-        <exclude>**/${project.build.directory}/**</exclude>
25  
-      </excludes>
26  
-    </fileSet>
27  
-  </fileSets>
28  
-</assembly>
30  si-sts-templates/si-template-standalone-simple/src/main/assembly/zip.xml
... ...
@@ -1,30 +0,0 @@
1  
-<assembly
2  
-    xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
3  
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4  
-    xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
5  
-    <id>bin</id>
6  
-    <includeBaseDirectory>false</includeBaseDirectory>
7  
-    <formats>
8  
-        <format>zip</format>
9  
-    </formats>
10  
-    <fileSets>
11  
-        <fileSet>
12  
-            <directory>template</directory>
13  
-            <outputDirectory></outputDirectory>
14  
-            <includes>
15  
-                <include>template.zip</include>
16  
-                <include>wizard.json</include>
17  
-            </includes>
18  
-            <excludes>
19  
-                <exclude>template.xml</exclude>
20  
-            </excludes>
21  
-        </fileSet>
22  
-    </fileSets>
23  
-    <files>
24  
-        <file>
25  
-            <source>template/template.xml</source>
26  
-            <outputDirectory></outputDirectory>
27  
-            <filtered>true</filtered>
28  
-        </file>
29  
-    </files>
30  
-</assembly>
12  si-sts-templates/si-template-standalone-simple/template/template.xml
... ...
@@ -1,12 +0,0 @@
1  
-<template>
2  
-    <descriptor id="org.springframework.integration.sts.template.standalone.simple"
3  
-                 name="Spring Integration Project (Standalone) - Simple"
4  
-                kind="template"
5  
-                version="${template.version}">
6  
-        <description>
7  
-           Creates a Spring Integration project that runs as a standalone Java application using core components only.
8  
-        </description>
9  
-    </descriptor>
10  
-    <project path="template.zip"/>
11  
-    <json path="wizard.json"/>
12  
-</template>
53  si-sts-templates/si-template-standalone-simple/template/wizard.json
... ...
@@ -1,53 +0,0 @@
1  
-{
2  
-    "info" : {
3  
-        "elements" : {
4  
-            "element" :	[
5  
-                {
6  
-                    "name" : "mavenGroupId",
7  
-                    "description" : "Please enter a 'groupId'",
8  
-                    "type" : "java.lang.String",
9  
-                    "page" : 0,
10  
-                    "required" : true,
11  
-                },
12  
-                {
13  
-                    "name" : "si-template-standalone-simple-artifactId",
14  
-                    "description" : "Please enter an 'artifactId'",
15  
-                    "type" : "java.lang.String",
16  
-                    "page" : 0,
17  
-                    "required" : true,
18  
-                },
19  
-                {
20  
-                    "name" : "mavenVersion",
21  
-                    "description" : "Please enter a version e.g. '1.0-SNAPSHOT'",
22  
-                    "defaultValue": "1.0-SNAPSHOT",
23  
-                    "type" : "java.lang.String",
24  
-                    "page" : 0,
25  
-                    "required" : true,
26  
-                },
27  
-                {
28  
-                    "name" : "topLevelPackage",
29  
-                    "description" : "Please specify the top-level package e.g. com.mycompany.myapp",
30  
-                    "type" : "java.lang.String",
31  
-                    "page" : 0,
32  
-                    "required" : true,
33  
-                    "pattern" : "\\w+\\.\\w+(\\.\\w+)+",
34  
-                    "replaceKind" : "topLevelPackage"
35  
-                }
36  
-
37  
-            ]
38  
-        },
39  
-
40  
-        "topLevelPackage" : "stsorg.stsspringframework.stsintegration.mysubsystem",
41  
-
42  
-        "projectName" : "si-template-project-name",
43  
-
44  
-        "pages" : {
45  
-            "page" : [
46  
-                    {
47  
-                    "order" : 0,
48  
-                    "description" : "Project Settings"
49  
-                }
50  
-            ]
51  
-        }
52  
-    }
53  
-}
61  si-sts-templates/si-template-standalone/pom.xml
... ...
@@ -1,61 +0,0 @@
1  
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2  
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3  
-    <modelVersion>4.0.0</modelVersion>
4  
-
5  
-    <groupId>org.springframework.integration.sts.templates</groupId>
6  
-    <artifactId>si-template-standalone</artifactId>
7  
-    <version>1.0.0.M3</version>
8  
-    <packaging>pom</packaging>
9  
-
10  
-    <parent>
11  
-        <groupId>org.springframework.integration.sts.templates</groupId>
12  
-        <artifactId>si-template-parent</artifactId>
13  
-        <version>1.0.0.M3</version>
14  
-    </parent>
15  
-
16  
-    <properties>
17  
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18  
-    </properties>
19  
-
20  
-    <build>
21  
-        <plugins>
22  
-            <plugin>
23  
-                <artifactId>maven-assembly-plugin</artifactId>
24  
-                <version>2.2.1</version>
25  
-                <executions>
26  
-                    <execution>
27  
-                        <id>make-plugin-assembly</id>
28  
-                        <phase>package</phase>
29  
-                        <goals>
30  
-                            <goal>single</goal>
31  
-                        </goals>
32  
-                        <configuration>
33  
-                            <descriptors>
34  
-                                <descriptor>src/main/assembly/src.xml</descriptor>
35  
-                            </descriptors>
36  
-                            <finalName>template</finalName>
37  
-                            <outputDirectory>template</outputDirectory>
38  
-                            <appendAssemblyId>false</appendAssemblyId>
39  
-                        </configuration>
40  
-                    </execution>
41  
-                    <execution>
42  
-                        <id>make-template-descriptor-assembly</id>
43  
-                        <phase>package</phase>
44  
-                        <goals>
45  
-                            <goal>single</goal>
46  
-                        </goals>
47  
-                        <configuration>
48  
-                            <descriptors>
49  
-                                <descriptor>src/main/assembly/zip.xml</descriptor>
50  
-                            </descriptors>
51  
-                            <appendAssemblyId>false</appendAssemblyId>
52  
-                            <finalName>si-template-standalone-${template.version}</finalName>
53  
-                            <outputDirectory>../target/out</outputDirectory>
54  
-                        </configuration>
55  
-                    </execution>
56  
-                </executions>
57  
-            </plugin>
58  
-        </plugins>
59  
-    </build>
60  
-
61  
-</project>
28  si-sts-templates/si-template-standalone/src/main/assembly/src.xml
... ...
@@ -1,28 +0,0 @@
1  
-<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
2  
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3  
-  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
4  
-  <id>project</id>
5  
-  <includeBaseDirectory>false</includeBaseDirectory>
6  
-  <formats>
7  
-    <format>zip</format>
8  
-  </formats>
9  
-  <fileSets>
10  
-    <fileSet>
11  
-      <directory>${project.basedir}/../../si-template-projects/si-template-standalone-project</directory>
12  
-      <outputDirectory>template</outputDirectory>
13  
-      <useDefaultExcludes>true</useDefaultExcludes>
14  
-      <excludes>
15  
-        <exclude>**/*.log</exclude>
16  
-        <exclude>**/.DS_Store</exclude>
17  
-        <exclude>**/.settings/**</exclude>
18  
-        <exclude>**/.pmd</exclude>
19  
-        <exclude>**/.idea/**</exclude>
20  
-        <exclude>**/.gradle/**</exclude>
21  
-        <exclude>**/build.gradle</exclude>
22  
-        <exclude>**/build/**</exclude>
23  
-        <exclude>**/*.iml</exclude>
24  
-        <exclude>**/${project.build.directory}/**</exclude>
25  
-      </excludes>
26  
-    </fileSet>
27  
-  </fileSets>
28  
-</assembly>
30  si-sts-templates/si-template-standalone/src/main/assembly/zip.xml
... ...
@@ -1,30 +0,0 @@
1  
-<assembly
2  
-    xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
3  
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4  
-    xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
5  
-    <id>bin</id>
6  
-    <includeBaseDirectory>false</includeBaseDirectory>
7  
-    <formats>
8  
-        <format>zip</format>
9  
-    </formats>
10  
-    <fileSets>
11  
-        <fileSet>
12  
-            <directory>template</directory>
13  
-            <outputDirectory></outputDirectory>
14  
-            <includes>
15  
-                <include>template.zip</include>
16  
-                <include>wizard.json</include>
17  
-            </includes>
18  
-            <excludes>
19  
-                <exclude>template.xml</exclude>
20  
-            </excludes>
21  
-        </fileSet>
22  
-    </fileSets>
23  
-    <files>
24  
-        <file>
25  
-            <source>template/template.xml</source>
26  
-            <outputDirectory></outputDirectory>
27  
-            <filtered>true</filtered>
28  
-        </file>
29  
-    </files>
30  
-</assembly>
12  si-sts-templates/si-template-standalone/template/template.xml
... ...
@@ -1,12 +0,0 @@
1  
-<template>
2  
-    <descriptor id="org.springframework.integration.sts.template.standalone"
3  
-                 name="Spring Integration Project (Standalone) - File"
4  
-                kind="template"
5  
-                version="${template.version}">
6  
-        <description>
7  
-           Creates a Spring Integration project that runs as a standalone Java application.
8  
-        </description>
9  
-    </descriptor>
10  
-    <project path="template.zip"/>
11  
-    <json path="wizard.json"/>
12  
-</template>
53  si-sts-templates/si-template-standalone/template/wizard.json
... ...
@@ -1,53 +0,0 @@
1  
-{
2  
-    "info" : {
3  
-        "elements" : {
4  
-            "element" :	[
5  
-                {
6  
-                    "name" : "mavenGroupId",
7  
-                    "description" : "Please enter a 'groupId'",
8  
-                    "type" : "java.lang.String",
9  
-                    "page" : 0,
10  
-                    "required" : true,
11  
-                },
12  
-                {
13  
-                    "name" : "si-template-standalone-artifactId",
14  
-                    "description" : "Please enter an 'artifactId'",
15  
-                    "type" : "java.lang.String",
16  
-                    "page" : 0,
17  
-                    "required" : true,
18  
-                },
19  
-                {
20  
-                    "name" : "mavenVersion",
21  
-                    "description" : "Please enter a version e.g. '1.0-SNAPSHOT'",
22  
-                    "defaultValue": "1.0-SNAPSHOT",
23  
-                    "type" : "java.lang.String",
24  
-                    "page" : 0,
25  
-                    "required" : true,
26  
-                },
27  
-                {
28  
-                    "name" : "topLevelPackage",
29  
-                    "description" : "Please specify the top-level package e.g. com.mycompany.myapp",
30  
-                    "type" : "java.lang.String",
31  
-                    "page" : 0,
32  
-                    "required" : true,
33  
-                    "pattern" : "\\w+\\.\\w+(\\.\\w+)+",
34  
-                    "replaceKind" : "topLevelPackage"
35  
-                }
36  
-
37  
-            ]
38  
-        },
39  
-
40  
-        "topLevelPackage" : "stsorg.stsspringframework.stsintegration.mysubsystem",
41  
-
42  
-        "projectName" : "si-template-project-name",
43  
-
44  
-        "pages" : {
45  
-            "page" : [
46  
-                    {
47  
-                    "order" : 0,
48  
-                    "description" : "Project Settings"
49  
-                }
50  
-            ]
51  
-        }
52  
-    }
53  
-}
62  si-sts-templates/si-template-war/pom.xml
... ...
@@ -1,62 +0,0 @@
1  
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2  
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3  
-    <modelVersion>4.0.0</modelVersion>
4  
-
5  
-
6  
-    <parent>
7  
-        <groupId>org.springframework.integration.sts.templates</groupId>
8  
-        <artifactId>si-template-parent</artifactId>
9  
-        <version>1.0.0.M3</version>
10  
-    </parent>
11  
-
12  
-    <groupId>org.springframework.integration.sts.templates</groupId>
13  
-    <artifactId>si-template-war</artifactId>
14  
-    <version>1.0.0.M3</version>
15  
-    <packaging>pom</packaging>
16  
-
17  
-    <properties>
18  
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19  
-    </properties>
20  
-
21  
-    <build>
22  
-        <plugins>
23  
-            <plugin>
24  
-                <artifactId>maven-assembly-plugin</artifactId>
25  
-                <version>2.2.1</version>
26  
-                <executions>
27  
-                    <execution>
28  
-                        <id>make-plugin-assembly</id>
29  
-                        <phase>package</phase>
30  
-                        <goals>
31  
-                            <goal>single</goal>
32  
-                        </goals>
33  
-                        <configuration>
34  
-                            <descriptors>
35  
-                                <descriptor>src/main/assembly/src.xml</descriptor>
36  
-                            </descriptors>
37  
-                            <finalName>template</finalName>
38  
-                            <outputDirectory>template</outputDirectory>
39  
-                            <appendAssemblyId>false</appendAssemblyId>
40  
-                        </configuration>
41  
-                    </execution>
42  
-                    <execution>
43  
-                        <id>make-template-descriptor-assembly</id>
44  
-                        <phase>package</phase>
45  
-                        <goals>
46  
-                            <goal>single</goal>
47  
-                        </goals>
48  
-                        <configuration>
49  
-                            <descriptors>
50  
-                                <descriptor>src/main/assembly/zip.xml</descriptor>
51  
-                            </descriptors>
52  
-                            <appendAssemblyId>false</appendAssemblyId>
53  
-                            <finalName>si-template-war-${template.version}</finalName>
54  
-                            <outputDirectory>../target/out</outputDirectory>
55  
-                        </configuration>
56  
-                    </execution>
57  
-                </executions>
58  
-            </plugin>
59  
-        </plugins>
60  
-    </build>
61  
-
62  
-</project>
27  si-sts-templates/si-template-war/src/main/assembly/src.xml
... ...
@@ -1,27 +0,0 @@
1  
-<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
2  
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3  
-  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
4  
-  <id>project</id>
5  
-  <includeBaseDirectory>false</includeBaseDirectory>
6  
-  <formats>
7  
-    <format>zip</format>
8  
-  </formats>
9  
-  <fileSets>
10  
-    <fileSet>
11  
-      <directory>${project.basedir}/../../si-template-projects/si-template-war-project</directory>