Revision 40564

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.projection.app/org.gvsig.projection.app.proj4j/buildNumber.properties
1
#Fri Aug 02 11:08:45 CEST 2013
2
buildNumber=2201
0 3

  
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.projection.app/org.gvsig.projection.app.proj4j/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4
  <artifactId>org.gvsig.projection.app.proj4j</artifactId>
5
  <packaging>jar</packaging>
6
  <name>CRS: basic management (Proj4J based, java)</name>
7
  <description>Basic CRS management implementation based on the Proj4J java library. 
8
Provides basic management of CRS with features such as:
9
- Allows setting the coordinate reference system (CRS), by default, in views and layers.
10
- Allows the selection of CRS based on authority (EPSG, ESRI, WORLD, NAD83 and NAD27) and code.
11
- Shows CRS definition based on the proj4 string.
12
- Supports conversion of coordinates (no datum changing).
13
- Supports transformation of coordinates (datum changing).
14
</description>
15
  <parent>
16
      <groupId>org.gvsig</groupId>
17
      <artifactId>org.gvsig.projection.app</artifactId>
18
      <version>2.0.14-SNAPSHOT</version>
19
  </parent>
20
  
21
    
22
    <repositories>
23
      <repository>
24
          <id>osgeo</id>
25
          <name>Open Source Geospatial Foundation</name>
26
          <url>http://download.osgeo.org/webdav/geotools</url>
27
          <releases>
28
              <enabled>true</enabled>
29
              <updatePolicy>never</updatePolicy>
30
              <checksumPolicy>warn</checksumPolicy>
31
          </releases>
32
          <snapshots>
33
              <enabled>false</enabled>
34
          </snapshots>
35
      </repository>
36
    </repositories>
37
  
38
  
39
  <dependencies>
40

  
41
      <dependency>
42
          <groupId>org.gvsig</groupId>
43
          <artifactId>org.gvsig.andami</artifactId>
44
          <scope>provided</scope>
45
      </dependency>
46
      <dependency>
47
          <groupId>org.gvsig</groupId>
48
          <artifactId>org.gvsig.app.mainplugin</artifactId>
49
          <scope>provided</scope>
50
      </dependency>
51
      <dependency>
52
          <groupId>org.gvsig</groupId>
53
          <artifactId>org.gvsig.i18n</artifactId>
54
          <scope>provided</scope>
55
      </dependency>
56
      <dependency>
57
          <groupId>org.slf4j</groupId>
58
          <artifactId>slf4j-api</artifactId>
59
          <scope>provided</scope>
60
      </dependency>
61
      <dependency>
62
        <groupId>org.gvsig</groupId>
63
        <artifactId>org.gvsig.proj.lib.proj4j</artifactId>
64
        <scope>compile</scope>
65
      </dependency>
66
      <dependency>
67
          <groupId>org.gvsig</groupId>
68
          <artifactId>org.gvsig.proj.lib.api</artifactId>
69
	      <scope>compile</scope>
70
      </dependency>
71
      <dependency>
72
          <groupId>org.gvsig</groupId>
73
          <artifactId>org.gvsig.projection.cresques.ui</artifactId>
74
          <scope>compile</scope>
75
      </dependency>
76
      <dependency>
77
          <groupId>org.gvsig</groupId>
78
          <artifactId>org.gvsig.projection.cresques.impl</artifactId>
79
          <scope>compile</scope>
80
      </dependency>
81
      <dependency>
82
          <groupId>org.gvsig</groupId>
83
          <artifactId>org.gvsig.projection.api</artifactId>
84
          <scope>compile</scope>
85
      </dependency>
86
		<dependency>
87
			<groupId>org.gvsig</groupId>
88
			<artifactId>org.gvsig.proj.swing.api</artifactId>
89
			<scope>compile</scope>
90
		</dependency>
91
		<dependency>
92
			<groupId>org.gvsig</groupId>
93
			<artifactId>org.gvsig.proj.swing.impl</artifactId>
94
			<scope>runtime</scope>
95
		</dependency>      
96
      
97
      <dependency>
98
        <groupId>org.opengis</groupId>
99
        <artifactId>geoapi</artifactId>
100
        <scope>runtime</scope>
101
      </dependency>
102
      <dependency>
103
        <groupId>javax.media</groupId>
104
        <artifactId>jai_core</artifactId>
105
        <scope>runtime</scope>
106
      </dependency>
107
      <dependency>
108
        <groupId>javax.media</groupId>
