Skip to content

Rugal/parent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

203 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parent

Maven Central FOSSA Status Known Vulnerabilities

download

release version

To include in your pom.xml

<parent>
  <groupId>ga.rugal</groupId>
  <artifactId>parent</artifactId>
  <version>VERSION</version>
</parent>

snapshot version

for snapshot version, please add sonatype:

<repositories>
  <repository>
    <name>Central Portal Snapshots</name>
    <id>central-portal-snapshots</id>
    <url>https://central.sonatype.com/repository/maven-snapshots/</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>

Configurable Property

name default note
java.version 24 Java Development Kit version
skip.surefire.tests true Skip unit test & coverage report
skip.failsafe.tests true Skip integration test & coverage report
branch.threshold 0.9 Minimum branch coverage threshold
line.threshold 0.9 Minimum line coverage threshold
jacoco.skip.coverage.check true Skip test coverage check, this will fail build if threshold not reached
openapi.codegen.package.root ${project.groupId}.${project.artifactId}.openapi
openapi.codegen.skipIfSpecIsUnchanged true Skip codegen if no change in contract.yml
checkstyle.exclusion target//*,/dto/**/*, **/ExceptionController.java
flyway.schema test the target database schema for flyway
azure.function.name ${project.artifactId} name of function app in Azure
azure.resourceGroup eastus2-206136 resource group name
azure.servicePlanName ASP-eastus2206136-837f service plan name
azure.region eastus2 function app region
azure.stagingDirectory ${project.build.directory}/azure-functions/${azure.function.name} staging directory
azure.runtime.os linux operating system function app
graphql.package.name ${project.groupId}.${project.artifactId}.graphql package for graphql codegen
graphql.schema.path src/main/resources/graphql the schema file of graphql for codegen

License

development instruction

release command

# automatically flip version
m -Pcentral release:prepare release:clean
# checkout latest formal version
git checkout @~1
# actual release
m -Pcentral clean deploy

From 2025, token is required for deployment.

About

Parent pom for version control

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •