You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2022/02/07 02:01:44 UTC

[maven-compiler-plugin] branch master updated: [MCOMPILER-484] Remove deprecated mojos (#87)

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

olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 12378bb  [MCOMPILER-484] Remove deprecated mojos (#87)
12378bb is described below

commit 12378bbfcb51d18441eac0d6486c3b0cc8eabcad
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Mon Feb 7 03:01:38 2022 +0100

    [MCOMPILER-484] Remove deprecated mojos (#87)
---
 .../apache/maven/plugin/AbstractCompilerMojo.java  | 38 --------------------
 .../maven/plugin/CompilationFailureException.java  | 40 ----------------------
 .../java/org/apache/maven/plugin/CompilerMojo.java | 34 ------------------
 .../org/apache/maven/plugin/TestCompilerMojo.java  | 34 ------------------
 4 files changed, 146 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java b/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
deleted file mode 100644
index 4a69cfc..0000000
--- a/src/main/java/org/apache/maven/plugin/AbstractCompilerMojo.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package org.apache.maven.plugin;
-
-/*
- * 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.
- */
-
-/**
- * TODO: At least one step could be optimized, currently the plugin will do two
- * scans of all the source code if the compiler has to have the entire set of
- * sources. This is currently the case for at least the C# compiler and most
- * likely all the other .NET compilers too.
- *
- * @author others
- * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
- * @since 2.0
- * @deprecated package change since 3.0
- */
-@Deprecated
-public abstract class AbstractCompilerMojo
-    extends org.apache.maven.plugin.compiler.AbstractCompilerMojo
-{
-    // no op only here for backward comp
-}
diff --git a/src/main/java/org/apache/maven/plugin/CompilationFailureException.java b/src/main/java/org/apache/maven/plugin/CompilationFailureException.java
deleted file mode 100644
index dbf8c3d..0000000
--- a/src/main/java/org/apache/maven/plugin/CompilationFailureException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package org.apache.maven.plugin;
-
-/*
- * 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.codehaus.plexus.compiler.CompilerMessage;
-
-import java.util.List;
-
-/**
- * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
- * @version $Id$
- * @deprecated package change since 3.0
- */
-@SuppressWarnings ( "serial" )
-@Deprecated
-public class CompilationFailureException
-    extends org.apache.maven.plugin.compiler.CompilationFailureException
-{
-    public CompilationFailureException( List<CompilerMessage> messages )
-    {
-        super( messages );
-    }
-}
diff --git a/src/main/java/org/apache/maven/plugin/CompilerMojo.java b/src/main/java/org/apache/maven/plugin/CompilerMojo.java
deleted file mode 100644
index 20a1fa1..0000000
--- a/src/main/java/org/apache/maven/plugin/CompilerMojo.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.apache.maven.plugin;
-
-/*
- * 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.
- */
-
-/**
- * Compiles application sources
- *
- * @author <a href="mailto:jason@maven.org">Jason van Zyl </a>
- * @since 2.0
- * @deprecated package change since 3.0
- */
-@Deprecated
-public class CompilerMojo
-    extends org.apache.maven.plugin.compiler.CompilerMojo
-{
-    // no op only here for backward comp
-}
diff --git a/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java b/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java
deleted file mode 100644
index 021d4db..0000000
--- a/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.apache.maven.plugin;
-
-/*
- * 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.
- */
-
-/**
- * Compiles application test sources.
- *
- * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
- * @since 2.0
- * @deprecated package change since 3.0
- */
-@Deprecated
-public class TestCompilerMojo
-    extends org.apache.maven.plugin.compiler.TestCompilerMojo
-{
-    // no op only here for backward comp
-}