This is an automated email from the ASF dual-hosted git repository. mbuenger pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push: new 5d3f868ef0 Add missing headers 5d3f868ef0 is described below commit 5d3f868ef0a1499d9f14931d7d12016485d23b71 Author: Guillaume Nodet <gno...@gmail.com> AuthorDate: Sun Mar 30 16:10:21 2025 +0200 Add missing headers --- .../main/java/org/apache/maven/embedder/App.java | 19 +++++++++++++++++++ .../java/org/apache/maven/embedder/AppTest.java | 19 +++++++++++++++++++ .../apache/maven/model/io/xpp3/package-info.java | 21 ++++++++++++++++++++- .../org/apache/maven/model/merge/package-info.java | 20 +++++++++++++++++++- .../maven/repository/internal/package-info.java | 20 +++++++++++++++++++- 5 files changed, 96 insertions(+), 3 deletions(-) diff --git a/compat/maven-embedder/src/examples/simple-project/src/main/java/org/apache/maven/embedder/App.java b/compat/maven-embedder/src/examples/simple-project/src/main/java/org/apache/maven/embedder/App.java index f05e5d0b14..f30f45c756 100644 --- a/compat/maven-embedder/src/examples/simple-project/src/main/java/org/apache/maven/embedder/App.java +++ b/compat/maven-embedder/src/examples/simple-project/src/main/java/org/apache/maven/embedder/App.java @@ -1,3 +1,22 @@ +/* + * 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.embedder; /** diff --git a/compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java b/compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java index f04b7a92ce..f514980611 100644 --- a/compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java +++ b/compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java @@ -1,3 +1,22 @@ +/* + * 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.embedder; import junit.framework.Test; diff --git a/compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java b/compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java index 68205b86df..d878e8e113 100644 --- a/compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java +++ b/compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java @@ -1,4 +1,23 @@ -// CHECKSTYLE_OFF: RegexpHeader|LineLength +/* + * 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. + */ + +// CHECKSTYLE_OFF: LineLength /** * XML reader and writer classes for Maven POM, generated from <code>maven.mdo</code> model. * These classes use diff --git a/compat/maven-model/src/main/java/org/apache/maven/model/merge/package-info.java b/compat/maven-model/src/main/java/org/apache/maven/model/merge/package-info.java index d7d9113899..3e80d94317 100644 --- a/compat/maven-model/src/main/java/org/apache/maven/model/merge/package-info.java +++ b/compat/maven-model/src/main/java/org/apache/maven/model/merge/package-info.java @@ -1,4 +1,22 @@ -// CHECKSTYLE_OFF: RegexpHeader +/* + * 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. + */ + /** * POM merger. */ diff --git a/compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/package-info.java b/compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/package-info.java index 9ea572a598..b668e77537 100644 --- a/compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/package-info.java +++ b/compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/package-info.java @@ -1,4 +1,22 @@ -// CHECKSTYLE_OFF: RegexpHeader +/* + * 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. + */ + /** * <a href="https://maven.apache.org/resolver/">Maven Resolver</a> extensions for utilizing the Maven POM and Maven * repository metadata.