This is an automated email from the ASF dual-hosted git repository. juanpablo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jspwiki.git
commit c249cabcd76f42d0b81afec567fcdd1470ce7c34 Author: Juan Pablo Santos RodrÃguez <[email protected]> AuthorDate: Thu Dec 2 22:49:04 2021 +0100 fix table formatting --- mvn_cheat-sheet.md | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/mvn_cheat-sheet.md b/mvn_cheat-sheet.md index 8feb979..238e3d7 100644 --- a/mvn_cheat-sheet.md +++ b/mvn_cheat-sheet.md @@ -19,38 +19,38 @@ under the License. # 1. IDE Specific -| Maven Command | Description | -| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| mvn eclipse:eclipse | generates Eclipse project files (alternatively, you could use m2e) | -| mvn idea:idea | generates IDEA IntelliJ project files | +| Maven Command | Description | +|---------------------|--------------------------------------------------------------------| +| mvn eclipse:eclipse | generates Eclipse project files (alternatively, you could use m2e) | +| mvn idea:idea | generates IDEA IntelliJ project files | # 2. Build Specific -| Maven Command (1) | Description | -| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| 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 | -| mvn test -Dtest=JSPWikiMarkupParserTest | run just a single test class | -| mvn test -Dtest=JSPWikiMarkupParserTest#testHeadingHyperlinks3 | run just a single test within a test class | -| mvn test -Dtest=TestClassName#methodName -Dmaven.surefire.debug | debug a test in Eclipse or IDEA to see why it's failing (see http://www.jroller.com/gmazza/entry/jpa_and_junit#debugging) | -| mvn org.codehaus.cargo:cargo-maven3-plugin:run | (from main war module) starts JSPWiki on a Tomcat9 instance at http://localhost:8080/JSPWiki with an attached debugger on port 5005| -| mvn clean deploy -Papache-release -Dgpg.passphrase=<passphrase> | deploys generated artifact to a repository. If -Dgpg.passphrase is not given, expects a gpg-agent running | -| mvn clean install -Pintegration-tests | performs a build, enabling functional tests execution (best run from the jspwiki-it-tests folder) | -| mvn wro4j:run -Dminimize=true | merge & compress js & css files | -| mvn wro4j:run -Dminimize=false | only merge the js & css files (no compression) | -| mvn clean install -Dmaven.test.skip -Dminimize=false | performs a build, skipping the tests and skip compression | -| mvn clean install -Dgenerate-native-launchers=true | (from portable module) performs a build, regenerating the native executables on the portable build | +| Maven Command (1) | Description | +|-----------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------| +| 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 | +| mvn test -Dtest=JSPWikiMarkupParserTest | run just a single test class | +| mvn test -Dtest=JSPWikiMarkupParserTest#testHeadingHyperlinks3 | run just a single test within a test class | +| mvn test -Dtest=TestClassName#methodName -Dmaven.surefire.debug | debug a test in Eclipse or IDEA to see why it's failing (see http://www.jroller.com/gmazza/entry/jpa_and_junit#debugging) | +| mvn org.codehaus.cargo:cargo-maven3-plugin:run | (from main war module) starts JSPWiki on a Tomcat9 instance at http://localhost:8080/JSPWiki with an attached debugger on port 5005 | +| mvn clean deploy -Papache-release -Dgpg.passphrase=<passphrase> | deploys generated artifact to a repository. If -Dgpg.passphrase is not given, expects a gpg-agent running | +| mvn clean install -Pintegration-tests | performs a build, enabling functional tests execution (best run from the jspwiki-it-tests folder) | +| mvn wro4j:run -Dminimize=true | merge & compress js & css files | +| mvn wro4j:run -Dminimize=false | only merge the js & css files (no compression) | +| mvn clean install -Dmaven.test.skip -Dminimize=false | performs a build, skipping the tests and skip compression | +| mvn clean install -Dgenerate-native-launchers=true | (from portable module) performs a build, regenerating the native executables on the portable build | (1) `-T 1C` can be added to any of these commands in order to run a parallel build, thus decreasing build time, i.e., `mvn clean install -T 1C`. # 3. Reports Specific -| Maven Command | Description | -| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| mvn apache-rat:check | creates an Apache RAT report. See: http://creadur.apache.org/rat/apache-rat-plugin/plugin-info.html | -| mvn cobertura:cobertura | generates a cobertura maven report. See: http://mojo.codehaus.org/cobertura-maven-plugin/usage.html | -| mvn javadoc:javadoc | creates javadocs adding some UML class/package level diagrams (requires JDK<= 8) | -| mvn javadoc:javadoc -Djdk.javadoc.doclet.version=2.0.15 | same as above, but with JDK >= 9 | -| mvn sonar:sonar | generates a Sonar report. Expects a Sonar server running at http://localhost:9000/ | +| Maven Command | Description | +|---------------------------------------------------------|-----------------------------------------------------------------------------------------------------| +| mvn apache-rat:check | creates an Apache RAT report. See: http://creadur.apache.org/rat/apache-rat-plugin/plugin-info.html | +| mvn cobertura:cobertura | generates a cobertura maven report. See: http://mojo.codehaus.org/cobertura-maven-plugin/usage.html | +| mvn javadoc:javadoc | creates javadocs adding some UML class/package level diagrams (requires JDK<= 8) | +| mvn javadoc:javadoc -Djdk.javadoc.doclet.version=2.0.15 | same as above, but with JDK >= 9 | +| mvn sonar:sonar | generates a Sonar report. Expects a Sonar server running at http://localhost:9000/ |
