maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r640407 [2/2] - in /maven/plugins/trunk/maven-resources-plugin/src: it/filter/ it/filter/src/main/resources/ site/ site/apt/ site/apt/examples/ site/fml/ test/java/org/apache/maven/plugin/resources/ test/java/org/apache/maven/plugin/resourc...
Date Mon, 24 Mar 2008 13:21:53 GMT
Modified: maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectBasicStub.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectBasicStub.java?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectBasicStub.java (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectBasicStub.java Mon Mar 24 06:21:50 2008
@@ -1,111 +1,111 @@
-package org.apache.maven.plugin.resources.stub;
-
-/*
- * 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.
- */
-
-import java.io.File;
-import java.util.Properties;
-
-import org.apache.maven.plugin.testing.stubs.MavenProjectStub;
-import org.codehaus.plexus.PlexusTestCase;
-import org.codehaus.plexus.util.FileUtils;
-
-public class MavenProjectBasicStub
-    extends MavenProjectStub
-{
-    protected String identifier;
-
-    protected String testRootDir;
-
-    protected Properties properties;
-
-    protected String description;
-
-    public MavenProjectBasicStub( String id )
-        throws Exception
-    {
-        properties = new Properties();
-        identifier = id;
-        testRootDir = PlexusTestCase.getBasedir() + "/target/test-classes/unit/test-dir/" + identifier;
-
-        if ( !FileUtils.fileExists( testRootDir ) )
-        {
-            FileUtils.mkdir( testRootDir );
-        }
-    }
-
-    public String getName()
-    {
-        return "Test Project " + identifier;
-    }
-
-    public void setDescription( String desc )
-    {
-        description = desc;
-    }
-
-    public String getDescription()
-    {
-        if ( description == null )
-        {
-            return "this is a test project";
-        }
-        else
-        {
-            return description;
-        }
-    }
-
-    public File getBasedir()
-    {
-        // create an isolated environment
-        // see setupTestEnvironment for details
-        return new File( testRootDir );
-    }
-
-    public String getGroupId()
-    {
-        return "org.apache.maven.plugin.test";
-    }
-
-    public String getArtifactId()
-    {
-        return "maven-resource-plugin-test#" + identifier;
-    }
-
-    public String getPackaging()
-    {
-        return "org.apache.maven.plugin.test";
-    }
-
-    public String getVersion()
-    {
-        return identifier;
-    }
-
-    public void addProperty( String key, String value )
-    {
-        properties.put( key, value );
-    }
-
-    public Properties getProperties()
-    {
-        return properties;
-    }
-}
+package org.apache.maven.plugin.resources.stub;
+
+/*
+ * 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.
+ */
+
+import java.io.File;
+import java.util.Properties;
+
+import org.apache.maven.plugin.testing.stubs.MavenProjectStub;
+import org.codehaus.plexus.PlexusTestCase;
+import org.codehaus.plexus.util.FileUtils;
+
+public class MavenProjectBasicStub
+    extends MavenProjectStub
+{
+    protected String identifier;
+
+    protected String testRootDir;
+
+    protected Properties properties;
+
+    protected String description;
+
+    public MavenProjectBasicStub( String id )
+        throws Exception
+    {
+        properties = new Properties();
+        identifier = id;
+        testRootDir = PlexusTestCase.getBasedir() + "/target/test-classes/unit/test-dir/" + identifier;
+
+        if ( !FileUtils.fileExists( testRootDir ) )
+        {
+            FileUtils.mkdir( testRootDir );
+        }
+    }
+
+    public String getName()
+    {
+        return "Test Project " + identifier;
+    }
+
+    public void setDescription( String desc )
+    {
+        description = desc;
+    }
+
+    public String getDescription()
+    {
+        if ( description == null )
+        {
+            return "this is a test project";
+        }
+        else
+        {
+            return description;
+        }
+    }
+
+    public File getBasedir()
+    {
+        // create an isolated environment
+        // see setupTestEnvironment for details
+        return new File( testRootDir );
+    }
+
+    public String getGroupId()
+    {
+        return "org.apache.maven.plugin.test";
+    }
+
+    public String getArtifactId()
+    {
+        return "maven-resource-plugin-test#" + identifier;
+    }
+
+    public String getPackaging()
+    {
+        return "org.apache.maven.plugin.test";
+    }
+
+    public String getVersion()
+    {
+        return identifier;
+    }
+
+    public void addProperty( String key, String value )
+    {
+        properties.put( key, value );
+    }
+
+    public Properties getProperties()
+    {
+        return properties;
+    }
+}

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectBasicStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectBuildStub.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectBuildStub.java?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectBuildStub.java (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectBuildStub.java Mon Mar 24 06:21:50 2008
@@ -1,290 +1,290 @@
-package org.apache.maven.plugin.resources.stub;
-
-/*
- * 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.
- */
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.HashMap;
-
-import org.apache.maven.model.Build;
-import org.codehaus.plexus.util.FileUtils;
-
-public class MavenProjectBuildStub
-    extends MavenProjectBasicStub
-{
-    protected Build build;
-
-    protected String srcDirectory;
-
-    protected String targetDirectory;
-
-    protected String buildDirectory;
-
-    protected String outputDirectory;
-
-    protected String testOutputDirectory;
-
-    protected String resourcesDirectory;
-
-    protected String testResourcesDirectory;
-
-    protected String targetResourceDirectory;
-
-    protected String targetTestResourcesDirectory;
-
-    protected ArrayList fileList;
-
-    protected ArrayList directoryList;
-
-    protected HashMap dataMap;
-
-    public MavenProjectBuildStub( String key )
-        throws Exception
-    {
-        super( key );
-
-        build = new Build();
-        fileList = new ArrayList();
-        directoryList = new ArrayList();
-        dataMap = new HashMap();
-        setupBuild();
-    }
-
-    public void addDirectory( String name )
-    {
-        if ( isValidPath( name ) )
-        {
-            directoryList.add( name );
-        }
-    }
-
-    public void setOutputDirectory( String dir )
-    {
-        outputDirectory = buildDirectory + "/" + dir;
-        build.setOutputDirectory( outputDirectory );
-    }
-
-    public void addFile( String name )
-    {
-        if ( isValidPath( name ) )
-        {
-            fileList.add( name );
-        }
-    }
-
-    public void addFile( String name, String data )
-    {
-        File fileName = new File( name );
-
-        addFile( name );
-        dataMap.put( fileName.getName(), data );
-    }
-
-    public String getOutputDirectory()
-    {
-        return outputDirectory;
-    }
-
-    public String getTestOutputDirectory()
-    {
-        return testOutputDirectory;
-    }
-
-    public String getResourcesDirectory()
-    {
-        return resourcesDirectory;
-    }
-
-    public String getTestResourcesDirectory()
-    {
-        return testResourcesDirectory;
-    }
-
-    public Build getBuild()
-    {
-        return build;
-    }
-
-    /**
-     * returns true if the path is relative
-     * and false if absolute
-     * also returns false if it is relative to
-     * the parent
-     *
-     * @param path
-     * @return
-     */
-    private boolean isValidPath( String path )
-    {
-        boolean bRetVal = true;
-
-        if ( path.startsWith( "c:" ) || path.startsWith( ".." ) || path.startsWith( "/" ) || path.startsWith( "\\" ) )
-        {
-            bRetVal = false;
-        }
-
-        return bRetVal;
-    }
-
-    private void setupBuild()
-    {
-        // check getBasedir method for the exact path
-        // we need to recreate the dir structure in
-        // an isolated environment
-        srcDirectory = testRootDir + "/src";
-        buildDirectory = testRootDir + "/target";
-        outputDirectory = buildDirectory + "/classes";
-        testOutputDirectory = buildDirectory + "/test-classes";
-        resourcesDirectory = srcDirectory + "/main/resources/";
-        testResourcesDirectory = srcDirectory + "/test/resources/";
-
-        build.setDirectory( buildDirectory );
-        build.setOutputDirectory( outputDirectory );
-        build.setTestOutputDirectory( testOutputDirectory );
-    }
-
-    public void setupBuildEnvironment()
-        throws Exception
-    {
-        // populate dummy resources and dummy test resources
-
-        // setup src dir
-        if ( !FileUtils.fileExists( resourcesDirectory ) )
-        {
-            FileUtils.mkdir( resourcesDirectory );
-        }
-
-        if ( !FileUtils.fileExists( testResourcesDirectory ) )
-        {
-            FileUtils.mkdir( testResourcesDirectory );
-        }
-
-        createDirectories( resourcesDirectory, testResourcesDirectory );
-        createFiles( resourcesDirectory, testResourcesDirectory );
-
-        // setup target dir
-        if ( !FileUtils.fileExists( outputDirectory ) )
-        {
-            FileUtils.mkdir( outputDirectory );
-        }
-
-        if ( !FileUtils.fileExists( testOutputDirectory ) )
-        {
-            FileUtils.mkdir( testOutputDirectory );
-        }
-    }
-
-    private void createDirectories( String parent, String testparent )
-    {
-        File currentDirectory;
-
-        for ( int nIndex = 0; nIndex < directoryList.size(); nIndex++ )
-        {
-            currentDirectory = new File( parent, "/" + (String) directoryList.get( nIndex ) );
-
-            if ( !currentDirectory.exists() )
-            {
-                currentDirectory.mkdirs();
-            }
-
-            // duplicate dir structure in test resources
-            currentDirectory = new File( testparent, "/" + (String) directoryList.get( nIndex ) );
-
-            if ( !currentDirectory.exists() )
-            {
-                currentDirectory.mkdirs();
-            }
-        }
-    }
-
-    private void createFiles( String parent, String testparent )
-    {
-        File currentFile;
-
-        for ( int nIndex = 0; nIndex < fileList.size(); nIndex++ )
-        {
-            currentFile = new File( parent, (String) fileList.get( nIndex ) );
-
-            // create the necessary parent directories
-            // before we create the files
-            if ( !currentFile.getParentFile().exists() )
-            {
-                currentFile.getParentFile().mkdirs();
-            }
-
-            if ( !currentFile.exists() )
-            {
-                try
-                {
-                    currentFile.createNewFile();
-                    populateFile( currentFile );
-                }
-                catch ( IOException io )
-                {
-                    //TODO: handle exception
-                }
-            }
-
-            // duplicate file in test resources
-            currentFile = new File( testparent, (String) fileList.get( nIndex ) );
-
-            if ( !currentFile.getParentFile().exists() )
-            {
-                currentFile.getParentFile().mkdirs();
-            }
-
-            if ( !currentFile.exists() )
-            {
-                try
-                {
-                    currentFile.createNewFile();
-                    populateFile( currentFile );
-                }
-                catch ( IOException io )
-                {
-                    //TODO: handle exception
-                }
-            }
-        }
-    }
-
-    private void populateFile( File file )
-    {
-        FileOutputStream outputStream;
-        String data = (String) dataMap.get( file.getName() );
-
-        if ( ( data != null ) && file.exists() )
-        {
-            try
-            {
-                outputStream = new FileOutputStream( file );
-                outputStream.write( data.getBytes() );
-                outputStream.flush();
-                outputStream.close();
-            }
-            catch ( IOException ex )
-            {
-                // TODO: handle exception here
-            }
-        }
-    }
-}
+package org.apache.maven.plugin.resources.stub;
+
+/*
+ * 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.
+ */
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.HashMap;
+
+import org.apache.maven.model.Build;
+import org.codehaus.plexus.util.FileUtils;
+
+public class MavenProjectBuildStub
+    extends MavenProjectBasicStub
+{
+    protected Build build;
+
+    protected String srcDirectory;
+
+    protected String targetDirectory;
+
+    protected String buildDirectory;
+
+    protected String outputDirectory;
+
+    protected String testOutputDirectory;
+
+    protected String resourcesDirectory;
+
+    protected String testResourcesDirectory;
+
+    protected String targetResourceDirectory;
+
+    protected String targetTestResourcesDirectory;
+
+    protected ArrayList fileList;
+
+    protected ArrayList directoryList;
+
+    protected HashMap dataMap;
+
+    public MavenProjectBuildStub( String key )
+        throws Exception
+    {
+        super( key );
+
+        build = new Build();
+        fileList = new ArrayList();
+        directoryList = new ArrayList();
+        dataMap = new HashMap();
+        setupBuild();
+    }
+
+    public void addDirectory( String name )
+    {
+        if ( isValidPath( name ) )
+        {
+            directoryList.add( name );
+        }
+    }
+
+    public void setOutputDirectory( String dir )
+    {
+        outputDirectory = buildDirectory + "/" + dir;
+        build.setOutputDirectory( outputDirectory );
+    }
+
+    public void addFile( String name )
+    {
+        if ( isValidPath( name ) )
+        {
+            fileList.add( name );
+        }
+    }
+
+    public void addFile( String name, String data )
+    {
+        File fileName = new File( name );
+
+        addFile( name );
+        dataMap.put( fileName.getName(), data );
+    }
+
+    public String getOutputDirectory()
+    {
+        return outputDirectory;
+    }
+
+    public String getTestOutputDirectory()
+    {
+        return testOutputDirectory;
+    }
+
+    public String getResourcesDirectory()
+    {
+        return resourcesDirectory;
+    }
+
+    public String getTestResourcesDirectory()
+    {
+        return testResourcesDirectory;
+    }
+
+    public Build getBuild()
+    {
+        return build;
+    }
+
+    /**
+     * returns true if the path is relative
+     * and false if absolute
+     * also returns false if it is relative to
+     * the parent
+     *
+     * @param path
+     * @return
+     */
+    private boolean isValidPath( String path )
+    {
+        boolean bRetVal = true;
+
+        if ( path.startsWith( "c:" ) || path.startsWith( ".." ) || path.startsWith( "/" ) || path.startsWith( "\\" ) )
+        {
+            bRetVal = false;
+        }
+
+        return bRetVal;
+    }
+
+    private void setupBuild()
+    {
+        // check getBasedir method for the exact path
+        // we need to recreate the dir structure in
+        // an isolated environment
+        srcDirectory = testRootDir + "/src";
+        buildDirectory = testRootDir + "/target";
+        outputDirectory = buildDirectory + "/classes";
+        testOutputDirectory = buildDirectory + "/test-classes";
+        resourcesDirectory = srcDirectory + "/main/resources/";
+        testResourcesDirectory = srcDirectory + "/test/resources/";
+
+        build.setDirectory( buildDirectory );
+        build.setOutputDirectory( outputDirectory );
+        build.setTestOutputDirectory( testOutputDirectory );
+    }
+
+    public void setupBuildEnvironment()
+        throws Exception
+    {
+        // populate dummy resources and dummy test resources
+
+        // setup src dir
+        if ( !FileUtils.fileExists( resourcesDirectory ) )
+        {
+            FileUtils.mkdir( resourcesDirectory );
+        }
+
+        if ( !FileUtils.fileExists( testResourcesDirectory ) )
+        {
+            FileUtils.mkdir( testResourcesDirectory );
+        }
+
+        createDirectories( resourcesDirectory, testResourcesDirectory );
+        createFiles( resourcesDirectory, testResourcesDirectory );
+
+        // setup target dir
+        if ( !FileUtils.fileExists( outputDirectory ) )
+        {
+            FileUtils.mkdir( outputDirectory );
+        }
+
+        if ( !FileUtils.fileExists( testOutputDirectory ) )
+        {
+            FileUtils.mkdir( testOutputDirectory );
+        }
+    }
+
+    private void createDirectories( String parent, String testparent )
+    {
+        File currentDirectory;
+
+        for ( int nIndex = 0; nIndex < directoryList.size(); nIndex++ )
+        {
+            currentDirectory = new File( parent, "/" + (String) directoryList.get( nIndex ) );
+
+            if ( !currentDirectory.exists() )
+            {
+                currentDirectory.mkdirs();
+            }
+
+            // duplicate dir structure in test resources
+            currentDirectory = new File( testparent, "/" + (String) directoryList.get( nIndex ) );
+
+            if ( !currentDirectory.exists() )
+            {
+                currentDirectory.mkdirs();
+            }
+        }
+    }
+
+    private void createFiles( String parent, String testparent )
+    {
+        File currentFile;
+
+        for ( int nIndex = 0; nIndex < fileList.size(); nIndex++ )
+        {
+            currentFile = new File( parent, (String) fileList.get( nIndex ) );
+
+            // create the necessary parent directories
+            // before we create the files
+            if ( !currentFile.getParentFile().exists() )
+            {
+                currentFile.getParentFile().mkdirs();
+            }
+
+            if ( !currentFile.exists() )
+            {
+                try
+                {
+                    currentFile.createNewFile();
+                    populateFile( currentFile );
+                }
+                catch ( IOException io )
+                {
+                    //TODO: handle exception
+                }
+            }
+
+            // duplicate file in test resources
+            currentFile = new File( testparent, (String) fileList.get( nIndex ) );
+
+            if ( !currentFile.getParentFile().exists() )
+            {
+                currentFile.getParentFile().mkdirs();
+            }
+
+            if ( !currentFile.exists() )
+            {
+                try
+                {
+                    currentFile.createNewFile();
+                    populateFile( currentFile );
+                }
+                catch ( IOException io )
+                {
+                    //TODO: handle exception
+                }
+            }
+        }
+    }
+
+    private void populateFile( File file )
+    {
+        FileOutputStream outputStream;
+        String data = (String) dataMap.get( file.getName() );
+
+        if ( ( data != null ) && file.exists() )
+        {
+            try
+            {
+                outputStream = new FileOutputStream( file );
+                outputStream.write( data.getBytes() );
+                outputStream.flush();
+                outputStream.close();
+            }
+            catch ( IOException ex )
+            {
+                // TODO: handle exception here
+            }
+        }
+    }
+}

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectBuildStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectResourcesStub.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectResourcesStub.java?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectResourcesStub.java (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectResourcesStub.java Mon Mar 24 06:21:50 2008
@@ -1,111 +1,111 @@
-package org.apache.maven.plugin.resources.stub;
-
-/*
- * 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.
- */
-
-import org.apache.maven.model.Resource;
-
-public class MavenProjectResourcesStub
-    extends MavenProjectBuildStub
-{
-
-    public MavenProjectResourcesStub( String id )
-        throws Exception
-    {
-        super( id );
-        setupResources();
-        setupTestResources();
-    }
-
-    public void addInclude( String pattern )
-    {
-        ( (Resource) build.getResources().get( 0 ) ).addInclude( pattern );
-    }
-
-    public void addExclude( String pattern )
-    {
-        ( (Resource) build.getResources().get( 0 ) ).addExclude( pattern );
-    }
-
-    public void addTestInclude( String pattern )
-    {
-        ( (Resource) build.getTestResources().get( 0 ) ).addInclude( pattern );
-    }
-
-    public void addTestExclude( String pattern )
-    {
-        ( (Resource) build.getTestResources().get( 0 ) ).addExclude( pattern );
-    }
-
-    public void setTargetPath( String path )
-    {
-        ( (Resource) build.getResources().get( 0 ) ).setTargetPath( path );
-    }
-
-    public void setTestTargetPath( String path )
-    {
-        ( (Resource) build.getTestResources().get( 0 ) ).setTargetPath( path );
-    }
-
-    public void setDirectory( String dir )
-    {
-        ( (Resource) build.getResources().get( 0 ) ).setDirectory( dir );
-    }
-
-    public void setTestDirectory( String dir )
-    {
-        ( (Resource) build.getTestResources().get( 0 ) ).setDirectory( dir );
-    }
-
-    public void setResourceFiltering( int nIndex, boolean filter )
-    {
-        if ( build.getResources().size() > nIndex )
-        {
-            ( (Resource) build.getResources().get( nIndex ) ).setFiltering( filter );
-        }
-    }
-
-    private void setupResources()
-    {
-        Resource resource = new Resource();
-
-        // see MavenProjectBasicStub for details
-        // of getBasedir
-
-        // setup default resources
-        resource.setDirectory( getBasedir().getPath() + "/src/main/resources" );
-        resource.setFiltering( false );
-        resource.setTargetPath( null );
-        build.addResource( resource );
-    }
-
-    private void setupTestResources()
-    {
-        Resource resource = new Resource();
-
-        // see MavenProjectBasicStub for details
-        // of getBasedir
-
-        // setup default test resources
-        resource.setDirectory( getBasedir().getPath() + "/src/test/resources" );
-        resource.setFiltering( false );
-        resource.setTargetPath( null );
-        build.addTestResource( resource );
-    }
-}
+package org.apache.maven.plugin.resources.stub;
+
+/*
+ * 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.
+ */
+
+import org.apache.maven.model.Resource;
+
+public class MavenProjectResourcesStub
+    extends MavenProjectBuildStub
+{
+
+    public MavenProjectResourcesStub( String id )
+        throws Exception
+    {
+        super( id );
+        setupResources();
+        setupTestResources();
+    }
+
+    public void addInclude( String pattern )
+    {
+        ( (Resource) build.getResources().get( 0 ) ).addInclude( pattern );
+    }
+
+    public void addExclude( String pattern )
+    {
+        ( (Resource) build.getResources().get( 0 ) ).addExclude( pattern );
+    }
+
+    public void addTestInclude( String pattern )
+    {
+        ( (Resource) build.getTestResources().get( 0 ) ).addInclude( pattern );
+    }
+
+    public void addTestExclude( String pattern )
+    {
+        ( (Resource) build.getTestResources().get( 0 ) ).addExclude( pattern );
+    }
+
+    public void setTargetPath( String path )
+    {
+        ( (Resource) build.getResources().get( 0 ) ).setTargetPath( path );
+    }
+
+    public void setTestTargetPath( String path )
+    {
+        ( (Resource) build.getTestResources().get( 0 ) ).setTargetPath( path );
+    }
+
+    public void setDirectory( String dir )
+    {
+        ( (Resource) build.getResources().get( 0 ) ).setDirectory( dir );
+    }
+
+    public void setTestDirectory( String dir )
+    {
+        ( (Resource) build.getTestResources().get( 0 ) ).setDirectory( dir );
+    }
+
+    public void setResourceFiltering( int nIndex, boolean filter )
+    {
+        if ( build.getResources().size() > nIndex )
+        {
+            ( (Resource) build.getResources().get( nIndex ) ).setFiltering( filter );
+        }
+    }
+
+    private void setupResources()
+    {
+        Resource resource = new Resource();
+
+        // see MavenProjectBasicStub for details
+        // of getBasedir
+
+        // setup default resources
+        resource.setDirectory( getBasedir().getPath() + "/src/main/resources" );
+        resource.setFiltering( false );
+        resource.setTargetPath( null );
+        build.addResource( resource );
+    }
+
+    private void setupTestResources()
+    {
+        Resource resource = new Resource();
+
+        // see MavenProjectBasicStub for details
+        // of getBasedir
+
+        // setup default test resources
+        resource.setDirectory( getBasedir().getPath() + "/src/test/resources" );
+        resource.setFiltering( false );
+        resource.setTargetPath( null );
+        build.addTestResource( resource );
+    }
+}

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/java/org/apache/maven/plugin/resources/stub/MavenProjectResourcesStub.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/advance.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/advance.properties?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/advance.properties (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/advance.properties Mon Mar 24 06:21:50 2008
@@ -1,6 +1,6 @@
-key1:value1
-key2:value 2
-key3:value 3
-key4:${key3}
-key5:${key1}.value4
-key6:${key1}_${key3}_value5
+key1:value1
+key2:value 2
+key3:value 3
+key4:${key3}
+key5:${key1}.value4
+key6:${key1}_${key3}_value5

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/advance.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/advance_validation.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/advance_validation.properties?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/advance_validation.properties (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/advance_validation.properties Mon Mar 24 06:21:50 2008
@@ -1,6 +1,6 @@
-key1  : value1
-key2  : value 2
-key3 : value 3
-key4  : value 3
-key5  : value1.value4
-key6  : value1_value 3_value5
+key1  : value1
+key2  : value 2
+key3 : value 3
+key4  : value 3
+key5  : value1.value4
+key6  : value1_value 3_value5

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/advance_validation.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/basic.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/basic.properties?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/basic.properties (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/basic.properties Mon Mar 24 06:21:50 2008
@@ -1,5 +1,5 @@
-key1:value1
-key2:value2
-key3:value3
-key4:value4
-key5:${key4}
+key1:value1
+key2:value2
+key3:value3
+key4:value4
+key5:${key4}

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/basic.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/basic_validation.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/basic_validation.properties?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/basic_validation.properties (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/basic_validation.properties Mon Mar 24 06:21:50 2008
@@ -1,5 +1,5 @@
-key1:value1
-key2:value2
-key3:value3
-key4:value4
-key5:value4
+key1:value1
+key2:value2
+key3:value3
+key4:value4
+key5:value4

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/basic_validation.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/enhanced.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/propertiesutils-test/enhanced_validation.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/plugin-config.xml?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/plugin-config.xml Mon Mar 24 06:21:50 2008
@@ -1,34 +1,34 @@
-<?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">
-  <description>c:\root\home\my_dir</description>
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-resources-plugin</artifactId>
-        <configuration>
-            <encoding>UTF-8</encoding>
-            <outputDirectory>${basedir}\target\test-classes\unit\reflectionproperties-test</outputDirectory>
-        </configuration>
-      </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">
+  <description>c:\root\home\my_dir</description>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <configuration>
+            <encoding>UTF-8</encoding>
+            <outputDirectory>${basedir}\target\test-classes\unit\reflectionproperties-test</outputDirectory>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/validation.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/validation.properties?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/validation.properties (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/validation.properties Mon Mar 24 06:21:50 2008
@@ -1,4 +1,4 @@
-project_property:description
-description:c\:\\root\\home\\my_dir
-outputDirectory:\\target\\test-classes\\unit\\reflectionproperties-test
-encoding:UTF-8
+project_property:description
+description:c\:\\root\\home\\my_dir
+outputDirectory:\\target\\test-classes\\unit\\reflectionproperties-test
+encoding:UTF-8

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/validation.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/validation_escapebackslashinpath.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/validation_escapebackslashinpath.properties?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/validation_escapebackslashinpath.properties (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/validation_escapebackslashinpath.properties Mon Mar 24 06:21:50 2008
@@ -1,4 +1,4 @@
-project_property:description
-description:c\\:\\\\root\\\\home\\\\my_dir
-outputDirectory:\\target\\test-classes\\unit\\reflectionproperties-test
-encoding:UTF-8
+project_property:description
+description:c\\:\\\\root\\\\home\\\\my_dir
+outputDirectory:\\target\\test-classes\\unit\\reflectionproperties-test
+encoding:UTF-8

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/reflectionproperties-test/validation_escapebackslashinpath.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config-absolute-path.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config-absolute-path.xml?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config-absolute-path.xml (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config-absolute-path.xml Mon Mar 24 06:21:50 2008
@@ -1,47 +1,47 @@
-<?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">
-  <name>test2</name>
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-resources-plugin</artifactId>
-       <configuration>
-          <outputDirectory>/test-classes/unit/result-dir</outputDirectory>
-        </configuration>
-      </plugin>
-    </plugins>
-    <resources>
-      <resource>
-        <filtering>false</filtering>
-        <directory>/src/test/resources/unit/test-dir</directory>
-        <includes>
-          **/*.include
-          **/*.test
-        </includes>
-        <excludes>
-          **/*.exclude
-          **/*.nottest
-        </excludes>
-      </resource>
-    </resources>
-  </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">
+  <name>test2</name>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+       <configuration>
+          <outputDirectory>/test-classes/unit/result-dir</outputDirectory>
+        </configuration>
+      </plugin>
+    </plugins>
+    <resources>
+      <resource>
+        <filtering>false</filtering>
+        <directory>/src/test/resources/unit/test-dir</directory>
+        <includes>
+          **/*.include
+          **/*.test
+        </includes>
+        <excludes>
+          **/*.exclude
+          **/*.nottest
+        </excludes>
+      </resource>
+    </resources>
+  </build>
+</project>

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config-absolute-path.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config-relative-path.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config-relative-path.xml?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config-relative-path.xml (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config-relative-path.xml Mon Mar 24 06:21:50 2008
@@ -1,47 +1,47 @@
-<?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">
-  <name>test3</name>
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-resources-plugin</artifactId>
-       <configuration>
-          <outputDirectory>/test-classes/unit/result-dir</outputDirectory>
-        </configuration>
-      </plugin>
-    </plugins>
-    <resources>
-      <resource>
-        <filtering>false</filtering>
-        <directory>../src/test/resources/unit/test-dir</directory>
-        <includes>
-          **/*.include
-          **/*.test
-        </includes>
-        <excludes>
-          **/*.exclude
-          **/*.nottest
-        </excludes>
-      </resource>
-    </resources>
-  </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">
+  <name>test3</name>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+       <configuration>
+          <outputDirectory>/test-classes/unit/result-dir</outputDirectory>
+        </configuration>
+      </plugin>
+    </plugins>
+    <resources>
+      <resource>
+        <filtering>false</filtering>
+        <directory>../src/test/resources/unit/test-dir</directory>
+        <includes>
+          **/*.include
+          **/*.test
+        </includes>
+        <excludes>
+          **/*.exclude
+          **/*.nottest
+        </excludes>
+      </resource>
+    </resources>
+  </build>
+</project>

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config-relative-path.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config.xml?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config.xml (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config.xml Mon Mar 24 06:21:50 2008
@@ -1,47 +1,47 @@
-<?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">
-  <name>test1</name>
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-resources-plugin</artifactId>
-        <configuration>
-          <outputDirectory>/test-classes/unit/resources-test</outputDirectory>
-        </configuration>
-      </plugin>
-    </plugins>
-    <resources>
-      <resource>
-        <filtering>false</filtering>
-        <directory>/test/resources/unit/test-dir</directory>
-        <includes>
-          **/*.include
-          **/*.test
-        </includes>
-        <excludes>
-          **/**.exclude
-          **/*.nottest
-        </excludes>
-      </resource>
-    </resources>
-  </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">
+  <name>test1</name>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-resources-plugin</artifactId>
+        <configuration>
+          <outputDirectory>/test-classes/unit/resources-test</outputDirectory>
+        </configuration>
+      </plugin>
+    </plugins>
+    <resources>
+      <resource>
+        <filtering>false</filtering>
+        <directory>/test/resources/unit/test-dir</directory>
+        <includes>
+          **/*.include
+          **/*.test
+        </includes>
+        <excludes>
+          **/**.exclude
+          **/*.nottest
+        </excludes>
+      </resource>
+    </resources>
+  </build>
+</project>

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/plugin-config.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/validation.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/validation.properties?rev=640407&r1=640406&r2=640407&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/validation.properties (original)
+++ maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/validation.properties Mon Mar 24 06:21:50 2008
@@ -1,3 +1,3 @@
-test1 : C\:\\Source\\maven_core\\plugins\\maven-resources-plugin\\target\\test-classes\\unit\\test-dir\\package\test   
-test2 :
-test3 :
+test1 : C\:\\Source\\maven_core\\plugins\\maven-resources-plugin\\target\\test-classes\\unit\\test-dir\\package\test   
+test2 :
+test3 :

Propchange: maven/plugins/trunk/maven-resources-plugin/src/test/resources/unit/resources-test/validation.properties
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message