You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2011/01/28 21:17:39 UTC
svn commit: r1064857 [3/6] - in /servicemix/archetypes/trunk: ./
servicemix-archetype-catalog/ servicemix-archetypes-itests/
servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/
servicemix-archetypes-itests/src/test/resources/ serv...
Modified: servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/pom.xml Fri Jan 28 20:17:34 2011
@@ -1,32 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
+ <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version
- 2.0 (the "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0 Unless required by
- applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the
- License.
- -->
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+ applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the
+ License.
+ -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>archetypes</artifactId>
- <version>2010.02-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-cxf-wsdl-first-osgi-bundle</artifactId>
- <name>Apache ServiceMix :: Archetypes :: CXF WSDL First OSGi Bundle</name>
+ <parent>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>archetypes</artifactId>
+ <version>2010.02-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-cxf-wsdl-first-osgi-bundle</artifactId>
+ <name>Apache ServiceMix :: Archetypes :: CXF WSDL First OSGi Bundle</name>
-</project>
\ No newline at end of file
+</project>
Modified: servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/META-INF/maven/archetype.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/META-INF/maven/archetype.xml Fri Jan 28 20:17:34 2011
@@ -1,28 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!--
+ <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version
- 2.0 (the "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0 Unless required by
- applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the
- License.
- -->
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+ applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the
+ License.
+ -->
<archetype>
- <id>servicemix-cxf-wsdl-first-osgi-bundle</id>
+ <id>servicemix-cxf-wsdl-first-osgi-bundle</id>
- <sources>
- <source>src/main/java/PersonImpl.java</source>
- </sources>
- <resources>
- <resource>src/main/resources/META-INF/spring/beans.xml</resource>
- <resource>src/main/resources/wsdl/person.wsdl</resource>
- </resources>
-</archetype>
\ No newline at end of file
+ <sources>
+ <source>src/main/java/PersonImpl.java</source>
+ </sources>
+ <resources>
+ <resource>src/main/resources/META-INF/spring/beans.xml</resource>
+ <resource>src/main/resources/wsdl/person.wsdl</resource>
+ </resources>
+</archetype>
Modified: servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml Fri Jan 28 20:17:34 2011
@@ -1,138 +1,138 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
+ <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version
- 2.0 (the "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0 Unless required by
- applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the
- License.
- -->
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <packaging>bundle</packaging>
- <version>${version}</version>
- <name>Apache ServiceMix :: CXF WSDL First OSGi Bundle</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
- <version>@{geronimo.wsmetadata.version}</version>
- </dependency>
- <dependency>
- <groupId>javax.xml.bind</groupId>
- <artifactId>jaxb-api</artifactId>
- <version>@{jaxb.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jaxws_2.1_spec</artifactId>
- <version>1.0</version>
- </dependency>
-
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>@{maven-compiler-plugin.version}</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>@{maven-resources-plugin.version}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-codegen-plugin</artifactId>
- <version>@{cxf.version}</version>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <configuration>
- <!--
- Update source root to specify where generated source code should
- be placed
- -->
- <sourceRoot>\${basedir}/src/main/java</sourceRoot>
- <wsdlOptions>
- <wsdlOption>
- <!-- Update wsdl tag with appropriate wsdl file -->
- <wsdl>\${basedir}/src/main/resources/wsdl/person.wsdl</wsdl>
- <extraargs>
- <extraarg>-verbose</extraarg>
- </extraargs>
- </wsdlOption>
- </wsdlOptions>
- </configuration>
- <goals>
- <goal>wsdl2java</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>@{maven-bundle-plugin.version}</version>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
- <Import-Package>
- javax.jws,
- javax.wsdl,
- javax.xml.bind,
- javax.xml.bind.annotation,
- javax.xml.namespace,
- javax.xml.ws,
- META-INF.cxf,
- META-INF.cxf.osgi,
- org.apache.cxf.bus,
- org.apache.cxf.bus.spring,
- org.apache.cxf.bus.resource,
- org.apache.cxf.configuration.spring,
- org.apache.cxf.resource,
- org.apache.cxf.jaxws,
- org.apache.cxf.transport.http_osgi,
- org.springframework.beans.factory.config
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+ applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the
+ License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>bundle</packaging>
+ <version>${version}</version>
+ <name>Apache ServiceMix :: CXF WSDL First OSGi Bundle</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
+ <version>@{geronimo.wsmetadata.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>@{jaxb.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jaxws_2.1_spec</artifactId>
+ <version>1.0</version>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@{maven-compiler-plugin.version}</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>@{maven-resources-plugin.version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-codegen-plugin</artifactId>
+ <version>@{cxf.version}</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <configuration>
+ <!--
+ Update source root to specify where generated source code should
+ be placed
+ -->
+ <sourceRoot>\${basedir}/src/main/java</sourceRoot>
+ <wsdlOptions>
+ <wsdlOption>
+ <!-- Update wsdl tag with appropriate wsdl file -->
+ <wsdl>\${basedir}/src/main/resources/wsdl/person.wsdl</wsdl>
+ <extraargs>
+ <extraarg>-verbose</extraarg>
+ </extraargs>
+ </wsdlOption>
+ </wsdlOptions>
+ </configuration>
+ <goals>
+ <goal>wsdl2java</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>@{maven-bundle-plugin.version}</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+ <Import-Package>
+ javax.jws,
+ javax.wsdl,
+ javax.xml.bind,
+ javax.xml.bind.annotation,
+ javax.xml.namespace,
+ javax.xml.ws,
+ META-INF.cxf,
+ META-INF.cxf.osgi,
+ org.apache.cxf.bus,
+ org.apache.cxf.bus.spring,
+ org.apache.cxf.bus.resource,
+ org.apache.cxf.configuration.spring,
+ org.apache.cxf.resource,
+ org.apache.cxf.jaxws,
+ org.apache.cxf.transport.http_osgi,
+ org.springframework.beans.factory.config
</Import-Package>
- <!-- Update Private Package tag with appropriate package name -->
- <Private-Package>
- org.apache.servicemix.samples.wsdl_first,
- org.apache.servicemix.samples.wsdl_first.types
+ <!-- Update Private Package tag with appropriate package name -->
+ <Private-Package>
+ org.apache.servicemix.samples.wsdl_first,
+ org.apache.servicemix.samples.wsdl_first.types
</Private-Package>
- <Require-Bundle>org.apache.cxf.bundle</Require-Bundle>
- <!--
- <DynamicImport-Package>*</DynamicImport-Package>
- -->
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
+ <Require-Bundle>org.apache.cxf.bundle</Require-Bundle>
+ <!--
+ <DynamicImport-Package>*</DynamicImport-Package>
+ -->
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/beans.xml Fri Jan 28 20:17:34 2011
@@ -1,54 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:jaxws="http://cxf.apache.org/jaxws"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
- http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
- http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd">
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:jaxws="http://cxf.apache.org/jaxws"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
+ http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http.xml" />
<import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml" />
- <jaxws:endpoint id="HTTPEndpoint"
- implementor="${packageName}.PersonImpl"
- address="/PersonService"
- wsdlLocation="wsdl/person.wsdl"
- endpointName="e:soap"
- serviceName="s:PersonService"
- xmlns:e="http://servicemix.apache.org/samples/wsdl-first"
+ <jaxws:endpoint id="HTTPEndpoint"
+ implementor="${packageName}.PersonImpl"
+ address="/PersonService"
+ wsdlLocation="wsdl/person.wsdl"
+ endpointName="e:soap"
+ serviceName="s:PersonService"
+ xmlns:e="http://servicemix.apache.org/samples/wsdl-first"
xmlns:s="http://servicemix.apache.org/samples/wsdl-first"/>
<!--
<jaxws:client id="client"
- serviceClass="org.apache.servicemix.samples.wsdl_first.Person"
- endpointName="e:soap"
- serviceName="s:PersonService"
- xmlns:e="http://cxf.examples.servicemix.apache.org/"
+ serviceClass="org.apache.servicemix.samples.wsdl_first.Person"
+ endpointName="e:soap"
+ serviceName="s:PersonService"
+ xmlns:e="http://cxf.examples.servicemix.apache.org/"
xmlns:s="http://cxf.examples.servicemix.apache.org/"
- wsdlLocation="wsdl/person.wsdl"
- address="/PersonService"/>
+ wsdlLocation="wsdl/person.wsdl"
+ address="/PersonService"/>
<osgi:service id="testHelloWorld" ref="client"
interface="org.apache.servicemix.samples.wsdl_first.Person"/>
Modified: servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/wsdl/person.wsdl
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/wsdl/person.wsdl?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/wsdl/person.wsdl (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-wsdl-first-osgi-bundle/src/main/resources/archetype-resources/src/main/resources/wsdl/person.wsdl Fri Jan 28 20:17:34 2011
@@ -19,78 +19,78 @@
-->
<wsdl:definitions name="wsdl-first"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:tns="http://servicemix.apache.org/samples/wsdl-first"
- xmlns:typens="http://servicemix.apache.org/samples/wsdl-first/types"
- targetNamespace="http://servicemix.apache.org/samples/wsdl-first">
-
- <wsdl:types>
- <xsd:schema targetNamespace="http://servicemix.apache.org/samples/wsdl-first/types"
- elementFormDefault="qualified">
- <xsd:element name="GetPerson">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="personId" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="GetPersonResponse">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="personId" type="xsd:string"/>
- <xsd:element name="ssn" type="xsd:string"/>
- <xsd:element name="name" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="UnknownPersonFault">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="personId" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:tns="http://servicemix.apache.org/samples/wsdl-first"
+ xmlns:typens="http://servicemix.apache.org/samples/wsdl-first/types"
+ targetNamespace="http://servicemix.apache.org/samples/wsdl-first">
+
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://servicemix.apache.org/samples/wsdl-first/types"
+ elementFormDefault="qualified">
+ <xsd:element name="GetPerson">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="personId" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="GetPersonResponse">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="personId" type="xsd:string"/>
+ <xsd:element name="ssn" type="xsd:string"/>
+ <xsd:element name="name" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="UnknownPersonFault">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="personId" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
</wsdl:types>
- <wsdl:message name="GetPersonRequest">
- <wsdl:part name="payload" element="typens:GetPerson"/>
- </wsdl:message>
- <wsdl:message name="GetPersonResponse">
- <wsdl:part name="payload" element="typens:GetPersonResponse"/>
- </wsdl:message>
- <wsdl:message name="UnknownPersonFault">
- <wsdl:part name="payload" element="typens:UnknownPersonFault"/>
- </wsdl:message>
+ <wsdl:message name="GetPersonRequest">
+ <wsdl:part name="payload" element="typens:GetPerson"/>
+ </wsdl:message>
+ <wsdl:message name="GetPersonResponse">
+ <wsdl:part name="payload" element="typens:GetPersonResponse"/>
+ </wsdl:message>
+ <wsdl:message name="UnknownPersonFault">
+ <wsdl:part name="payload" element="typens:UnknownPersonFault"/>
+ </wsdl:message>
<wsdl:portType name="Person">
- <wsdl:operation name="GetPerson">
- <wsdl:input message="tns:GetPersonRequest"/>
- <wsdl:output message="tns:GetPersonResponse"/>
- <wsdl:fault name="UnknownPerson" message="tns:UnknownPersonFault"/>
- </wsdl:operation>
- </wsdl:portType>
+ <wsdl:operation name="GetPerson">
+ <wsdl:input message="tns:GetPersonRequest"/>
+ <wsdl:output message="tns:GetPersonResponse"/>
+ <wsdl:fault name="UnknownPerson" message="tns:UnknownPersonFault"/>
+ </wsdl:operation>
+ </wsdl:portType>
<wsdl:binding name="PersonSOAPBinding" type="tns:Person">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="GetPerson">
- <wsdl:input>
- <soap:body use="literal" />
- </wsdl:input>
- <wsdl:output>
- <soap:body use="literal" />
- </wsdl:output>
- <wsdl:fault name="UnknownPerson">
- <soap:fault use="literal" name="UnknownPerson" />
- </wsdl:fault>
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="GetPerson">
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ <wsdl:fault name="UnknownPerson">
+ <soap:fault use="literal" name="UnknownPerson" />
+ </wsdl:fault>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="PersonService">
- <wsdl:port binding="tns:PersonSOAPBinding" name="soap">
+ <wsdl:service name="PersonService">
+ <wsdl:port binding="tns:PersonSOAPBinding" name="soap">
<soap:address location="http://localhost:8080/cxf/PersonService" />
</wsdl:port>
</wsdl:service>
Modified: servicemix/archetypes/trunk/servicemix-drools-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-drools-service-unit/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-drools-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-drools-service-unit/pom.xml Fri Jan 28 20:17:34 2011
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
+ <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version
- 2.0 (the "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0 Unless required by
- applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the
- License.
- -->
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>archetypes</artifactId>
- <version>2010.02-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-drools-service-unit</artifactId>
- <name>Apache ServiceMix :: Archetypes :: Drools Service Unit</name>
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+ applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the
+ License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>archetypes</artifactId>
+ <version>2010.02-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-drools-service-unit</artifactId>
+ <name>Apache ServiceMix :: Archetypes :: Drools Service Unit</name>
-</project>
\ No newline at end of file
+</project>
Modified: servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/pom.xml Fri Jan 28 20:17:34 2011
@@ -1,51 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!-- Generated by Apache ServiceMix Archetype -->
+ <!-- Generated by Apache ServiceMix Archetype -->
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <packaging>jbi-service-unit</packaging>
- <version>${version}</version>
- <name>Apache ServiceMix :: Drools Service Unit</name>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>jbi-service-unit</packaging>
+ <version>${version}</version>
+ <name>Apache ServiceMix :: Drools Service Unit</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>servicemix-drools</artifactId>
- <version>@{components.version}</version>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>servicemix-drools</artifactId>
+ <version>@{components.version}</version>
+ </dependency>
+ </dependencies>
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>@{maven-compiler-plugin.version}</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>@{maven-resources-plugin.version}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>jbi-maven-plugin</artifactId>
- <version>@{jbi-maven-plugin.version}</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@{maven-compiler-plugin.version}</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>@{maven-resources-plugin.version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>jbi-maven-plugin</artifactId>
+ <version>@{jbi-maven-plugin.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Modified: servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl (original)
+++ servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/router.drl Fri Jan 28 20:17:34 2011
@@ -5,34 +5,34 @@ import org.apache.servicemix.drools.mode
global org.apache.servicemix.drools.model.JbiHelper jbi;
rule "Unspecified id"
- when
- me : Exchange( status == Exchange.ACTIVE, in : in != null )
- eval( in.xpath("/bar:test/@id <= 0") )
- then
- jbi.fault( "<fault>Id must be > 0</fault>" );
+ when
+ me : Exchange( status == Exchange.ACTIVE, in : in != null )
+ eval( in.xpath("/bar:test/@id <= 0") )
+ then
+ jbi.fault( "<fault>Id must be > 0</fault>" );
end
rule "Route to target1"
- when
- me : Exchange( status == Exchange.ACTIVE, in : in != null )
- eval( in.xpath("/bar:test/@id = 1") )
- then
- jbi.route( "service::target1" );
+ when
+ me : Exchange( status == Exchange.ACTIVE, in : in != null )
+ eval( in.xpath("/bar:test/@id = 1") )
+ then
+ jbi.route( "service::target1" );
end
rule "Route to target2"
- when
- me : Exchange( status == Exchange.ACTIVE, in : in != null )
- eval( in.xpath("/bar:test/@id = 2") )
- then
- jbi.route( "service::target2" );
+ when
+ me : Exchange( status == Exchange.ACTIVE, in : in != null )
+ eval( in.xpath("/bar:test/@id = 2") )
+ then
+ jbi.route( "service::target2" );
end
rule "Route to target3"
- when
- me : Exchange( status == Exchange.ACTIVE, in : in != null )
- eval( in.getProperty("prop") != null )
- then
- jbi.route( "service::target3" );
+ when
+ me : Exchange( status == Exchange.ACTIVE, in : in != null )
+ eval( in.getProperty("prop") != null )
+ then
+ jbi.route( "service::target3" );
end
Modified: servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-drools-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Fri Jan 28 20:17:34 2011
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns:drools="http://servicemix.apache.org/drools/1.0"
- xmlns:util="http://www.springframework.org/schema/util"
- xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://servicemix.apache.org/drools/1.0 http://servicemix.apache.org/schema/servicemix-drools-@{components.version}.xsd
+ xmlns:util="http://www.springframework.org/schema/util"
+ xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://servicemix.apache.org/drools/1.0 http://servicemix.apache.org/schema/servicemix-drools-@{components.version}.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<!--
@@ -25,15 +25,15 @@
ruleBaseResource : the DRL file location
namespaceContext : the Drool namespace context
-->
- <drools:endpoint service="replaceMe:serviceName"
- endpoint="drools" ruleBaseResource="classpath:router.drl"
- namespaceContext="#nsContext" />
+ <drools:endpoint service="replaceMe:serviceName"
+ endpoint="drools" ruleBaseResource="classpath:router.drl"
+ namespaceContext="#nsContext" />
- <drools:namespace-context id="nsContext">
- <drools:namespaces>
- <drools:namespace prefix="bar">http://servicemix.apache.org/bar</drools:namespace>
- </drools:namespaces>
- </drools:namespace-context>
- <!-- END SNIPPET: drools -->
+ <drools:namespace-context id="nsContext">
+ <drools:namespaces>
+ <drools:namespace prefix="bar">http://servicemix.apache.org/bar</drools:namespace>
+ </drools:namespaces>
+ </drools:namespace-context>
+ <!-- END SNIPPET: drools -->
-</beans>
\ No newline at end of file
+</beans>
Modified: servicemix/archetypes/trunk/servicemix-eip-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-eip-service-unit/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-eip-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-eip-service-unit/pom.xml Fri Jan 28 20:17:34 2011
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
+ <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version
- 2.0 (the "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0 Unless required by
- applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the
- License.
- -->
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>archetypes</artifactId>
- <version>2010.02-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-eip-service-unit</artifactId>
- <name>Apache ServiceMix :: Archetypes :: EIP Service Unit</name>
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+ applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the
+ License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>archetypes</artifactId>
+ <version>2010.02-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-eip-service-unit</artifactId>
+ <name>Apache ServiceMix :: Archetypes :: EIP Service Unit</name>
-</project>
\ No newline at end of file
+</project>
Modified: servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/META-INF/maven/archetype.xml Fri Jan 28 20:17:34 2011
@@ -22,4 +22,4 @@
<resources>
<resource>src/main/resources/xbean.xml</resource>
</resources>
-</archetype>
\ No newline at end of file
+</archetype>
Modified: servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml Fri Jan 28 20:17:34 2011
@@ -1,52 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!-- Generated by Apache ServiceMix Archetype -->
+ <!-- Generated by Apache ServiceMix Archetype -->
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <packaging>jbi-service-unit</packaging>
- <version>${version}</version>
- <name>Apache ServiceMix :: EIP Service Unit</name>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>jbi-service-unit</packaging>
+ <version>${version}</version>
+ <name>Apache ServiceMix :: EIP Service Unit</name>
- <dependencies>
- <dependency>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>servicemix-eip</artifactId>
- <version>@{components.version}</version>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>servicemix-eip</artifactId>
+ <version>@{components.version}</version>
+ </dependency>
+ </dependencies>
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>@{maven-compiler-plugin.version}</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>@{maven-resources-plugin.version}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>jbi-maven-plugin</artifactId>
- <version>@{jbi-maven-plugin.version}</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </build>
-
-</project>
\ No newline at end of file
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@{maven-compiler-plugin.version}</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>@{maven-resources-plugin.version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>jbi-maven-plugin</artifactId>
+ <version>@{jbi-maven-plugin.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Modified: servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-eip-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Fri Jan 28 20:17:34 2011
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns:eip="http://servicemix.apache.org/eip/1.0"
- xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://servicemix.apache.org/eip/1.0 http://servicemix.apache.org/schema/servicemix-eip-@{components.version}.xsd
+ xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://servicemix.apache.org/eip/1.0 http://servicemix.apache.org/schema/servicemix-eip-@{components.version}.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<!--
@@ -32,138 +32,138 @@
Some EIP samples follow.
-->
- <!-- BEGIN SNIPPET: static-recipient-list -->
- <eip:static-recipient-list service="replaceMe:serviceName"
- endpoint="static-recipient-list">
- <eip:recipients>
- <eip:exchange-target service="replaceMe:serviceName"
- endpoint="wire-tap" />
- <eip:exchange-target service="replaceMe:serviceName"
- endpoint="aggregator-splitter" />
- </eip:recipients>
- </eip:static-recipient-list>
- <!-- END SNIPPET: static-recipient-list -->
+ <!-- BEGIN SNIPPET: static-recipient-list -->
+ <eip:static-recipient-list service="replaceMe:serviceName"
+ endpoint="static-recipient-list">
+ <eip:recipients>
+ <eip:exchange-target service="replaceMe:serviceName"
+ endpoint="wire-tap" />
+ <eip:exchange-target service="replaceMe:serviceName"
+ endpoint="aggregator-splitter" />
+ </eip:recipients>
+ </eip:static-recipient-list>
+ <!-- END SNIPPET: static-recipient-list -->
<!-- BEGIN SNIPPET: aggregator-splitter -->
- <eip:xpath-splitter service="replaceMe:serviceName"
- endpoint="aggregator-splitter" xpath="/*/*" namespaceContext="#nsContext">
- <eip:target>
- <eip:exchange-target service="replaceMe:serviceName" endpoint="aggregator" />
- </eip:target>
- </eip:xpath-splitter>
- <!-- END SNIPPET: aggregator-splitter -->
+ <eip:xpath-splitter service="replaceMe:serviceName"
+ endpoint="aggregator-splitter" xpath="/*/*" namespaceContext="#nsContext">
+ <eip:target>
+ <eip:exchange-target service="replaceMe:serviceName" endpoint="aggregator" />
+ </eip:target>
+ </eip:xpath-splitter>
+ <!-- END SNIPPET: aggregator-splitter -->
<!-- BEGIN SNIPPET: aggregator -->
- <eip:split-aggregator service="replaceMe:serviceName"
- endpoint="aggregator">
- <eip:target>
- <eip:exchange-target service="replaceMe:trace5" />
- </eip:target>
- </eip:split-aggregator>
- <!-- END SNIPPET: aggregator -->
+ <eip:split-aggregator service="replaceMe:serviceName"
+ endpoint="aggregator">
+ <eip:target>
+ <eip:exchange-target service="replaceMe:trace5" />
+ </eip:target>
+ </eip:split-aggregator>
+ <!-- END SNIPPET: aggregator -->
<!-- BEGIN SNIPPET: wire-tap -->
- <eip:wire-tap service="replaceMe:serviceName" endpoint="wire-tap">
- <eip:target>
- <eip:exchange-target service="replaceMe:xpath-splitter" />
- </eip:target>
- <eip:inListener>
- <eip:exchange-target service="replaceMe:trace" />
- </eip:inListener>
- </eip:wire-tap>
- <!-- END SNIPPET: wire-tap -->
+ <eip:wire-tap service="replaceMe:serviceName" endpoint="wire-tap">
+ <eip:target>
+ <eip:exchange-target service="replaceMe:xpath-splitter" />
+ </eip:target>
+ <eip:inListener>
+ <eip:exchange-target service="replaceMe:trace" />
+ </eip:inListener>
+ </eip:wire-tap>
+ <!-- END SNIPPET: wire-tap -->
<!-- BEGIN SNIPPET: xpath-splitter -->
- <eip:xpath-splitter service="replaceMe:serviceName"
- endpoint="xpath-splitter" xpath="/*/*" namespaceContext="#nsContext">
- <eip:target>
- <eip:exchange-target
- uri="service:http://servicemix.apache.org/replaceMe/router" />
- </eip:target>
- </eip:xpath-splitter>
- <!-- END SNIPPET: xpath-splitter -->
+ <eip:xpath-splitter service="replaceMe:serviceName"
+ endpoint="xpath-splitter" xpath="/*/*" namespaceContext="#nsContext">
+ <eip:target>
+ <eip:exchange-target
+ uri="service:http://servicemix.apache.org/replaceMe/router" />
+ </eip:target>
+ </eip:xpath-splitter>
+ <!-- END SNIPPET: xpath-splitter -->
<!-- BEGIN SNIPPET: router -->
- <eip:content-based-router service="replaceMe:serviceName"
- endpoint="router">
- <eip:rules>
- <eip:routing-rule>
- <eip:predicate>
- <eip:xpath-predicate xpath="count(/replaceMe:echo) = 1"
- namespaceContext="#nsContext" />
- </eip:predicate>
- <eip:target>
- <eip:exchange-target
- uri="endpoint:http://servicemix.apache.org/replaceMe/pipeline/endpoint" />
- </eip:target>
- </eip:routing-rule>
- <eip:routing-rule>
- <!-- there is no predicate, so this is the default destination -->
- <eip:target>
- <eip:exchange-target service="replaceMe:recipients" />
- </eip:target>
- </eip:routing-rule>
- </eip:rules>
- </eip:content-based-router>
- <!-- END SNIPPET: router -->
+ <eip:content-based-router service="replaceMe:serviceName"
+ endpoint="router">
+ <eip:rules>
+ <eip:routing-rule>
+ <eip:predicate>
+ <eip:xpath-predicate xpath="count(/replaceMe:echo) = 1"
+ namespaceContext="#nsContext" />
+ </eip:predicate>
+ <eip:target>
+ <eip:exchange-target
+ uri="endpoint:http://servicemix.apache.org/replaceMe/pipeline/endpoint" />
+ </eip:target>
+ </eip:routing-rule>
+ <eip:routing-rule>
+ <!-- there is no predicate, so this is the default destination -->
+ <eip:target>
+ <eip:exchange-target service="replaceMe:recipients" />
+ </eip:target>
+ </eip:routing-rule>
+ </eip:rules>
+ </eip:content-based-router>
+ <!-- END SNIPPET: router -->
<!-- BEGIN SNIPPET: pipeline -->
- <eip:pipeline service="replaceMe:serviceName" endpoint="pipeline">
- <eip:transformer>
- <eip:exchange-target service="replaceMe:serviceName" endpoint="routing-slip" />
- </eip:transformer>
- <eip:target>
- <eip:exchange-target service="replaceMe:serviceName" endpoint="trace"/>
- </eip:target>
- </eip:pipeline>
- <!-- END SNIPPET: pipeline -->
+ <eip:pipeline service="replaceMe:serviceName" endpoint="pipeline">
+ <eip:transformer>
+ <eip:exchange-target service="replaceMe:serviceName" endpoint="routing-slip" />
+ </eip:transformer>
+ <eip:target>
+ <eip:exchange-target service="replaceMe:serviceName" endpoint="trace"/>
+ </eip:target>
+ </eip:pipeline>
+ <!-- END SNIPPET: pipeline -->
<!-- BEGIN SNIPPET: recipients -->
- <eip:static-recipient-list service="replaceMe:serviceName"
- endpoint="recipients">
- <eip:recipients>
- <eip:exchange-target service="replaceMe:serviceName" endpoint="message-filter" />
- <eip:exchange-target service="replaceMe:serviceName" endpoint="trace" />
- </eip:recipients>
- </eip:static-recipient-list>
- <!-- END SNIPPET: recipients -->
+ <eip:static-recipient-list service="replaceMe:serviceName"
+ endpoint="recipients">
+ <eip:recipients>
+ <eip:exchange-target service="replaceMe:serviceName" endpoint="message-filter" />
+ <eip:exchange-target service="replaceMe:serviceName" endpoint="trace" />
+ </eip:recipients>
+ </eip:static-recipient-list>
+ <!-- END SNIPPET: recipients -->
<!-- BEGIN SNIPPET: routing-slip -->
- <eip:static-routing-slip service="replaceMe:serviceName"
- endpoint="routing-slip">
- <eip:targets>
- <eip:exchange-target service="replaceMe:serviceName" endpoint="echo" />
- <eip:exchange-target service="replaceMe:serviceName" endpoint="echo" />
- </eip:targets>
- </eip:static-routing-slip>
+ <eip:static-routing-slip service="replaceMe:serviceName"
+ endpoint="routing-slip">
+ <eip:targets>
+ <eip:exchange-target service="replaceMe:serviceName" endpoint="echo" />
+ <eip:exchange-target service="replaceMe:serviceName" endpoint="echo" />
+ </eip:targets>
+ </eip:static-routing-slip>
<!-- BEGIN SNIPPET: message-filter -->
- <eip:message-filter service="replaceMe:serviceName"
- endpoint="message-filter">
- <eip:target>
- <eip:exchange-target service="replaceMe:serviceName" endpoint="trace" />
- </eip:target>
- <eip:filter>
- <eip:xpath-predicate xpath="count(/replaceMe:world) = 1"
- namespaceContext="#nsContext" />
- </eip:filter>
- </eip:message-filter>
- <!-- END SNIPPET: message-filter -->
-
- <eip:namespace-context id="nsContext">
- <eip:namespaces>
- <eip:namespace prefix="replaceMe">http://servicemix.apache.org/replaceMe
- </eip:namespace>
- </eip:namespaces>
- </eip:namespace-context>
+ <eip:message-filter service="replaceMe:serviceName"
+ endpoint="message-filter">
+ <eip:target>
+ <eip:exchange-target service="replaceMe:serviceName" endpoint="trace" />
+ </eip:target>
+ <eip:filter>
+ <eip:xpath-predicate xpath="count(/replaceMe:world) = 1"
+ namespaceContext="#nsContext" />
+ </eip:filter>
+ </eip:message-filter>
+ <!-- END SNIPPET: message-filter -->
+
+ <eip:namespace-context id="nsContext">
+ <eip:namespaces>
+ <eip:namespace prefix="replaceMe">http://servicemix.apache.org/replaceMe
+ </eip:namespace>
+ </eip:namespaces>
+ </eip:namespace-context>
<!-- BEGIN SNIPPET: resequencer -->
- <eip:resequencer service="replaceMe:serviceName"
- endpoint="resequencer" capacity="100" timeout="2000">
- <eip:target>
- <eip:exchange-target service="replaceMe:serviceName" endpoint="trace" />
- </eip:target>
- </eip:resequencer>
- <!-- END SNIPPET: resequencer -->
+ <eip:resequencer service="replaceMe:serviceName"
+ endpoint="resequencer" capacity="100" timeout="2000">
+ <eip:target>
+ <eip:exchange-target service="replaceMe:serviceName" endpoint="trace" />
+ </eip:target>
+ </eip:resequencer>
+ <!-- END SNIPPET: resequencer -->
-</beans>
\ No newline at end of file
+</beans>
Modified: servicemix/archetypes/trunk/servicemix-embedded-simple/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-embedded-simple/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-embedded-simple/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-embedded-simple/pom.xml Fri Jan 28 20:17:34 2011
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
+ <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version
- 2.0 (the "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0 Unless required by
- applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the
- License.
- -->
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>archetypes</artifactId>
- <version>2010.02-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-embedded-simple</artifactId>
- <name>Apache ServiceMix :: Archetypes :: Embedded Simple</name>
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+ applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the
+ License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>archetypes</artifactId>
+ <version>2010.02-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-embedded-simple</artifactId>
+ <name>Apache ServiceMix :: Archetypes :: Embedded Simple</name>
-</project>
\ No newline at end of file
+</project>
Modified: servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml Fri Jan 28 20:17:34 2011
@@ -1,51 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!-- Generated by Apache ServiceMix Archetype -->
+ <!-- Generated by Apache ServiceMix Archetype -->
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <version>${version}</version>
- <name>Apache ServiceMix :: Embedded Simple</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>servicemix-core</artifactId>
- <version>@{servicemix.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>@{maven-compiler-plugin.version}</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>@{maven-resources-plugin.version}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>jbi-maven-plugin</artifactId>
- <version>@{jbi-maven-plugin.version}</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </build>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <version>${version}</version>
+ <name>Apache ServiceMix :: Embedded Simple</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>servicemix-core</artifactId>
+ <version>@{servicemix.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@{maven-compiler-plugin.version}</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>@{maven-resources-plugin.version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>jbi-maven-plugin</artifactId>
+ <version>@{jbi-maven-plugin.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ </build>
-</project>
\ No newline at end of file
+</project>
Modified: servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java (original)
+++ servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/java/Main.java Fri Jan 28 20:17:34 2011
@@ -7,15 +7,15 @@ import org.springframework.context.Appli
public class Main {
- /**
- * @param args
- */
- public static void main(String[] args) {
- // This is a very simple example of how you might embed ServiceMix
- try {
- final ApplicationContext context = new ClassPathXmlApplicationContext("servicemix.xml");
+ /**
+ * @param args
+ */
+ public static void main(String[] args) {
+ // This is a very simple example of how you might embed ServiceMix
+ try {
+ final ApplicationContext context = new ClassPathXmlApplicationContext("servicemix.xml");
- SpringJBIContainer container = (SpringJBIContainer) context.getBean("jbi");
+ SpringJBIContainer container = (SpringJBIContainer) context.getBean("jbi");
container.onShutDown(new Runnable() {
public void run() {
if (context instanceof DisposableBean) {
@@ -28,11 +28,11 @@ public class Main {
}
}
});
- } catch (Exception e) {
- System.out.println("Caught: " + e);
- e.printStackTrace();
- }
+ } catch (Exception e) {
+ System.out.println("Caught: " + e);
+ e.printStackTrace();
+ }
- }
+ }
}
Modified: servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/resources/servicemix.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/resources/servicemix.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/resources/servicemix.xml (original)
+++ servicemix/archetypes/trunk/servicemix-embedded-simple/src/main/resources/archetype-resources/src/main/resources/servicemix.xml Fri Jan 28 20:17:34 2011
@@ -11,7 +11,7 @@
statsInterval="10"
flowName="seda">
<sm:activationSpecs>
- <!-- Place your activation specs here -->
+ <!-- Place your activation specs here -->
</sm:activationSpecs>
</sm:container>
Modified: servicemix/archetypes/trunk/servicemix-exec-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-exec-service-unit/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-exec-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-exec-service-unit/pom.xml Fri Jan 28 20:17:34 2011
@@ -1,33 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!--
+ <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version
- 2.0 (the "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0 Unless required by
- applicable law or agreed to in writing, software distributed under the
- License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
- CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the
- License.
- -->
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>archetypes</artifactId>
- <version>2010.02-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-exec-service-unit</artifactId>
- <name>Apache ServiceMix :: Archetypes :: Exec Service Unit</name>
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version
+ 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+ applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the
+ License.
+ -->
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>archetypes</artifactId>
+ <version>2010.02-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-exec-service-unit</artifactId>
+ <name>Apache ServiceMix :: Archetypes :: Exec Service Unit</name>
-</project>
\ No newline at end of file
+</project>
Modified: servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/pom.xml Fri Jan 28 20:17:34 2011
@@ -1,52 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <!-- Generated by Apache ServiceMix Archetype -->
+ <!-- Generated by Apache ServiceMix Archetype -->
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <packaging>jbi-service-unit</packaging>
- <version>${version}</version>
- <name>Apache ServiceMix :: Exec Service Unit</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>servicemix-exec</artifactId>
- <version>@{components.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>@{maven-compiler-plugin.version}</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>@{maven-resources-plugin.version}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>jbi-maven-plugin</artifactId>
- <version>@{jbi-maven-plugin.version}</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </build>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>jbi-service-unit</packaging>
+ <version>${version}</version>
+ <name>Apache ServiceMix :: Exec Service Unit</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>servicemix-exec</artifactId>
+ <version>@{components.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@{maven-compiler-plugin.version}</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>@{maven-resources-plugin.version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>jbi-maven-plugin</artifactId>
+ <version>@{jbi-maven-plugin.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ </build>
-</project>
\ No newline at end of file
+</project>
Modified: servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-exec-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Fri Jan 28 20:17:34 2011
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns:exec="http://servicemix.apache.org/exec/1.0"
- xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
+ xmlns:replaceMe="http://servicemix.apache.org/replaceMe" xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
http://servicemix.apache.org/exec/1.0 http://servicemix.apache.org/schema/servicemix-exec-@{components.version}.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
@@ -30,8 +30,8 @@
command : the fallback command or script
marshaler : the marshaler to use to parse the incoming message and construct the exec command
-->
- <exec:endpoint service="replaceMe:serviceName"
- endpoint="exec" command="date" />
+ <exec:endpoint service="replaceMe:serviceName"
+ endpoint="exec" command="date" />
<!-- END SNIPPET: exec -->
-</beans>
\ No newline at end of file
+</beans>
Modified: servicemix/archetypes/trunk/servicemix-file-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-service-unit/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-service-unit/pom.xml Fri Jan 28 20:17:34 2011
@@ -30,4 +30,4 @@
<artifactId>servicemix-file-service-unit</artifactId>
<name>Apache ServiceMix :: Archetypes :: File Service Unit</name>
-</project>
\ No newline at end of file
+</project>
Modified: servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/META-INF/maven/archetype.xml Fri Jan 28 20:17:34 2011
@@ -20,4 +20,4 @@
<resources>
<resource>src/main/resources/xbean.xml</resource>
</resources>
-</archetype>
\ No newline at end of file
+</archetype>
Modified: servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/pom.xml Fri Jan 28 20:17:34 2011
@@ -22,24 +22,24 @@
<build>
<defaultGoal>install</defaultGoal>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>@{maven-compiler-plugin.version}</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>@{maven-resources-plugin.version}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@{maven-compiler-plugin.version}</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>@{maven-resources-plugin.version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
@@ -49,4 +49,4 @@
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
Modified: servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-file-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Fri Jan 28 20:17:34 2011
@@ -81,4 +81,4 @@
directory="file:target/files" />
<!-- END SNIPPET: file-sender -->
-</beans>
\ No newline at end of file
+</beans>
Modified: servicemix/archetypes/trunk/servicemix-ftp-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-service-unit/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-service-unit/pom.xml Fri Jan 28 20:17:34 2011
@@ -30,4 +30,4 @@
<artifactId>servicemix-ftp-service-unit</artifactId>
<name>Apache ServiceMix :: Archetypes :: FTP Service Unit</name>
-</project>
\ No newline at end of file
+</project>
Modified: servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/META-INF/maven/archetype.xml Fri Jan 28 20:17:34 2011
@@ -20,4 +20,4 @@
<resources>
<resource>src/main/resources/xbean.xml</resource>
</resources>
-</archetype>
\ No newline at end of file
+</archetype>
Modified: servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/archetype-resources/pom.xml?rev=1064857&r1=1064856&r2=1064857&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-ftp-service-unit/src/main/resources/archetype-resources/pom.xml Fri Jan 28 20:17:34 2011
@@ -22,24 +22,24 @@
<build>
<defaultGoal>install</defaultGoal>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>@{maven-compiler-plugin.version}</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>@{maven-resources-plugin.version}</version>
- <configuration>
- <encoding>UTF-8</encoding>
- </configuration>
- </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>@{maven-compiler-plugin.version}</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>@{maven-resources-plugin.version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
@@ -48,4 +48,4 @@
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>