Author: dkulp
Date: Wed Aug 31 15:43:24 2011
New Revision: 1163669
URL: http://svn.apache.org/viewvc?rev=1163669&view=rev
Log:
re-indent the added antrun stuff now that Claus has confirmed the fix works
Modified:
camel/trunk/components/camel-spring/pom.xml
Modified: camel/trunk/components/camel-spring/pom.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/pom.xml?rev=1163669&r1=1163668&r2=1163669&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/pom.xml (original)
+++ camel/trunk/components/camel-spring/pom.xml Wed Aug 31 15:43:24 2011
@@ -260,55 +260,55 @@
<goal>run</goal>
</goals>
</execution>
- <execution>
- <id>process-sources</id>
- <phase>process-sources</phase>
- <configuration>
- <tasks>
- <taskdef name="schemagen"
classname="com.sun.tools.jxc.SchemaGenTask"
classpathref="maven.plugin.classpath" />
-
- <echo>Copying code together for the XSD
generation</echo>
- <mkdir dir="${project.build.directory}/schema-src" />
- <copy todir="${project.build.directory}/schema-src">
- <fileset dir="${basedir}/src/main/java">
- <include
name="org/apache/camel/spring/Camel*.java" />
- <include
name="org/apache/camel/spring/ErrorHandler*.java" />
- <include
name="org/apache/camel/spring/package-info.java" />
- <include
name="org/apache/camel/util/spring/**/*.java" />
- </fileset>
- <fileset
dir="${basedir}/../camel-core-xml/src/main/java">
- <include name="org/apache/camel/core/xml/*.java"
/>
- <include
name="org/apache/camel/core/xml/util/**/*.java" />
- </fileset>
- <fileset
dir="${basedir}/../../camel-core/src/main/java">
- <include name="org/apache/camel/model/**/*.java"
/>
- <include
name="org/apache/camel/ExchangePattern.java" />
- <include
name="org/apache/camel/LoggingLevel.java" />
- <include
name="org/apache/camel/ManagementStatisticsLevel.java" />
- <include
name="org/apache/camel/ShutdownRoute.java" />
- <include
name="org/apache/camel/ShutdownRunningTask.java" />
- <include
name="org/apache/camel/ThreadPoolRejectedPolicy.java" />
- <include
name="org/apache/camel/WaitForTaskToComplete.java" />
- <include
name="org/apache/camel/package-info.java" />
- </fileset>
- </copy>
-
- <echo>Generating XSD schema</echo>
- <mkdir dir="${project.build.directory}/schema" />
- <schemagen
srcdir="${project.build.directory}/schema-src"
destdir="${project.build.directory}/schema">
- <schema
namespace="http://camel.apache.org/schema/spring" file="camel-spring.xsd" />
- <classpath refid="maven.compile.classpath" />
- </schemagen>
- <copy
file="${project.build.directory}/schema/camel-spring.xsd"
tofile="${project.build.directory}/schema/camel-spring-v${camel.schema.version}.xsd"
/>
- <replace
file="${project.build.directory}/schema/camel-spring-v${camel.schema.version}.xsd"
token="http://camel.apache.org/schema/spring"
value="http://camel.apache.org/schema/spring/v${camel.schema.version}" />
-
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
+ <execution>
+ <id>process-sources</id>
+ <phase>process-sources</phase>
+ <configuration>
+ <tasks>
+ <taskdef name="schemagen"
classname="com.sun.tools.jxc.SchemaGenTask"
classpathref="maven.plugin.classpath" />
+
+ <echo>Copying code together for the XSD generation</echo>
+ <mkdir dir="${project.build.directory}/schema-src" />
+ <copy todir="${project.build.directory}/schema-src">
+ <fileset dir="${basedir}/src/main/java">
+ <include name="org/apache/camel/spring/Camel*.java" />
+ <include name="org/apache/camel/spring/ErrorHandler*.java"
/>
+ <include name="org/apache/camel/spring/package-info.java"
/>
+ <include name="org/apache/camel/util/spring/**/*.java" />
+ </fileset>
+ <fileset dir="${basedir}/../camel-core-xml/src/main/java">
+ <include name="org/apache/camel/core/xml/*.java" />
+ <include name="org/apache/camel/core/xml/util/**/*.java" />
+ </fileset>
+ <fileset dir="${basedir}/../../camel-core/src/main/java">
+ <include name="org/apache/camel/model/**/*.java" />
+ <include name="org/apache/camel/ExchangePattern.java" />
+ <include name="org/apache/camel/LoggingLevel.java" />
+ <include
name="org/apache/camel/ManagementStatisticsLevel.java" />
+ <include name="org/apache/camel/ShutdownRoute.java" />
+ <include name="org/apache/camel/ShutdownRunningTask.java"
/>
+ <include
name="org/apache/camel/ThreadPoolRejectedPolicy.java" />
+ <include
name="org/apache/camel/WaitForTaskToComplete.java" />
+ <include name="org/apache/camel/package-info.java" />
+ </fileset>
+ </copy>
+
+ <echo>Generating XSD schema</echo>
+ <mkdir dir="${project.build.directory}/schema" />
+ <schemagen srcdir="${project.build.directory}/schema-src"
destdir="${project.build.directory}/schema">
+ <schema namespace="http://camel.apache.org/schema/spring"
file="camel-spring.xsd" />
+ <classpath refid="maven.compile.classpath" />
+ </schemagen>
+ <copy
file="${project.build.directory}/schema/camel-spring.xsd"
tofile="${project.build.directory}/schema/camel-spring-v${camel.schema.version}.xsd"
/>
+ <replace
file="${project.build.directory}/schema/camel-spring-v${camel.schema.version}.xsd"
token="http://camel.apache.org/schema/spring"
value="http://camel.apache.org/schema/spring/v${camel.schema.version}" />
+
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<!-- add the sources from camel-core-osgi and camel-core-xml as source
code in the camel-spring-sources.jar -->