github-workflow-mvn-archetypes

Maven Archetypes for java based projects with configured github workflow

License

License

Categories

Categories

Ant Build Tools Github Development Tools Version Controls
GroupId

GroupId

com.github.hemantsonu20
ArtifactId

ArtifactId

github-workflow-mvn-archetypes
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

pom
Description

Description

github-workflow-mvn-archetypes
Maven Archetypes for java based projects with configured github workflow
Project URL

Project URL

https://github.com/hemantsonu20/github-workflow-mvn-archetypes
Source Code Management

Source Code Management

https://github.com/hemantsonu20/github-workflow-mvn-archetypes

Download github-workflow-mvn-archetypes

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.hemantsonu20/github-workflow-mvn-archetypes/ -->
<dependency>
    <groupId>com.github.hemantsonu20</groupId>
    <artifactId>github-workflow-mvn-archetypes</artifactId>
    <version>1.0.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.hemantsonu20/github-workflow-mvn-archetypes/
implementation 'com.github.hemantsonu20:github-workflow-mvn-archetypes:1.0.1'
// https://jarcasting.com/artifacts/com.github.hemantsonu20/github-workflow-mvn-archetypes/
implementation ("com.github.hemantsonu20:github-workflow-mvn-archetypes:1.0.1")
'com.github.hemantsonu20:github-workflow-mvn-archetypes:pom:1.0.1'
<dependency org="com.github.hemantsonu20" name="github-workflow-mvn-archetypes" rev="1.0.1">
  <artifact name="github-workflow-mvn-archetypes" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.hemantsonu20', module='github-workflow-mvn-archetypes', version='1.0.1')
)
libraryDependencies += "com.github.hemantsonu20" % "github-workflow-mvn-archetypes" % "1.0.1"
[com.github.hemantsonu20/github-workflow-mvn-archetypes "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • github-workflow-java-archetype

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

Versions

Version
1.0.1
1.0.0