You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2013/09/22 12:58:15 UTC
svn commit: r1525346 - in /maven/plugins/trunk/maven-clean-plugin/src:
it/special-characters/pom.xml it/special-characters/verify.bsh
test/resources/unit/invalid-directory-test/this-is-a-file
Author: dennisl
Date: Sun Sep 22 10:58:14 2013
New Revision: 1525346
URL: http://svn.apache.org/r1525346
Log:
Set correct Subversion properties: eol-style and keywords.
Modified:
maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/pom.xml (contents, props changed)
maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/verify.bsh (contents, props changed)
maven/plugins/trunk/maven-clean-plugin/src/test/resources/unit/invalid-directory-test/this-is-a-file (props changed)
Modified: maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/pom.xml?rev=1525346&r1=1525345&r2=1525346&view=diff
==============================================================================
--- maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/pom.xml (original)
+++ maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/pom.xml Sun Sep 22 10:58:14 2013
@@ -1,48 +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>org.apache.maven.plugins.clean.its</groupId>
- <artifactId>mrelease-48</artifactId>
- <version>1.0-SNAPSHOT</version>
-
- <name>Test for clean</name>
- <description>Check for proper cleaning of default output files.</description>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>@pom.version@</version>
- </plugin>
- </plugins>
- </build>
-
-</project>
+<?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>org.apache.maven.plugins.clean.its</groupId>
+ <artifactId>mrelease-48</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <name>Test for clean</name>
+ <description>Check for proper cleaning of default output files.</description>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>@pom.version@</version>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Propchange: maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/pom.xml
------------------------------------------------------------------------------
svn:keywords = Date Revision Author Id
Modified: maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/verify.bsh?rev=1525346&r1=1525345&r2=1525346&view=diff
==============================================================================
--- maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/verify.bsh (original)
+++ maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/verify.bsh Sun Sep 22 10:58:14 2013
@@ -1,23 +1,23 @@
-import java.io.*;
-import java.util.*;
-import java.util.jar.*;
-import java.util.regex.*;
-
-try
-{
- // this confirms that special character file and directory are deleted
- File targetDir = new File( basedir, "target" );
- if ( targetDir.exists() )
- {
- System.out.println( "FAILURE! target must not exist" );
- return false;
- }
-
-}
-catch( Throwable t )
-{
- t.printStackTrace();
- return false;
-}
-
-return true;
+import java.io.*;
+import java.util.*;
+import java.util.jar.*;
+import java.util.regex.*;
+
+try
+{
+ // this confirms that special character file and directory are deleted
+ File targetDir = new File( basedir, "target" );
+ if ( targetDir.exists() )
+ {
+ System.out.println( "FAILURE! target must not exist" );
+ return false;
+ }
+
+}
+catch( Throwable t )
+{
+ t.printStackTrace();
+ return false;
+}
+
+return true;
Propchange: maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/verify.bsh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-clean-plugin/src/it/special-characters/verify.bsh
------------------------------------------------------------------------------
svn:keywords = Date Revision Author Id
Propchange: maven/plugins/trunk/maven-clean-plugin/src/test/resources/unit/invalid-directory-test/this-is-a-file
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-clean-plugin/src/test/resources/unit/invalid-directory-test/this-is-a-file
------------------------------------------------------------------------------
svn:keywords = Date Revision Author Id