Skip to content

hemantsonu20/github-workflow-mvn-archetypes

Repository files navigation

Java CI with Maven

github-workflow-mvn-archetypes

Maven Archetypes for java based projects with configured github workflow.

github-workflow-java-archetype

Maven Central

Description:
A maven archetype which generates a java / maven project. It has configured github workflow for building your maven project.

  • Whenever a code is pushed to master or a pull request is opened on master branch, an automatic build via github actions will be triggered automatically.
  • A nice workflow badge with build status will be visible in your README.md.

How to use:
Open a terminal, goto folder where you want to generate the project and run below command.

mvn archetype:generate -DarchetypeGroupId=com.github.hemantsonu20 -DarchetypeArtifactId=github-workflow-java-archetype -DarchetypeVersion=1.0.1

When asked provide groupId, artifactId, package, GithubOrgOrAccount (your github org name or username).
You can also provide these options on command line directly as:

mvn archetype:generate -DarchetypeGroupId=com.github.hemantsonu20 \
                       -DarchetypeArtifactId=github-workflow-java-archetype \
                       -DarchetypeVersion=1.0.1 \
                       -DgroupId=com.example \
                       -DartifactId=demo \
                       -DGithubOrgOrAccount=YourGithubOrgOrAccount

Contributing

See Contributing Guidelines

License

Apache License Version 2.0

About

Maven Archetypes for java based projects with configured github workflow.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published