Skip to content

Commit

Permalink
Add default maven goal.
Browse files Browse the repository at this point in the history
  • Loading branch information
arturobernalg authored and juanpablo-santos committed May 5, 2023
1 parent 7b1d9ea commit 6256f8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mvn_cheat-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ under the License.

| Maven Command (1) | Description |
|-----------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
| mvn | performs a default build ´clean verify apache-rat:check´ |
| mvn clean install | performs a build |
| mvn clean install -Dmaven.test.skip | performs a build, skipping the tests (not recommended) |
| mvn clean test | compiles the source and executes the tests |
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@
</dependencyManagement>

<build>
<defaultGoal>clean verify apache-rat:check</defaultGoal>
<plugins> <!-- plugins executed with every build -->
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down

0 comments on commit 6256f8b

Please sign in to comment.