You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ke...@apache.org on 2010/05/27 13:06:51 UTC
svn commit: r948784 - in /tuscany/sandbox/kgoodson/testroot: ./ proj1/
proj1/src/ proj1/src/main/ proj1/src/main/java/ proj1/src/main/java/a/
proj1/src/main/java/b/ proj1/src/main/java/org/
proj1/src/main/java/org/apache/ proj1/src/main/java/org/apache...
Author: kelvingoodson
Date: Thu May 27 11:06:50 2010
New Revision: 948784
URL: http://svn.apache.org/viewvc?rev=948784&view=rev
Log:
sandbox structure for understanding maven javadoc plugin params and behaviour in reactor build
Added:
tuscany/sandbox/kgoodson/testroot/
tuscany/sandbox/kgoodson/testroot/pom.xml (with props)
tuscany/sandbox/kgoodson/testroot/proj1/
tuscany/sandbox/kgoodson/testroot/proj1/pom.xml (with props)
tuscany/sandbox/kgoodson/testroot/proj1/src/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/Hay.java (with props)
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldImpl.java (with props)
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldService.java (with props)
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/b/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/b/Bee.java (with props)
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/org/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/org/apache/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/org/apache/tuscany/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/x/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/x/Exx.java (with props)
tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/META-INF/
tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/META-INF/sca-contribution.xml (with props)
tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/helloworld.composite
tuscany/sandbox/kgoodson/testroot/proj2/
tuscany/sandbox/kgoodson/testroot/proj2/pom.xml (with props)
tuscany/sandbox/kgoodson/testroot/proj2/src/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldImpl.java (with props)
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldService.java (with props)
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/d/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/d/Dee.java (with props)
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/org/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/org/apache/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/org/apache/tuscany/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/org/apache/tuscany/p1/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/y/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/y/Whyfor.java (with props)
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/z/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/z/Zee.java (with props)
tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/META-INF/
tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/META-INF/sca-contribution.xml (with props)
tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/helloworld.composite
Added: tuscany/sandbox/kgoodson/testroot/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/pom.xml?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/pom.xml (added)
+++ tuscany/sandbox/kgoodson/testroot/pom.xml Thu May 27 11:06:50 2010
@@ -0,0 +1,64 @@
+<?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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.tuscany</groupId>
+ <artifactId>testroot</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>testroot Multi Project</name>
+ <url>http://maven.apache.org</url>
+ <modules>
+ <module>proj1</module>
+ <module>proj2</module>
+ </modules>
+ <reporting>
+ <plugins>
+ <plugin>
+
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.6.1</version>
+ <configuration>
+ <maxmemory>1024m</maxmemory>
+ <tags>
+ <tag>
+ <name>tuscany.spi.extension.inheritfrom</name>
+ <!-- extension spi by inheritance tag for placing in classes /interfaces -->
+ <placement>t</placement>
+ <head>Provides part of the Tuscany SPI for Extension Developers by specialization of this class/interface
+ </head>
+ </tag>
+ <tag>
+ <name>tuscany.spi.extension.asclient</name>
+ <!-- extension spi by client access tag for placing in classes / interfaces. The term client here is used
+ in the OO design sense of any class that calls the methods of another is a client of the latter -->
+ <placement>t</placement>
+ <head>Provides part of the Tuscany SPI for Extension Developers by calling methods on this interface/class.</head>
+ </tag>
+ <tag>
+ <name>tuscany.spi.extension</name>
+ <!-- extension spi indicator for overviews, packages -->
+ <placement>a</placement>
+ <head>Elements of the Tuscany SPI for Extension developers are provided.</head>
+ </tag>
+ </tags>
+
+
+ <groups>
+ <group>
+ <title>Basic</title>
+ <packages>
+ a:b:c
+ </packages>
+ </group>
+ <group>
+ <title>Advanced</title>
+ <packages>x:y:z</packages>
+ </group>
+ </groups>
+ <excludePackageNames>a:x:c:d</excludePackageNames>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
\ No newline at end of file
Propchange: tuscany/sandbox/kgoodson/testroot/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj1/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj1/pom.xml?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj1/pom.xml (added)
+++ tuscany/sandbox/kgoodson/testroot/proj1/pom.xml Thu May 27 11:06:50 2010
@@ -0,0 +1,111 @@
+<?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>
+ <artifactId>testroot</artifactId>
+ <groupId>org.apache.tuscany</groupId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <groupId>org.apache.tuscany</groupId>
+ <artifactId>proj1</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <!-- TODO project name -->
+ <name>quickstart</name>
+
+ <dependencies>
+ <!-- TUSCANY DEPENDENCIES -->
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-sca-api</artifactId>
+ <version>${tuscany.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- JUNIT DEPENDENCY FOR TESTING -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <finalName>${artifactId}</finalName>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ <resource>
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/java</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <optimise>true</optimise>
+ <debug>true</debug>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+ <downloadSources>true</downloadSources>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.tuscany.maven.plugins</groupId>
+ <artifactId>maven-tuscany-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ <properties>
+ <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ </properties>
+ <reporting>
+ </reporting>
+ </project>
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/Hay.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/Hay.java?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/Hay.java (added)
+++ tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/Hay.java Thu May 27 11:06:50 2010
@@ -0,0 +1,5 @@
+package a;
+
+public class Hay {
+
+}
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/Hay.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/Hay.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldImpl.java?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldImpl.java (added)
+++ tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldImpl.java Thu May 27 11:06:50 2010
@@ -0,0 +1,36 @@
+/*
+ * 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 a;
+
+import org.oasisopen.sca.annotation.Init;
+import org.oasisopen.sca.annotation.Scope;
+import org.oasisopen.sca.annotation.EagerInit;
+
+@Scope("COMPOSITE") @EagerInit
+public class HelloworldImpl implements HelloworldService {
+
+ public String sayHello(String name) {
+ return "Hello " + name;
+ }
+
+ @Init
+ public void init() {
+ System.out.println(sayHello("world"));
+ }
+}
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldService.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldService.java?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldService.java (added)
+++ tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldService.java Thu May 27 11:06:50 2010
@@ -0,0 +1,28 @@
+/*
+ * 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 a;
+
+import org.oasisopen.sca.annotation.Remotable;
+
+@Remotable
+public interface HelloworldService {
+
+ String sayHello(String name);
+
+}
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldService.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/a/HelloworldService.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/b/Bee.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/b/Bee.java?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/b/Bee.java (added)
+++ tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/b/Bee.java Thu May 27 11:06:50 2010
@@ -0,0 +1,5 @@
+package b;
+
+public class Bee {
+
+}
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/b/Bee.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/b/Bee.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/x/Exx.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/x/Exx.java?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/x/Exx.java (added)
+++ tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/x/Exx.java Thu May 27 11:06:50 2010
@@ -0,0 +1,5 @@
+package x;
+
+public class Exx {
+
+}
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/x/Exx.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/java/x/Exx.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/META-INF/sca-contribution.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/META-INF/sca-contribution.xml?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/META-INF/sca-contribution.xml (added)
+++ tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/META-INF/sca-contribution.xml Thu May 27 11:06:50 2010
@@ -0,0 +1,23 @@
+<?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.
+-->
+<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:sample="http://org.apache.tuscany">
+ <deployable composite="sample:proj1"/>
+</contribution>
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/META-INF/sca-contribution.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/META-INF/sca-contribution.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/helloworld.composite
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/helloworld.composite?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/helloworld.composite (added)
+++ tuscany/sandbox/kgoodson/testroot/proj1/src/main/resources/helloworld.composite Thu May 27 11:06:50 2010
@@ -0,0 +1,29 @@
+<?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.
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
+ targetNamespace="http://org.apache.tuscany"
+ name="proj1">
+
+ <component name="HelloworldComponent">
+ <implementation.java class="org.apache.tuscany.HelloworldImpl"/>
+ </component>
+
+</composite>
Added: tuscany/sandbox/kgoodson/testroot/proj2/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj2/pom.xml?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj2/pom.xml (added)
+++ tuscany/sandbox/kgoodson/testroot/proj2/pom.xml Thu May 27 11:06:50 2010
@@ -0,0 +1,109 @@
+<?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>
+ <artifactId>testroot</artifactId>
+ <groupId>org.apache.tuscany</groupId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+ <groupId>org.apache.tuscany</groupId>
+ <artifactId>proj2</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <!-- TODO project name -->
+ <name>quickstart</name>
+
+ <dependencies>
+ <!-- TUSCANY DEPENDENCIES -->
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-sca-api</artifactId>
+ <version>${tuscany.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- JUNIT DEPENDENCY FOR TESTING -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+ <build>
+ <defaultGoal>install</defaultGoal>
+ <finalName>${artifactId}</finalName>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ <resource>
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/java</directory>
+ <includes>
+ <include>**</include>
+ </includes>
+ <excludes>
+ <exclude>**/*.java</exclude>
+ </excludes>
+ </testResource>
+ </testResources>
+ <plugins>
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <optimise>true</optimise>
+ <debug>true</debug>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+ <downloadSources>true</downloadSources>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.tuscany.maven.plugins</groupId>
+ <artifactId>maven-tuscany-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ <properties>
+ <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+ </properties>
+ </project>
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldImpl.java?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldImpl.java (added)
+++ tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldImpl.java Thu May 27 11:06:50 2010
@@ -0,0 +1,36 @@
+/*
+ * 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 c;
+
+import org.oasisopen.sca.annotation.Init;
+import org.oasisopen.sca.annotation.Scope;
+import org.oasisopen.sca.annotation.EagerInit;
+
+@Scope("COMPOSITE") @EagerInit
+public class HelloworldImpl implements HelloworldService {
+
+ public String sayHello(String name) {
+ return "Hello " + name;
+ }
+
+ @Init
+ public void init() {
+ System.out.println(sayHello("world"));
+ }
+}
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldService.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldService.java?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldService.java (added)
+++ tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldService.java Thu May 27 11:06:50 2010
@@ -0,0 +1,28 @@
+/*
+ * 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 c;
+
+import org.oasisopen.sca.annotation.Remotable;
+
+@Remotable
+public interface HelloworldService {
+
+ String sayHello(String name);
+
+}
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldService.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/c/HelloworldService.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/d/Dee.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/d/Dee.java?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/d/Dee.java (added)
+++ tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/d/Dee.java Thu May 27 11:06:50 2010
@@ -0,0 +1,5 @@
+package d;
+
+public class Dee {
+
+}
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/d/Dee.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/d/Dee.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/y/Whyfor.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/y/Whyfor.java?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/y/Whyfor.java (added)
+++ tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/y/Whyfor.java Thu May 27 11:06:50 2010
@@ -0,0 +1,5 @@
+package y;
+
+public class Whyfor {
+
+}
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/y/Whyfor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/y/Whyfor.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/z/Zee.java
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/z/Zee.java?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/z/Zee.java (added)
+++ tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/z/Zee.java Thu May 27 11:06:50 2010
@@ -0,0 +1,5 @@
+package z;
+
+public class Zee {
+
+}
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/z/Zee.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/java/z/Zee.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/META-INF/sca-contribution.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/META-INF/sca-contribution.xml?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/META-INF/sca-contribution.xml (added)
+++ tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/META-INF/sca-contribution.xml Thu May 27 11:06:50 2010
@@ -0,0 +1,23 @@
+<?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.
+-->
+<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:sample="http://org.apache.tuscany">
+ <deployable composite="sample:proj2"/>
+</contribution>
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/META-INF/sca-contribution.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/META-INF/sca-contribution.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/helloworld.composite
URL: http://svn.apache.org/viewvc/tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/helloworld.composite?rev=948784&view=auto
==============================================================================
--- tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/helloworld.composite (added)
+++ tuscany/sandbox/kgoodson/testroot/proj2/src/main/resources/helloworld.composite Thu May 27 11:06:50 2010
@@ -0,0 +1,29 @@
+<?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.
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
+ targetNamespace="http://org.apache.tuscany"
+ name="proj2">
+
+ <component name="HelloworldComponent">
+ <implementation.java class="org.apache.tuscany.HelloworldImpl"/>
+ </component>
+
+</composite>