olzgateway.blogg.se

Mac commands cheat sheet
Mac commands cheat sheet







This command validates the Maven project to ensure that everything is correct and all the necessary information is available: The server entries in the Maven settings.xml file are used to provide authentication details. The remote repository should be configured properly in the project pom.xml file distributionManagement tag. This command deploys the artifact to the remote repository: Installing /Users/sammy/Desktop/maven-examples/maven-example-jar/pom.xml to /Users/sammy/.m2/repository/com/example/maven/maven-example-jar/0.0.1-SNAPSHOT/maven-example-jar-0.0.1-SNAPSHOT.pom Installing /Users/sammy/Desktop/maven-examples/maven-example-jar/target/maven-example-jar-0.0.1-SNAPSHOT.jar to /Users/sammy/.m2/repository/com/example/maven/maven-example-jar/0.0.1-SNAPSHOT/maven-example-jar-0.0.1-SNAPSHOT.jar

mac commands cheat sheet mac commands cheat sheet

maven-install-plugin:2.4:install (default-install) maven-example-jar. maven-resources-plugin:2.6:testResources (default-testResources) maven-example-jar. maven-compiler-plugin:3.8.1:compile (default-compile) maven-example-jar. Output - maven-resources-plugin:2.6:resources (default-resources) maven-example-jar. This command builds the Maven project and installs the project files ( JAR, WAR, pom.xml, etc.) to the local repository: Notice the package goal executes compile, testCompile, and test goals before packaging the build. The output shows the location of the JAR file just before the "BUILD SUCCESS" message. Building jar: /Users/sammy/Desktop/maven-examples/maven-example-jar/target/maven-example-jar-0.0.1-SNAPSHOT.jar maven-jar-plugin:2.4:jar (default-jar) maven-example-jar. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec Surefire report directory: /Users/sammy/Desktop/maven-examples/maven-example-jar/target/surefire-reports maven-surefire-plugin:2.12.4:test (default-test) maven-example-jar. Compiling 1 source file to /Users/sammy/Desktop/maven-examples/maven-example-jar/target/test-classes maven-compiler-plugin:3.8.1:testCompile (default-testCompile) maven-example-jar. Compiling 1 source file to /Users/sammy/Desktop/maven-examples/maven-example-jar/target/classes

mac commands cheat sheet

Changes detected - recompiling the module! Output - maven-compiler-plugin:3.8.1:compile (default-compile) maven-example-jar.









Mac commands cheat sheet