You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2022/02/24 16:02:12 UTC
[maven-wagon] branch mvn4 updated: Switch a few core plugins to the new api
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch mvn4
in repository https://gitbox.apache.org/repos/asf/maven-wagon.git
The following commit(s) were added to refs/heads/mvn4 by this push:
new 732dfce Switch a few core plugins to the new api
732dfce is described below
commit 732dfce2d9f869ff5800f41ea988445212d9ab84
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Feb 24 17:00:56 2022 +0100
Switch a few core plugins to the new api
---
pom.xml | 2 +-
.../wagon/providers/scm/ScmCvsExeWagonTest.java | 90 ----------------------
2 files changed, 1 insertion(+), 91 deletions(-)
diff --git a/pom.xml b/pom.xml
index 62b2a44..089e632 100644
--- a/pom.xml
+++ b/pom.xml
@@ -411,7 +411,7 @@ under the License.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
- <version>1.20</version>
+ <version>1.21</version>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
diff --git a/wagon-providers/wagon-scm/src/test/java/org/apache/maven/wagon/providers/scm/ScmCvsExeWagonTest.java b/wagon-providers/wagon-scm/src/test/java/org/apache/maven/wagon/providers/scm/ScmCvsExeWagonTest.java
deleted file mode 100644
index 574f9fa..0000000
--- a/wagon-providers/wagon-scm/src/test/java/org/apache/maven/wagon/providers/scm/ScmCvsExeWagonTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package org.apache.maven.wagon.providers.scm;
-
-/*
- * 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.scm.provider.ScmProvider;
-import org.apache.maven.scm.provider.cvslib.cvsexe.CvsExeScmProvider;
-
-/**
- * Test for ScmWagon using CVS Exe as underlying SCM
- *
- * @author <a href="carlos@apache.org">Carlos Sanchez</a>
- *
- */
-public class ScmCvsExeWagonTest
- extends AbstractScmCvsWagonTest
-{
-
- @Override
- protected void setUp()
- throws Exception
- {
- assumeHaveCvsBinary();
- if ( !testSkipped )
- {
- super.setUp();
- }
- }
-
- protected ScmProvider getScmProvider()
- {
- return new CvsExeScmProvider();
- }
-
- @Override
- public void testWagonGetFileList()
- throws Exception
- {
- // cvs rls is rare
- }
-
- @Override
- public void testWagonResourceExists()
- throws Exception
- {
- // cvs rls is rare
- }
-
- @Override
- public void testWagonResourceNotExists()
- throws Exception
- {
- // cvs rls is rare
- }
-
- @Override
- protected boolean supportsGetIfNewer()
- {
- return false;
- }
-
- /** Optionally set the testSkipped flag */
- protected void assumeHaveCvsBinary()
- {
- if ( !isSystemCmd( CVS_COMMAND_LINE ) )
- {
- testSkipped = true;
- System.err.println( "'" + CVS_COMMAND_LINE + "' is not a system command. Ignored " + getName() + "." );
- }
- }
-
- /** 'cvs' command line */
- public static final String CVS_COMMAND_LINE = "cvs";
-}