In this video, you will learn how to create sample Maven java project automatically using archetype command, what is the folder structure in maven and how to create executable jar file and execute in java command
maven-archetype-quickstart is an archetype which generates a sample Maven project:
In short, Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The name fits as we are trying to provide a system that provides a consistent means of generating Maven projects. Archetype will help authors create Maven project templates for users, and provides users with the means to generate parameterized versions of those project templates.
mvn archetype:generate –DgroupId=com.devops.demo –DartifactId=MavenJavaProject –DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
Add below code in pom.xml to make jar executable
refer this file for code in github: https://github.com/goelvijay/MavenTut...
****************************************************
Jenkins tutorial complete step by step guide : • Jenkins Tutorial
How to install jenkins in windows: • How to Install Jenkins on Windows ? ...
How to create first sample job in jenkins: • How to Create First Freestyle Project...
How to install plugin in jenkins: • Jenkins Plugins installation | EP 04 ...
SSH-KEYS setup : • SSH Key Based Password Less Authentic...
Maven installation: • Maven Installation on Windows | EP 01...
****************************************************
devops projects
java project step by step
java projects for beginners
java projects with source code
jenkins tutorial
maven tutorial
#technology #tutorial #github #windows #devops #maven #deployment #learning #tech #career #interview #question #career #jenkins #cicd #linux #devopsvijay #devopsproject #devopstraining