Skip to content

Commit b610a0f

Browse files
committed
🚚 Streamlining artifact ids
1 parent 077882d commit b610a0f

32 files changed

Lines changed: 22 additions & 24 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ The archetypes aim add providing commonly used functionality, while defining sen
1616

1717
## Usage
1818

19-
Run the following command to create a new project based on the _oss-quickstart-archetype-simple_ archetype:
19+
Run the following command to create a new project based on the _oss-quickstart-simple-archetype_ archetype:
2020

2121
```shell
2222
mvn archetype:generate \
2323
-DarchetypeGroupId=org.moditect.ossquickstart \
24-
-DarchetypeArtifactId=oss-quickstart-archetype-simple \
24+
-DarchetypeArtifactId=oss-quickstart-simple-archetype \
2525
-DarchetypeVersion=1.0.0-SNAPSHOT
2626
```
2727

@@ -32,7 +32,7 @@ Alternatively, use the non-interactive ("batch") mode and provide all the values
3232
```shell
3333
mvn archetype:generate -B \
3434
-DarchetypeGroupId=org.moditect.ossquickstart \
35-
-DarchetypeArtifactId=oss-quickstart-archetype-simple \
35+
-DarchetypeArtifactId=oss-quickstart-simple-archetype \
3636
-DarchetypeVersion=1.0.0-SNAPSHOT \
3737
-DgroupId=com.example.demos \
3838
-DartifactId=fancy-project \
@@ -44,8 +44,8 @@ Use the special value `NONE` for `moduleName` if you don't want generate a _modu
4444

4545
## Components
4646

47-
* _oss-quickstart-archetype-simple_: A Maven archetype for creating a single module project following best practices
48-
* _oss-quickstart-template-simple_: A template for the single module archetype
47+
* _oss-quickstart-simple-archetype_: A Maven archetype for creating a single module project following best practices
48+
* _oss-quickstart-simple-template_: A template for the single module archetype
4949

5050
## Building this Project
5151

@@ -57,7 +57,7 @@ mvn clean install
5757

5858
## Updating the Archetypes
5959

60-
Do the required changes to the template projects (currently _oss-quickstart-template-simple_ only),
60+
Do the required changes to the template projects (currently _oss-quickstart-simple-template_ only),
6161
then update the archetype by running this command:
6262

6363
```shell
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<version>1.0.0-SNAPSHOT</version>
2828
</parent>
2929

30-
<artifactId>oss-quickstart-archetype-simple</artifactId>
30+
<artifactId>oss-quickstart-simple-archetype</artifactId>
3131
<packaging>maven-archetype</packaging>
3232

3333
<name>OSS Quickstart Single-Module Archetype</name>

oss-quickstart-archetype-simple/src/main/resources/META-INF/archetype-post-generate.groovy renamed to oss-quickstart-simple-archetype/src/main/resources/META-INF/archetype-post-generate.groovy

File renamed without changes.

oss-quickstart-archetype-simple/src/main/resources/META-INF/maven/archetype-metadata.xml renamed to oss-quickstart-simple-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<archetype-descriptor xsi:schemaLocation="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0 http://maven.apache.org/xsd/archetype-descriptor-1.1.0.xsd" name="oss-quickstart-template-simple"
2+
<archetype-descriptor xsi:schemaLocation="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0 http://maven.apache.org/xsd/archetype-descriptor-1.1.0.xsd" name="oss-quickstart-simple-archetype"
33
xmlns="https://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.1.0"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
55

oss-quickstart-archetype-simple/src/main/resources/archetype-resources/.github/workflows/maven.yml renamed to oss-quickstart-simple-archetype/src/main/resources/archetype-resources/.github/workflows/maven.yml

File renamed without changes.

oss-quickstart-archetype-simple/src/main/resources/archetype-resources/.gitignore.tmpl renamed to oss-quickstart-simple-archetype/src/main/resources/archetype-resources/.gitignore.tmpl

File renamed without changes.

oss-quickstart-archetype-simple/src/main/resources/archetype-resources/LICENSE.txt renamed to oss-quickstart-simple-archetype/src/main/resources/archetype-resources/LICENSE.txt

File renamed without changes.

oss-quickstart-archetype-simple/src/main/resources/archetype-resources/README.md renamed to oss-quickstart-simple-archetype/src/main/resources/archetype-resources/README.md

File renamed without changes.

oss-quickstart-archetype-simple/src/main/resources/archetype-resources/etc/eclipse-formatter-config.xml renamed to oss-quickstart-simple-archetype/src/main/resources/archetype-resources/etc/eclipse-formatter-config.xml

File renamed without changes.

oss-quickstart-archetype-simple/src/main/resources/archetype-resources/etc/license.txt renamed to oss-quickstart-simple-archetype/src/main/resources/archetype-resources/etc/license.txt

File renamed without changes.

0 commit comments

Comments
 (0)