You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/03/18 11:01:01 UTC

svn commit: r638295 - in /maven/artifact/trunk/src: main/java/org/apache/maven/artifact/ main/java/org/apache/maven/artifact/manager/ main/java/org/apache/maven/artifact/resolver/conflict/ main/java/org/apache/maven/artifact/resolver/metadata/ main/jav...

Author: bentmann
Date: Tue Mar 18 03:00:56 2008
New Revision: 638295

URL: http://svn.apache.org/viewvc?rev=638295&view=rev
Log:
o Added svn:eol-style=native

Modified:
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/manager/CredentialsChangeRequest.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/manager/CredentialsDataSource.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/manager/CredentialsDataSourceException.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/conflict/DefaultGraphConflictResolutionPolicy.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/conflict/DefaultGraphConflictResolver.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/conflict/GraphConflictResolutionException.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/conflict/GraphConflictResolutionPolicy.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/conflict/GraphConflictResolver.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/metadata/MetadataGraphVertex.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/transform/ClasspathContainer.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/transform/ClasspathTransformation.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/transform/DefaultClasspathTransformation.java   (props changed)
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/transform/MetadataGraphTransformationException.java   (props changed)
    maven/artifact/trunk/src/test/java/org/apache/maven/artifact/manager/WagonString.java   (contents, props changed)
    maven/artifact/trunk/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java   (props changed)
    maven/artifact/trunk/src/test/java/org/apache/maven/artifact/resolver/conflict/DefaultGraphConflictResolutionPolicyTest.java   (props changed)
    maven/artifact/trunk/src/test/java/org/apache/maven/artifact/resolver/conflict/DefaultGraphConflictResolverTest.java   (props changed)
    maven/artifact/trunk/src/test/java/org/apache/maven/artifact/transform/DefaultClasspathTransformationTest.java   (props changed)

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/manager/CredentialsChangeRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/manager/CredentialsDataSource.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/manager/CredentialsDataSourceException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/conflict/DefaultGraphConflictResolutionPolicy.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/conflict/DefaultGraphConflictResolver.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/conflict/GraphConflictResolutionException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/conflict/GraphConflictResolutionPolicy.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/conflict/GraphConflictResolver.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/resolver/metadata/MetadataGraphVertex.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/transform/ClasspathContainer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/transform/ClasspathTransformation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/transform/DefaultClasspathTransformation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/transform/MetadataGraphTransformationException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/artifact/trunk/src/test/java/org/apache/maven/artifact/manager/WagonString.java
URL: http://svn.apache.org/viewvc/maven/artifact/trunk/src/test/java/org/apache/maven/artifact/manager/WagonString.java?rev=638295&r1=638294&r2=638295&view=diff
==============================================================================
--- maven/artifact/trunk/src/test/java/org/apache/maven/artifact/manager/WagonString.java (original)
+++ maven/artifact/trunk/src/test/java/org/apache/maven/artifact/manager/WagonString.java Tue Mar 18 03:00:56 2008
@@ -1,107 +1,107 @@
-package org.apache.maven.artifact.manager;
-
-/*
- * 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.IOException;
-import java.util.Map;
-
-import org.apache.maven.wagon.AbstractWagon;
-import org.apache.maven.wagon.ResourceDoesNotExistException;
-import org.apache.maven.wagon.TransferFailedException;
-import org.apache.maven.wagon.authorization.AuthorizationException;
-import org.apache.maven.wagon.events.TransferEvent;
-import org.apache.maven.wagon.resource.Resource;
-import org.codehaus.plexus.util.FileUtils;
-
-/**
- * A wagon stub that can be configured to output strings into some artifacts.
- */
-public class WagonString
-    extends AbstractWagon
-{
-
-    /**
-     * A mapping from resource names to file contents. Retrievals will throw a {@link ResourceDoesNotExistException} if
-     * a resource is requested which has no entry in this map.
-     * 
-     * @component.configuration default="resourceStrings"
-     */
-    private Map resourceStrings;
-
-    public void closeConnection()
-    {
-        // NO-OP
-    }
-
-    public void get( String resourceName, File destination )
-        throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException
-    {
-        getIfNewer( resourceName, destination, 0 );
-    }
-
-    public boolean getIfNewer( String resourceName, File destination, long timestamp )
-        throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException
-    {
-        Resource resource = new Resource( resourceName );
-        fireGetInitiated( resource, destination );
-
-        String data = (String) this.resourceStrings.get( resourceName );
-        if ( data == null )
-        {
-            throw new ResourceDoesNotExistException( "Unexistent resource: " + resourceName );
-        }
-
-        fireGetStarted( resource, destination );
-        try
-        {
-            byte[] bytes = data.getBytes( "UTF-8" );
-            FileUtils.fileWrite( destination.getPath(), "UTF-8", data );
-            fireTransferProgress( new TransferEvent( this, resource, TransferEvent.TRANSFER_PROGRESS,
-                                                     TransferEvent.REQUEST_GET ), bytes, bytes.length );
-        }
-        catch ( IOException e )
-        {
-            return false;
-        }
-        fireGetCompleted( resource, destination );
-
-        return true;
-    }
-
-    public void openConnection()
-    {
-        // NO-OP
-    }
-
-    public void put( File source, String destination )
-        throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException
-    {
-        Resource resource = new Resource( destination );
-        firePutInitiated( resource, source );
-        firePutStarted( resource, source );
-        firePutCompleted( resource, source );
-    }
-
-    public String[] getSupportedProtocols()
-    {
-        return new String[] { "string" };
-    }
-}
+package org.apache.maven.artifact.manager;
+
+/*
+ * 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.IOException;
+import java.util.Map;
+
+import org.apache.maven.wagon.AbstractWagon;
+import org.apache.maven.wagon.ResourceDoesNotExistException;
+import org.apache.maven.wagon.TransferFailedException;
+import org.apache.maven.wagon.authorization.AuthorizationException;
+import org.apache.maven.wagon.events.TransferEvent;
+import org.apache.maven.wagon.resource.Resource;
+import org.codehaus.plexus.util.FileUtils;
+
+/**
+ * A wagon stub that can be configured to output strings into some artifacts.
+ */
+public class WagonString
+    extends AbstractWagon
+{
+
+    /**
+     * A mapping from resource names to file contents. Retrievals will throw a {@link ResourceDoesNotExistException} if
+     * a resource is requested which has no entry in this map.
+     * 
+     * @component.configuration default="resourceStrings"
+     */
+    private Map resourceStrings;
+
+    public void closeConnection()
+    {
+        // NO-OP
+    }
+
+    public void get( String resourceName, File destination )
+        throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException
+    {
+        getIfNewer( resourceName, destination, 0 );
+    }
+
+    public boolean getIfNewer( String resourceName, File destination, long timestamp )
+        throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException
+    {
+        Resource resource = new Resource( resourceName );
+        fireGetInitiated( resource, destination );
+
+        String data = (String) this.resourceStrings.get( resourceName );
+        if ( data == null )
+        {
+            throw new ResourceDoesNotExistException( "Unexistent resource: " + resourceName );
+        }
+
+        fireGetStarted( resource, destination );
+        try
+        {
+            byte[] bytes = data.getBytes( "UTF-8" );
+            FileUtils.fileWrite( destination.getPath(), "UTF-8", data );
+            fireTransferProgress( new TransferEvent( this, resource, TransferEvent.TRANSFER_PROGRESS,
+                                                     TransferEvent.REQUEST_GET ), bytes, bytes.length );
+        }
+        catch ( IOException e )
+        {
+            return false;
+        }
+        fireGetCompleted( resource, destination );
+
+        return true;
+    }
+
+    public void openConnection()
+    {
+        // NO-OP
+    }
+
+    public void put( File source, String destination )
+        throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException
+    {
+        Resource resource = new Resource( destination );
+        firePutInitiated( resource, source );
+        firePutStarted( resource, source );
+        firePutCompleted( resource, source );
+    }
+
+    public String[] getSupportedProtocols()
+    {
+        return new String[] { "string" };
+    }
+}

Propchange: maven/artifact/trunk/src/test/java/org/apache/maven/artifact/manager/WagonString.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/test/java/org/apache/maven/artifact/resolver/conflict/DefaultGraphConflictResolutionPolicyTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/test/java/org/apache/maven/artifact/resolver/conflict/DefaultGraphConflictResolverTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/artifact/trunk/src/test/java/org/apache/maven/artifact/transform/DefaultClasspathTransformationTest.java
------------------------------------------------------------------------------
    svn:eol-style = native