/java-hello-world-with-maven

Hello World sample with Java with Maven

Primary LanguageJava

java-hello-world-with-maven

Hello World sample with Java with Maven

Compile

$ mvn compile

Test

$ mvn clean test

Run

$ mvn exec:java

Package

$ mvn package

Creating this project by Maven

$ mvn archetype:generate \
  -DarchetypeArtifactId=maven-archetype-quickstart \
  -DinteractiveMode=false \
  -DgroupId=info.maigo.lab.hello \
  -DartifactId=maigolab_hello

Follow this best practice 'git-flow'

Follow Security Remediation after SonarQube Scan raising issue.

Log4j2

$ tree src/main/java/
src/main/java/
├── info
│   └── maigo
│       └── lab
│           └── hello
│               └── App.java
└── log4j.xml

Jira integration

git flow feature start DEV-1-fix-code
** working on your code **
git commit -am 'DEV-1 correct code smell issue'
git flow feature publish DEV-1-fix-code
** run feature branch in your pipeline to test both analytic and code coverage **

Misc