109
        <artifactId>jai_codec</artifactId>
110
        <scope>runtime</scope>
111
      </dependency>
112
      <dependency>
113
        <groupId>geojava</groupId>
114
        <artifactId>geojava</artifactId>
115
        <scope>runtime</scope>
116
      </dependency>
117
      <dependency>
118
        <groupId>org.geotools</groupId>
119
        <artifactId>gt2-legacy</artifactId>
120
        <scope>runtime</scope>
121
      </dependency>
122
      <dependency>
123
        <groupId>org.geotools</groupId>
124
        <artifactId>gt2-main</artifactId>
125
        <scope>runtime</scope>
126
      </dependency>
127
      <dependency>
128
        <groupId>org.geotools</groupId>
129
        <artifactId>gt2-referencing</artifactId>
130
        <scope>runtime</scope>
131
      </dependency>
132
      <dependency>
133
        <groupId>commons-dbcp</groupId>
134
        <artifactId>commons-dbcp</artifactId>
135
        <scope>runtime</scope>
136
      </dependency>
137
      <dependency>
138
        <groupId>commons-collections</groupId>
139
        <artifactId>commons-collections</artifactId>
140
        <scope>runtime</scope>
141
      </dependency>
142

  
143

  
144
      <dependency>
145
        <groupId>org.osgeo</groupId>
146
        <artifactId>proj4j</artifactId>
147
        <scope>runtime</scope>
148
      </dependency>
149
  </dependencies>
150

  
151
  <properties>
152
      <gvsig.package.info.codealias>org.gvsig.projection.app.mainplugin</gvsig.package.info.codealias>
153
	  <gvsig.package.info.official>true</gvsig.package.info.official>
154
  </properties>
155

  
156
</project>
157

  
0 158

  
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.projection.app/org.gvsig.projection.app.cresques/buildNumber.properties
1
#Fri Aug 02 11:08:45 CEST 2013
2
buildNumber=2201
0 3

  
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.projection.app/org.gvsig.projection.app.cresques/src/main/resources-plugin/config.xml
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
-->
27
<plugin-config>
28
  <alternativeNames name="org.gvsig.projection.app.mainplugin"/>
29
  <libraries library-dir="lib"/>
30
  <resourceBundle name="text"/>
31
  <extensions>
32
    <extension class-name="org.gvsig.andami.LibraryExtension"
33
      description=""
34
      active="true">
35
    </extension>
36
  </extensions>
37

  
38
</plugin-config>
0 39

  
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.projection.app/org.gvsig.projection.app.cresques/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
-->
26
<assembly>
27
  <id>gvsig-plugin-package</id>
28
  <formats>
29
    <format>zip</format>
30
  </formats>
31
  <baseDirectory>${project.artifactId}</baseDirectory>
32
  <includeBaseDirectory>true</includeBaseDirectory>
33
  <files>
34
    <file>
35
      <source>target/${project.artifactId}-${project.version}.jar</source>
36
      <outputDirectory>lib</outputDirectory>
37
    </file>
38
    <file>
39
      <source>target/package.info</source>
40
    </file>
41
  </files>
42
  <fileSets>
43
    <fileSet>
44
      <directory>src/main/resources-plugin</directory>
45
      <outputDirectory>.</outputDirectory>
46
    </fileSet>
47
  </fileSets>
48
  <dependencySets>
49
    <dependencySet>
50
      <useProjectArtifact>false</useProjectArtifact>
51
      <useTransitiveDependencies>false</useTransitiveDependencies>
52
      <outputDirectory>lib</outputDirectory>
53
      <includes>
54
        <include>geojava:geojava</include>
55
        <!--
56
        <include>org.geotools:gt2-api</include>
57
        <include>org.geotools:gt2-coverage</include>
58
        -->
59
        <include>org.geotools:gt2-legacy</include>
60
        <include>org.geotools:gt2-main</include>
61
        <include>org.geotools:gt2-referencing</include>
62
        <!--
63
        <include>org.geotools:gt2-render</include>
64
        -->
65
        <include>org.gvsig:org.gvsig.projection.api</include>
66
        <include>org.gvsig:org.gvsig.projection.cresques.impl</include>
67
        <include>org.gvsig:org.gvsig.projection.cresques.ui</include>
68

  
69
        <include>org.opengis:geoapi</include>
70
        <!--
71
        <include>org.opengis:geoapi-legacy</include>
72
        -->
73

  
74
		<!--  Lo de javax.media es una dependencia de geotools -->
75
        <include>javax.media:jai_core</include>
