maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject cvs commit: maven-scm/maven-scm-api/src/test/java/org/apache/maven/scm/manager ScmManagerTest.java
Date Tue, 26 Oct 2004 12:37:06 GMT
trygvis     2004/10/26 05:37:06

  Modified:    maven-scm-api/src/main/java/org/apache/maven/scm
                        CommandLineScmResult.java CommandNameConstants.java
                        CommandParameter.java CommandParameters.java
                        NoSuchCommandScmException.java ScmException.java
                        ScmFile.java ScmFileStatus.java ScmResult.java
                        ScmTestCase.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command
                        AbstractCommand.java Command.java
                        CommandLineUtils.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/add
                        AbstractAddCommand.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/branch
                        AbstractBranchCommand.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog
                        AbstractChangeLogCommand.java
                        ChangeLogConsumer.java ChangeLogEntry.java
                        ChangeLogFile.java ChangeLogScmResult.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/checkin
                        AbstractCheckInCommand.java CheckInScmResult.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/checkout
                        AbstractCheckOutCommand.java CheckOutScmResult.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/diff
                        AbstractDiffCommand.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/fileinfo
                        AbstractFileInfoCommand.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/listfiles
                        AbstractListFilesCommand.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/lock
                        AbstractLockCommand.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/remove
                        AbstractRemoveCommand.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/tag
                        AbstractTagCommand.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/unlock
                        AbstractUnlockCommand.java
               maven-scm-api/src/main/java/org/apache/maven/scm/command/update
                        AbstractUpdateCommand.java UpdateScmResult.java
               maven-scm-api/src/main/java/org/apache/maven/scm/manager
                        DefaultScmManager.java
                        NoSuchScmProviderException.java ScmManager.java
               maven-scm-api/src/main/java/org/apache/maven/scm/provider
                        AbstractScmProvider.java ScmProvider.java
                        ScmProviderRepository.java
               maven-scm-api/src/main/java/org/apache/maven/scm/repository
                        ScmRepository.java ScmRepositoryException.java
               maven-scm-api/src/test/java/org/apache/maven/scm/command/changelog
                        ChangeLogEntryTest.java ChangeLogFileTest.java
               maven-scm-api/src/test/java/org/apache/maven/scm/manager
                        ScmManagerTest.java
  Removed:     maven-scm-api LICENSE.txt NOTICE.txt
  Log:
  o Moving LICENSE.txt and NOTICE.txt to the root.
  o Adding licenses.
  
  Revision  Changes    Path
  1.2       +16 -3     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/CommandLineScmResult.java
  
  Index: CommandLineScmResult.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/CommandLineScmResult.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CommandLineScmResult.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ CommandLineScmResult.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,10 +1,23 @@
   package org.apache.maven.scm;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   /**
  + * @deprecated
    * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
    * @version $Id$
    */
  @@ -15,7 +28,7 @@
   
       public CommandLineScmResult( int exitCode )
       {
  -        super.setSuccess( exitCode == 0 );
  +        super( null, exitCode == 0 );
   
           this.exitCode = exitCode;
       }
  
  
  
  1.2       +14 -2     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/CommandNameConstants.java
  
  Index: CommandNameConstants.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/CommandNameConstants.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CommandNameConstants.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ CommandNameConstants.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,19 @@
   package org.apache.maven.scm;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   /**
  
  
  
  1.2       +15 -3     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/CommandParameter.java
  
  Index: CommandParameter.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/CommandParameter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CommandParameter.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ CommandParameter.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,19 @@
   package org.apache.maven.scm;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   /**
  @@ -37,7 +49,7 @@
       public final static CommandParameter END_REVISION = new CommandParameter( "endRevision" );
   
       private String name;
  -    
  +
       public CommandParameter( String name )
       {
           this.name = name;
  
  
  
  1.2       +15 -3     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/CommandParameters.java
  
  Index: CommandParameters.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/CommandParameters.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CommandParameters.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ CommandParameters.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,19 @@
   package org.apache.maven.scm;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   import java.io.File;
  @@ -159,7 +171,7 @@
   
           if ( clazz != null && !clazz.isAssignableFrom( object.getClass() ) )
           {
  -            throw new ScmException( "Wrong parameter type for '" + parameter.getName() + ". " + 
  +            throw new ScmException( "Wrong parameter type for '" + parameter.getName() + ". " +
                   "Expected: " + clazz.getName() + ", got: " + object.getClass().getName() );
           }
   
  
  
  
  1.2       +14 -2     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/NoSuchCommandScmException.java
  
  Index: NoSuchCommandScmException.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/NoSuchCommandScmException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NoSuchCommandScmException.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ NoSuchCommandScmException.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,19 @@
   package org.apache.maven.scm;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   /**
  
  
  
  1.2       +19 -3     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/ScmException.java
  
  Index: ScmException.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/ScmException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScmException.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ScmException.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,5 +1,21 @@
   package org.apache.maven.scm;
   
  +/*
  + * Copyright 2001-2004 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.
  + */
  +
   /* ====================================================================
    * Copyright 2003-2004 The Apache Software Foundation.
    *
  @@ -18,8 +34,8 @@
    */
   
   /**
  - * 
  - * @author <a href="evenisse@apache.org">Emmanuel Venisse</a> 
  + *
  + * @author <a href="evenisse@apache.org">Emmanuel Venisse</a>
    * @version $Id$
    */
   public class ScmException extends Exception
  
  
  
  1.2       +14 -3     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/ScmFile.java
  
  Index: ScmFile.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/ScmFile.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScmFile.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ScmFile.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,8 +1,19 @@
   package org.apache.maven.scm;
   
  -
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   /**
  
  
  
  1.3       +14 -2     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/ScmFileStatus.java
  
  Index: ScmFileStatus.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/ScmFileStatus.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ScmFileStatus.java	26 Oct 2004 12:01:09 -0000	1.2
  +++ ScmFileStatus.java	26 Oct 2004 12:37:05 -0000	1.3
  @@ -1,7 +1,19 @@
   package org.apache.maven.scm;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   /**
  
  
  
  1.2       +38 -14    maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/ScmResult.java
  
  Index: ScmResult.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/ScmResult.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScmResult.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ScmResult.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,19 @@
   package org.apache.maven.scm;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   /**
  @@ -10,31 +22,38 @@
    */
   public class ScmResult
   {
  -    public boolean success;
  +    private boolean success;
   
  -    public String message;
  +    private String providerMessage;
   
  -    public String longMessage;
  +    private String commandOutput;
   
       public static class Failure
           extends ScmResult
       {
           public Failure()
           {
  -            super.setSuccess( false );
  +            super( null, false );
           }
       }
   
       public ScmResult()
       {
  -        success = true;
  +        this.success = true;
       }
   
  -    public ScmResult( String message, String longMessage )
  +    public ScmResult( String providerMessage, boolean success )
       {
  -        this.message = message;
  +        this.providerMessage = providerMessage;
   
  -        this.longMessage = longMessage;
  +        this.success = success;
  +    }
  +
  +    public ScmResult( String providerMessage, String commandOutput )
  +    {
  +        this.providerMessage = providerMessage;
  +
  +        this.commandOutput = commandOutput;
   
           success = false;
       }
  @@ -44,18 +63,23 @@
           return success;
       }
   
  -    public void setSuccess( boolean success )
  +    public String getProviderMessage()
       {
  -        this.success = success;
  +        return providerMessage;
  +    }
  +
  +    public String getCommandOutput()
  +    {
  +        return commandOutput;
       }
   
       public String getMessage()
       {
  -        return message;
  +        return providerMessage;
       }
   
       public String getLongMessage()
       {
  -        return longMessage;
  +        return commandOutput;
       }
   }
  
  
  
  1.2       +17 -2     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/ScmTestCase.java
  
  Index: ScmTestCase.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/ScmTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScmTestCase.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ScmTestCase.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,5 +1,21 @@
   package org.apache.maven.scm;
   
  +/*
  + * Copyright 2001-2004 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.
  + */
  +
   import java.io.File;
   
   import org.apache.maven.scm.manager.ScmManager;
  @@ -12,7 +28,6 @@
   import org.codehaus.plexus.util.cli.CommandLineUtils;
   import org.codehaus.plexus.util.cli.Commandline;
   import org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer;
  -
   
   /**
    * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/AbstractCommand.java
  
  Index: AbstractCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/AbstractCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractCommand.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/Command.java
  
  Index: Command.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/Command.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Command.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ Command.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  
  
  
  1.2       +14 -2     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/CommandLineUtils.java
  
  Index: CommandLineUtils.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/CommandLineUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CommandLineUtils.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ CommandLineUtils.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,19 @@
   package org.apache.maven.scm.command;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   /**
  
  
  
  1.2       +4 -8      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/add/AbstractAddCommand.java
  
  Index: AbstractAddCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/add/AbstractAddCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractAddCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractAddCommand.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.add;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  @@ -26,14 +25,11 @@
   import org.apache.maven.scm.command.AbstractCommand;
   import org.apache.maven.scm.repository.ScmRepository;
   
  -
  -
  -
   /**
    * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
    * @version $Id$
    */
  -public abstract class AbstractAddCommand 
  +public abstract class AbstractAddCommand
       extends AbstractCommand
   {
       protected abstract ScmResult executeAddCommand( ScmRepository repository, File workingDirectory, String message, boolean binary )
  
  
  
  1.2       +3 -7      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/branch/AbstractBranchCommand.java
  
  Index: AbstractBranchCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/branch/AbstractBranchCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractBranchCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractBranchCommand.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.branch;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  @@ -25,9 +24,6 @@
   import org.apache.maven.scm.ScmResult;
   import org.apache.maven.scm.command.AbstractCommand;
   import org.apache.maven.scm.repository.ScmRepository;
  -
  -
  -
   
   /**
    * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
  
  
  
  1.2       +3 -7      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/AbstractChangeLogCommand.java
  
  Index: AbstractChangeLogCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/AbstractChangeLogCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractChangeLogCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractChangeLogCommand.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.changelog;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  @@ -26,9 +25,6 @@
   import org.apache.maven.scm.ScmResult;
   import org.apache.maven.scm.command.AbstractCommand;
   import org.apache.maven.scm.provider.ScmProviderRepository;
  -
  -
  -
   
   /**
    * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/ChangeLogConsumer.java
  
  Index: ChangeLogConsumer.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/ChangeLogConsumer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChangeLogConsumer.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ChangeLogConsumer.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.changelog;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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.util.List;
  
  
  
  1.2       +16 -17    maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/ChangeLogEntry.java
  
  Index: ChangeLogEntry.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/ChangeLogEntry.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChangeLogEntry.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ChangeLogEntry.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.changelog;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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.text.ParseException;
  @@ -25,7 +24,7 @@
   
   /**
    * Change Log Entry - holds details about revisions to a file.
  - * 
  + *
    * @author <a href="mailto:dion@multitask.com.au">dIon Gillard </a>
    * @version $Id$
    */
  @@ -87,7 +86,7 @@
   
       /**
        * Constructor for the Entry object
  -     * 
  +     *
        * @param date the date of the change
        * @param author who made the change
        * @param comment the commit comments for the change
  @@ -110,7 +109,7 @@
   
       /**
        * Adds a file to the list for this entry
  -     * 
  +     *
        * @param file a {@link ChangeLogFile}
        */
       public void addFile( ChangeLogFile file )
  @@ -120,7 +119,7 @@
   
       /**
        * Adds a feature to the File attribute of the Entry object.
  -     * 
  +     *
        * @param file the file name committed
        * @param revision the revision of the latest change
        */
  @@ -139,7 +138,7 @@
   
       /**
        * Provide the changelog entry as an XML snippet.
  -     * 
  +     *
        * @return a changelog-entry in xml format
        */
       public String toXML()
  @@ -167,7 +166,7 @@
   
       /**
        * Getter for property author.
  -     * 
  +     *
        * @return Value of property author.
        */
       public String getAuthor()
  @@ -177,7 +176,7 @@
   
       /**
        * Setter for property author.
  -     * 
  +     *
        * @param author
        *            New value of property author.
        */
  @@ -188,7 +187,7 @@
   
       /**
        * Getter for property comment.
  -     * 
  +     *
        * @return Value of property comment.
        */
       public String getComment()
  @@ -198,7 +197,7 @@
   
       /**
        * Setter for property comment.
  -     * 
  +     *
        * @param comment
        *            New value of property comment.
        */
  @@ -209,7 +208,7 @@
   
       /**
        * Getter for property date.
  -     * 
  +     *
        * @return Value of property date.
        */
       public Date getDate()
  @@ -219,7 +218,7 @@
   
       /**
        * Setter for property date.
  -     * 
  +     *
        * @param date
        *            New value of property date.
        */
  @@ -230,7 +229,7 @@
   
       /**
        * Setter for property date that takes a string and parses it
  -     * 
  +     *
        * @param date - a string in yyyy/MM/dd HH:mm:ss format
        */
       public void setDate( String date )
  @@ -274,7 +273,7 @@
        * attribute value.
        * </p>
        * swiped from jakarta-commons/betwixt -- XMLUtils.java
  -     * 
  +     *
        * @param value
        *            escape <code>value.toString()</code>
        * @return text with characters restricted (for use in attributes) escaped
  
  
  
  1.2       +11 -12    maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/ChangeLogFile.java
  
  Index: ChangeLogFile.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/ChangeLogFile.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChangeLogFile.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ChangeLogFile.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.changelog;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,13 +14,12 @@
    * 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.
  - * ====================================================================
    */
   
   /**
    * A set of information about revisions of a file as returned by CVS's log
    * command
  - * 
  + *
    * @task remove previous revision along with parser changes
    * @author <a href="mailto:dion@multitask.com.au">dIon Gillard </a>
    * @version $Id$
  @@ -35,7 +34,7 @@
   
       /**
        * Constructor for the ChangeLogFile object without all details available
  -     * 
  +     *
        * @param name file name
        */
       public ChangeLogFile( String name )
  @@ -45,7 +44,7 @@
   
       /**
        * Constructor for the ChangeLogFile object
  -     * 
  +     *
        * @param name file name
        * @param rev latest revision of the file
        */
  @@ -58,7 +57,7 @@
   
       /**
        * Gets the name attribute of the ChangeLogFile object.
  -     * 
  +     *
        * @return the file name
        */
       public String getName()
  @@ -68,7 +67,7 @@
   
       /**
        * Gets the revision attribute of the ChangeLogFile object.
  -     * 
  +     *
        * @return the latest revision of the file
        */
       public String getRevision()
  @@ -78,7 +77,7 @@
   
       /**
        * Setter for property name.
  -     * 
  +     *
        * @param name
        *            New value of property name.
        */
  @@ -89,7 +88,7 @@
   
       /**
        * Setter for property revision.
  -     * 
  +     *
        * @param revision New value of property revision.
        */
       public void setRevision( String revision )
  @@ -99,7 +98,7 @@
   
       /**
        * Provide a version of the object as a string for debugging purposes
  -     * 
  +     *
        * @return a {@link String}made up of the properties of the object
        */
       public String toString()
  
  
  
  1.2       +14 -3     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/ChangeLogScmResult.java
  
  Index: ChangeLogScmResult.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/changelog/ChangeLogScmResult.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChangeLogScmResult.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ChangeLogScmResult.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,13 +1,24 @@
   package org.apache.maven.scm.command.changelog;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   import java.util.List;
   
   import org.apache.maven.scm.ScmResult;
  -
   
   /**
    * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/checkin/AbstractCheckInCommand.java
  
  Index: AbstractCheckInCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/checkin/AbstractCheckInCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractCheckInCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractCheckInCommand.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.checkin;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  
  
  
  1.2       +14 -2     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/checkin/CheckInScmResult.java
  
  Index: CheckInScmResult.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/checkin/CheckInScmResult.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CheckInScmResult.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ CheckInScmResult.java	26 Oct 2004 12:37:05 -0000	1.2
  @@ -1,7 +1,19 @@
   package org.apache.maven.scm.command.checkin;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   import java.util.List;
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/checkout/AbstractCheckOutCommand.java
  
  Index: AbstractCheckOutCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/checkout/AbstractCheckOutCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractCheckOutCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractCheckOutCommand.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.checkout;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  
  
  
  1.2       +14 -2     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/checkout/CheckOutScmResult.java
  
  Index: CheckOutScmResult.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/checkout/CheckOutScmResult.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CheckOutScmResult.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ CheckOutScmResult.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,19 @@
   package org.apache.maven.scm.command.checkout;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   import java.util.List;
  
  
  
  1.2       +4 -8      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/diff/AbstractDiffCommand.java
  
  Index: AbstractDiffCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/diff/AbstractDiffCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractDiffCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractDiffCommand.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.diff;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  @@ -26,13 +25,10 @@
   import org.apache.maven.scm.command.AbstractCommand;
   import org.apache.maven.scm.repository.ScmRepository;
   
  -
  -
  -
   /**
    * TODO: Better support for entire filesets.
    * TODO: Better support for entire changesets.
  - * 
  + *
    * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
    * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
    * @version $Id$
  
  
  
  1.2       +3 -7      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/fileinfo/AbstractFileInfoCommand.java
  
  Index: AbstractFileInfoCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/fileinfo/AbstractFileInfoCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractFileInfoCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractFileInfoCommand.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.fileinfo;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  @@ -25,9 +24,6 @@
   import org.apache.maven.scm.ScmResult;
   import org.apache.maven.scm.command.AbstractCommand;
   import org.apache.maven.scm.repository.ScmRepository;
  -
  -
  -
   
   /**
    * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
  
  
  
  1.2       +3 -7      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/listfiles/AbstractListFilesCommand.java
  
  Index: AbstractListFilesCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/listfiles/AbstractListFilesCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractListFilesCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractListFilesCommand.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.listfiles;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  @@ -25,9 +24,6 @@
   import org.apache.maven.scm.ScmResult;
   import org.apache.maven.scm.command.AbstractCommand;
   import org.apache.maven.scm.repository.ScmRepository;
  -
  -
  -
   
   /**
    * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
  
  
  
  1.2       +3 -7      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/lock/AbstractLockCommand.java
  
  Index: AbstractLockCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/lock/AbstractLockCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractLockCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractLockCommand.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.lock;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  @@ -25,9 +24,6 @@
   import org.apache.maven.scm.ScmResult;
   import org.apache.maven.scm.command.AbstractCommand;
   import org.apache.maven.scm.repository.ScmRepository;
  -
  -
  -
   
   /**
    * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
  
  
  
  1.2       +3 -7      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/remove/AbstractRemoveCommand.java
  
  Index: AbstractRemoveCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/remove/AbstractRemoveCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractRemoveCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractRemoveCommand.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.remove;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  @@ -25,9 +24,6 @@
   import org.apache.maven.scm.ScmResult;
   import org.apache.maven.scm.command.AbstractCommand;
   import org.apache.maven.scm.repository.ScmRepository;
  -
  -
  -
   
   /**
    * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse</a>
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/tag/AbstractTagCommand.java
  
  Index: AbstractTagCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/tag/AbstractTagCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractTagCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractTagCommand.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.tag;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  
  
  
  1.2       +3 -7      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/unlock/AbstractUnlockCommand.java
  
  Index: AbstractUnlockCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/unlock/AbstractUnlockCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractUnlockCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractUnlockCommand.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.unlock;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  @@ -24,9 +23,6 @@
   import org.apache.maven.scm.ScmResult;
   import org.apache.maven.scm.command.AbstractCommand;
   import org.apache.maven.scm.repository.ScmRepository;
  -
  -
  -
   
   /**
    * @author <a href="mailto:evenisse@apache.org">Emmanuel Venisse </a>
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/update/AbstractUpdateCommand.java
  
  Index: AbstractUpdateCommand.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/update/AbstractUpdateCommand.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractUpdateCommand.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractUpdateCommand.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.command.update;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  
  
  
  1.2       +14 -3     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/update/UpdateScmResult.java
  
  Index: UpdateScmResult.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/command/update/UpdateScmResult.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UpdateScmResult.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ UpdateScmResult.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,13 +1,24 @@
   package org.apache.maven.scm.command.update;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   import java.util.List;
   
   import org.apache.maven.scm.ScmResult;
  -
   
   /**
    * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
  
  
  
  1.2       +16 -13    maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager/DefaultScmManager.java
  
  Index: DefaultScmManager.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager/DefaultScmManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultScmManager.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ DefaultScmManager.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,16 +1,19 @@
   package org.apache.maven.scm.manager;
   
   /*
  - * ====================================================================
  - * Copyright 2003-2004 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.
  - * ====================================================================
  + * Copyright 2001-2004 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.
    */
   
   import java.io.File;
  @@ -168,7 +171,7 @@
       }
   
       // ----------------------------------------------------------------------
  -    // 
  +    //
       // ----------------------------------------------------------------------
   
       private  ScmResult execute( String commandName, ScmRepository repository, File workingDirectory, CommandParameters parameters )
  @@ -180,7 +183,7 @@
       }
   
       // ----------------------------------------------------------------------
  -    // 
  +    //
       // ----------------------------------------------------------------------
   
       private ScmProvider getScmProvider( String providerType )
  
  
  
  1.2       +14 -2     maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager/NoSuchScmProviderException.java
  
  Index: NoSuchScmProviderException.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager/NoSuchScmProviderException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NoSuchScmProviderException.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ NoSuchScmProviderException.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,19 @@
   package org.apache.maven.scm.manager;
   
   /*
  - * LICENSE
  + * Copyright 2001-2004 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.
    */
   
   import org.apache.maven.scm.ScmException;
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager/ScmManager.java
  
  Index: ScmManager.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager/ScmManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScmManager.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ScmManager.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.manager;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/provider/AbstractScmProvider.java
  
  Index: AbstractScmProvider.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/provider/AbstractScmProvider.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractScmProvider.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ AbstractScmProvider.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.provider;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/provider/ScmProvider.java
  
  Index: ScmProvider.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/provider/ScmProvider.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScmProvider.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ScmProvider.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.provider;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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;
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/provider/ScmProviderRepository.java
  
  Index: ScmProviderRepository.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/provider/ScmProviderRepository.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScmProviderRepository.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ScmProviderRepository.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.provider;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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.
  - * ====================================================================
    */
   
   /**
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/repository/ScmRepository.java
  
  Index: ScmRepository.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/repository/ScmRepository.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScmRepository.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ScmRepository.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.repository;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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.scm.provider.ScmProviderRepository;
  
  
  
  1.2       +3 -4      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/repository/ScmRepositoryException.java
  
  Index: ScmRepositoryException.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/repository/ScmRepositoryException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScmRepositoryException.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ScmRepositoryException.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.apache.maven.scm.repository;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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.
  - * ====================================================================
    */
   
   /**
  
  
  
  1.2       +4 -5      maven-scm/maven-scm-api/src/test/java/org/apache/maven/scm/command/changelog/ChangeLogEntryTest.java
  
  Index: ChangeLogEntryTest.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/test/java/org/apache/maven/scm/command/changelog/ChangeLogEntryTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChangeLogEntryTest.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ChangeLogEntryTest.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.maven.apache.scm.command.changelog;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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.util.Calendar;
  @@ -28,7 +27,7 @@
   
   /**
    * Tests for the {@link ChangeLogEntry}class
  - * 
  + *
    * @author dion
    * @version $Id$
    */
  
  
  
  1.2       +2 -3      maven-scm/maven-scm-api/src/test/java/org/apache/maven/scm/command/changelog/ChangeLogFileTest.java
  
  Index: ChangeLogFileTest.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/test/java/org/apache/maven/scm/command/changelog/ChangeLogFileTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChangeLogFileTest.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ChangeLogFileTest.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,7 +1,7 @@
   package org.maven.apache.scm.command.changelog;
   
  -/* ====================================================================
  - * Copyright 2003-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 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.
  @@ -14,7 +14,6 @@
    * 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.scm.command.changelog.ChangeLogFile;
  
  
  
  1.2       +17 -1     maven-scm/maven-scm-api/src/test/java/org/apache/maven/scm/manager/ScmManagerTest.java
  
  Index: ScmManagerTest.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/test/java/org/apache/maven/scm/manager/ScmManagerTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScmManagerTest.java	20 Oct 2004 18:03:39 -0000	1.1
  +++ ScmManagerTest.java	26 Oct 2004 12:37:06 -0000	1.2
  @@ -1,5 +1,21 @@
   package org.maven.apache.scm.manager;
   
  +/*
  + * Copyright 2001-2004 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.
  + */
  +
   import org.apache.maven.scm.ScmTestCase;
   import org.apache.maven.scm.manager.NoSuchScmProviderException;
   import org.apache.maven.scm.manager.ScmManager;
  
  
  

Mime
View raw message