Revision 31609

View differences:

branches/v2_0_0_prep/libraries/libCorePlugin/distribution/distribution.xml
7 7
	<!-- Extructure for the extension -->
8 8
		<fileSet>
9 9
			<directory>config</directory>
10
			<outputDirectory>${extension-distribution}
10
			<outputDirectory>${extension.install.dir.name}
11 11
			</outputDirectory>
12 12
		</fileSet>
13 13
		<fileSet>
14 14
			<directory>images</directory>
15
			<outputDirectory>/${extension-distribution}/images
15
			<outputDirectory>/${extension.install.dir.name}/images
16 16
			</outputDirectory>
17 17
		</fileSet>
18 18
	</fileSets>
19 19
	<files>
20 20
		<file>
21 21
			<source>build.number</source>
22
			<outputDirectory>${extension-distribution}
22
			<outputDirectory>${extension.install.dir.name}
23 23
			</outputDirectory>
24 24
		</file>
25 25
	</files>
......
32 32
	-->
33 33
	<dependencySets>
34 34
		<dependencySet>
35
			<outputDirectory>${extension-distribution}/${library-dir}
35
			<outputDirectory>${extension.install.dir.name}/${library-dir}
36 36
			</outputDirectory>
37 37
			<includes>
38 38
				<include>org.gvsig:org.gvsig.coreplugin</include>
branches/v2_0_0_prep/templates/maven-archetype-extension/src/main/resources/archetype-resources/distribution/distribution.xml
11 11
		<!-- Extructure for the extension -->
12 12
		<fileSet>
13 13
			<directory>src/main/resources/config</directory>
14
			<outputDirectory>${extension-distribution}
14
			<outputDirectory>${extension.install.dir.name}
15 15
			</outputDirectory>
16 16
		</fileSet>
17 17
		<fileSet>
18 18
			<directory>src/main/resources/images</directory>
19
			<outputDirectory>${extension-distribution}/images
19
			<outputDirectory>${extension.install.dir.name}/images
20 20
			</outputDirectory>
21 21
		</fileSet>
22 22
		<fileSet>
23 23
			<directory>src/main/resources/about</directory>
24
			<outputDirectory>${extension-distribution}
24
			<outputDirectory>${extension.install.dir.name}
25 25
			</outputDirectory>
26 26
		</fileSet>
27 27
		<fileSet>
28 28
			<directory>src/main/resources/locale</directory>
29
			<outputDirectory>${extension-distribution}
29
			<outputDirectory>${extension.install.dir.name}
30 30
			</outputDirectory>
31 31
		</fileSet>
32 32
	</fileSets>
33 33
	<files>
34 34
		<file>
35 35
			<source>src/main/resources/build.number</source>
36
			<outputDirectory>${extension-distribution}
36
			<outputDirectory>${extension.install.dir.name}
37 37
			</outputDirectory>
38 38
		</file>
39 39
	</files>
40 40

  
41 41
	<dependencySets>
42 42
		<dependencySet>
43
			<outputDirectory>${extension-distribution}/${library-dir}
43
			<outputDirectory>${extension.install.dir.name}/${library-dir}
44 44
			</outputDirectory>
45 45
#end
46 46
			<includes>
branches/v2_0_0_prep/build/libraries-jni-pom/pom.xml
12 12
	<name>library-jni-base-pom</name>
13 13
	<parent>
14 14
		<groupId>org.gvsig</groupId>
15
		<artifactId>gvsig-base-library-pom</artifactId>
15
		<artifactId>org.gvsig.maven.base.jni.pom</artifactId>
16 16
		<version>2.0-SNAPSHOT</version>
17 17
	</parent>	
18 18
	<distributionManagement>
......
27 27
		build and made an libraries for GvSIG. The property
28 28
		"gvsig-path" must be set up correctly.
29 29
	</description>
30
	<properties>
31
		<build-dir>${basedir}/..</build-dir>
32
	</properties>
33
	<profiles>
34
		<profile>
35
			<id>jni-devel</id>
36
			<activation>
37
				<property>
38
					<name>jni-devel</name>
39
				</property>
40
			</activation>
41
			<properties>
42
				<compileTarget>native</compileTarget>
43
				<numProc>2</numProc>
44
				<depman-ant>${build-dir}/scripts/depman-ant.xml</depman-ant>
45
			</properties>
46
			<build>
47
				<plugins>
48
					<plugin>
49
						<groupId>org.apache.maven.plugins</groupId>
50
						<artifactId>maven-antrun-plugin</artifactId>
51
						<executions>
52
							<execution>
53
								<id>compile-native</id>
54
								<phase>compile</phase>
55
								<configuration>
56
									<tasks>
57
										<property name="numProc" value="${numProc}" />
58
										<property name="project.build.directory" value="${project.build.directory}" />
59
										<ant antfile="${depman-ant}" target="${compileTarget}" />
60
									</tasks>
61
								</configuration>
62
								<goals>
63
									<goal>run</goal>
64
								</goals>
65
							</execution>
66
							<execution>
67
								<id>native-eclipse</id>
68
								<phase>generate-sources</phase>
69
								<configuration>
70
									<tasks>
71
										<property name="numProc" value="${numProc}" />
72
										<property name="project.build.directory" value="${project.build.directory}" />
73
										<ant antfile="${depman-ant}" target="${compileTarget}-eclipse" />
74
									</tasks>
75
								</configuration>
76
								<goals>
77
									<goal>run</goal>
78
								</goals>
79
							</execution>
80
						</executions>
81
					</plugin>
82
					<plugin>
83
						<artifactId>maven-assembly-plugin
84
						</artifactId>
85
						<configuration>
86
							<descriptors>
87
								<descriptor>${build-dir}/scripts/native-assembly.xml</descriptor>
88
							</descriptors>
89
							<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
90
						</configuration>
91
						<executions>
92
							<execution>
93
								<id>package-native</id>
94
								<!--
95
									this is used for inheritance merges
96
								-->
97
								<phase>package</phase>
98
								<!--
99
									append to the packaging phase.
100
								-->
101
								<goals>
102
									<goal>attached</goal><!-- goals == mojos -->
103
								</goals>
104
							</execution>
105
						</executions>
106
					</plugin>
107
				</plugins>
108
			</build>
109
		</profile>
110
	</profiles>
111 30
</project>
112 31

  
branches/v2_0_0_prep/build/ant-tasks/gvsig-extension-tasks.xml
1
<project name="gvSIG-extension-tasks" default="make-extension-new">
2
	<dirname property="gvSIG-extension-tasks.basedir" 
3
		file="${ant.file.gvSIG-extension-tasks}"/>
4
	<import file="${gvSIG-extension-tasks.basedir}/ant-tasks-config.xml"/>
5

  
6
	<description>
7
		Ant tasks for extension installation
8
	</description>
9

  
10
	<!-- gvSIG extension targets -->