76
        <include>javax.media:jai_codec</include>
77
        
78
        <include>javax.units:jsr108</include>
79
      </includes>
80
    </dependencySet>
81
  </dependencySets>
82

  
83
</assembly>
84

  
0 85

  
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.projection.app/org.gvsig.projection.app.cresques/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4
  <artifactId>org.gvsig.projection.app.cresques</artifactId>
5
  <packaging>jar</packaging>
6
  <name>CRS: basic management (Cresques based, java)</name>
7
  <description>Basic CRS management implementation based on the Cresques java library. 
8
Provides basic management of CRS for a very reduced set of CRS, has features such as:
9
- Allows setting the coordinate reference system (CRS), by default, in views and layers.
10
- Supports conversion of coordinates (no datum changing).
11
- Supports transformation of coordinates (datum changing).
12
</description>
13
  <parent>
14
      <groupId>org.gvsig</groupId>
15
      <artifactId>org.gvsig.projection.app</artifactId>
16
      <version>2.0.14-SNAPSHOT</version>
17
  </parent>
18
  
19
  
20
    <repositories>
21
      <repository>
22
          <id>osgeo</id>
23
          <name>Open Source Geospatial Foundation</name>
24
          <url>http://download.osgeo.org/webdav/geotools</url>
25
          <releases>
26
              <enabled>true</enabled>
27
              <updatePolicy>never</updatePolicy>
28
              <checksumPolicy>warn</checksumPolicy>
29
          </releases>
30
          <snapshots>
31
              <enabled>false</enabled>
32
          </snapshots>
33
      </repository>
34
    </repositories>
35
  
36
  
37
  <dependencies>
38
     <dependency>
39
         <groupId>javax.units</groupId>
40
         <artifactId>jsr108</artifactId>
41
         <scope>runtime</scope>
42
       </dependency>
43
      <dependency>
44
          <groupId>org.gvsig</groupId>
45
          <artifactId>org.gvsig.andami</artifactId>
46
          <scope>provided</scope>
47
      </dependency>
48
      <dependency>
49
          <groupId>org.gvsig</groupId>
50
          <artifactId>org.gvsig.i18n</artifactId>
51
          <scope>provided</scope>
52
      </dependency>
53
      <dependency>
54
          <groupId>org.slf4j</groupId>
55
          <artifactId>slf4j-api</artifactId>
56
          <scope>provided</scope>
57
      </dependency>
58

  
59
      <dependency>
60
          <groupId>org.gvsig</groupId>
61
          <artifactId>org.gvsig.projection.cresques.ui</artifactId>
62
          <scope>runtime</scope>
63
      </dependency>
64
      <dependency>
65
          <groupId>org.gvsig</groupId>
66
          <artifactId>org.gvsig.projection.api</artifactId>
67
          <scope>runtime</scope>
68
      </dependency>
69
      <dependency>
70
        <groupId>org.opengis</groupId>
71
        <artifactId>geoapi</artifactId>
72
        <scope>runtime</scope>
73
      </dependency>
74
      <dependency>
75
        <groupId>javax.media</groupId>
76
        <artifactId>jai_core</artifactId>
77
        <scope>runtime</scope>
78
      </dependency>
79
      <dependency>
80
        <groupId>javax.media</groupId>
81
        <artifactId>jai_codec</artifactId>
82
        <scope>runtime</scope>
83
      </dependency>
84
      <dependency>
85
        <groupId>geojava</groupId>
86
        <artifactId>geojava</artifactId>
87
        <scope>runtime</scope>
88
      </dependency>
89
      <dependency>
90
        <groupId>org.geotools</groupId>
91
        <artifactId>gt2-legacy</artifactId>
92
        <scope>runtime</scope>
93
      </dependency>
94
      <dependency>
95
        <groupId>org.geotools</groupId>
96
        <artifactId>gt2-main</artifactId>
97
        <scope>runtime</scope>
98
      </dependency>
99
      <dependency>
100
        <groupId>org.geotools</groupId>
101
        <artifactId>gt2-referencing</artifactId>
102
        <scope>runtime</scope>
103
      </dependency>
104
      <dependency>
105
        <groupId>commons-dbcp</groupId>
106
        <artifactId>commons-dbcp</artifactId>
107
        <scope>runtime</scope>
108
      </dependency>
109
      <dependency>
110
        <groupId>commons-collections</groupId>
111
        <artifactId>commons-collections</artifactId>
112
        <scope>runtime</scope>
