GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Java-Archive/Sonar-AI-CodeFix-Demo: A Demo To Demonstrate The AI CodeFix Features from SonarCloud

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.mvn
.mvn
 
 
_tools/docker
_tools/docker
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.whitesource
.whitesource
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
deploy.sh
deploy.sh
 
 
docker_compile_locale.sh
docker_compile_locale.sh
 
 
docker_generate_pitest.sh
docker_generate_pitest.sh
 
 
docker_shadejar_locale.sh
docker_shadejar_locale.sh
 
 
pom.xml
pom.xml
 
 

Repository files navigation

core-java-project-template

A Template that can be used to start a Core Java Project. In this demo you will find a simple REST Server, based on Javalin. Tests are written for the services itself as well as for the REST Service.

What is offered by this template?

  • TDD with Junit5
  • MutationCoverage with PiTest
  • Compile via Dockerimage
  • Deployment via Dockerimage
  • Development Dockerimage with JDK and Maven
  • Production Dockerimage with JDK
  • Issuetracker via Github Issues
  • Projectplanning via Github Projects
  • Create SBOM (cyclonedx)
  • Dependency Version Management via versions plugin
  • Integration Tests for the REST Server

Requirements:

  • podman: Instead of Docker Desktop I´m using podman.

How to start

  • search and replace inside pom.xml - "https://github.com/svenruppert/core-java-project-template" with your coordinates.
  • define what is your JDK you want to use and change it - default is the latest Temurin LTS
    • inside the Docker image definitions
    • inside your pom.xml
  • change the properties pitest-prod-classes and pitest-test-classes
  • change the properties for the deployment repositories
  • change the repositories, you are resolving from. Default is maven central
  • if you have a main class, change the property app.main.class or comment it out
  • create the docker images under _tools/docker
    • develop/build.sh
    • runtime/build.sh
    • application/build.sh - first time after you created your shaded application.jar

Docker Images for Develop and Runtime

Developer Images

Here we are creating an image with JDK and maven (or gradle if you are using it).

Best practices

From time to time update the core Images with the latest updates on OS system base. For this tag the image with the update date, so tht everybody know how old the updated image is.

About

A Demo To Demonstrate The AI CodeFix Features from SonarCloud

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

Generated from svenruppert/core-java-project-template
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.