Author: andyhot
Date: Sun Nov 22 17:54:17 2009
New Revision: 883111

URL: http://svn.apache.org/viewvc?rev=883111&view=rev
Log:
define property for tetng version, fix build for quickstart missing tests

Added:
    tapestry/tapestry5/branches/5.0/quickstart/src/test/
    tapestry/tapestry5/branches/5.0/quickstart/src/test/conf/
    tapestry/tapestry5/branches/5.0/quickstart/src/test/conf/testng.xml
Modified:
    tapestry/tapestry5/branches/5.0/pom.xml
    tapestry/tapestry5/branches/5.0/quickstart/pom.xml

Modified: tapestry/tapestry5/branches/5.0/pom.xml
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/pom.xml?rev=883111&r1=883110&r2=883111&view=diff
==============================================================================
--- tapestry/tapestry5/branches/5.0/pom.xml (original)
+++ tapestry/tapestry5/branches/5.0/pom.xml Sun Nov 22 17:54:17 2009
@@ -437,9 +437,9 @@
 
 
     <properties>
-        <!-- Version 2.1 lists everything as 100% covered, weird. -->
-        <cobertura-plugin-version>2.2-SNAPSHOT</cobertura-plugin-version>
+        <cobertura-plugin-version>2.3</cobertura-plugin-version>
         <update-release-info>false</update-release-info>
+        <testng-version>5.8</testng-version>
     </properties>
 
 </project>

Modified: tapestry/tapestry5/branches/5.0/quickstart/pom.xml
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/quickstart/pom.xml?rev=883111&r1=883110&r2=883111&view=diff
==============================================================================
--- tapestry/tapestry5/branches/5.0/quickstart/pom.xml (original)
+++ tapestry/tapestry5/branches/5.0/quickstart/pom.xml Sun Nov 22 17:54:17 2009
@@ -15,4 +15,12 @@
     <description>Archetype for creating a basic Tapestry 5 application, 
including Eclipse control
         files.
     </description>
+    <dependencies>
+      <dependency>
+        <groupId>org.testng</groupId>
+        <artifactId>testng</artifactId>
+        <version>${testng-version}</version>
+        <classifier>jdk15</classifier>
+      </dependency>
+    </dependencies>
 </project>

Added: tapestry/tapestry5/branches/5.0/quickstart/src/test/conf/testng.xml
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/quickstart/src/test/conf/testng.xml?rev=883111&view=auto
==============================================================================
--- tapestry/tapestry5/branches/5.0/quickstart/src/test/conf/testng.xml (added)
+++ tapestry/tapestry5/branches/5.0/quickstart/src/test/conf/testng.xml Sun Nov 
22 17:54:17 2009
@@ -0,0 +1,21 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd";>
+<!--
+   Copyright 2009 The Apache Software Foundation
+
+   Licensed 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.
+-->
+
+<suite name="Tapestry Quickstart" annotations="1.5" verbose="2">
+    <!-- This avoids a build error (ideally we'd like to disable the surefire 
plugin in this project) -->
+    <test name="Placeholder (no tests)"/>
+</suite>


Reply via email to