Revision 40469

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.centerviewpoint.app/org.gvsig.centerviewpoint.app.mainplugin/src/test/java/org/gvsig/centerviewpoint/AllTests.java
1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
1 24
package org.gvsig.centerviewpoint;
2 25

  
3 26
import junit.framework.Test;
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.centerviewpoint.app/org.gvsig.centerviewpoint.app.mainplugin/src/main/resources-plugin/config.xml
1 1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<!--
3

  
4
    gvSIG. Desktop Geographic Information System.
5

  
6
    Copyright (C) 2007-2013 gvSIG Association.
7

  
8
    This program is free software; you can redistribute it and/or
9
    modify it under the terms of the GNU General Public License
10
    as published by the Free Software Foundation; either version 3
11
    of the License, or (at your option) any later version.
12

  
13
    This program is distributed in the hope that it will be useful,
14
    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
    GNU General Public License for more details.
17

  
18
    You should have received a copy of the GNU General Public License
19
    along with this program; if not, write to the Free Software
20
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
    MA  02110-1301, USA.
22

  
23
    For any additional information, do not hesitate to contact us
24
    at info AT gvsig.com, or visit our website www.gvsig.com.
25

  
26
-->
2 27
<plugin-config>
3 28
	<libraries library-dir="lib"/>
4 29
	<depends plugin-name="org.gvsig.app"/>
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.centerviewpoint.app/org.gvsig.centerviewpoint.app.mainplugin/src/main/assembly/gvsig-plugin-package.xml
1
<!--
2

  
3
    gvSIG. Desktop Geographic Information System.
4

  
5
    Copyright (C) 2007-2013 gvSIG Association.
6

  
7
    This program is free software; you can redistribute it and/or
8
    modify it under the terms of the GNU General Public License
9
    as published by the Free Software Foundation; either version 3
10
    of the License, or (at your option) any later version.
11

  
12
    This program is distributed in the hope that it will be useful,
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU General Public License for more details.
16

  
17
    You should have received a copy of the GNU General Public License
18
    along with this program; if not, write to the Free Software
19
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
    MA  02110-1301, USA.
21

  
22
    For any additional information, do not hesitate to contact us
23
    at info AT gvsig.com, or visit our website www.gvsig.com.
24

  
25
-->
1 26
<assembly>
2 27
  <id>gvsig-plugin-package</id>
3 28
  <formats>
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.centerviewpoint.app/org.gvsig.centerviewpoint.app.mainplugin/src/main/java/org/gvsig/centerviewpoint/gui/InputCoordinatesPanel.java
1
/*
2
 * Created on 08-nov-2005
1
/**
2
 * gvSIG. Desktop Geographic Information System.
3 3
 *
4
 * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
4
 * Copyright (C) 2007-2013 gvSIG Association.
5 5
 *
6
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
7
 *
8 6
 * This program is free software; you can redistribute it and/or
9 7
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
8
 * as published by the Free Software Foundation; either version 3
11 9
 * of the License, or (at your option) any later version.
12 10
 *
13 11
 * This program is distributed in the hope that it will be useful,
......
17 15
 *
18 16
 * You should have received a copy of the GNU General Public License
19 17
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
21 20
 *
22
 * For more information, contact:
23
 *
24
 *  Generalitat Valenciana
25
 *   Conselleria d'Infraestructures i Transport
26
 *   Av. Blasco Ib??ez, 50
27
 *   46010 VALENCIA
28
 *   SPAIN
29
 *
30
 *      +34 963862235
31
 *   gvsig@gva.es
32
 *      www.gvsig.gva.es
33
 *
34
 *    or
35
 *
36
 *   IVER T.I. S.A
37
 *   Salamanca 50
38
 *   46005 Valencia
39
 *   Spain
40
 *
41
 *   +34 963163400
42
 *   dac@iver.es
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
43 23
 */
44 24
package org.gvsig.centerviewpoint.gui;
45 25

  
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.centerviewpoint.app/org.gvsig.centerviewpoint.app.mainplugin/src/main/java/org/gvsig/centerviewpoint/CenterViewToPointExtension.java
1
/*
2
 * Created on 22-jun-2005
1
/**
2
 * gvSIG. Desktop Geographic Information System.
3 3
 *
4
 * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
4
 * Copyright (C) 2007-2013 gvSIG Association.
5 5
 *
6
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
7
 *
8 6
 * This program is free software; you can redistribute it and/or
9 7
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
8
 * as published by the Free Software Foundation; either version 3
11 9
 * of the License, or (at your option) any later version.
12 10
 *
13 11
 * This program is distributed in the hope that it will be useful,
......
17 15
 *
18 16
 * You should have received a copy of the GNU General Public License
19 17
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
21 20
 *
22
 * For more information, contact:
23
 *
24
 *  Generalitat Valenciana
25
 *   Conselleria d'Infraestructures i Transport
26
 *   Av. Blasco Ib??ez, 50
27
 *   46010 VALENCIA
28
 *   SPAIN
29
 *
30
 *      +34 963862235
31
 *   gvsig@gva.es
32
 *      www.gvsig.gva.es
33
 *
34
 *    or
35
 *
36
 *   IVER T.I. S.A
37
 *   Salamanca 50
38
 *   46005 Valencia
39
 *   Spain
40
 *
41
 *   +34 963163400
42
 *   dac@iver.es
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
43 23
 */
44 24
package org.gvsig.centerviewpoint;
45 25

  
trunk/org.gvsig.desktop/pom.xml
1449 1449
              </configuration>
1450 1450
          </plugin>
1451 1451
          
1452
	        <plugin>
1453
	          <groupId>org.codehaus.mojo</groupId>
1454
	          <artifactId>properties-maven-plugin</artifactId>
1455
	          <version>1.0-alpha-2</version>
1456
	        </plugin>
1457
	
1458
	        <plugin>
1459
	          <groupId>org.codehaus.gmaven</groupId>
1460
	          <artifactId>gmaven-plugin</artifactId>
1461
	          <version>1.4</version>
1462
	        </plugin>
1463
	
1464
	        <plugin>
1465
	          <groupId>org.apache.maven.plugins</groupId>
1466
	          <artifactId>maven-antrun-plugin</artifactId>
1467
	          <version>1.7</version>
1468
	        </plugin>
1452
          <plugin>
1453
            <groupId>org.codehaus.mojo</groupId>
1454
            <artifactId>properties-maven-plugin</artifactId>
1455
            <version>1.0-alpha-2</version>
1456
          </plugin>
1457
  
1458
          <plugin>
1459
            <groupId>org.codehaus.gmaven</groupId>
1460
            <artifactId>gmaven-plugin</artifactId>
1461
            <version>1.4</version>
1462
          </plugin>
1463
  
1464
          <plugin>
1465
            <groupId>org.apache.maven.plugins</groupId>
1466
            <artifactId>maven-antrun-plugin</artifactId>
1467
            <version>1.7</version>
1468
          </plugin>
1469 1469

  
1470
	        <plugin>
1471
	          <groupId>org.codehaus.mojo</groupId>
1472
	          <artifactId>animal-sniffer-maven-plugin</artifactId>
1473
	          <version>1.9</version>
1474
	        </plugin>
1470
          <plugin>
1471
            <groupId>org.codehaus.mojo</groupId>
1472
            <artifactId>animal-sniffer-maven-plugin</artifactId>
1473
            <version>1.9</version>
1474
          </plugin>
1475 1475

  
1476
	        <plugin>
1477
	            <groupId>org.apache.maven.plugins</groupId>
1478
	            <artifactId>maven-release-plugin</artifactId>
1479
	            <version>2.1</version>
1480
	        </plugin>
1476
          <plugin>
1477
              <groupId>org.apache.maven.plugins</groupId>
1478
              <artifactId>maven-release-plugin</artifactId>
1479
              <version>2.1</version>
1480
          </plugin>
1481 1481

  
1482
	        <plugin>
1483
	          <groupId>org.apache.maven.plugins</groupId>
1484
	          <artifactId>maven-assembly-plugin</artifactId>
1485
	          <version>2.2-beta-5</version>
1486
	        </plugin>
1482
          <plugin>
1483
            <groupId>org.apache.maven.plugins</groupId>
1484
            <artifactId>maven-assembly-plugin</artifactId>
1485
            <version>2.2-beta-5</version>
1486
          </plugin>
1487 1487

  
1488
	        <plugin>
1489
	          <groupId>org.apache.maven.plugins</groupId>
1490
	          <artifactId>maven-clean-plugin</artifactId>
1491
	          <version>2.4.1</version>
1492
	        </plugin>
1493
	        
1494
            <plugin>
1495
                <groupId>org.codehaus.mojo</groupId>
1496
                <artifactId>exec-maven-plugin</artifactId>
1497
                <version>1.2</version>
1498
            </plugin>		
1488
          <plugin>
1489
            <groupId>org.apache.maven.plugins</groupId>
1490
            <artifactId>maven-clean-plugin</artifactId>
1491
            <version>2.4.1</version>
1492
          </plugin>
1493
          
1494
          <plugin>
1495
              <groupId>org.codehaus.mojo</groupId>
1496
              <artifactId>exec-maven-plugin</artifactId>
1497
              <version>1.2</version>
1498
          </plugin>    
1499

  
1500
          <plugin>
1501
              <groupId>com.mycila.maven-license-plugin</groupId>
1502
              <artifactId>maven-license-plugin</artifactId>
1503
              <version>1.10.b1</version>
1504
          </plugin>    
1505

  
1506
          <plugin>
1507
            <groupId>org.apache.maven.plugins</groupId>
1508
            <artifactId>maven-checkstyle-plugin</artifactId>
1509
            <version>2.10</version>
1510
          </plugin>
1511

  
1512
          <plugin>
1513
              <groupId>org.apache.maven.plugins</groupId>
1514
              <artifactId>maven-source-plugin</artifactId>
1515
              <version>2.2.1</version>
1516
          </plugin>
1517

  
1499 1518
        </plugins>
1500 1519
      </pluginManagement>
1501 1520

  
......
1538 1557
          </configuration>
1539 1558
          <executions>
1540 1559
              <execution>
1541
              	  <id>default</id>
1560
                  <id>default</id>
1542 1561
                  <phase>prepare-package</phase>
1543 1562
                  <goals>
1544 1563
                      <goal>read-project-properties</goal>
1545 1564
                  </goals>
1546 1565
              </execution>
1547 1566
              <execution>
1548
              	<id>default-clean</id>
1567
                <id>default-clean</id>
1549 1568
                <phase>pre-clean</phase>
1550 1569
                <goals>
1551 1570
                    <goal>read-project-properties</goal>
......
1618 1637
      </plugin>
1619 1638

  
1620 1639
      <plugin>
1621
        <!-- Install the roor folder of gvSIG desktop in product folder -->
1640
        <!-- Install the root folder of gvSIG desktop in product folder -->
1622 1641
        <artifactId>maven-antrun-plugin</artifactId>
1623 1642
        <inherited>false</inherited>
1624 1643
        <executions>
......
1675 1694
      </plugin>
1676 1695

  
1677 1696
      <plugin>
1697
          <groupId>org.apache.maven.plugins</groupId>
1698
          <artifactId>maven-source-plugin</artifactId>
1699
          <configuration>
1700
            <skipSource>false</skipSource> <!-- User property is: source.skip. -->
1701
          </configuration>
1702
          <executions>
1703
              <execution>
1704
                  <id>attach-sources</id>
