This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-wrapper.git
The following commit(s) were added to refs/heads/master by this push:
new 08e7200 Remove wrapper lifecycle
08e7200 is described below
commit 08e7200e6166aea41bcf520547ea9a266b7bf52c
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Mon Aug 25 20:24:58 2025 +0200
Remove wrapper lifecycle
similar as we've done in Maven core
https://github.com/apache/maven/pull/1736
---
.../src/it/projects/extension/invoker.properties | 19 ----------
.../src/it/projects/extension/pom.xml | 40 ---------------------
.../src/it/projects/extension/verify.groovy | 25 -------------
.../main/resources/META-INF/plexus/components.xml | 42 ----------------------
4 files changed, 126 deletions(-)
diff --git a/maven-wrapper-plugin/src/it/projects/extension/invoker.properties
b/maven-wrapper-plugin/src/it/projects/extension/invoker.properties
deleted file mode 100644
index ad41e67..0000000
--- a/maven-wrapper-plugin/src/it/projects/extension/invoker.properties
+++ /dev/null
@@ -1,19 +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.
-
-# wrapper lifecycle available because maven-wrapper-plugin is put as extension
-invoker.goals = wrapper
diff --git a/maven-wrapper-plugin/src/it/projects/extension/pom.xml
b/maven-wrapper-plugin/src/it/projects/extension/pom.xml
deleted file mode 100644
index 0cbaa78..0000000
--- a/maven-wrapper-plugin/src/it/projects/extension/pom.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-
-<!--
-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.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.it.wrapper</groupId>
- <artifactId>extension</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-wrapper-plugin</artifactId>
- <version>@project.version@</version>
- <extensions>true</extensions>
- </plugin>
- </plugins>
- </build>
-</project>
\ No newline at end of file
diff --git a/maven-wrapper-plugin/src/it/projects/extension/verify.groovy
b/maven-wrapper-plugin/src/it/projects/extension/verify.groovy
deleted file mode 100644
index 25b333e..0000000
--- a/maven-wrapper-plugin/src/it/projects/extension/verify.groovy
+++ /dev/null
@@ -1,25 +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.
- */
-
-assert new File(basedir,'mvnw').exists()
-assert new File(basedir,'mvnw.cmd').exists()
-assert !(new File(basedir,'mvnwDebug').exists())
-assert !(new File(basedir,'mvnwDebug.cmd').exists())
-assert new File(basedir,'.mvn/wrapper/maven-wrapper.properties').exists()
diff --git
a/maven-wrapper-plugin/src/main/resources/META-INF/plexus/components.xml
b/maven-wrapper-plugin/src/main/resources/META-INF/plexus/components.xml
deleted file mode 100644
index 05b1156..0000000
--- a/maven-wrapper-plugin/src/main/resources/META-INF/plexus/components.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- 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.
--->
-
-<component-set>
- <components>
-
- <!-- Delete once available in maven-core -->
- <component>
- <role>org.apache.maven.lifecycle.Lifecycle</role>
- <implementation>org.apache.maven.lifecycle.Lifecycle</implementation>
- <role-hint>wrapper</role-hint>
- <configuration>
- <id>wrapper</id>
- <phases>
- <phase>wrapper</phase>
- </phases>
- <default-phases>
-
<wrapper>org.apache.maven.plugins:maven-wrapper-plugin:wrapper</wrapper>
- </default-phases>
- </configuration>
- </component>
-
- </components>
-</component-set>