Author: juanpablo
Date: Fri Apr 19 19:22:27 2013
New Revision: 1469995
URL: http://svn.apache.org/r1469995
Log:
added mvn_cheat-sheet.txt with some useful+common maven commands; should be
part of site once we've completely switched to Maven
JSPWIKI-771:
- added apache rat report configuration
- added AL to root build.xml
Added:
incubator/jspwiki/branches/MVN3_BRANCH/mvn_cheat-sheet.txt
Modified:
incubator/jspwiki/branches/MVN3_BRANCH/build.xml
incubator/jspwiki/branches/MVN3_BRANCH/pom.xml
Modified: incubator/jspwiki/branches/MVN3_BRANCH/build.xml
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/branches/MVN3_BRANCH/build.xml?rev=1469995&r1=1469994&r2=1469995&view=diff
==============================================================================
--- incubator/jspwiki/branches/MVN3_BRANCH/build.xml (original)
+++ incubator/jspwiki/branches/MVN3_BRANCH/build.xml Fri Apr 19 19:22:27 2013
@@ -1,3 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
<!-- placeholder for https://issues.apache.org/jira/browse/JSPWIKI-771 -->
<!-- should call dist target on jspwiki-war until the IC jobs perform -->
<!-- a mvn clean install instead of ant dist -->
\ No newline at end of file
Added: incubator/jspwiki/branches/MVN3_BRANCH/mvn_cheat-sheet.txt
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/branches/MVN3_BRANCH/mvn_cheat-sheet.txt?rev=1469995&view=auto
==============================================================================
--- incubator/jspwiki/branches/MVN3_BRANCH/mvn_cheat-sheet.txt (added)
+++ incubator/jspwiki/branches/MVN3_BRANCH/mvn_cheat-sheet.txt Fri Apr 19
19:22:27 2013
@@ -0,0 +1,21 @@
+IDE specific
+************
+mvn eclipse:eclipse : generates Eclipse project files (alternatively, you
could use m2e)
+mvn idea:idea : generates IDEA IntelliJ project files
+
+Build specific
+**************
+mvn clean install : performs a build
+mvn clean install -Dmaven.skip.test : performs a build, skipping the tests
(not recommended)
+mvn clean test : compiles the source and executes the
tests
+mvn tomcat7:run : (from a war module) starts JSPWiki on a
+ Tomcat7 instance on
http://localhost:8080/JSPWiki
+
+Selenium execution: go to jspwiki-it-tests module and execute mvn clean test
+
+Reports specific
+****************
+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 apache-rat : creates a RAT report
\ No newline at end of file
Modified: incubator/jspwiki/branches/MVN3_BRANCH/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/jspwiki/branches/MVN3_BRANCH/pom.xml?rev=1469995&r1=1469994&r2=1469995&view=diff
==============================================================================
--- incubator/jspwiki/branches/MVN3_BRANCH/pom.xml (original)
+++ incubator/jspwiki/branches/MVN3_BRANCH/pom.xml Fri Apr 19 19:22:27 2013
@@ -218,6 +218,26 @@
</plugin>
<plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.8</version>
+ <configuration>
+ <excludes>
+ <exclude>mvn_cheat-sheet.txt</exclude> <!-- handy list of maven
commands; will be moved to site once we've switched to Maven -->
+ <exclude>OldChangeLog</exclude> <!-- ChangeLog excluded by
default, this is, well, an old ChangeLog -->
+ <exclude>**/doc/2.10-API.txt</exclude> <!--
placeholder for JSPWIKI-303; once completed will be moved to site -->
+ <exclude>**/doc/LICENSE.*</exclude> <!-- 3rd
party licenses -->
+ <exclude>**/wikipages/**</exclude> <!--
default wikipages -->
+ <exclude>**/webdocs/scripts/*.js</exclude> <!--
minified files -->
+ <exclude>**/dependencyfindertasks.properties</exclude> <!--
conf. file for dependency finder Ant task -->
+ <exclude>**/tests/etc/TextFormattingRules.txt</exclude> <!--
test input data -->
+ <exclude>**/etc/dtd/web-app_2_3.dtd</exclude> <!--
Sun's DTD -->
+ <exclude>**/images/SilkIconSet-readme.txt</exclude> <!--
license, required by Silk Icon set cfr. NOTICE, LICENSE, etc. -->
+ </excludes>
+ </configuration>
+ </plugin>
+
+ <plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.1</version>