11
	<condition property="isJar">
12
		<equals arg1="${project.packaging}" arg2="jar" />
13
	</condition>
14

  
15
	<target name="make-extension-new" if="isJar">
16
		<echo message="======================== New target " />
17
		<echo message="======================== Making Extension " />
18
		<echo message="======================== Copying to extensions dir..." />
19
		<copy todir="${gvsig.install.dir}">
20
			<fileset dir="target/${distribution-final-name}-distribution/${distribution-final-name}" includes="**/**" />
21
		</copy>
22
	</target>
23
</project>
branches/v2_0_0_prep/build/extension-pom/build.xml
1
<project name="Complete build system" default="make-extension-new" basedir=".">
2
	<description>
3
	</description>
4
	<condition property="isJar">
5
		<equals arg1="${project.packaging}" arg2="jar" />
6
	</condition>
7

  
8
	<target name="make-extension" if="isJar">
9
		<echo message="======================== Copying to extensions dir..." />
10
		<mkdir dir="${temporaly-build}" />
11
		<mkdir dir="${temporaly-build}/${library-dir}" />
12
		<echo message="library directory ${temporaly-build}/${library-dir}" />
13

  
14
		<echo message="Copying file ${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging} to ${temporaly-build}/lib/" />
15
		<copy file="${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}" tofile="${temporaly-build}/${library-dir}/${plugin-name}.${project.packaging}">
16
		</copy>
17

  
18
		<copy todir="${temporaly-build}/images">
19
			<fileset dir="${basedir}/images/" includes="**/**" excludes="**/*.db" />
20
		</copy>
21
		<echo message="Copying config files to ${extension-dir}" />
22
		<copy todir="${temporaly-build}">
23
			<fileset dir="${basedir}/${config}" includes="**/**" />
24
		</copy>
25
		<move todir="${extension-dir}/${plugin-name}/">
26
			<fileset dir="${temporaly-build}" includes="**/**" />
27
		</move>
28
	</target>
29

  
30
	<target name="make-extension-new" if="isJar">
31
		<echo message="======================== New target " />
32
		<echo message="======================== Making Extension " />
33
		<echo message="======================== Copying to extensions dir..." />
34
		<copy todir="${extension-dir}/../../">
35
			<fileset dir="target/${distribution-final-name}-distribution/${distribution-final-name}" includes="**/**" />
36
		</copy>
37
	</target>
38
</project>
branches/v2_0_0_prep/build/extension-pom/pom.xml
12 12
	<name>extension-base-pom</name>
13 13
	<parent>
14 14
		<groupId>org.gvsig</groupId>
15
		<artifactId>gvsig-base-pom</artifactId>
15
		<artifactId>org.gvsig.maven.base.extension.pom</artifactId>
16 16
		<version>2.0-SNAPSHOT</version>
17
	</parent>	
18
	<distributionManagement>
19
		<site>
20
			<id>gvsig-site-repository</id>
21
			<url>${site-repository}/</url>
22
		</site>
23
	</distributionManagement>
24

  
25
	<description> Base POM for all GvSIG extension projects. This pom knows
26
		how to build and made an extension for GvSIG. The property
27
		"build-dir" must be set up correctly.</description>
28
	<properties>
29
		<!--  Path of the build project folder -->
30
		<build-dir>${basedir}/..</build-dir>
31
		<!--  gvSIG installation folder -->
32
		<gvsig.install.dir>${build-dir}/product</gvsig.install.dir>
33
		<!--  gvSIG extensions installation folder -->
34
		<allextensions.install.dir>${gvsig.install.dir}/gvSIG/extensiones</allextensions.install.dir>
35
		<!--  Current extension installation folder -->
36
		<extension.install.dir>${allextensions.install.dir}/${artifactId}</extension.install.dir>
37
		<!-- 
38
		Maven assembly plugin configuration file for the 
39
		current extension, relative to the extension folder. 
40
		-->
41
		<extension.distribution.file>
42
			distribution/distribution.xml
43
		</extension.distribution.file>
44
		<!-- Maven assembly plugin output folder -->
45
		<extension-distribution>
46
			gvSIG/extensiones/${artifactId}
47
		</extension-distribution>
48
		<!-- Extension installation library folder -->
49
		<library-dir>lib</library-dir>
50
		<!-- gvSIG app extension installation folder -->
51
		<gvsig-extension-distribution>
52
			gvSIG/extensiones/org.gvsig.app/
53
		</gvsig-extension-distribution>
54
		<!-- 
55
		<distribution-final-name>${project.name}</distribution-final-name>
56
		<config>config</config>
57
		<plugin-name>${project.artifactId}</plugin-name>
58
		<temporaly-build>
59
			${project.build.directory}/${plugin-name}
60
		</temporaly-build>
61
		<extension-ant-base-dir>
62
			${build-dir}/extension-pom
63
		</extension-ant-base-dir>
64
		
65
		<extensions-install-dir>
66
			${build-dir}/product/gvSIG/extensiones
67
		</extensions-install-dir>
68
		<distribution-output-directory>
69
			distribution/
70
		</distribution-output-directory>
71
		-->
72
	</properties>
73
	
17
	</parent>
74 18
	<profiles>
19
    	<profile>
20
    		<id>gvsig-install</id>
21
    		<activation>
22
    			<activeByDefault>true</activeByDefault>
23
    		</activation>
24
    		<properties>
25
				<!--  gvSIG installation folder -->
26
    			<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir>
27
    		</properties>
28
    	</profile>
75 29
		<profile>
76
			<id>install-extension</id>
77
			<activation>
78
				<activeByDefault>true</activeByDefault>
79
				<property>
80
					<name>install-extension</name>
81
				</property>
82
			</activation>
83
			<build>
84
				<plugins>
85
					<plugin>
86
						<artifactId>maven-assembly-plugin
87
						</artifactId>
88
						<configuration>
89
							<descriptors>
90
								<descriptor>${extension.distribution.file}</descriptor>
91
							</descriptors>
92
							<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
93
							<appendAssemblyId>true</appendAssemblyId>
94
						</configuration>
95
						<executions>
96
							<execution>
97
								<id>make-assembly</id><!-- this is used for inheritance merges -->
98
								<phase>install</phase><!-- append to the packaging phase. -->
99
								<goals>
100
									<goal>attached</goal>
101
								</goals>
102
							</execution>
103
						</executions>
104
					</plugin>
105
					<plugin>
106
						<artifactId>maven-antrun-plugin</artifactId>
107
						<executions>
108
							<execution>
109
								<id>copy-to-andami</id>
110
								<phase>install</phase>
111
								<configuration>
112
									<tasks>
113
										<property name="project.packaging" value="${project.packaging}" />
114
										<property name="gvsig.install.dir" value="${gvsig.install.dir}" />
115
										<property name="distribution-final-name" value="${project.build.finalName}" />
