You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2007/01/10 20:03:54 UTC
svn commit: r494932 [1/2] - in /incubator/servicemix/trunk/archetypes:
servicemix-archetypes-itests/
servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/
servicemix-binding-component/src/main/resources/META-INF/maven/
servicemix-bi...
Author: gnodet
Date: Wed Jan 10 11:03:44 2007
New Revision: 494932
URL: http://svn.apache.org/viewvc?view=rev&rev=494932
Log:
Update archetypes pom.xml for repositories.
Update the BindingComponent archetype.
Also update the tests for archetypes, but it seems all tests that require actual compilation fail ...
Added:
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/AbstractArchetypeTest.java
- copied, changed from r492176, incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ArchetypeTest.java
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BindingComponentTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EIPServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EmbeddedSimpleTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpConsumerServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpProviderServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsConsumerServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsProviderServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181AnnotatedServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181WsdlFirstServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/LwContainerServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/OdeServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXQueryServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXsltServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceAssemblyTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceEngineTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceUnitTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SharedLibraryTest.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpointType.java (with props)
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java (with props)
Removed:
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ArchetypeTest.java
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerProcessor.java
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyDeployer.java
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpoint.java
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyExternalEndpoint.java
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyLifeCycle.java
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderProcessor.java
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyResolvedEndpoint.java
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MySpringComponent.java
Modified:
incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/archetype.xml
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java
incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/spring.xml
incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-http-provider-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-jms-consumer-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
incubator/servicemix/trunk/archetypes/servicemix-jms-provider-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-jsr181-annotated-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-jsr181-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-lwcontainer-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-ode-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-saxon-xquery-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-saxon-xslt-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-service-assembly/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-service-engine/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-service-unit/src/main/resources/archetype-resources/pom.xml
incubator/servicemix/trunk/archetypes/servicemix-shared-library/src/main/resources/archetype-resources/pom.xml
Modified: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/pom.xml?view=diff&rev=494932&r1=494931&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/pom.xml Wed Jan 10 11:03:44 2007
@@ -78,6 +78,11 @@
</dependency>
<dependency>
<groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-jsr181-annotated-service-unit</artifactId>
+ <version>${servicemix-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicemix.tooling</groupId>
<artifactId>servicemix-jsr181-wsdl-first-service-unit</artifactId>
<version>${servicemix-version}</version>
</dependency>
@@ -88,6 +93,21 @@
</dependency>
<dependency>
<groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-ode-service-unit</artifactId>
+ <version>${servicemix-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-saxon-xquery-service-unit</artifactId>
+ <version>${servicemix-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicemix.tooling</groupId>
+ <artifactId>servicemix-saxon-xslt-service-unit</artifactId>
+ <version>${servicemix-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicemix.tooling</groupId>
<artifactId>servicemix-service-assembly</artifactId>
<version>${servicemix-version}</version>
</dependency>
@@ -113,6 +133,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*Test*</include>
+ </includes>
+ <excludes>
+ <exclude>**/BindingComponent*</exclude>
+ <exclude>**/Jsr181*</exclude>
+ <exclude>**/ServiceEngine*</exclude>
+ <exclude>**/EmbeddedSimple*</exclude>
+ </excludes>
+ <forkMode>always</forkMode>
+ </configuration>
</plugin>
</plugins>
</build>
Copied: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/AbstractArchetypeTest.java (from r492176, incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ArchetypeTest.java)
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/AbstractArchetypeTest.java?view=diff&rev=494932&p1=incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ArchetypeTest.java&r1=492176&p2=incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/AbstractArchetypeTest.java&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ArchetypeTest.java (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/AbstractArchetypeTest.java Wed Jan 10 11:03:44 2007
@@ -34,9 +34,9 @@
import org.apache.maven.project.MavenProject;
import org.codehaus.plexus.util.FileUtils;
-public class ArchetypeTest extends TestCase {
+public abstract class AbstractArchetypeTest extends TestCase {
- private File baseDir = new File(System.getProperty("basedir", ".")).getAbsoluteFile();
+ private static final File baseDir = new File(System.getProperty("basedir", ".")).getAbsoluteFile();
private MavenEmbedder maven;
private Properties sysProps = System.getProperties();
@@ -67,58 +67,6 @@
maven.stop();
maven = null;
System.gc();
- }
-
- public void testBindingComponent() throws Exception {
- testServiceMixArchetype("binding-component");
- }
-
- public void testEIPServiceUnit() throws Exception {
- testServiceMixArchetype("eip-service-unit");
- }
-
- public void testEmbeddedSimple() throws Exception {
- testServiceMixArchetype("embedded-simple");
- }
-
- public void testHttpConsumerServiceUnit() throws Exception {
- testServiceMixArchetype("http-consumer-service-unit");
- }
-
- public void testHttpProviderServiceUnit() throws Exception {
- testServiceMixArchetype("http-provider-service-unit");
- }
-
- public void testJmsConsumerServiceUnit() throws Exception {
- testServiceMixArchetype("jms-consumer-service-unit");
- }
-
- public void testJmsProviderServiceUnit() throws Exception {
- testServiceMixArchetype("jms-provider-service-unit");
- }
-
- public void testJsr181WsdlFirstServiceUnit() throws Exception {
- testServiceMixArchetype("jsr181-wsdl-first-service-unit");
- }
-
- public void testLwContainerServiceUnit() throws Exception {
- testServiceMixArchetype("lwcontainer-service-unit");
- }
-
- public void testServiceAssembly() throws Exception {
- testServiceMixArchetype("service-assembly");
- }
-
- public void testServiceEngine() throws Exception {
- testServiceMixArchetype("service-engine");
- }
-
- public void testServiceUnit() throws Exception {
- testServiceMixArchetype("service-unit");
- }
-
- public void testSharedLibrary() throws Exception {
- testServiceMixArchetype("shared-library");
}
protected void testServiceMixArchetype(String artifactId) throws Exception {
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BindingComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BindingComponentTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BindingComponentTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BindingComponentTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class BindingComponentTest extends AbstractArchetypeTest {
+
+ public void testBindingComponent() throws Exception {
+ testServiceMixArchetype("binding-component");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BindingComponentTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BindingComponentTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/BindingComponentTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EIPServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EIPServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EIPServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EIPServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class EIPServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testEIPServiceUnit() throws Exception {
+ testServiceMixArchetype("eip-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EIPServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EIPServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EIPServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EmbeddedSimpleTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EmbeddedSimpleTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EmbeddedSimpleTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EmbeddedSimpleTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class EmbeddedSimpleTest extends AbstractArchetypeTest {
+
+ public void testEmbeddedSimple() throws Exception {
+ testServiceMixArchetype("embedded-simple");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EmbeddedSimpleTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EmbeddedSimpleTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/EmbeddedSimpleTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpConsumerServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpConsumerServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpConsumerServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpConsumerServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class HttpConsumerServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testHttpConsumerServiceUnit() throws Exception {
+ testServiceMixArchetype("http-consumer-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpConsumerServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpConsumerServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpConsumerServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpProviderServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpProviderServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpProviderServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpProviderServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class HttpProviderServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testHttpProviderServiceUnit() throws Exception {
+ testServiceMixArchetype("http-provider-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpProviderServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpProviderServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/HttpProviderServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsConsumerServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsConsumerServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsConsumerServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsConsumerServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class JmsConsumerServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testJmsConsumerServiceUnit() throws Exception {
+ testServiceMixArchetype("jms-consumer-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsConsumerServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsConsumerServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsConsumerServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsProviderServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsProviderServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsProviderServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsProviderServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class JmsProviderServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testJmsProviderServiceUnit() throws Exception {
+ testServiceMixArchetype("jms-provider-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsProviderServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsProviderServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/JmsProviderServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181AnnotatedServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181AnnotatedServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181AnnotatedServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181AnnotatedServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class Jsr181AnnotatedServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testJsr181AnnotatedServiceUnit() throws Exception {
+ testServiceMixArchetype("jsr181-annotated-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181AnnotatedServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181AnnotatedServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181AnnotatedServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181WsdlFirstServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181WsdlFirstServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181WsdlFirstServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181WsdlFirstServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class Jsr181WsdlFirstServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testJsr181WsdlFirstServiceUnit() throws Exception {
+ testServiceMixArchetype("jsr181-wsdl-first-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181WsdlFirstServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181WsdlFirstServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/Jsr181WsdlFirstServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/LwContainerServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/LwContainerServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/LwContainerServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/LwContainerServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class LwContainerServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testLwContainerServiceUnit() throws Exception {
+ testServiceMixArchetype("lwcontainer-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/LwContainerServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/LwContainerServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/LwContainerServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/OdeServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/OdeServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/OdeServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/OdeServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class OdeServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testOdeServiceUnit() throws Exception {
+ testServiceMixArchetype("ode-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/OdeServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/OdeServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/OdeServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXQueryServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXQueryServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXQueryServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXQueryServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class SaxonXQueryServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testSaxonXQueryServiceUnit() throws Exception {
+ testServiceMixArchetype("saxon-xquery-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXQueryServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXQueryServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXQueryServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXsltServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXsltServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXsltServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXsltServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class SaxonXsltServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testSaxonXsltServiceUnit() throws Exception {
+ testServiceMixArchetype("saxon-xslt-service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXsltServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXsltServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SaxonXsltServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceAssemblyTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceAssemblyTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceAssemblyTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceAssemblyTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class ServiceAssemblyTest extends AbstractArchetypeTest {
+
+ public void testServiceAssembly() throws Exception {
+ testServiceMixArchetype("service-assembly");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceAssemblyTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceAssemblyTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceAssemblyTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceEngineTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceEngineTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceEngineTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceEngineTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class ServiceEngineTest extends AbstractArchetypeTest {
+
+ public void testServiceEngine() throws Exception {
+ testServiceMixArchetype("service-engine");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceEngineTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceEngineTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceEngineTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceUnitTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceUnitTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceUnitTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceUnitTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class ServiceUnitTest extends AbstractArchetypeTest {
+
+ public void testServiceUnit() throws Exception {
+ testServiceMixArchetype("service-unit");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceUnitTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceUnitTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ServiceUnitTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SharedLibraryTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SharedLibraryTest.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SharedLibraryTest.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SharedLibraryTest.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,25 @@
+/*
+ * 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.
+ */
+package org.apache.servicemix.tooling;
+
+public class SharedLibraryTest extends AbstractArchetypeTest {
+
+ public void testSharedLibrary() throws Exception {
+ testServiceMixArchetype("shared-library");
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SharedLibraryTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SharedLibraryTest.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/SharedLibraryTest.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/archetype.xml?view=diff&rev=494932&r1=494931&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/archetype.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/META-INF/maven/archetype.xml Wed Jan 10 11:03:44 2007
@@ -22,14 +22,9 @@
<sources>
<source>src/main/java/MyBootstrap.java</source>
<source>src/main/java/MyComponent.java</source>
- <source>src/main/java/MyConsumerProcessor.java</source>
- <source>src/main/java/MyDeployer.java</source>
- <source>src/main/java/MyEndpoint.java</source>
- <source>src/main/java/MyExternalEndpoint.java</source>
- <source>src/main/java/MyLifeCycle.java</source>
- <source>src/main/java/MyProviderProcessor.java</source>
- <source>src/main/java/MyResolvedEndpoint.java</source>
- <source>src/main/java/MySpringComponent.java</source>
+ <source>src/main/java/MyConsumerEndpoint.java</source>
+ <source>src/main/java/MyEndpointType.java</source>
+ <source>src/main/java/MyProviderEndpoint.java</source>
</sources>
<testSources>
<source>src/test/java/MySpringComponentTest.java</source>
Modified: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml?view=diff&rev=494932&r1=494931&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/pom.xml Wed Jan 10 11:03:44 2007
@@ -28,9 +28,20 @@
<url>http://www.myorganization.org</url>
<pluginRepositories>
<pluginRepository>
+ <id>apache.incubating</id>
+ <name>Apache Incubating Repository</name>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ <pluginRepository>
<id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
@@ -41,9 +52,20 @@
</pluginRepositories>
<repositories>
<repository>
+ <id>apache.incubating</id>
+ <name>Apache Incubating Repository</name>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
<id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
@@ -51,14 +73,9 @@
<enabled>false</enabled>
</releases>
</repository>
- <repository>
- <id>servicemix-m2-repo</id>
- <name>Servicemix Maven2 Repository</name>
- <url>http://servicemix.org/m2-repo</url>
- </repository>
</repositories>
<properties>
- <xbean-version>2.6</xbean-version>
+ <xbean-version>2.8</xbean-version>
<servicemix-version>3.1-incubating-SNAPSHOT</servicemix-version>
</properties>
<dependencies>
@@ -71,6 +88,7 @@
<groupId>org.apache.servicemix</groupId>
<artifactId>servicemix-core</artifactId>
<version>${servicemix-version}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
Modified: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java?view=diff&rev=494932&r1=494931&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyComponent.java Wed Jan 10 11:03:44 2007
@@ -16,29 +16,42 @@
*/
package ${packageName};
-import org.apache.servicemix.common.BaseComponent;
-import org.apache.servicemix.common.BaseLifeCycle;
-import org.apache.servicemix.common.BaseServiceUnitManager;
-import org.apache.servicemix.common.Deployer;
+import java.util.List;
+
+import javax.jbi.servicedesc.ServiceEndpoint;
+
+import org.apache.servicemix.common.DefaultComponent;
+import org.apache.servicemix.common.Endpoint;
/**
- *
+ * @org.apache.xbean.XBean element="component"
*/
-public class MyComponent extends BaseComponent
+public class MyComponent extends DefaultComponent
{
- /* (non-Javadoc)
- * @see org.servicemix.common.BaseComponent#createLifeCycle()
- */
- protected BaseLifeCycle createLifeCycle() {
- return new MyLifeCycle(this);
+
+ private MyEndpointType[] endpoints;
+
+ public MyEndpointType[] getEndpoints() {
+ return endpoints;
+ }
+
+ public void setEndpoints(MyEndpointType[] endpoints) {
+ this.endpoints = endpoints;
+ }
+
+ protected List getConfiguredEndpoints() {
+ return asList(getEndpoints());
+ }
+
+ protected Class[] getEndpointClasses() {
+ return new Class[] { MyConsumerEndpoint.class, MyProviderEndpoint.class };
}
- /* (non-Javadoc)
- * @see org.servicemix.common.BaseComponent#createServiceUnitManager()
- */
- public BaseServiceUnitManager createServiceUnitManager() {
- Deployer[] deployers = new Deployer[] { new MyDeployer(this) };
- return new BaseServiceUnitManager(this, deployers);
+ protected Endpoint getResolvedEPR(ServiceEndpoint ep) throws Exception {
+ MyProviderEndpoint endpoint = new MyProviderEndpoint(this, ep);
+ // TODO: initialize endpoint here
+ endpoint.activate();
+ return endpoint;
}
}
Added: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,53 @@
+/*
+ * 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.
+ */
+package ${packageName};
+
+import javax.jbi.management.DeploymentException;
+import javax.jbi.messaging.MessageExchange;
+
+import org.apache.servicemix.common.endpoints.ConsumerEndpoint;
+
+/**
+ * @org.apache.xbean.XBean element="consumer"
+ */
+public class MyConsumerEndpoint extends ConsumerEndpoint implements MyEndpointType {
+
+ public void validate() throws DeploymentException {
+ super.validate();
+ }
+
+ public String getLocationURI() {
+ // TODO: return a URI that unique identify this endpoint
+ return getService() + "#" + getEndpoint();
+ }
+
+ public void start() throws Exception {
+ super.start();
+ // TODO: Add code to start listening to incoming requests
+ }
+
+ public void stop() throws Exception {
+ // TODO: stop listenening
+ super.stop();
+ }
+
+ public void process(MessageExchange exchange) throws Exception {
+ // TODO: As we act as a consumer (we just send JBI exchanges)
+ // we will receive responses or DONE / ERROR status here
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyConsumerEndpoint.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpointType.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpointType.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpointType.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpointType.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,24 @@
+/*
+ * 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.
+ */
+package ${packageName};
+
+/**
+ * Marker interface for XBean schema generation
+ */
+public interface MyEndpointType {
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpointType.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpointType.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyEndpointType.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java?view=auto&rev=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java (added)
+++ incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java Wed Jan 10 11:03:44 2007
@@ -0,0 +1,58 @@
+/*
+ * 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.
+ */
+package ${packageName};
+
+import javax.jbi.management.DeploymentException;
+import javax.jbi.messaging.MessagingException;
+import javax.jbi.messaging.MessageExchange;
+import javax.jbi.messaging.NormalizedMessage;
+import javax.jbi.servicedesc.ServiceEndpoint;
+import javax.xml.namespace.QName;
+
+import org.apache.servicemix.common.DefaultComponent;
+import org.apache.servicemix.common.ServiceUnit;
+import org.apache.servicemix.common.endpoints.ProviderEndpoint;
+
+/**
+ * @org.apache.xbean.XBean element="provider"
+ */
+public class MyProviderEndpoint extends ProviderEndpoint implements MyEndpointType {
+
+ public MyProviderEndpoint() {
+ }
+
+ public MyProviderEndpoint(ServiceUnit serviceUnit, QName service, String endpoint) {
+ super(serviceUnit, service, endpoint);
+ }
+
+ public MyProviderEndpoint(DefaultComponent component, ServiceEndpoint endpoint) {
+ super(component, endpoint);
+ }
+
+ public void validate() throws DeploymentException {
+ super.validate();
+ }
+
+ protected void processInOnly(MessageExchange exchange, NormalizedMessage in) throws Exception {
+ throw new UnsupportedOperationException("Unsupported MEP: " + exchange.getPattern());
+ }
+
+ protected void processInOut(MessageExchange exchange, NormalizedMessage in, NormalizedMessage out) throws Exception {
+ throw new UnsupportedOperationException("Unsupported MEP: " + exchange.getPattern());
+ }
+
+}
Propchange: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java
------------------------------------------------------------------------------
svn:keywords = Date Revision
Propchange: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/main/java/MyProviderEndpoint.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java?view=diff&rev=494932&r1=494931&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/java/MySpringComponentTest.java Wed Jan 10 11:03:44 2007
@@ -35,18 +35,8 @@
me.setService(new QName("urn:test", "service"));
me.getInMessage().setContent(new StringSource("<hello>world</hello>"));
client.sendSync(me);
- if (me.getStatus() == ExchangeStatus.ERROR) {
- if (me.getFault() != null) {
- fail("Received fault: " + new SourceTransformer().toString(me.getFault().getContent()));
- } else if (me.getError() != null) {
- throw me.getError();
- } else {
- fail("Received ERROR status");
- }
- } else {
- System.out.println(new SourceTransformer().toString(me.getOutMessage().getContent()));
- }
- client.done(me);
+ // By default, the endpoint throws an UnsupportedOperationException
+ // so do not test anything here
}
protected AbstractXmlApplicationContext createBeanFactory() {
Modified: incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/spring.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/spring.xml?view=diff&rev=494932&r1=494931&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/spring.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-binding-component/src/main/resources/archetype-resources/src/test/resources/spring.xml Wed Jan 10 11:03:44 2007
@@ -29,7 +29,7 @@
<sm:component>
<my:component>
<my:endpoints>
- <my:endpoint service="test:service" endpoint="endpoint" />
+ <my:provider service="test:service" endpoint="endpoint" />
</my:endpoints>
</my:component>
</sm:component>
Modified: incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml?view=diff&rev=494932&r1=494931&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-eip-service-unit/src/main/resources/archetype-resources/pom.xml Wed Jan 10 11:03:44 2007
@@ -28,9 +28,20 @@
<url>http://www.myorganization.org</url>
<pluginRepositories>
<pluginRepository>
+ <id>apache.incubating</id>
+ <name>Apache Incubating Repository</name>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ <pluginRepository>
<id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
@@ -41,9 +52,20 @@
</pluginRepositories>
<repositories>
<repository>
+ <id>apache.incubating</id>
+ <name>Apache Incubating Repository</name>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
<id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
Modified: incubator/servicemix/trunk/archetypes/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml?view=diff&rev=494932&r1=494931&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-embedded-simple/src/main/resources/archetype-resources/pom.xml Wed Jan 10 11:03:44 2007
@@ -27,9 +27,20 @@
<url>http://www.myorganization.org</url>
<pluginRepositories>
<pluginRepository>
+ <id>apache.incubating</id>
+ <name>Apache Incubating Repository</name>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ <pluginRepository>
<id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
@@ -40,9 +51,20 @@
</pluginRepositories>
<repositories>
<repository>
+ <id>apache.incubating</id>
+ <name>Apache Incubating Repository</name>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
<id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
@@ -54,7 +76,7 @@
<dependencies>
</dependencies>
<properties>
- <xbean-version>2.6</xbean-version>
+ <xbean-version>2.8</xbean-version>
<servicemix-version>3.1-incubating-SNAPSHOT</servicemix-version>
</properties>
<build>
Modified: incubator/servicemix/trunk/archetypes/servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml?view=diff&rev=494932&r1=494931&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-http-consumer-service-unit/src/main/resources/archetype-resources/pom.xml Wed Jan 10 11:03:44 2007
@@ -28,9 +28,20 @@
<url>http://www.myorganization.org</url>
<pluginRepositories>
<pluginRepository>
+ <id>apache.incubating</id>
+ <name>Apache Incubating Repository</name>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ <pluginRepository>
<id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
@@ -41,9 +52,20 @@
</pluginRepositories>
<repositories>
<repository>
+ <id>apache.incubating</id>
+ <name>Apache Incubating Repository</name>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
<id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
Modified: incubator/servicemix/trunk/archetypes/servicemix-http-provider-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/archetypes/servicemix-http-provider-service-unit/src/main/resources/archetype-resources/pom.xml?view=diff&rev=494932&r1=494931&r2=494932
==============================================================================
--- incubator/servicemix/trunk/archetypes/servicemix-http-provider-service-unit/src/main/resources/archetype-resources/pom.xml (original)
+++ incubator/servicemix/trunk/archetypes/servicemix-http-provider-service-unit/src/main/resources/archetype-resources/pom.xml Wed Jan 10 11:03:44 2007
@@ -28,9 +28,20 @@
<url>http://www.myorganization.org</url>
<pluginRepositories>
<pluginRepository>
+ <id>apache.incubating</id>
+ <name>Apache Incubating Repository</name>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ <pluginRepository>
<id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
@@ -41,9 +52,20 @@
</pluginRepositories>
<repositories>
<repository>
+ <id>apache.incubating</id>
+ <name>Apache Incubating Repository</name>
+ <url>http://people.apache.org/repo/m2-incubating-repository</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
<id>apache.snapshots</id>
- <name>Maven Central Plugins Development Repository</name>
- <url>http://cvs.apache.org/maven-snapshot-repository</url>
+ <name>Apache Snapshots Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>