You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2024/12/29 11:24:20 UTC

(maven-dependency-plugin) 01/01: Remove unused Mojo

This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch MDEP-971
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git

commit 8597a9a9884f37a5b9c149ec81a15ec6d97e3f3a
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sun Dec 29 06:23:59 2024 -0500

    Remove unused Mojo
---
 .../resolvers/OldResolveDependencySourcesMojo.java | 38 ----------------------
 1 file changed, 38 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/dependency/resolvers/OldResolveDependencySourcesMojo.java b/src/main/java/org/apache/maven/plugins/dependency/resolvers/OldResolveDependencySourcesMojo.java
deleted file mode 100644
index 88f9ccfa..00000000
--- a/src/main/java/org/apache/maven/plugins/dependency/resolvers/OldResolveDependencySourcesMojo.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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.
- */
-package org.apache.maven.plugins.dependency.resolvers;
-
-import org.apache.maven.plugins.annotations.LifecyclePhase;
-import org.apache.maven.plugins.annotations.Mojo;
-import org.apache.maven.plugins.annotations.ResolutionScope;
-
-/**
- * Goal that resolves the project source dependencies from the repository.
- *
- * @author <a href="mailto:brianf@apache.org">Brian Fox</a>
- * @since 2.0-alpha2
- * @deprecated in favor of {@code resolve-sources} goal and will be removed in a future version
- */
-@Mojo(
-        name = "sources",
-        defaultPhase = LifecyclePhase.GENERATE_SOURCES,
-        requiresDependencyResolution = ResolutionScope.TEST,
-        threadSafe = true)
-@Deprecated
-public class OldResolveDependencySourcesMojo extends ResolveDependencySourcesMojo {}