You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2006/10/18 00:29:49 UTC

svn commit: r465082 - in /incubator/tuscany/sandbox/testing: core/ itest/ itest/src/ itest/src/main/ itest/src/main/java/ itest/src/main/java/org/ itest/src/main/java/org/apache/ itest/src/main/java/org/apache/tuscany/ itest/src/main/java/org/apache/tu...

Author: jboynes
Date: Tue Oct 17 15:29:47 2006
New Revision: 465082

URL: http://svn.apache.org/viewvc?view=rev&rev=465082
Log:
some real stupid Mojo that might one day start tuscany

Added:
    incubator/tuscany/sandbox/testing/itest/   (with props)
    incubator/tuscany/sandbox/testing/itest/pom.xml   (with props)
    incubator/tuscany/sandbox/testing/itest/src/
    incubator/tuscany/sandbox/testing/itest/src/main/
    incubator/tuscany/sandbox/testing/itest/src/main/java/
    incubator/tuscany/sandbox/testing/itest/src/main/java/org/
    incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/
    incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/
    incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/
    incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/
    incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/
    incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStartMojo.java   (with props)
    incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStopMojo.java   (with props)
Modified:
    incubator/tuscany/sandbox/testing/core/pom.xml

Modified: incubator/tuscany/sandbox/testing/core/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/testing/core/pom.xml?view=diff&rev=465082&r1=465081&r2=465082
==============================================================================
--- incubator/tuscany/sandbox/testing/core/pom.xml (original)
+++ incubator/tuscany/sandbox/testing/core/pom.xml Tue Oct 17 15:29:47 2006
@@ -38,6 +38,24 @@
                     </includes>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.tuscany.sca.plugins</groupId>
+                <artifactId>tuscany-itest-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>start</id>
+                        <goals>
+                            <goal>start</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>stop</id>
+                        <goals>
+                            <goal>stop</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>

Propchange: incubator/tuscany/sandbox/testing/itest/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Oct 17 15:29:47 2006
@@ -0,0 +1,14 @@
+target
+*.iws
+*.ipr
+*.iml
+.project
+.classpath
+maven.log
+velocity.log*
+junit*.properties
+surefire*.properties
+.settings
+.deployables
+.wtpmodules
+

Added: incubator/tuscany/sandbox/testing/itest/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/testing/itest/pom.xml?view=auto&rev=465082
==============================================================================
--- incubator/tuscany/sandbox/testing/itest/pom.xml (added)
+++ incubator/tuscany/sandbox/testing/itest/pom.xml Tue Oct 17 15:29:47 2006
@@ -0,0 +1,39 @@
+<?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>
+    <parent>
+        <groupId>org.apache.tuscany</groupId>
+        <artifactId>parent</artifactId>
+        <version>1-incubator</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.tuscany.sca.plugins</groupId>
+    <artifactId>tuscany-itest-plugin</artifactId>
+    <packaging>maven-plugin</packaging>
+    <name>Tuscany Integration Test Plugin</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-plugin-api</artifactId>
+            <version>2.0</version>
+        </dependency>
+    </dependencies>
+</project>

Propchange: incubator/tuscany/sandbox/testing/itest/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/sandbox/testing/itest/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStartMojo.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStartMojo.java?view=auto&rev=465082
==============================================================================
--- incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStartMojo.java (added)
+++ incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStartMojo.java Tue Oct 17 15:29:47 2006
@@ -0,0 +1,34 @@
+/*
+ * 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.tuscany.sca.plugin.itest;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+
+/**
+ * @goal start
+ * @phase pre-integration-test
+ * @version $Rev$ $Date$
+ */
+public class TuscanyStartMojo extends AbstractMojo {
+    public void execute() throws MojoExecutionException, MojoFailureException {
+        System.out.println("Starting Tuscany!");
+    }
+}

Propchange: incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStartMojo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStartMojo.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStopMojo.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStopMojo.java?view=auto&rev=465082
==============================================================================
--- incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStopMojo.java (added)
+++ incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStopMojo.java Tue Oct 17 15:29:47 2006
@@ -0,0 +1,34 @@
+/*
+ * 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.tuscany.sca.plugin.itest;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+
+/**
+ * @goal stop
+ * @phase post-integration-test
+ * @version $Rev$ $Date$
+ */
+public class TuscanyStopMojo extends AbstractMojo {
+    public void execute() throws MojoExecutionException, MojoFailureException {
+        System.out.println("Stopping Tuscany!");
+    }
+}

Propchange: incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStopMojo.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/sandbox/testing/itest/src/main/java/org/apache/tuscany/sca/plugin/itest/TuscanyStopMojo.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org