116
										<ant antfile="${build-dir}/ant-tasks/gvsig-extension-tasks.xml"
117
										     target="make-extension-new" inheritRefs="true" />
118
									</tasks>
119
								</configuration>
120
								<goals>
121
									<goal>run</goal>
122
								</goals>
123
							</execution>
124
						</executions>
125
					</plugin>
126
					<plugin>
127
						<artifactId>maven-clean-plugin</artifactId>
128
						<configuration>
129
							<filesets>
130
								<fileset>
131
									<directory>${extension.install.dir}</directory>
132
									<includes>
133
										<include>**</include>
134
									</includes>
135
								</fileset>
136
							</filesets>
137
						</configuration>
138
					</plugin>
139
				</plugins>
140
			</build>
141
		</profile>
142
		<profile>
143
			<id>generate-installers</id>
144
			<activation>
145
				<property>
146
					<name>generate-install</name>
147
				</property>
148
			</activation>
149
			<build>
150
				<plugins>
151
					<plugin>
152
						<artifactId>maven-assembly-plugin</artifactId>
153
						<configuration>
154
							<descriptors>
155
								<descriptor>
156
									${distribution-win32-descriptor}
157
								</descriptor>
158
								<descriptor>
159
									${distribution-linux32-descriptor}
160
								</descriptor>
161
								<!-- descriptor>
