This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-archetypes.git
The following commit(s) were added to refs/heads/master by this push:
new e6a7c09 Remove the unfinished maven-archetype-profiles
e6a7c09 is described below
commit e6a7c090bc196f04aecc64c37b5a6a0486838fe5
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sat Oct 31 17:11:22 2026 +0000
Remove the unfinished maven-archetype-profiles
---
maven-archetype-profiles/pom.xml | 40 -------------
.../resources-filtered/archetype-resources/pom.xml | 65 ----------------------
.../META-INF/maven/archetype-metadata.xml | 36 ------------
.../resources/archetype-resources/.mvn/jvm.config | 0
.../archetype-resources/.mvn/maven.config | 0
.../src/main/filters/development.properties | 1 -
.../src/main/filters/production.properties | 1 -
.../src/main/filters/qa.properties | 1 -
.../archetype-resources/src/main/java/App.java | 11 ----
.../archetype-resources/src/test/java/AppTest.java | 19 -------
.../src/site/markdown/index.md.vm | 61 --------------------
maven-archetype-profiles/src/site/site.xml | 28 ----------
.../projects/it-basic/archetype.properties | 4 --
.../src/test/resources/projects/it-basic/goal.txt | 0
pom.xml | 1 -
15 files changed, 268 deletions(-)
diff --git a/maven-archetype-profiles/pom.xml b/maven-archetype-profiles/pom.xml
deleted file mode 100644
index 98e14e8..0000000
--- a/maven-archetype-profiles/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>
-
- <parent>
- <groupId>org.apache.maven.archetypes</groupId>
- <artifactId>maven-archetype-bundles</artifactId>
- <version>1.3-SNAPSHOT</version>
- </parent>
-
- <artifactId>maven-archetype-profiles</artifactId>
- <packaging>maven-archetype</packaging>
-
- <name>Maven Profiles Archetype</name>
- <description>
- An archetype which contains a sample Maven project which demonstrates the
use of profiles.
- </description>
-
-</project>
diff --git
a/maven-archetype-profiles/src/main/resources-filtered/archetype-resources/pom.xml
b/maven-archetype-profiles/src/main/resources-filtered/archetype-resources/pom.xml
deleted file mode 100644
index 4901f3a..0000000
---
a/maven-archetype-profiles/src/main/resources-filtered/archetype-resources/pom.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<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>\${groupId}</groupId>
- <artifactId>\${artifactId}</artifactId>
- <version>\${version}</version>
-
- <name>Maven Quick Start Archetype</name>
- <!-- FIXME change it to the project's website -->
- <url>http://www.example.com</url>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-api</artifactId>
- <version>${versions.junit5}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <pluginManagement><!-- lock down plugins versions to avoid using Maven
defaults (may be moved to parent pom) -->
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <version>${version.maven-clean-plugin}</version>
- </plugin>
- <!-- see
http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging
-->
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>${version.maven-resources-plugin}</version>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${version.maven-compiler-plugin}</version>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>${version.maven-surefire-plugin}</version>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <version>${version.maven-jar-plugin}</version>
- </plugin>
- <plugin>
- <artifactId>maven-install-plugin</artifactId>
- <version>${version.maven-install-plugin}</version>
- </plugin>
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>${version.maven-deploy-plugin}</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-</project>
diff --git
a/maven-archetype-profiles/src/main/resources/META-INF/maven/archetype-metadata.xml
b/maven-archetype-profiles/src/main/resources/META-INF/maven/archetype-metadata.xml
deleted file mode 100644
index b2234f8..0000000
---
a/maven-archetype-profiles/src/main/resources/META-INF/maven/archetype-metadata.xml
+++ /dev/null
@@ -1,36 +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.
--->
-<archetype-descriptor
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.2.0
https://maven.apache.org/xsd/archetype-descriptor-1.2.0.xsd"
- name="profiles" partial="false">
-
- <fileSets>
- <fileSet filtered="true" packaged="true">
- <directory>src/main/java</directory>
- </fileSet>
- <fileSet filtered="true" packaged="true">
- <directory>src/test/java</directory>
- </fileSet>
- <fileSet filtered="false">
- <directory>.mvn</directory>
- </fileSet>
- </fileSets>
-</archetype-descriptor>
diff --git
a/maven-archetype-profiles/src/main/resources/archetype-resources/.mvn/jvm.config
b/maven-archetype-profiles/src/main/resources/archetype-resources/.mvn/jvm.config
deleted file mode 100644
index e69de29..0000000
diff --git
a/maven-archetype-profiles/src/main/resources/archetype-resources/.mvn/maven.config
b/maven-archetype-profiles/src/main/resources/archetype-resources/.mvn/maven.config
deleted file mode 100644
index e69de29..0000000
diff --git
a/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/filters/development.properties
b/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/filters/development.properties
deleted file mode 100644
index 0dac23f..0000000
---
a/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/filters/development.properties
+++ /dev/null
@@ -1 +0,0 @@
-environment=development
diff --git
a/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/filters/production.properties
b/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/filters/production.properties
deleted file mode 100644
index 4387f9c..0000000
---
a/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/filters/production.properties
+++ /dev/null
@@ -1 +0,0 @@
-environment=production
diff --git
a/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/filters/qa.properties
b/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/filters/qa.properties
deleted file mode 100644
index 8b54f33..0000000
---
a/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/filters/qa.properties
+++ /dev/null
@@ -1 +0,0 @@
-environment=qa
diff --git
a/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/java/App.java
b/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/java/App.java
deleted file mode 100644
index c8f5d06..0000000
---
a/maven-archetype-profiles/src/main/resources/archetype-resources/src/main/java/App.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package $package;
-
-/**
- * Hello world!
- *
- */
-public class App {
- public static void main(String[] args) {
- System.out.println("Hello World!");
- }
-}
diff --git
a/maven-archetype-profiles/src/main/resources/archetype-resources/src/test/java/AppTest.java
b/maven-archetype-profiles/src/main/resources/archetype-resources/src/test/java/AppTest.java
deleted file mode 100644
index 67fad37..0000000
---
a/maven-archetype-profiles/src/main/resources/archetype-resources/src/test/java/AppTest.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package $package;
-
-import static org.junit.jupiter.api.Assertions.assertTrue;
-
-import org.junit.jupiter.api.Test;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest {
-
- /**
- * Rigourous Test :-)
- */
- @Test
- public void testApp() {
- assertTrue(true);
- }
-}
diff --git a/maven-archetype-profiles/src/site/markdown/index.md.vm
b/maven-archetype-profiles/src/site/markdown/index.md.vm
deleted file mode 100644
index 6b874a9..0000000
--- a/maven-archetype-profiles/src/site/markdown/index.md.vm
+++ /dev/null
@@ -1,61 +0,0 @@
----
-title: ${project.name}
-author:
- - Hervé Boutemy
-date: 2010-04-25
----
-
-<!--
-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.name}
-
-`${project.artifactId}` is an archetype which generates a sample Maven project
which demonstrates the use of profiles:
-
-```
-
-project
-|-- .mvn
-| |-- jvm.config
-| `-- maven.config
-|-- pom.xml
-`-- src
- |-- main
- | |-- filters
- | | |-- development.properties
- | | |-- production.properties
- | | `-- qa.properties
- | `-- java
- | `-- $package
- | `-- App.java
- `-- test
- `-- java
- `-- $package
- `-- AppTest.java
-```
-
-Usage
------
-
-To generate a new project from this archetype, type:
-
-```
-
-mvn archetype:generate -DarchetypeGroupId=${project.groupId}
-DarchetypeArtifactId=${project.artifactId}
-DarchetypeVersion=${project.version}
-```
diff --git a/maven-archetype-profiles/src/site/site.xml
b/maven-archetype-profiles/src/site/site.xml
deleted file mode 100644
index 771c77a..0000000
--- a/maven-archetype-profiles/src/site/site.xml
+++ /dev/null
@@ -1,28 +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.
--->
-
-<site xmlns="http://maven.apache.org/SITE/2.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/SITE/2.1.0
https://maven.apache.org/xsd/site-2.1.0.xsd">
- <edit>${project.scm.url}</edit>
- <body>
- <menu ref="parent" />
- </body>
-</site>
diff --git
a/maven-archetype-profiles/src/test/resources/projects/it-basic/archetype.properties
b/maven-archetype-profiles/src/test/resources/projects/it-basic/archetype.properties
deleted file mode 100644
index 7225b1c..0000000
---
a/maven-archetype-profiles/src/test/resources/projects/it-basic/archetype.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-groupId=archetype.it
-artifactId=basic-profiles
-version=0.1-SNAPSHOT
-package=it.pkg
diff --git
a/maven-archetype-profiles/src/test/resources/projects/it-basic/goal.txt
b/maven-archetype-profiles/src/test/resources/projects/it-basic/goal.txt
deleted file mode 100644
index e69de29..0000000
diff --git a/pom.xml b/pom.xml
index a500a81..86d11cf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,7 +42,6 @@ under the License.
<module>maven-archetype-plugin</module>
<module>maven-archetype-plugin-site</module>
<module>maven-archetype-portlet</module>
- <!--module>maven-archetype-profiles</module-->
<module>maven-archetype-quickstart</module>
<module>maven-archetype-simple</module>
<module>maven-archetype-site</module>