113
      </dependency>
114
      <dependency>
115
          <groupId>org.gvsig</groupId>
116
          <artifactId>org.gvsig.projection.cresques.impl</artifactId>
117
          <scope>runtime</scope>
118
      </dependency>
119

  
120
  </dependencies>
121

  
122
  <properties>
123
      <gvsig.package.info.codealias>org.gvsig.projection.app.mainplugin</gvsig.package.info.codealias>
124
	  <gvsig.package.info.official>true</gvsig.package.info.official>
125
  </properties>
126

  
127
  <profiles>
128
      <profile>
129
        <id>gvsig-plugin</id>
130
        <activation>
131
          <file>
132
            <exists>buildNumber.properties</exists>
133
          </file>
134
        </activation>
135
        <build>
136
          <plugins>
137

  
138
            <plugin>
139
                <artifactId>maven-assembly-plugin</artifactId>
140
                <executions>
141
                  <execution>
142
                    <id>gvsig-plugin-package</id>
143
                    <phase>package</phase>
144
                    <goals>
145
                        <goal>single</goal>
146
                    </goals>
147
                  </execution>
148
                </executions>
149
            </plugin>
150

  
151
            <plugin>
152
              <artifactId>maven-clean-plugin</artifactId>
153
              <executions>
154
                <execution>
155
                  <id>default-clean</id>
156
                  <phase>clean</phase>
157
                </execution>
158
              </executions>
159
            </plugin>
160

  
161
            <plugin>
162
              <groupId>org.codehaus.gmaven</groupId>
163
              <artifactId>gmaven-plugin</artifactId>
164
              <executions>
165

  
166
                <execution>
167
                  <id>increase-build-number</id>
168
                  <phase>process-sources</phase>
169
                  <goals>
170
                    <goal>execute</goal>
171
                  </goals>
172
                </execution>
173

  
174
                <execution>
175
                  <id>build-package-info</id>
176
                  <phase>prepare-package</phase>
177
                  <goals>
178
                    <goal>execute</goal>
179
                  </goals>
180
                </execution>
181

  
182
                <execution>
183
                  <id>build-package-index</id>
184
                  <phase>package</phase>
185
                  <goals>
186
                    <goal>execute</goal>
187
                  </goals>
188
                </execution>
189

  
190
                <execution>
191
                  <id>install-plugin</id>
192
                  <phase>install</phase>
193
                  <goals>
194
                    <goal>execute</goal>
195
                  </goals>
196
                  <configuration>
197
                    <source><![CDATA[
198
                      //
199
                      // Don't install the gvsig plugin by default in the product/gvSIG/extensiones,
200
                      // only install the package in the product/install folder.
201
                      //
202
                      ant = new AntBuilder()
203
                      pkgname = "gvSIG-desktop-" + 
204
                        project.properties["gvsig.package.info.gvSIGVersion"] + "-" + 
205
                        project.artifactId + "-" + 
206
                        project.properties["gvsig.package.info.version"] + "-" + 
207
                        project.properties["buildNumber"] + "-" + 
208
                        project.properties["gvsig.package.info.state"] + "-" + 
209
                        project.properties["gvsig.package.info.operatingSystem"] + "-" + 
210
                        project.properties["gvsig.package.info.architecture"] + "-" + 
211
                        project.properties["gvsig.package.info.javaVM"]
212
                        
213
                      source = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspkg.zip"
214
                      target = new File(project.properties["gvsig.product.folder.path"] + 
215
                        "/install/" + 
216
                        project.artifactId + "/" +
217
                        pkgname + ".gvspkg")
218
                      target.getParentFile().mkdirs()
219

  
220
                      log.info("Copy plugin package from " + source + " to " + target)
221
                      ant.copy(file:source, tofile:target.getAbsolutePath())
222

  
223
                      source  = project.basedir.getAbsolutePath() + "/target/" + pkgname + ".gvspki"
224
                      target = project.properties["gvsig.product.folder.path"] + 
225
                        "/install/" + 
226
                        project.artifactId + "/" +
227
                        pkgname + ".gvspki"
228
                      log.info("Copy plugin package index from " + source + " to " + target)
229
                      ant.copy(file:source, tofile:target)
230

  
231
                    ]]></source>
232
                  </configuration>
233
                </execution>
234

  
235
              </executions>
236
            </plugin>
237
            
238
          </plugins>
239
        </build>
240
      </profile>
241
    </profiles>
242

  
243
</project>
244

  
0 245

  

Also available in: Unified diff