Created
November 2, 2020 13:05
-
-
Save eidosam/b7286f1b709ffc2a1113b6f13a9a9502 to your computer and use it in GitHub Desktop.
Default lifecycle phases of Maven build as Makefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html | |
# Validate the project is correct and all necessary information is available. | |
validate: | |
mvn validate | |
# Compile the source code of the project. | |
compile: | |
mvn compile | |
# Test the compiled source code using a suitable unit testing framework. | |
# These tests should not require the code be packaged or deployed. | |
test: | |
mvn test | |
# Take the compiled code and package it in its distributable format, such as a JAR. | |
package: | |
mvn package | |
# Run any checks on results of integration tests to ensure quality criteria are met. | |
verify: | |
mvn verify | |
# Install the package into the local repository, for use as a dependency in other projects locally. | |
install: | |
mvn install | |
# Copy the final package to the remote repository for sharing with other developers and projects. | |
deploy: | |
mvn deploy | |
# Clean up artifacts created by prior builds. | |
clean: | |
mvn clean | |
# Run the application | |
run: | |
mvn scala:run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment