DBulbul / DilaraBulbulHW1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DilaraBulbulHW1

https://developer.okta.com/blog/2019/09/23/tutorial-build-a-maven-plugin was used to learn the maven plugin concept.

Every file has a unique hash number. The plugin that is build like following helps to resolve the git version number.

  1. Firstly, create a maven project(You need to have Java8 and Apache Maven)
  2. Add maven dependencies to the pom.xml (Necessary dependencies:maven-core, maven-plugin-api, and maven-plugin-annotations.)
  3. You can control last versions and take dependencies from-->https://mvnrepository.com/
  4. Then you need to build plugins,plugin
  5. Each maven project has a goal and this goal is defined thanks to @Mojo
  6. After handled all these mentioned above, then it is time to build project with:
mvn install 
  1. If all dependendencies and plugin versions are Ok, you need to see "BUILD SUCCESS" as an output
  2. We need to write the execute command to see the the version number
  3. Important step is adding reporting codes to the pom.xml
  4. Then it is time to run project with:
mvn com.okta.example:example-maven-plugin:version
  1. Program output will be like following; image

About


Languages

Language:Java 100.0%