You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by me...@apache.org on 2014/03/11 20:08:32 UTC
svn commit: r1576474 - in /jspwiki/trunk: ChangeLog mvn_cheat-sheet.md
mvn_cheat-sheet.txt
Author: metskem
Date: Tue Mar 11 19:08:32 2014
New Revision: 1576474
URL: http://svn.apache.org/r1576474
Log:
2014-03-11 Harry Metske (metskem@apache.org)
* Fixed JSPWIKI-827 - Migrate the mvn_cheatsheet.txt to Markdown
Added:
jspwiki/trunk/mvn_cheat-sheet.md
Removed:
jspwiki/trunk/mvn_cheat-sheet.txt
Modified:
jspwiki/trunk/ChangeLog
Modified: jspwiki/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/jspwiki/trunk/ChangeLog?rev=1576474&r1=1576473&r2=1576474&view=diff
==============================================================================
--- jspwiki/trunk/ChangeLog (original)
+++ jspwiki/trunk/ChangeLog Tue Mar 11 19:08:32 2014
@@ -1,3 +1,7 @@
+2014-03-11 Harry Metske (metskem@apache.org)
+
+ * Fixed JSPWIKI-827 - Migrate the mvn_cheatsheet.txt to Markdown
+
2014-03-03 Harry Metske (metskem@apache.org)
* 2.10.1-svn-11
Added: jspwiki/trunk/mvn_cheat-sheet.md
URL: http://svn.apache.org/viewvc/jspwiki/trunk/mvn_cheat-sheet.md?rev=1576474&view=auto
==============================================================================
--- jspwiki/trunk/mvn_cheat-sheet.md (added)
+++ jspwiki/trunk/mvn_cheat-sheet.md Tue Mar 11 19:08:32 2014
@@ -0,0 +1,33 @@
+# 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 |
+
+# 2. Build Specific
+
+| Maven Command | 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 tomcat7:run-war | (from a war module) starts JSPWiki on a Tomcat7 instance at http://localhost:8080/JSPWiki |
+| mvnDebug -DskipTests tomcat7:run-war | (from a war module) starts JSPWiki with attached debugger on a Tomcat7 instance at http://localhost:8080/JSPWiki |
+| 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 Selenium 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 |
+
+# 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; if graphviz binaries (www.graphviz.org) are found on $PATH, the javadocs will display some UML class/package level diagrams |
+| mvn sonar:sonar | generates a Sonar report. Expects a Sonar server running at http://localhost:9000/ |
+| cd jspwiki-site; mvn test -Dtest=SiteGeneratorTest | checks all language resource files for missing or unused translations |