![virtualbox mac os high sierra iso virtualbox mac os high sierra iso](https://www.geekrar.com/wp-content/uploads/2020/02/Install-macOS-1.jpg)
Will cover this in a different articleĪ Lifecycle is made up of phases. Site lifecycle: This deals with Site documentation.Clean lifecycle: This deals with project cleaning.Default lifecycle: This deals with building and deploying the artifact.Maven follows a build lifecycle to build and distribute artifacts. This class tests the getSum() function present in App Class. Package import import public class App
#Virtualbox mac os high sierra iso code#
Create the following folder structureĪpp.java is the java code we will be adding. The entire code discussed here is available in this repo I mentioned only this config here since we will be dealing with both source code as well as test code in this article. One of the config present in Super Pom indicates the followingĪll java source code is present inside src/main/javaĪll java test code is present inside src/test/java Pom.xml extends Super Pom to get all the config present in super Pom. The reason for this is that a lot of the configuration is present in something called as Super POM which is maintained internally by Maven. I Will soon explain about dependencies and plugins in Maven.
![virtualbox mac os high sierra iso virtualbox mac os high sierra iso](https://g6k7x4j6.stackpathcdn.com/wp-content/uploads/2019/07/New-VM.png)
If the version number does not have SNAPSHOT then its the actual release version. If SNAPSHOT is present, then it indicates the version is still in dev and may not be stable. Version indicates the version number of the artifact. It can have other values as well like ear,war,tar and so on. Packaging is the package format of the artifact. GroupdId and artifactId are the same values we gave in the command line. 4.0.0 first-maven-app jar 1.0-SNAPSHOT first-maven-app junit junit 3.8.1 test