You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2010/08/10 17:05:20 UTC
svn commit: r984071 [3/8] - in /servicemix/archetypes/trunk: ./
servicemix-archetype-catalog/ servicemix-archetypes-itests/
servicemix-bean-service-unit/
servicemix-bean-service-unit/src/main/resources/META-INF/maven/
servicemix-bean-service-unit/src/m...
Added: servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=984071&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/META-INF/maven/archetype.xml (added)
+++ servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -0,0 +1,26 @@
+<?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.
+
+-->
+<archetype>
+ <id>servicemix-cxf-bc-provider-service-unit</id>
+ <resources>
+ <resource>src/main/resources/xbean.xml</resource>
+ <resource>src/main/resources/service.wsdl</resource>
+ </resources>
+</archetype>
\ No newline at end of file
Propchange: servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/pom.xml?rev=984071&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/pom.xml (added)
+++ servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/pom.xml Tue Aug 10 15:05:12 2010
@@ -0,0 +1,48 @@
+<?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>jbi-service-unit</packaging>
+ <version>${version}</version>
+ <name>Apache ServiceMix :: CXF BC Provider Service Unit</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>servicemix-cxf-bc</artifactId>
+ <version>@{components.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <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
Propchange: servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl?rev=984071&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl (added)
+++ servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl Tue Aug 10 15:05:12 2010
@@ -0,0 +1,26 @@
+<?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.
+ -->
+<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://www.example.org/example/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="example"
+ targetNamespace="http://www.example.org/example/">
+
+ <wsdl:service name="example">
+
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
Propchange: servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/service.wsdl
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=984071&view=auto
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (added)
+++ servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Tue Aug 10 15:05:12 2010
@@ -0,0 +1,33 @@
+<?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.
+ -->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
+ xmlns:replaceMe="http://servicemix.apache.org/replaceMe"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://servicemix.apache.org/cxfbc/1.0 http://servicemix.apache.org/schema/servicemix-cxfbc-@{components-version}.xsd
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+
+ <!-- BEGIN SNIPPET: cxfbc-provider -->
+ <cxfbc:provider wsdl="classpath:service.wsdl"
+ locationURI="http://localhost:9001/service"
+ service="replaceMe:serviceName"
+ endpoint="cxfbc-provider"
+ interfaceName="service:ServicePortType" />
+ <!-- END SNIPPET: cxfbc-provider -->
+
+</beans>
\ No newline at end of file
Propchange: servicemix/archetypes/trunk/servicemix-cxf-bc-provider-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/pom.xml?rev=984071&r1=983619&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,34 +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.
-
--->
-<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/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>archetypes</artifactId>
- <version>2010.01-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-osgi-cxf-code-first-archetype</artifactId>
- <name>ServiceMix :: Archetypes :: CXFCodeFirstOSGiServiceUnit</name>
+ <!--
-</project>
+ 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.01-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-cxf-code-first-osgi-bundle</artifactId>
+ <name>Apache ServiceMix :: Archetypes :: CXF Code First OSGi Bundle</name>
+
+</project>
\ No newline at end of file
Modified: servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/META-INF/maven/archetype.xml?rev=984071&r1=983619&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -1,38 +1,35 @@
<?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.
+ -->
<archetype>
- <id>cxf-osgi-service-unit</id>
-
- <sources>
- <source>src/main/java/Person.java</source>
- <source>src/main/java/PersonImpl.java</source>
- <source>src/main/java/UnknownPersonFault.java</source>
- <source>src/main/java/types/GetPerson.java</source>
- <source>src/main/java/types/GetPersonResponse.java</source>
- <source>src/main/java/types/ObjectFactory.java</source>
- <source>src/main/java/types/package-info.java</source>
- <source>src/main/java/types/UnknownPersonFault.java</source>
- <source>src/main/java/client/Client.java</source>
- </sources>
-
- <resources>
- <resource>src/main/resources/META-INF/spring/beans.xml</resource>
- </resources>
-</archetype>
+ <id>servicemix-cxf-code-first-osgi-bundle</id>
+ <sources>
+ <source>src/main/java/Person.java</source>
+ <source>src/main/java/PersonImpl.java</source>
+ <source>src/main/java/UnknownPersonFault.java</source>
+ <source>src/main/java/types/GetPerson.java</source>
+ <source>src/main/java/types/GetPersonResponse.java</source>
+ <source>src/main/java/types/ObjectFactory.java</source>
+ <source>src/main/java/types/package-info.java</source>
+ <source>src/main/java/types/UnknownPersonFault.java</source>
+ <source>src/main/java/client/Client.java</source>
+ </sources>
+
+ <resources>
+ <resource>src/main/resources/META-INF/spring/beans.xml</resource>
+ </resources>
+</archetype>
\ No newline at end of file
Modified: servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml?rev=984071&r1=983619&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-code-first-osgi-bundle/src/main/resources/archetype-resources/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,139 +1,136 @@
<?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/maven-v4_0_0.xsd">
+<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>A CXF Code First OSGi Project</name>
- <url>http://www.myorganization.org</url>
-
- <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>
-
- <!-- Needed for Client -->
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-frontend-jaxws</artifactId>
- <version>@{cxf.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-rt-transports-http</artifactId>
- <version>@{cxf.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-SymbolicName>${pom.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 Code 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>
+
+ <!-- Needed for Client -->
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-frontend-jaxws</artifactId>
+ <version>@{cxf.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-transports-http</artifactId>
+ <version>@{cxf.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${pom.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>
- <Private-Package>
- !${packageName}.client,
- ${packageName},
- ${packageName}.types
+ <Private-Package>
+ !${packageName}.client,
+ ${packageName},
+ ${packageName}.types
</Private-Package>
- <Require-Bundle>org.apache.cxf.bundle</Require-Bundle>
- <!--
- <DynamicImport-Package>*</DynamicImport-Package>
- -->
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>client</id>
- <build>
- <defaultGoal>test</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
- <mainClass>${packageName}.client.Client</mainClass>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <Require-Bundle>org.apache.cxf.bundle</Require-Bundle>
+ <!--
+ <DynamicImport-Package>*</DynamicImport-Package>
+ -->
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>client</id>
+ <build>
+ <defaultGoal>test</defaultGoal>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>test</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <mainClass>${packageName}.client.Client</mainClass>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
Modified: servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,34 +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/maven-v4_0_0.xsd">
+<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.01-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-cxf-se-service-unit</artifactId>
- <name>ServiceMix :: Archetypes :: CxfSEServiceUnit</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.01-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-cxf-se-service-unit</artifactId>
+ <name>Apache ServiceMix :: Archetypes :: CXF SE Service Unit</name>
-</project>
+</project>
\ No newline at end of file
Modified: servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -25,4 +25,4 @@
<resources>
<resource>src/main/resources/xbean.xml</resource>
</resources>
-</archetype>
+</archetype>
\ No newline at end of file
Modified: servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,57 +1,56 @@
<?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.
-
--->
-<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/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <packaging>jbi-service-unit</packaging>
- <version>${version}</version>
- <name>A custom project</name>
- <url>http://www.myorganization.org</url>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>servicemix-cxf-se</artifactId>
- <version>@{components.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </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>
+ <!--
+
+ 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>jbi-service-unit</packaging>
+ <version>${version}</version>
+ <name>Apache ServiceMix :: CXF SE Service Unit</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>servicemix-cxf-se</artifactId>
+ <version>@{components.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </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
Modified: servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-se-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Tue Aug 10 15:05:12 2010
@@ -23,10 +23,12 @@
xsi:schemaLocation="http://servicemix.apache.org/cxfse/1.0 http://servicemix.apache.org/schema/servicemix-cxfse-@{components-version}.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+ <!-- BEGIN SNIPPET: cxfse-pojo -->
<cxfse:endpoint>
<cxfse:pojo>
<bean class="${packageName}.ExampleService" />
</cxfse:pojo>
</cxfse:endpoint>
+ <!-- END SNIPPET: cxfse-pojo -->
-</beans>
+</beans>
\ No newline at end of file
Modified: servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,34 +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/maven-v4_0_0.xsd">
+<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.01-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-cxf-se-wsdl-first-service-unit</artifactId>
- <name>ServiceMix :: Archetypes :: CxfSEWsdlFirstServiceUnit</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.01-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-cxf-se-wsdl-first-service-unit</artifactId>
+ <name>Apache ServiceMix :: Archetypes :: CXF SE WSDL First Service Unit</name>
-</project>
+</project>
\ No newline at end of file
Modified: servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml Tue Aug 10 15:05:12 2010
@@ -18,7 +18,7 @@
-->
<archetype>
- <id>servicemix-cxf-se-service-unit</id>
+ <id>servicemix-cxf-se-wsdl-first-service-unit</id>
<sources>
<source>src/main/java/PersonImpl.java</source>
</sources>
@@ -26,4 +26,4 @@
<resource>src/main/resources/xbean.xml</resource>
<resource>src/main/resources/person.wsdl</resource>
</resources>
-</archetype>
+</archetype>
\ No newline at end of file
Modified: servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,84 +1,82 @@
<?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.
-
--->
-<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/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <packaging>jbi-service-unit</packaging>
- <version>${version}</version>
- <name>A custom project</name>
- <url>http://www.myorganization.org</url>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>servicemix-cxf-se</artifactId>
- <version>@{components.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>jbi-maven-plugin</artifactId>
- <version>@{jbi-maven-plugin.version}</version>
- <extensions>true</extensions>
- </plugin>
- <plugin>
- <groupId>org.apache.cxf</groupId>
- <artifactId>cxf-codegen-plugin</artifactId>
- <version>@{cxf.version}</version>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <configuration>
- <sourceRoot>\${basedir}/src/main/java</sourceRoot>
- <wsdlOptions>
- <wsdlOption>
- <!-- Update wsdl tag with appropriate wsdl file -->
- <wsdl>\${basedir}/src/main/resources/person.wsdl</wsdl>
- <extraargs>
- <extraarg>-verbose</extraarg>
- </extraargs>
- </wsdlOption>
-
- </wsdlOptions>
-
- </configuration>
- <goals>
- <goal>wsdl2java</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <!--
+
+ 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>jbi-service-unit</packaging>
+ <version>${version}</version>
+ <name>Apache ServiceMix :: CXF SE WSDL First Service Unit</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>servicemix-cxf-se</artifactId>
+ <version>@{components.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>jbi-maven-plugin</artifactId>
+ <version>@{jbi-maven-plugin.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-codegen-plugin</artifactId>
+ <version>@{cxf.version}</version>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <configuration>
+ <sourceRoot>\${basedir}/src/main/java</sourceRoot>
+ <wsdlOptions>
+ <wsdlOption>
+ <!-- Update wsdl tag with appropriate wsdl file -->
+ <wsdl>\${basedir}/src/main/resources/person.wsdl</wsdl>
+ <extraargs>
+ <extraarg>-verbose</extraarg>
+ </extraargs>
+ </wsdlOption>
+
+ </wsdlOptions>
+
+ </configuration>
+ <goals>
+ <goal>wsdl2java</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
Modified: servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (original)
+++ servicemix/archetypes/trunk/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Tue Aug 10 15:05:12 2010
@@ -23,10 +23,12 @@
xsi:schemaLocation="http://servicemix.apache.org/cxfse/1.0 http://servicemix.apache.org/schema/servicemix-cxfse-@{components-version}.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
+ <!-- BEGIN SNIPPET: cxfse -->
<cxfse:endpoint>
<cxfse:pojo>
<bean class="${packageName}.PersonImpl" />
</cxfse:pojo>
</cxfse:endpoint>
+ <!-- END SNIPPET: cxfse -->
-</beans>
+</beans>
\ No newline at end of file
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=984071&r1=983619&r2=984071&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 Tue Aug 10 15:05:12 2010
@@ -1,35 +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.
-
--->
-<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/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.servicemix</groupId>
- <artifactId>archetypes</artifactId>
- <version>2010.01-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-osgi-cxf-wsdl-first-archetype</artifactId>
- <name>ServiceMix :: Archetypes :: CXFWSDLFirstOSGiServiceUnit</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.
+ -->
+<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>
+
+ <parent>
+ <groupId>org.apache.servicemix</groupId>
+ <artifactId>archetypes</artifactId>
+ <version>2010.01-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>
+</project>
\ No newline at end of file
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=984071&r1=983619&r2=984071&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 Tue Aug 10 15:05:12 2010
@@ -1,30 +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>cxf-osgi-service-unit</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>
+ <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
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=984071&r1=983619&r2=984071&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 Tue Aug 10 15:05:12 2010
@@ -1,130 +1,130 @@
<?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/maven-v4_0_0.xsd">
+<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>A CXF WSDL First OSGi Project </name>
- <url>http://www.myorganization.org</url>
-
- <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>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </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>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-SymbolicName>${pom.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>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </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>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${pom.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>
+ <Require-Bundle>org.apache.cxf.bundle</Require-Bundle>
+ <!--
+ <DynamicImport-Package>*</DynamicImport-Package>
+ -->
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
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=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-drools-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-drools-service-unit/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,34 +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/maven-v4_0_0.xsd">
+<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.01-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-drools-service-unit</artifactId>
- <name>ServiceMix :: Archetypes :: DroolsServiceUnit</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.01-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-drools-service-unit</artifactId>
+ <name>Apache ServiceMix :: Archetypes :: Drools Service Unit</name>
-</project>
+</project>
\ No newline at end of file
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=984071&r1=984070&r2=984071&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 Tue Aug 10 15:05:12 2010
@@ -1,50 +1,49 @@
<?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.
-
--->
-<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/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <packaging>jbi-service-unit</packaging>
- <version>${version}</version>
- <name>A Drools Service Unit</name>
- <url>http://www.myorganization.org</url>
-
- <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.servicemix.tooling</groupId>
- <artifactId>jbi-maven-plugin</artifactId>
- <version>@{jbi-maven-plugin.version}</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </build>
-</project>
+ <!--
+
+ 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>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>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <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
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=984071&r1=984070&r2=984071&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 Tue Aug 10 15:05:12 2010
@@ -1,40 +1,37 @@
<?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: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">
- <drools:endpoint service="replaceMe:myRouter"
- endpoint="endpoint"
- 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>
+ <!-- BEGIN SNIPPET: drools -->
+ <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 -->
-</beans>
+</beans>
\ No newline at end of file
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=984071&r1=984070&r2=984071&view=diff
==============================================================================
--- servicemix/archetypes/trunk/servicemix-eip-service-unit/pom.xml (original)
+++ servicemix/archetypes/trunk/servicemix-eip-service-unit/pom.xml Tue Aug 10 15:05:12 2010
@@ -1,34 +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/maven-v4_0_0.xsd">
+<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.01-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.servicemix.tooling</groupId>
- <artifactId>servicemix-eip-service-unit</artifactId>
- <name>ServiceMix :: Archetypes :: EIPServiceUnit</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.01-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-eip-service-unit</artifactId>
+ <name>Apache ServiceMix :: Archetypes :: EIP Service Unit</name>
-</project>
+</project>
\ No newline at end of file
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=984071&r1=984070&r2=984071&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 Tue Aug 10 15:05:12 2010
@@ -18,8 +18,8 @@
-->
<archetype>
- <id>servicemix-su</id>
+ <id>servicemix-eip-service-unit</id>
<resources>
<resource>src/main/resources/xbean.xml</resource>
</resources>
-</archetype>
+</archetype>
\ No newline at end of file
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=984071&r1=984070&r2=984071&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 Tue Aug 10 15:05:12 2010
@@ -1,50 +1,49 @@
<?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.
-
--->
-<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/maven-v4_0_0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>${groupId}</groupId>
- <artifactId>${artifactId}</artifactId>
- <packaging>jbi-service-unit</packaging>
- <version>${version}</version>
- <name>A Service HTTP Service Engine Service Unit</name>
- <url>http://www.myorganization.org</url>
-
- <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.servicemix.tooling</groupId>
- <artifactId>jbi-maven-plugin</artifactId>
- <version>@{jbi-maven-plugin.version}</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </build>
-</project>
+ <!--
+
+ 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>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>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <plugins>
+ <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