162
									${distribution-mac-descriptor
163
									</descriptor-->
164
								<!--descriptor>
165
									/distribution/source-distribution.xml
166
									</descriptor-->
167
							</descriptors>
168
							<outputDirectory>
169
								${distribution-output-directory}
170
							</outputDirectory>
171
							<finalName>
172
								${distribution-final-name}
173
							</finalName>
174
							<appendAssemblyId>true</appendAssemblyId>
175
							<ignoreDirFormatExtensions>
176
								true
177
							</ignoreDirFormatExtensions>
178
						</configuration>
179
						<executions>
180
							<execution>
181
								<id>make-assembly</id><!-- this is used for inheritance merges -->
182
								<phase>package</phase><!-- append to the packaging phase. -->
183
								<goals>
184
									<goal>attached</goal><!-- goals == mojos -->
185
								</goals>
186
							</execution>
187
						</executions>
188
					</plugin>
189
				</plugins>
190
			</build>
191
		</profile>
192
		<profile>
193 30
			<id>eclipse-project</id>
194 31
			<build>
195 32
				<plugins>
branches/v2_0_0_prep/build/libraries-pom/pom.xml
12 12
	<name>library-base-pom</name>
13 13
	<parent>
14 14
		<groupId>org.gvsig</groupId>
15
		<artifactId>gvsig-base-pom</artifactId>
15
		<artifactId>org.gvsig.maven.base.pom</artifactId>
16 16
		<version>2.0-SNAPSHOT</version>
17 17
	</parent>	
18 18
	<distributionManagement>
......
24 24

  
25 25
	<description>
26 26
		Base POM for all GvSIG libraries projects. This pom knows how to
27
		build and made an libraries for GvSIG. The property
28
		"gvsig-path" must be set up correctly.
27
		build and made an libraries for GvSIG.
29 28
	</description>
30
	<properties>
31
	<build-dir>${basedir}/..</build-dir>
32
	</properties>
33 29
	<build>
34 30
		<plugins>
35 31
			<plugin>
......
48 44
			</plugin>
49 45
		</plugins>
50 46
	</build>
51
	<modules>
52
		<module>../libraries-jni-pom</module>
53
	</modules>
54 47
	<profiles>
55 48
		<profile>
56
			<id>windows-profile</id>
57
			<activation>
58
				<os>
59
					<family>windows</family>
60
				</os>
61
			</activation>
62
			<properties>
63
				<native-platform>win</native-platform>
64
				<native-distribution>nt</native-distribution>
65
				<native-compiler>vs8</native-compiler>
66
				<native-arch>i386</native-arch>
67
				<native-libraryType>dynamic</native-libraryType>
68
				<native-classifier>${native-platform}-${native-distribution}-${native-compiler}-${native-arch}-${native-libraryType}</native-classifier>
69
			</properties>
70
			<build>
71
				<plugins>
72
					<plugin>
73
						<groupId>org.apache.maven.plugins</groupId>
74
						<artifactId>maven-dependency-plugin</artifactId>
75
						<executions>
76
							<execution>
77
								<id>unpack-dependencies</id>
78
								<phase>generate-sources</phase>
79
								<goals>
80
									<goal>unpack-dependencies</goal>
81
								</goals>
82
								<configuration>
83
									<includeTypes>tar.gz</includeTypes>
84
									<outputDirectory>${user.home}/.depman</outputDirectory>
85
									<overWriteReleases>true</overWriteReleases>
86
									<overWriteSnapshots>true</overWriteSnapshots>
87
								</configuration>
88
							</execution>
89
						</executions>
90
					</plugin>
91
				</plugins>
92
			</build>
93
		</profile>
94
		<profile>
95
			<id>linux-profile</id>
96
			<activation>
97
				<os>
98
					<family>linux</family>
99
				</os>
100
			</activation>
101
			<properties>
102
				<native-platform>linux</native-platform>
103
				<native-distribution>Ubuntu-9.04</native-distribution>
104
				<native-compiler>gcc4</native-compiler>
105
				<native-arch>i386</native-arch>
106
				<native-libraryType>dynamic</native-libraryType>
107
				<native-classifier>${native-platform}-${native-distribution}-${native-compiler}-${native-arch}-${native-libraryType}</native-classifier>
108
			</properties>
109
			<build>
110
				<plugins>
111
					<plugin>
112
						<groupId>org.apache.maven.plugins</groupId>
113
						<artifactId>maven-dependency-plugin</artifactId>
114
						<executions>
115
							<execution>
116
								<id>copy-dependencies</id>
117
								<phase>generate-sources</phase>
118
								<goals>
119
									<goal>copy-dependencies</goal>
120
								</goals>
121
								<configuration>
122
									<includeTypes>tar.gz</includeTypes>
123
									<outputDirectory>${project.build.directory}/native_dependencies</outputDirectory>
124
									<overWriteReleases>true</overWriteReleases>
125
									<overWriteSnapshots>true</overWriteSnapshots>
126
									<overWriteIfNewer>true</overWriteIfNewer>
127
								</configuration>
128
							</execution>
129
						</executions>
130
					</plugin>
131
					<plugin>
132
						<groupId>org.codehaus.mojo</groupId>
133
						<artifactId>exec-maven-plugin</artifactId>
134
						<executions>
135
							<execution>
136
								<id>unpack-dependencies</id>
137
								<phase>generate-sources</phase>
138
								<goals>
139
									<goal>exec</goal>
140
								</goals>
141
								<configuration>
142
									<executable>sh</executable>
143
									<arguments>
144
										<argument>${build-dir}/scripts/unpack-dependencies.sh</argument>
145
										<argument>${project.build.directory}/native_dependencies</argument>
146
										<argument>${user.home}/.depman</argument>
147
									</arguments>
148
								</configuration>
149
							</execution>
150
						</executions>
151
					</plugin>
152
				</plugins>
153
			</build>
154
		</profile>
155
		<profile>
156
			<id>mac-profile</id>
157
			<activation>
158
				<os>
159
					<family>mac</family>
160
				</os>
161
			</activation>
162
			<properties>
163
				<native-platform>mac</native-platform>
164
				<native-distribution>10.5</native-distribution>
165
				<native-compiler>gcc4</native-compiler>
166
				<native-arch>universal</native-arch>
167
				<native-libraryType>dynamic</native-libraryType>
168
				<native-classifier>${native-platform}-${native-distribution}-${native-compiler}-${native-arch}-${native-libraryType}</native-classifier>
169
			</properties>
170
			<build>
171
				<plugins>
172
					<plugin>
173
						<groupId>org.apache.maven.plugins</groupId>
174
						<artifactId>maven-dependency-plugin</artifactId>
175
						<executions>
176
							<execution>
177
								<id>copy-dependencies</id>
178
								<phase>generate-sources</phase>
179
								<goals>
180
									<goal>copy-dependencies</goal>
181
								</goals>
182
								<configuration>
183
									<includeTypes>tar.gz</includeTypes>
184
									<outputDirectory>${project.build.directory}/native_dependencies</outputDirectory>
185
									<overWriteReleases>true</overWriteReleases>
186
									<overWriteSnapshots>true</overWriteSnapshots>
187
									<overWriteIfNewer>true</overWriteIfNewer>
188
								</configuration>
189
							</execution>
190
						</executions>
191
					</plugin>
192
					<plugin>
193
						<groupId>org.codehaus.mojo</groupId>
194
						<artifactId>exec-maven-plugin</artifactId>
195
						<executions>
196
							<execution>
197
								<id>unpack-dependencies</id>
198
								<phase>generate-sources</phase>
199
								<goals>
200
									<goal>exec</goal>
201
								</goals>
202
								<configuration>
203
									<executable>sh</executable>
204
									<arguments>
205
										<argument>${build-dir}/scripts/unpack-dependencies.sh</argument>
206
										<argument>${project.build.directory}/native_dependencies</argument>
207
										<argument>${user.home}/.depman</argument>
208
									</arguments>
209
								</configuration>
210
							</execution>
211
						</executions>
212
					</plugin>
213
				</plugins>
214
			</build>
215
		</profile>
216
		<profile>
217 49
			<id>eclipse-project</id>
218 50
			<build>
219 51
				<plugins>
......
225 57
									target="eclipse.eclipse"/>
226 58
							</tasks>
227 59
						</configuration>
60
						<dependencies>
61
							<dependency>
62
								<groupId>org.apache.ant</groupId>
63
								<artifactId>ant-trax</artifactId>
64
								<version>1.7.1</version>
65
							</dependency>
66
							<dependency>
67
								<groupId>xalan</groupId>
68
								<artifactId>xalan</artifactId>
69
								<version>2.6.0</version>
70
							</dependency>
71
						</dependencies>
228 72
					</plugin>
229 73
				</plugins>
230 74
			</build>				
231
		</profile>
75
		</profile>	
232 76
	</profiles>
233
</project>

77
</project>
branches/v2_0_0_prep/build/scripts/depman-ant.xml
1
<project name="Native Build System" default="native" basedir=".">
2

  
3
	<import file="utilities.xml" />
4

  
5
	<target name="generate">
6
		<cmake args="-DCMAKE_INSTALL_PREFIX=${project.build.directory}/target_cmake_product" />
7
	</target>
8

  
9
	<target name="build">
10
		<make-install numProc="${numProc}" />
11
	</target>
12

  
13
	<target name="native" depends="build" />
14

  
15
	<target name="native-eclipse" depends="generate" />
16

  
17
</project>
18

  
branches/v2_0_0_prep/build/scripts/utilities.xml
1
<project name="ant_libs">
2
	<dirname file="${ant.file.ant_libs}" property="ant.file.ant_libs.dir"/>
3

  
4
	<!--
5
		====================================
6
		Compilation base properties
7
		====================================
8
	-->
9
	<property name="JUNIT_HOME" location="${ant.file.ant_libs.dir}" />
10
	<property name="JavaSourceVersion" value="1.5"/>
11
	<property name="JavaTargetVersion" value="1.5"/>
12
	<property name="debug" value="on"/>
13
	<property name="debuglevel" value="lines, vars, source"/>
14
	<property name="encoding" value="ISO_8859_1"/>
15
	<property name="workspaceDir" location="${ant.file.ant_libs.dir}/../.."/>
16
	<property name="workspace_loc" location="${workspaceDir}"/>
17
	<property name="binaries_loc" location="${workspace_loc}/binaries"/>
18
	<property name="dependencies_loc" location="${binaries_loc}/dependencies"/>
19
	<property name="lib_loc" location="${binaries_loc}/lib"/>
20
	<property name="unixOS" value="Linux,SunOS,Solaris,Mac OS X" />
21

  
22

  
23
	<!-- Macros to call the usual maven 2 goals from ant -->
24
	<macrodef name="mvn">
25
	   <attribute name="arg" />
26
	   <sequential>
27
			<exec executable="${workspaceDir}/build/maven/bin/mvn" failonerror="true" os="${unixOS}">
28
				<arg line="@{arg}"/>
29
			</exec>
30
			<exec executable="cmd" os="windows">
31
		    	<arg value="/c"/>
32
		    	<arg value="${workspaceDir}/build/maven/bin/mvn.bat"/>
33
		    	<arg value="@{arg}"/>
34
		    </exec>
35
	   </sequential>
36
	</macrodef>	
37
	
38
	<macrodef name="mvn-clean">
39
	   <sequential>
40
	   		<mvn arg="clean"/>
41
	   </sequential>
42
	</macrodef>
43
	
44
	<macrodef name="mvn-compile">
45
	   <sequential>
46
	   		<mvn arg="compile"/>
47
	   </sequential>
48
	</macrodef>
49

  
50
	<macrodef name="mvn-install">
51
	   <attribute name="tofile" />
52
	   <attribute name="mvnJarName"/>
53
	   <attribute name="disable-tests" default="false" />
54
	   <sequential>
55
	   		<mvn arg="install"/>
56
			<copy tofile="@{tofile}" file="target/@{mvnJarName}"/>
57
	   </sequential>
58
	</macrodef>
59

  
60
	<macrodef name="mvn-install-no-tests">
61
	   <attribute name="tofile" />
62
	   <attribute name="mvnJarName"/>
63
	   <attribute name="disable-tests" default="false" />
64
	   <sequential>
65
	   		<mvn arg="-Dmaven.test.skip=true install"/>
66
			<copy tofile="@{tofile}" file="target/@{mvnJarName}"/>
67
	   </sequential>
68
	</macrodef>
69
	
70
	<macrodef name="mvn-javadoc">
71
	   <sequential>
72
	   		<mvn arg="javadoc:javadoc"/>
73
	   </sequential>
74
	</macrodef>
75

  
76

  
77
	<!-- Macros to call the usual cmake goals from ant -->
78
	<property name="target" value="target/target_cmake"/>
79
	<property name="cmakeExe" value="cmake"/>
80
	<property name="buildman.executable" location="${workspaceDir}/build/buildman/bin/bmn.py" />
81

  
82
	<macrodef name="cmake">
83
		<attribute name="install-dependencies" default="OFF"/>
84
		<attribute name="cmake-build-type" default="Release"/>
85
		<attribute name="args" default=""/>
86
	   <sequential>
87
			<mkdir dir="${target}" />
88
			<delete file="${target}/CMakeCache.txt"/>
89
	        <exec dir="${target}" executable="${cmakeExe}" failonerror="true" os="${unixOS}">
90
    	        <arg value="-GUnix Makefiles" />
91
        	    <arg value="-DCMAKE_BUILD_TYPE=@{cmake-build-type}" />
92
            	<arg value="-DINSTALL_DEPENDENCIES=@{install-dependencies}"/>
93
            	<arg line="@{args}"/>
94
	            <arg value="../../" />
95
    	    </exec>
96
	        <exec dir="${target}" executable="${cmakeExe}" failonerror="true" osfamily="windows">
97
    	        <arg value="-GNMake Makefiles" />
98
        	    <arg value="-DCMAKE_BUILD_TYPE=@{cmake-build-type}" />
99
            	<arg value="-DINSTALL_DEPENDENCIES=@{install-dependencies}"/>
100
            	<arg line="@{args}"/>
101
	            <arg value="..\\..\\" />
102
    	    </exec>
103
		</sequential>
104
	</macrodef>	
105

  
106
	<macrodef name="make-install">
107
		<attribute name="numProc" default="2"/>
108
	   <sequential>
109
			<exec dir="${target}" executable="make" failonerror="true" os="${unixOS}">
110
				<arg value="-j@{numProc}"/>
111
				<arg value="install"/>
112
			</exec>
113
			<exec dir="${target}" executable="nmake" failonerror="true" osfamily="windows">
114
				<arg value="install"/>
115
			</exec>
116
		</sequential>
117
	</macrodef>
118
	<macrodef name="buildman">
119
		<attribute name="goal"/>
120
		<attribute name="args" default=""/>
121
	   	<sequential>
122
			<exec executable="python" failonerror="true" >
123
				<arg value="${buildman.executable}" />
124
				<arg value="@{goal}" />
125
				<arg line="@{args}" />
126
			</exec>
127
		</sequential>
128
	</macrodef>
129
</project>
130

  
131

  
132

  
branches/v2_0_0_prep/build/scripts/unpack-dependencies.sh
1
#!/bin/bash
2

  
3
dep_dir=$1;
4
dest_dir=$2;
5

  
6
if [ ! -d $dest_dir ]; then mkdir $dest_dir; fi;
7
if [ ! -d $dep_dir ]; then exit 0; fi 
8

  
9
files=$(find $dep_dir -name *.tar.gz)
10
for i in $files; do
11
	echo "Expanding $i in $dest_dir"
12
	tar xzf $i -C $dest_dir
13
done
14

  
branches/v2_0_0_prep/build/scripts/native-assembly.xml
1
<assembly>
2
	<id>${native-classifier}</id>
3
	<formats>
4
		<format>tar.gz</format>
5
	</formats>
6
	<baseDirectory></baseDirectory>
7
	<fileSets>
8
		<fileSet>
9
			<directory>${project.build.directory}/target_cmake_product</directory>
10
			<includes>
11
				<include>**/**</include>
12
			</includes>
13
			<outputDirectory>/</outputDirectory>
14
		</fileSet>
15
	</fileSets>
16
</assembly>
branches/v2_0_0_prep/build/projects/gvsig-standard/pom.xml
13 13
	<inceptionYear>2007</inceptionYear>
14 14
	<parent>
15 15
		<groupId>org.gvsig</groupId>
16
		<artifactId>gvsig-base-pom</artifactId>
16
		<artifactId>org.gvsig.maven.base.pom</artifactId>
17 17
		<version>2.0-SNAPSHOT</version>
18 18
	</parent>	
19 19
	<distributionManagement>
branches/v2_0_0_prep/build/projects/gvsig-base/pom.xml
14 14
	<inceptionYear>2009</inceptionYear>
15 15
	<parent>
16 16
		<groupId>org.gvsig</groupId>
17
		<artifactId>gvsig-base-pom</artifactId>
17
		<artifactId>org.gvsig.maven.base.pom</artifactId>
18 18
		<version>2.0-SNAPSHOT</version>
19 19
	</parent>	
20 20
	<distributionManagement>
branches/v2_0_0_prep/build/pom.xml
9 9
	<packaging>pom</packaging>
10 10
	<version>2.0-SNAPSHOT</version>
11 11
	<name>gvsig-base-pom</name>
12
	<description>Base POM for all GvSIG projects</description>
13
	<url>http://www.gvsig.org/</url>
14
	<inceptionYear>2004</inceptionYear>
15
	<issueManagement>
16
		<system>trac</system>
17
		<url>https://gvsig.org/trac/bugtracking/</url>
18
	</issueManagement>
19
	<ciManagement></ciManagement>
20
	<mailingLists>
21
		<mailingList>
22
			<name>User List</name>
23
			<subscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios</subscribe>
24
			<unsubscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_usuarios</unsubscribe>
25
			<post>gvsig_usuarios@runas.cap.gva.es</post>
26
			<archive>https://gvsig.org/web/community/mailing-lists/gvsig-nabble</archive>
27
			<otherArchives>
28
				<otherArchive>http://www.mail-archive.com/gvsig_usuarios@runas.cap.gva.es</otherArchive>
29
				<otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive>
30
			</otherArchives>
31
		</mailingList>
32
		<mailingList>
33
			<name>Developer List</name>
34
			<subscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores</subscribe>
35
			<unsubscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores</unsubscribe>
36
			<post>gvsig_desarrolladores@runas.cap.gva.es</post>
37
			<archive>https://gvsig.org/web/community/mailing-lists/gvsig-nabble</archive>
38
			<otherArchives>
39
				<otherArchive>http://www.mail-archive.com/gvsig_desarrolladores@runas.cap.gva.es</otherArchive>
40
				<otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive>
41
			</otherArchives>
42
		</mailingList>
43
		<mailingList>
44
			<name>International List</name>
45
			<subscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional</subscribe>
46
			<unsubscribe>http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional</unsubscribe>
47
			<post>gvsig_internacional@runas.cap.gva.es</post>
48
			<archive>https://gvsig.org/web/community/mailing-lists/gvsig-nabble</archive>
49
			<otherArchives>
50
				<otherArchive>http://www.mail-archive.com/gvsig_internacional@runas.cap.gva.es</otherArchive>
51
				<otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive>
52
			</otherArchives>
53
		</mailingList>
54
	</mailingLists>
55
	<scm>
56
		<connection>
57
			scm:svn:http://subversion.gvsig.org/gvSIG/branches/v2_0_0_prep/	    
58
	    </connection>
59
		<developerConnection>
60
			scm:svn:https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/
61
	    </developerConnection>
62
		<url>http://subversion.gvsig.org/viewvc/?root=gvSIG</url>
63
		<tag>HEAD</tag>
64
	</scm>
65
	<organization>
66
		<name>gvSIG</name>
67
		<url>http://www.gvsig.org/</url>
68
	</organization>
12
	<description>GvSIG build project pom</description>
69 13

  
70
	<licenses>
71
		<license>
72
			<name>GPL Version 2</name>
73
			<url>http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt</url>
74
			<distribution>repo</distribution>
75
			<comments>
76
				"GPL" stands for "General Public License". The most widespread such
77
				license is the GNU General Public License, or GNU GPL for short.
78
				This can be further shortened to "GPL", when it is understood that
79
				the
80
				GNU GPL is the one intended.
81
	      </comments>
82
		</license>
83
	</licenses>
84

  
85
	<!--
86
		Put here the global properties who use all the projects of GvSIG
87
	-->
88
	<properties>
89
		<gvsig-path><!-- Name property -->
90
			../build/product
91
		</gvsig-path>
92
		<gvsig-lib-dir>${gvsig-path}/lib</gvsig-lib-dir>
93
		<extension-dir>${gvsig-path}/gvSIG/extensiones
94
		</extension-dir>
95
		<build-dir>${basedir}</build-dir>
96
		<localRepository>${user.home}/.m2/repository</localRepository>
97
		<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
98
		<cdc-runtime>${localRepository}/com/sun/phoneme/btclasses/bn102/btclasses-bn102.zip${path.separator}${localRepository}/com/sun/phonemert/bn102/rt-bn102.jar${path.separator}${localRepository}/org/gvsig/mobile/cdc-addons/1.0-SNAPSHOT/cdc-addons-1.0-SNAPSHOT.jar</cdc-runtime>
99
		<site-repository>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/</site-repository>
100
	</properties>
101 14
	<repositories>
102 15
		<repository>
103 16
			<id>gvsig-public-http-repository</id>
104 17
			<name>gvSIG maven public HTTP repository</name>
105 18
			<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url>
106 19
		</repository>
107
		<repository>
108
			<id>osgeo</id>
109
			<name>Open Source Geospatial Foundation</name>
110
			<url>http://download.osgeo.org/webdav/geotools</url>
111
		</repository>	
112 20
	</repositories>
113
	<distributionManagement>
114
		<repository>
115
			<id>gvsig-repository</id>
116
			<name>gvSIG maven repository</name>
117
			<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/maven-repository/</url>
118
		</repository>
119
		<snapshotRepository>
120
			<id>gvsig-repository</id>
121
			<name>gvSIG maven repository</name>
122
			<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/maven-repository/</url>
123
		</snapshotRepository>
124
		<!--
125
		<site>
126
			<id>gvsig-repository</id>
127
			<url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/${project.artifactId}/2.0.0/</url>
128
		</site>
129
		-->
130
	</distributionManagement>
131
	<dependencyManagement>
132
	    <!-- 
133
	    	NOTE: the list of dependencies is ordered alphabetically by
134
	    	the artifactId. Please, if new dependencies are added, keep
135
	    	the order.
136
	     -->
137
		<dependencies>
138
		    <dependency>
139
			    <groupId>org.jzkit</groupId>
140
    			<artifactId>a2j-runtime</artifactId>
141
    			<version>2.0.9</version>
142
    		</dependency>
143
            <dependency>
144
			    <groupId>org.jzkit</groupId>
145
    			<artifactId>a2j</artifactId>
146
    			<version>2.0.9</version>
147
    		</dependency>
148
			<dependency>
149
			    <groupId>net.swing</groupId>
150
	   			<artifactId>amic-util</artifactId>
151
	   			<version>unknown</version>
152
	   		</dependency>
153
			<dependency>
154
				<groupId>org.apache.xmlgraphics</groupId>
155
				<artifactId>batik-gvt</artifactId>
156
				<version>1.7</version>
157
			</dependency>
158
			<dependency>
159
				<groupId>org.apache.xmlgraphics</groupId>
160
				<artifactId>batik-script</artifactId>
161
				<version>1.7</version>
162
			</dependency>
163
			<dependency>
164
				<groupId>org.apache.xmlgraphics</groupId>
165
				<artifactId>batik-awt-util</artifactId>
166
				<version>1.7</version>
167
			</dependency>
168
			<dependency>
169
				<groupId>bsf</groupId>
170
				<artifactId>bsf</artifactId>
171
				<version>2.3.0-rc1</version>
172
			</dependency>
173
			<dependency>
174
				<groupId>bsh</groupId>
175
				<artifactId>bsh</artifactId>
176
				<version>2.0b1</version>
177
			</dependency>
178
			<dependency>
179
				<groupId>castor</groupId>
180
				<artifactId>castor</artifactId>
181
				<version>0.9.5.3</version>
182
			</dependency>
183
			<dependency>
184
				<groupId>commons-beanutils</groupId>
185
				<artifactId>commons-beanutils</artifactId>
186
				<version>1.6</version>
187
			</dependency>
188
			<dependency>
189
				<groupId>commons-dbcp</groupId>
190
				<artifactId>commons-dbcp</artifactId>
191
				<version>1.2.2</version>
192
			</dependency>
193
			<dependency>
194
				<groupId>commons-collections</groupId>
195
				<artifactId>commons-collections</artifactId>
196
				<version>3.2.1</version>
197
			</dependency>
198
			<dependency>
199
				<groupId>commons-httpclient</groupId>
200
				<artifactId>commons-httpclient</artifactId>
201
				<version>2.0.2</version>
202
			</dependency>
203
			<dependency>
204
				<groupId>org.dspace</groupId>
205
				<artifactId>cql-java</artifactId>
206
				<version>1.0</version>
207
			</dependency>				
208
			<dependency>
209
				<groupId>flanagan</groupId>
210
				<artifactId>flanagan</artifactId>
211
				<version>20090616</version>
212
			</dependency>
213
			<dependency>
214
				<groupId>net.sf</groupId>
215
				<artifactId>flib-jcalendar</artifactId>
216
				<version>unknown</version>
217
			</dependency>
218
			<dependency>
219
				<groupId>org.opengis</groupId>
220
				<artifactId>geoapi</artifactId>
221
				<version>2.0</version>
222
			</dependency>
223
			<dependency>
224
				<groupId>geojava</groupId>
225
				<artifactId>geojava</artifactId>
226
				<version>unknown</version>
227
			</dependency>
228
			<dependency>
229
				<groupId>org.geonames</groupId>
230
				<artifactId>geonames</artifactId>
231
				<version>1.0</version>
232
				<classifier>java5</classifier>
233
			</dependency>
234
			<dependency>
235
				<groupId>org.gvsig</groupId>
236
				<artifactId>org.gvsig.gpe</artifactId>
237
				<version>2.0.1</version>
238
			</dependency>
239
			<dependency>
240
				<groupId>org.gvsig</groupId>
241
				<artifactId>org.gvsig.gpe.kml</artifactId>
242
				<version>2.0.1</version>
243
			</dependency>
244
			<dependency>
245
				<groupId>org.gvsig</groupId>
246
				<artifactId>org.gvsig.gpe.xml</artifactId>
247
				<version>2.0.1</version>
248
			</dependency>
249
			<dependency>
250
				<groupId>org.gvsig</groupId>
251
				<artifactId>org.gvsig.gpe.gml</artifactId>
252
				<version>2.0.1</version>
253
			</dependency>
254
			<dependency>
255
				<groupId>org.geotools</groupId>
256
				<artifactId>gt2-epsg-esri</artifactId>
257
				<version>unknown</version>
258
			</dependency>
259
			<dependency>
260
				<groupId>org.geotools</groupId>
261
				<artifactId>gt2-epsg-hsql</artifactId>
262
				<version>unknown</version>
263
			</dependency>
264
			<dependency>
265
				<groupId>org.geotools</groupId>
266
				<artifactId>gt2-epsg-iau2000</artifactId>
267
				<version>unknown</version>
268
			</dependency>
269
			<dependency>
270
				<groupId>org.geotools</groupId>
271
				<artifactId>gt2-epsg-usr</artifactId>
272
				<version>unknown</version>
273
			</dependency>
274
			<dependency>
275
				<groupId>org.geotools</groupId>
276
				<artifactId>gt2-legacy</artifactId>
277
				<version>unknown</version>
278
			</dependency>
279
			<dependency>
280
				<groupId>org.geotools</groupId>
281
				<artifactId>gt2-main</artifactId>
282
				<version>unknown</version>
283
			</dependency>
284
			<dependency>
285
				<groupId>hsqldb</groupId>
286
				<artifactId>hsqldb</artifactId>
287
				<version>1.7.3.0</version>
288
			</dependency>
289
			<dependency>
290
				<groupId>com.lowagie</groupId>
291
				<artifactId>itext</artifactId>
292
				<version>2.1.4</version>
293
			</dependency>			
294
			<dependency>
295
				<groupId>javax.media</groupId>
296
				<artifactId>jai_core</artifactId>
297
				<version>1.1.3</version>
298
			</dependency>
299
			<dependency>
300
				<groupId>javax.media</groupId>
301
				<artifactId>jai_codec</artifactId>
302
				<version>1.1.3</version>
303
			</dependency>	
304
			<dependency>
305
				<groupId>gov.nist.math</groupId>
306
				<artifactId>jama</artifactId>
307
				<version>unknown</version>
308
			</dependency>
309
			<dependency>
310
				<groupId>javax.help</groupId>
311
				<artifactId>javahelp</artifactId>
312
				<version>2.0.05</version>
313
			</dependency>			
314
			<dependency>
315
				<groupId>jre</groupId>
316
				<artifactId>javaws</artifactId>
317
				<version>any</version>
318
				<type>jar</type>
319
				<scope>system</scope>
320
				<systemPath>${java.home}/lib/javaws.jar</systemPath>
321
			</dependency>			
322
			<dependency>
323
				<groupId>jfree</groupId>
324
				<artifactId>jcommon</artifactId>
325
				<version>1.0.12</version>
326
			</dependency>
327
			<dependency>
328
				<groupId>jdom</groupId>
329
				<artifactId>jdom</artifactId>
330
				<version>1.0</version>
331
			</dependency>
332
			<dependency>
333
				<groupId>org.nfunk</groupId>
334
				<artifactId>jep</artifactId>
335
				<version>2.4.0</version>
336
			</dependency>
337
			<dependency>
338
				<groupId>jfree</groupId>
339
				<artifactId>jfreechart</artifactId>
340
				<version>1.0.7</version>
341
			</dependency>
342
			<dependency>
343
				<groupId>net.sf</groupId>
344
				<artifactId>jgraph</artifactId>
345
				<version>5.10.1.5</version>
346
			</dependency>
347
			<dependency>
348
				<groupId>net.sf</groupId>
349
				<artifactId>jgridshiftapi</artifactId>
350
				<version>1.0</version>
351
			</dependency>
352
			<dependency>
353
			    <groupId>com.sun</groupId>
354
	   			<artifactId>jimi</artifactId>
355
	   			<version>1.1</version>
356
	   		</dependency>	
357
	   		<dependency>
358
			    <groupId>org.jpedal</groupId>
359
    			<artifactId>jpedal</artifactId>
360
    			<version>unknown</version>
361
    		</dependency>		
362
   			<dependency>
363
				<groupId>net.sf</groupId>
364
				<artifactId>jsi</artifactId>
365
				<version>unknown</version>
366
			</dependency>
367
			<dependency>
368
				<groupId>com.vividsolutions</groupId>
369
				<artifactId>jts</artifactId>
370
				<version>1.9</version>
371
			</dependency>
372
			<dependency>
373
				<groupId>com.vividsolutions</groupId>
374
				<artifactId>jtsio</artifactId>
375
				<version>1.7</version>
376
			</dependency>
377
			<dependency>
378
				<groupId>junit</groupId>
379
				<artifactId>junit</artifactId>
380
				<version>3.8.1</version>
381
			</dependency>
382
			<dependency>
383
			    <groupId>jwizardcomponent</groupId>
384
    			<artifactId>jwizardcomponent</artifactId>
385
    			<version>1.2.2</version>
386
    		</dependency>
387
    		<dependency>
388
			    <groupId>org.jzkit</groupId>
389
    			<artifactId>jzkit2-core</artifactId>
390
    			<version>2.0.0</version>
391
    		</dependency>
392
            <dependency>
393
			    <groupId>org.jzkit</groupId>
394
    			<artifactId>jzkit2-z3950</artifactId>
395
    			<version>2.0.0</version>
396
    		</dependency>
397
            <dependency>
398
			    <groupId>org.jzkit</groupId>
399
    			<artifactId>jzkit2-origin</artifactId>
400
    			<version>2.0.0</version>
401
    		</dependency>
402
    		<dependency>
403
				<groupId>net.sf.kxml</groupId>
404
				<artifactId>kxml2</artifactId>
405
				<version>2.2.2</version>
406
			</dependency>
407
			<dependency>
408
				<groupId>log4j</groupId>
409
				<artifactId>log4j</artifactId>
410
				<version>1.2.14</version>
411
			</dependency>
412
			<dependency>
413
				<groupId>com.jgoodies</groupId>
414
				<artifactId>looks</artifactId>
415
				<version>2.1.4</version>
416
			</dependency>
417
			<dependency>
418
			    <groupId>com.ostermiller</groupId>
419
    			<artifactId>ostermillerutils</artifactId>
420
    			<version>1.4.3</version>
421
    		</dependency>
422
		    <dependency>
423
				<groupId>mysql</groupId>
424
				<artifactId>mysql-connector-java</artifactId>
425
				<version>5.1.6</version>
426
			</dependency>
427
			<dependency>
428
				<groupId>postgresql</groupId>
429
				<artifactId>postgresql</artifactId>
430
				<version>8.3-603.jdbc3</version>
431
			</dependency>
432
			<dependency>
433
			    <groupId>es.unex</groupId>
434
    			<artifactId>sextante</artifactId>
435
    			<version>0.15</version>
436
    		</dependency>
437
			<dependency>
438
			    <groupId>es.unex</groupId>
439
    			<artifactId>sextante</artifactId>
440
    			<version>0.15</version>
441
    			<classifier>gui</classifier>
442
    		</dependency>
443
			<dependency>
444
				<groupId>org.slf4j</groupId>
445
				<artifactId>slf4j-api</artifactId>
446
				<version>1.5.5</version>
447
			</dependency>
448
			<dependency>
449
				<groupId>org.slf4j</groupId>
450
				<artifactId>slf4j-log4j12</artifactId>
451
				<version>1.5.5</version>
452
	 		</dependency>
453
	 		<dependency>
454
			    <groupId>spatialindex</groupId>
455
    			<artifactId>spatialindex</artifactId>
456
    			<version>unknown</version>
457
    		</dependency>
458
			<dependency>
459
				<groupId>org.springframework</groupId>
460
				<artifactId>spring</artifactId>
461
				<version>1.2.8</version>
462
			</dependency>    		
463
    		<dependency>
464
			    <groupId>net.sf</groupId>
465
    			<artifactId>sqljep</artifactId>
466
    			<version>0.2</version>
467
    		</dependency>
468
			<dependency>
469
				<groupId>net.sf.smc</groupId>
470
				<artifactId>smc</artifactId>
471
				<version>4.3</version>
472
			</dependency>
473
			<dependency>
474
				<groupId>soap</groupId>
475
				<artifactId>soap</artifactId>
476
				<version>2.3</version>
477
			</dependency>
478
			<dependency>
479
				<groupId>tablelayout</groupId>
480
				<artifactId>TableLayout</artifactId>
481
				<version>20050920</version>
482
			</dependency>
483
			<dependency>
484
				<groupId>java3d</groupId>
485
				<artifactId>vecmath</artifactId>
486
				<version>1.3.1</version>
487
			</dependency>
488
			<dependency>
489
				<groupId>xerces</groupId>
490
				<artifactId>xercesImpl</artifactId>
491
				<version>2.5.0</version>
492
			</dependency>
493
			<dependency>
494
			    <groupId>zql</groupId>
495
    			<artifactId>zql</artifactId>
496
    			<version>unknown</version>
497
    		</dependency>
498
		</dependencies>
499
	</dependencyManagement>
500
	<dependencies>
501
		<dependency>
502
			<groupId>junit</groupId>
503
			<artifactId>junit</artifactId>
504
			<scope>test</scope>
505
		</dependency>
506
		<dependency>
507
			<groupId>org.slf4j</groupId>
508
			<artifactId>slf4j-api</artifactId>
509
		</dependency>
510
		<dependency>
511
			<groupId>org.slf4j</groupId>
512
			<artifactId>slf4j-log4j12</artifactId>
513
			<scope>runtime</scope>
514
 		</dependency>
515
		<dependency>
516
			<groupId>log4j</groupId>
517
			<artifactId>log4j</artifactId>
518
			<!--
519
				TODO: Change to runtime when everything becomes migrated to SLF4J
520
			-->
521
			<scope>compile</scope>
522
		</dependency>
523
	</dependencies>
524
	<build>
525
		<extensions>
526
			<extension>
527
				<groupId>org.gvsig.maven.wagon</groupId>
528
				<artifactId>wagon-ftp</artifactId>
529
				<version>0.2</version>
530
			</extension>
531
		</extensions>
532
		<pluginManagement>
533
			<plugins>
534
				<plugin>
535
					<artifactId>maven-antrun-plugin</artifactId>
536
					<dependencies>
537
						<dependency>
538
							<groupId>org.apache.ant</groupId>
539
							<artifactId>ant-trax</artifactId>
540
							<version>1.7.1</version>
541
						</dependency>
542
						<dependency>
543
							<groupId>xalan</groupId>
544
							<artifactId>xalan</artifactId>
545
							<version>2.6.0</version>
546
						</dependency>
547
					</dependencies>
548
				</plugin>
549
				<plugin>
550
					<groupId>org.apache.maven.plugins</groupId>
551
					<artifactId>maven-javadoc-plugin</artifactId>
552
					
553
				</plugin>
554
			</plugins>		
555
		</pluginManagement>
556
		<plugins>
557
			<plugin>
558
				<groupId>org.apache.maven.plugins</groupId>
559
				<artifactId>maven-compiler-plugin</artifactId>
560
				<configuration>
561
					<source>1.5</source>
562
					<target>1.5</target>
563
					<!-- put your configurations here -->
564
					<encoding>ISO-8859-1</encoding>
565
					<!--<failOnError>false</failOnError>-->
566
				</configuration>
567
			</plugin>
568
			<plugin>
569
				<groupId>org.apache.maven.plugins</groupId>
570
				<artifactId>maven-resources-plugin</artifactId>
571
				<configuration>
572
					<encoding>ISO-8859-1</encoding>
573
				</configuration>
574
			</plugin>
575

  
576
			<plugin>
577
				<groupId>org.apache.maven.plugins</groupId>
578
				<artifactId>maven-eclipse-plugin</artifactId>
579
				<configuration>
580
					<downloadSources>true</downloadSources>
581
					<downloadJavadocs>true</downloadJavadocs>
582
					<projectNameTemplate>${project.name}</projectNameTemplate>
583
				</configuration>
584
			</plugin>
585
			<plugin>
586
				<groupId>org.apache.maven.plugins</groupId>
587
				<artifactId>maven-source-plugin</artifactId>
588
				<executions>
589
					<execution>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff