Skip to content

Instantly share code, notes, and snippets.

@satsie
Last active November 19, 2018 20:32
Show Gist options
  • Select an option

  • Save satsie/5fe7c78ce8bb169e5c6180c956b90137 to your computer and use it in GitHub Desktop.

Select an option

Save satsie/5fe7c78ce8bb169e5c6180c956b90137 to your computer and use it in GitHub Desktop.

Revisions

  1. Stacie Waleyko revised this gist Nov 19, 2018. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion maven-notes
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,6 @@ mvn dependency:tree -Dverbose

    Effective pom shows you the result of combining the parent + child poms:

    mvn help:effective-pom
    mvn help:effective-pom

    Surefire vs. Failsafe plugins: Surefire is for Unit tests and can fail the build, Failsafe is for integration tests and will not fail the build, instead it "fails in a safe way"
  2. Stacie Waleyko created this gist Nov 2, 2018.
    14 changes: 14 additions & 0 deletions maven-notes
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    Create project:

    mvn -B archetype:generate \
    -DarchetypeGroupId=org.apache.maven.archetypes \
    -DgroupId=my.group.id \
    -DartifactId=my-sample-project


    mvn dependency:tree -Dverbose


    Effective pom shows you the result of combining the parent + child poms:

    mvn help:effective-pom