Author: pgier
Date: Fri Jul 2 05:43:20 2010
New Revision: 959863
URL: http://svn.apache.org/viewvc?rev=959863&view=rev
Log:
[MANTRUN-119] Add IT for testing copy task failonerror
Added:
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/invoker.properties
(with props)
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml
(with props)
Added:
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/invoker.properties
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/invoker.properties?rev=959863&view=auto
==============================================================================
---
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/invoker.properties
(added)
+++
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/invoker.properties
Fri Jul 2 05:43:20 2010
@@ -0,0 +1 @@
+invoker.goals=${project.groupId}:${project.artifactId}:${project.version}:run
Propchange:
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/invoker.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/invoker.properties
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml?rev=959863&view=auto
==============================================================================
--- maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml
(added)
+++ maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml Fri
Jul 2 05:43:20 2010
@@ -0,0 +1,48 @@
+<?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>
+ <groupId>antrun-plugin.test</groupId>
+ <artifactId>antrun-plugin-test</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <inceptionYear>2006</inceptionYear>
+ <name>Maven Antrun Plugin Test</name>
+ <url>http://maven.apache.org</url>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>@pom.version@</version>
+ <configuration>
+ <tasks>
+ <copy file="${project.build.directory}/../pom.xml"
tofile="${project.build.directory}/pom-copy.xml" overwrite="true"
verbose="true" failonerror="true" />
+ <copy file="${project.build.directory}/junk.xml"
tofile="${project.build.directory}/junk.xml" overwrite="true" verbose="true"
failonerror="false" />
+ </tasks>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange:
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/plugins/trunk/maven-antrun-plugin/src/it/copy-fail-test/pom.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision