Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/power4j/oss-muti-lib-archetype
Maven Multi-Module-Library Archetype for open source project
https://github.com/power4j/oss-muti-lib-archetype
archetype maven multiple-module ossrh
Last synced: about 1 month ago
JSON representation
Maven Multi-Module-Library Archetype for open source project
- Host: GitHub
- URL: https://github.com/power4j/oss-muti-lib-archetype
- Owner: power4j
- License: lgpl-3.0
- Created: 2024-03-20T13:16:31.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-06-06T12:10:55.000Z (7 months ago)
- Last Synced: 2024-06-06T13:39:49.773Z (7 months ago)
- Topics: archetype, maven, multiple-module, ossrh
- Language: Java
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Maven Central Version](https://img.shields.io/maven-central/v/com.power4j.archetype/oss-lib-multi)](https://central.sonatype.com/artifact/com.power4j.archetype/oss-lib-multi)
## usage
New project GAV: `com.example:demo:1.0.0-SNAPSHOT`
```shell
mvn archetype:generate \
-DgroupId=com.example \
-DartifactId=demo \
-Dversion=1.0.0-SNAPSHOT \
-Dpackage=com.example \
-DarchetypeGroupId=com.power4j.archetype \
-DarchetypeArtifactId=oss-lib-multi \
-DarchetypeVersion=1.2.1
```you will get
```
│
├─ .springjavaformatconfig
├─ HELP.md
├─ LICENSE
├─ mvnw
├─ mvnw.cmd
├─ ossrh-settings.xml
├─ pom.xml
├─ README.md
│
├─.github # GitHub CI
├─demo-build # Internal module for build management
├─demo-core # The default library,For complex projects, there may be multiple similar directories
└─demo-dependencies # BOM used by library users
```you can use `-DarchetypeCatalog=local` for local test
required properties
- `githubPath`: used to generate urls, for example your project url is `https://github.com/your-name/hello-world`, the value should be `your-name/hello-world`
- `developerName`/`developerEmail`: your name and email