https://github.com/baloise/repository-template-java
A template to use when starting a new project
https://github.com/baloise/repository-template-java
java maven template-project
Last synced: 3 months ago
JSON representation
A template to use when starting a new project
- Host: GitHub
- URL: https://github.com/baloise/repository-template-java
- Owner: baloise
- License: apache-2.0
- Created: 2018-08-23T08:48:23.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2022-01-13T13:19:40.000Z (over 3 years ago)
- Last Synced: 2025-04-14T18:16:14.247Z (3 months ago)
- Topics: java, maven, template-project
- Language: Java
- Homepage:
- Size: 116 KB
- Stars: 2
- Watchers: 27
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: docs/CODEOWNERS
Awesome Lists containing this project
README
# repository-template-java
A template to use when starting a new open source project.## perform a repository wide search and replace for "repository-template-java" and the "target-repo-name"
e.g. by using
```
cp -R repository-template-java/ new-name && cd new-name && git config --local --unset remote.origin.url && git config --local --add remote.origin.url [email protected]:baloise/new-name.git && git reset --hard $(git commit-tree FETCH_HEAD^{tree} -m "Initial contribution") && git grep -l 'repository-template-java' | xargs sed -i '' -e 's/repository-template-java/new-name/g' && mvn clean verify && git add -A && git commit -m "Rename from template to new-name" && cd ..
```
[](https://app.codacy.com/app/baloise/repository-template-java?utm_source=github.com&utm_medium=referral&utm_content=baloise/repository-template-java&utm_campaign=Badge_Grade_Dashboard)
[](https://depshield.github.io)
## the [docs](docs/index.md)
## releasing
Run e.g. on main: `mvn -B release:prepare` e.g. via [](https://gitpod.io#https://github.com/baloise/repository-template-java)
Subsequently the GitHub action worksflow "create release" will pick up the published tag and release and deploy the artifacts in the Github package registry.