Revision 40469 trunk/org.gvsig.desktop/maven-howto.rst

View differences:

maven-howto.rst
1 1

  
2 2
- How to reduce the process of "install" to run as fast as possible.
3 3
  Can reduce install execution skiping test execution and compilation,
4
  javadoc generation and test signature checking.
4
  javadoc generation, test signature checking and anttach sources in jar.
5 5

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

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

  
10
    mvn -Dsource.skip=true  install
11

  
8 12
- How to skip test compile from command line::
9 13

  
10 14
    mvn -Dmaven.test.skip=true  install
......
25 29

  
26 30
    mvn --non-recursive install
27 31

  
32
- How to check and fix the header of source files.
33

  
34
  To check the header use::
35
  
36
    mvn license:check
37
  
38
  To fix the header use::
39
  
40
    mvn license:format
41
  
28 42
- How to skip test compilation::
29 43

  
30 44
    <build>

Also available in: Unified diff