From 0eab5eb35a9776185e85d3b920c003f105f82650 Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Wed, 19 Aug 2026 19:12:45 +0000 Subject: [PATCH] Remove duplicate license headers from MappingUtils.java and DashClassifierValueSource.java Both files contained the full Apache License 2.0 header block twice. Remove the second occurrence from each file. Closes #66 --- .../mapping/DashClassifierValueSource.java | 19 ------------------- .../maven/shared/mapping/MappingUtils.java | 19 ------------------- 2 files changed, 38 deletions(-) diff --git a/src/main/java/org/apache/maven/shared/mapping/DashClassifierValueSource.java b/src/main/java/org/apache/maven/shared/mapping/DashClassifierValueSource.java index c71c573..74482f4 100644 --- a/src/main/java/org/apache/maven/shared/mapping/DashClassifierValueSource.java +++ b/src/main/java/org/apache/maven/shared/mapping/DashClassifierValueSource.java @@ -18,25 +18,6 @@ */ package org.apache.maven.shared.mapping; -/* - * 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.util.Properties; import org.codehaus.plexus.interpolation.PropertiesBasedValueSource; diff --git a/src/main/java/org/apache/maven/shared/mapping/MappingUtils.java b/src/main/java/org/apache/maven/shared/mapping/MappingUtils.java index 742ea93..7b11246 100644 --- a/src/main/java/org/apache/maven/shared/mapping/MappingUtils.java +++ b/src/main/java/org/apache/maven/shared/mapping/MappingUtils.java @@ -18,25 +18,6 @@ */ package org.apache.maven.shared.mapping; -/* - * 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.artifact.Artifact; import org.codehaus.plexus.interpolation.InterpolationException; import org.codehaus.plexus.interpolation.ObjectBasedValueSource;