1705
                  <phase>verify</phase>
1706
                  <goals>
1707
                      <goal>jar-no-fork</goal>
1708
                  </goals>
1709
              </execution>
1710
              <execution>
1711
                  <id>attach-test-sources</id>
1712
                  <phase>verify</phase>
1713
                  <goals>
1714
                      <goal>test-jar-no-fork</goal>
1715
                  </goals>
1716
              </execution>
1717
          </executions>
1718
      </plugin>
1719
      
1720
      <plugin>
1721
        <groupId>org.apache.maven.plugins</groupId>
1722
        <artifactId>maven-checkstyle-plugin</artifactId>
1723
        <!-- invoke as "mvn checkstyle:checkstyle"  or "mvn site" -->
1724
        <configuration>
1725
          <skip>false</skip> <!-- User property is: checkstyle.skip. -->
1726
          <enableRulesSummary>true</enableRulesSummary>
1727
          <failsOnError>false</failsOnError>
1728
          <configLocation>gvsig/checkstyle.xml</configLocation>
1729
          <headerLocation>gvsig/LICENSE.txt</headerLocation>
1730
        </configuration>
1731
        <dependencies>
1732
          <dependency>
1733
              <groupId>org.gvsig</groupId>
1734
              <artifactId>org.gvsig.desktop.buildtools</artifactId>
1735
              <version>2.0.10-SNAPSHOT</version>
1736
          </dependency>
1737
        </dependencies>
1738
      </plugin>
1739
      
1740
      <plugin>
1741
          <groupId>com.mycila.maven-license-plugin</groupId>
1742
          <artifactId>maven-license-plugin</artifactId>
1743
          <!-- invoke as "mvn license:format" to fix the header -->
1744
          <!-- invoke as "mvn license:check" to check the header -->
1745
          <configuration>
1746
              <header>header.txt</header>
1747
              <failIfMissing>false</failIfMissing>
1748
              <aggregate>true</aggregate>
1749
              <strictCheck>true</strictCheck>
1750
              <encoding>ISO-8859-1</encoding>
1751
              <mapping>
1752
                  <pom>XML_STYLE</pom>
1753
              </mapping>
1754
              <excludes>
1755
                  <exclude>**/CMakeLists.txt</exclude>
1756
                  <exclude>**/*.properties</exclude>
1757
              </excludes>
1758
          </configuration>
1759
          <executions>
1760
            <execution>
1761
                <phase>test</phase>
1762
                <goals>
1763
                    <goal>check</goal>
1764
                </goals>
1765
            </execution>
1766
          </executions>
1767
          <dependencies>
1768
              <dependency>
1769
                  <groupId>org.gvsig</groupId>
1770
                  <artifactId>org.gvsig.desktop.buildtools</artifactId>
1771
                  <version>2.0.10-SNAPSHOT</version>
1772
              </dependency>
1773
          </dependencies>
1774
      </plugin>
1775
      
1776
      <plugin>
1678 1777
        <!-- to continue building  when test fail -->
1679 1778
        <groupId>org.apache.maven.plugins</groupId>
1680 1779
        <artifactId>maven-surefire-plugin</artifactId>
......
1733 1832

  
1734 1833
    <gvsig.desktop.children.version>2.0.10-SNAPSHOT</gvsig.desktop.children.version>
1735 1834
    <gvsig.product.folder.path>${basedir}/target/product</gvsig.product.folder.path>
1736
    <gvsig.default.product.folder.path>${basedir}/target/product</gvsig.default.product.folder.path>
1737 1835
  </properties>
1738 1836

  
1739 1837
  <modules>
1838
    <module>org.gvsig.desktop.buildtools</module>
1740 1839
    <module>org.gvsig.desktop.compat.cdc</module>
1741 1840
    <module>org.gvsig.desktop.library</module>
1742 1841
    <module>org.gvsig.desktop.framework</module>
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
  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