Revision 40471

View differences:

trunk/org.gvsig.desktop/pom.xml
1742 1742
          <artifactId>maven-license-plugin</artifactId>
1743 1743
          <!-- invoke as "mvn license:format" to fix the header -->
1744 1744
          <!-- invoke as "mvn license:check" to check the header -->
1745
          <!-- See http://code.google.com/p/maven-license-plugin/wiki/Configuration -->
1745 1746
          <configuration>
1747
              <skip>false</skip> <!-- User property is: license.skip  -->
1746 1748
              <header>header.txt</header>
1747 1749
              <failIfMissing>false</failIfMissing>
1748 1750
              <aggregate>true</aggregate>
......
1752 1754
                  <pom>XML_STYLE</pom>
1753 1755
              </mapping>
1754 1756
              <excludes>
1755
                  <exclude>**/CMakeLists.txt</exclude>
1756 1757
                  <exclude>**/*.properties</exclude>
1758
                  <exclude>**/*.txt</exclude>
1757 1759
              </excludes>
1758 1760
          </configuration>
1759 1761
          <executions>
trunk/org.gvsig.desktop/maven-howto.rst
1 1

  
2 2
- How to reduce the process of "install" to run as fast as possible.
3

  
3 4
  Can reduce install execution skiping test execution and compilation,
4
  javadoc generation, test signature checking and anttach sources in jar.
5
  javadoc generation, test signature checking, license checking, and 
6
  attach sources in jar.
5 7

  
6
    mvn -Dsource.skip=true -Dmaven.test.skip=true -DskipTests -Dmaven.javadoc.skip=true -Danimal.sniffer.skip=true  install
8
    mvn -Dsource.skip=true -Dmaven.test.skip=true -DskipTests -Dmaven.javadoc.skip=true -Danimal.sniffer.skip=true -Dlicense.skip=true install
7 9

  
10
- How do not show the list of files that have problems with the header.
11

  
12
    mvn -Dlicense.quiet=true install
13

  
14
- How to skip license check from command line::
15

  
16
    mvn -Dlicense.skip=true install
17

  
8 18
- How to skip attach sources in jar from command line::
9 19

  
10 20
    mvn -Dsource.skip=true  install

Also available in: Unified diff