Revision 36053

View differences:

tags/v2_0_0_Build_2031/build/libraries-jni-pom/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
6

  
7
	<modelVersion>4.0.0</modelVersion>
8
	<groupId>org.gvsig</groupId>
9
	<artifactId>gvsig-base-library-jni-pom</artifactId>
10
	<packaging>pom</packaging>
11
	<version>2.0-SNAPSHOT</version>
12
	<name>library-jni-base-pom</name>
13
	<parent>
14
		<groupId>org.gvsig</groupId>
15
		<artifactId>org.gvsig.maven.base.jni.pom</artifactId>
16
		<version>1.0.8-SNAPSHOT</version>
17
	</parent>
18
	<scm>
19
		<connection>
20
			scm:svn:http://subversion.gvsig.org/gvSIG/branches/v2_0_0_prep/	    
21
	    </connection>
22
		<developerConnection>
23
			scm:svn:https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/
24
	    </developerConnection>
25
		<url>http://subversion.gvsig.org/viewvc/?root=gvSIG</url>
26
		<tag>v2_0_0_prep</tag>
27
	</scm>	
28
	<dependencyManagement>
29
		<dependencies>
30
			<dependency>
31
				<groupId>org.gvsig</groupId>
32
				<artifactId>org.gvsig.core.maven.dependencies</artifactId>
33
				<version>2.0.1-SNAPSHOT</version>
34
				<type>pom</type>
35
				<scope>import</scope>
36
			</dependency>
37
		</dependencies>
38
	</dependencyManagement>		
39
	<repositories>
40
		<repository>
41
			<id>gvsig-public-http-repository</id>
42
			<name>gvSIG maven public HTTP repository</name>
43
			<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url>
44
			<releases>
45
				<enabled>true</enabled>
46
				<updatePolicy>daily</updatePolicy>
47
				<checksumPolicy>warn</checksumPolicy>
48
			</releases>
49
			<snapshots>
50
				<enabled>true</enabled>
51
				<updatePolicy>daily</updatePolicy>
52
				<checksumPolicy>warn</checksumPolicy>
53
			</snapshots>	
54
		</repository>
55
	</repositories>
56

  
57
	<description>
58
		Base POM for all GvSIG JNI projects. This pom knows how to
59
		build and made an libraries for GvSIG. The property
60
		"gvsig-path" must be set up correctly.
61
	</description>
62
</project>
0 63

  
tags/v2_0_0_Build_2031/build/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>build</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.python.pydev.PyDevBuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.jdt.core.javabuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
	</buildSpec>
19
	<natures>
20
		<nature>org.eclipse.jdt.core.javanature</nature>
21
		<nature>org.python.pydev.pythonNature</nature>
22
	</natures>
23
</projectDescription>
tags/v2_0_0_Build_2031/build/ant-tasks/projects-svn-repository.properties
1
##
2
## This is the list of gvSIG core projects and their svn repository location
3
##
4
# Build configuration projects
5
build=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/build
6
org.gvsig.core.maven.dependencies=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/org.gvsig.core.maven.dependencies
7

  
8
# Applications
9
appCatalog=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/applications/appCatalog
10
appGazetteer=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/applications/appGazetteer
11
appgvSIG=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/applications/appgvSIG
12
# Extensions
13
extCatalog=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extCatalog
14
extCenterViewToPoint=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extCenterViewToPoint
15
org.gvsig.daltransform.app.mainplugin=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.daltransform.app.mainplugin
16
extDalTransformEventTheme=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extDalTransformEventTheme
17
extDalTransformJoin=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extDalTransformJoin
18
extDataLocator=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extDataLocator
19
extDwg=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extDwg
20
extEditing=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extEditing
21
extExpressionField=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extExpressionField
22
extGazetteer=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extGazetteer
23
extGeoDB=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extGeoDB
24
extGeoreferencing=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extGeoreferencing
25
extGPE-gvSIG=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extGPE-gvSIG
26
extHelp=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extHelp
27
extI18n=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extI18n
28
extIconThemeBase=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extIconThemeBase
29
extJCRS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extJCRS
30
extWCS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extWCS
31
extWFS2=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extWFS2
32
extWMS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extWMS
33
org.gvsig.annotation.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.annotation.app
34
org.gvsig.exportto.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.exportto.app
35
org.gvsig.newlayer.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.newlayer.app
36
org.gvsig.geometrymeasurement.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.geometrymeasurement.app
37
org.gvsig.hyperlink.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.hyperlink.app
38
org.gvsig.installer.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.installer.app
39
org.gvsig.mkmvnproject=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject
40
org.gvsig.scripting.app=https://svn.forge.osor.eu/svn/gvsig-scripting/org.gvsig.scripting.app/trunk/org.gvsig.scripting.app
41
org.gvsig.selectiontools.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.selectiontools.app
42
org.gvsig.sextante.app=https://svn.forge.osor.eu/svn/gvsig-sextante/org.gvsig.sextante/trunk/org.gvsig.sextante.app
43
org.gvsig.symbology.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.symbology.app
44
# Frameworks
45
_fwAndami=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/frameworks/_fwAndami
46
# Libraries
47
libCompat=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libCompat
48
libCorePlugin=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libCorePlugin
49
libDwg=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libDwg
50
libDXF=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libDXF
51
libEvaluator_SQLJEP=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libEvaluator_SQLJEP
52
libFMap_controls=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_controls
53
libFMap_dal=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_dal
54
libFMap_daldb=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_daldb
55
libFMap_dalfile=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_dalfile
56
libFMap_dalindex=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_dalindex
57
libFMap_geometries=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_geometries
58
libFMap_mapcontext=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_mapcontext
59
libInternationalization=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libInternationalization
60
libIverUtiles=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libIverUtiles
61
libJCRS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libJCRS
62
libMetadata=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libMetadata
63
libProjection=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libProjection
64
libRemoteServices=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libRemoteServices
65
libUIComponent=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libUIComponent
66
org.gvsig.annotation=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.annotation
67
org.gvsig.exportto=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.exportto
68
org.gvsig.newlayer=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.newlayer
69
org.gvsig.installer=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.installer
70
org.gvsig.personaldb=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.personaldb
71
org.gvsig.scripting=https://svn.forge.osor.eu/svn/gvsig-scripting/org.gvsig.scripting/trunk/org.gvsig.scripting
72
org.gvsig.symbology=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.symbology
73
org.gvsig.raster=https://svn.forge.osor.eu/svn/gvsig-raster/org.gvsig.raster/trunk/org.gvsig.raster
74
org.gvsig.raster.tilecache=https://svn.forge.osor.eu/svn/gvsig-raster/org.gvsig.raster.tilecache/trunk/org.gvsig.raster.tilecache
75
org.gvsig.raster.cache=https://svn.forge.osor.eu/svn/gvsig-raster/org.gvsig.raster.cache/trunk/org.gvsig.raster.cache
76
org.gvsig.raster.app=https://svn.forge.osor.eu/svn/gvsig-raster/org.gvsig.raster.app/trunk/org.gvsig.raster.app
77
org.gvsig.raster.gdal=https://svn.forge.osor.eu/svn/gvsig-raster/org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal
tags/v2_0_0_Build_2031/build/ant-tasks/eclipse-tasks.xml
1
<project name="gvSIG-eclipse-tasks" default="eclipse.all" 
2
	xmlns:artifact="antlib:org.apache.maven.artifact.ant">
3

  
4
	<dirname property="gvSIG-eclipse-tasks.basedir" 
5
			 file="${ant.file.gvSIG-eclipse-tasks}" />
6
	<import file="${gvSIG-eclipse-tasks.basedir}/ant-tasks-config.xml" />
7

  
8
	<description>
9
		Ant tasks and macros to interact with eclipse
10
	</description>
11
	
12
	<target name="eclipse.all" depends="eclipse.eclipse,eclipse.classpath"/>
13

  
14
	<target name="eclipse.eclipse">
15
		<maven arg="eclipse:eclipse" />
16
	</target>
17
	
18
	<target name="classpath.check">
19
	    <condition property="classpath-present">
20
            <available file=".classpath"/>
21
	    </condition>
22
	</target>
23

  
24
	<target name="eclipse.classpath" depends="classpath.check" if="classpath-present">
25
		<xslt in="pom.xml" out=".classpath.libs" style="${gvSIG-eclipse-tasks.basedir}/eclipse-classpath.xsl">
26
			<outputproperty name="encoding" value="iso8859_1" />
27
			<outputproperty name="indent" value="yes" />
28
			<outputproperty name="method" value="txt" />
29
		</xslt>
30

  
31
		<!--
32
		<loadfile property="result01" srcFile=".classpath.libs" />
33
		<echo>After XSLT processing:
34
			${result01}</echo>
35
		-->
36

  
37
		<!-- Remove some uneeded text -->
38
		<replace file=".classpath.libs" value="">
39
		  	<replacetoken><![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>]]></replacetoken>
40
		</replace>
41
		<replace file=".classpath.libs" value="">
42
		  	<replacetoken><![CDATA[<classpath>]]></replacetoken>
43
		</replace>
44
		<replace file=".classpath.libs" value="">
45
		  	<replacetoken><![CDATA[<classpath/>]]></replacetoken>
46
			<replacevalue><![CDATA[</classpath>]]></replacevalue>
47
		</replace>
48
		<replace file=".classpath.libs" value="">
49
		  	<replacetoken><![CDATA[${basedir}/]]></replacetoken>
50
		</replace>
51
		<!-- Remove blanks and returns read by the xml parser into the tag content -->
52
		<replace file=".classpath.libs" value="">
53
		  	<replacetoken><![CDATA[&#10;]]></replacetoken>
54
		</replace>
55
		<replace file=".classpath.libs" value="">
56
		  	<replacetoken><![CDATA[&#9;]]></replacetoken>
57
		</replace>
58

  
59
		<loadfile property="result" srcFile=".classpath.libs" />
60

  
61
		<!--
62
		<echo>After removing uneeded tags:
63
			${result}</echo>
64
		-->
65
		
66
		<!-- Append the classpath entries to the .classpath file -->
67
		<replace file=".classpath" value="${result}">
68
		  	<replacetoken><![CDATA[</classpath>]]></replacetoken>
69
		</replace>
70

  
71
		<delete file=".classpath.libs" />
72
	</target>
73

  
74
</project>
tags/v2_0_0_Build_2031/build/ant-tasks/ant-tasks-config.xml
1
<project name="gvSIG-ant-tasks-config" 
2
		xmlns:artifact="antlib:org.apache.maven.artifact.ant">
3

  
4
	<description>
5
		Ant tasks and macros configuration to interact with maven and
6
		subversion
7
	</description>
8

  
9
	<dirname property="ant-tasks-config.basedir" 
10
		file="${ant.file.gvSIG-ant-tasks-config}" />
11

  
12
	<property name="workspace_loc" location="${ant-tasks-config.basedir}/../.."
13
		description="Eclipse workspace location" />
14

  
15
	<property name="build.folder" location="${ant-tasks-config.basedir}/.."
16
		description="Folder of the build project" />
17

  
18
	<property name="gvsiglogo" 
19
		location="${ant-tasks-config.basedir}/resources/gvSIG.png" />
20

  
21
	<property name="ant.libs.dir" location="${ant-tasks-config.basedir}"
22
		description="Additional ant tasks libs folder" />
23

  
24
	<!-- ============================= -->
25
	<!-- External ant tasks definition -->
26
	<!-- ============================= -->
27

  
28
	<!-- Maven ant tasks registration -->
29
	<path id="maven-ant-tasks.classpath" 
30
		path="${ant.libs.dir}/maven-ant-tasks-2.1.3.jar" />
31
	<typedef resource="org/apache/maven/artifact/ant/antlib.xml" 
32
		uri="antlib:org.apache.maven.artifact.ant"
33
		classpathref="maven-ant-tasks.classpath" />
34

  
35
	<!-- ant-contrib library load -->
36
	<taskdef resource="net/sf/antcontrib/antlib.xml">
37
		<classpath>
38
			<pathelement location="${ant.libs.dir}/ant-contrib-1.0b3.jar" />
39
			<pathelement location="${ant.libs.dir}/bcel-5.1.jar" />
40
			<pathelement location="${ant.libs.dir}/commons-httpclient-3.0.1.jar" />
41
			<pathelement location="${ant.libs.dir}/commons-logging-1.0.4.jar" />
42
			<pathelement location="${ant.libs.dir}/ivy-1.3.1.jar" />
43
		</classpath>
44
	</taskdef>
45

  
46
	<taskdef name="antform" classname="com.sardak.antform.AntForm">
47
		<classpath>
48
			<pathelement location="${ant.libs.dir}/antform-2.0.jar" />
49
		</classpath>
50
	</taskdef>
51

  
52
	<taskdef name="antmenu" classname="com.sardak.antform.AntMenu">
53
		<classpath>
54
			<pathelement location="${ant.libs.dir}/antform-2.0.jar" />
55
		</classpath>
56
	</taskdef>
57

  
58
	<target name="show.path.properties" unless="path.properties.shown">
59
		<echo>workspace_loc = ${workspace_loc}</echo>
60
		<echo>build.folder = ${build.folder}</echo>
61
		<echo>ant.libs.dir = ${ant.libs.dir}</echo>
62
		<property name="path.properties.shown" value="true" />
63
	</target>
64

  
65
	<!-- Maven targets -->
66
	<macrodef name="maven">
67
		<attribute name="arg" />
68
		<sequential>
69
		    <condition property="gvsig.platform.exists">
70
	            <available file="${user.home}/.gvsig.platform.properties"/>
71
		    </condition>
72

  
73
			<fail unless="gvsig.platform.exists">
74
ERROR!!
75
		
76
You have to define your gvSIG platform properties, 
77
by creating the file: ${user.home}/.gvsig.platform.properties
78
with the following content:
79
	
80
	native_platform=linux
81
	native_distribution=Ubuntu-9.10
82
	native_compiler=gcc4
83
	native_arch=i386
84
	native_libraryType=dynamic
85
	export native_classifier=${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}
86

  
87
Replace the fifth initial variables values with the ones appropiate 
88
to your platform.
89
		
90
If you use maven in the command line, you can use the previous file also
91
to define the MAVEN_OPTS environment variable, by adding to your 
92
.bash_rc file something like this:
93

  
94
	if [ -f "${HOME}/.gvsig.platform.properties" ]
95
	then
96
	    . ${HOME}/.gvsig.platform.properties
97
	    export MAVEN_OPTS="-Xmx384M -XX:MaxPermSize=64m -Dnative-classifier=${native_classifier}"
98
	else
99
	    export MAVEN_OPTS="-Xmx384M -XX:MaxPermSize=64m"
100
	fi
101
	
102
It will work if you use the bash shell. In any other case or platform, you'll
103
have to define your MAVEN_OPTS environment variable and set the 
104
"native-classifier" parameter directly.
105
			</fail>
106
			
107
		    <loadproperties srcFile="${user.home}/.gvsig.platform.properties">
108
		      <filterchain>
109
		        <linecontains>
110
		          <contains value="native_"/>
111
		        </linecontains>
112
		      </filterchain>
113
		    </loadproperties>
114
			<property name="native_classifier" value="${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}"/>
115
			<echo>mvn -e -Dnative-classifier=${native_classifier} @{arg}</echo>
116
			<artifact:mvn mavenHome="${build.folder}/maven" fork="true"
117
				failonerror="true" maxmemory="384M">
118
				<arg line="-e -Dnative-classifier=${native_classifier} @{arg}" />
119
				<jvmarg value="-XX:MaxPermSize=96M" />
120
			</artifact:mvn>
121
		</sequential>
122
	</macrodef>
123

  
124
	<!-- Utility targets -->
125
	<target name="cancel">
126
		<fail>User canceled</fail>
127
	</target>
128
</project>
tags/v2_0_0_Build_2031/build/ant-tasks/maven-goals.xml
1
<project name="gvSIG-maven-goals" default="mvn-install">
2

  
3
	<dirname property="gvSIG-maven-goals.basedir" 
4
		file="${ant.file.gvSIG-maven-goals}" />
5
	<import file="${gvSIG-maven-goals.basedir}/ant-tasks-config.xml" />
6
	<import file="${gvSIG-maven-goals.basedir}/eclipse-tasks.xml" />
7

  
8
	<description>
9
		Ant tasks and macros to interact with maven
10
	</description>
11

  
12
	<target name="mvn-clean" description="Cleans all artifacts">
13
		<maven arg="clean" />
14
	</target>
15

  
16
	<target name="mvn-compile" description="Compiles all source code">
17
		<maven arg="compile" />
18
	</target>
19

  
20
	<target name="mvn-test" description="Launches unit tests">
21
		<maven arg="test" />
22
	</target>
23

  
24
	<target name="mvn-install" description="Compiles and installs">
25
		<maven arg="install" />
26
	</target>
27

  
28
    <target name="mvn-create-installer" 
29
        description="Compiles and generates an installer if the project is a gvSIG plugin">
30
        <maven arg="-P create-installer install" />
31
    </target>
32
	
33
	<target name="mvn-install-ignore-tests" description="Compiles and installs and ignore tests">
34
		<maven arg="install -Dmaven.test.failure.ignore" />
35
	</target>
36
	
37
	<target name="mvn-install-without-tests"
38
		description="Compiles and installs without launching tests">
39
		<maven arg="-Dmaven.test.skip=true install" />
40
	</target>
41

  
42
	<target name="mvn-reinstall" 
43
		description="Performs a clean install">
44
		<maven arg="clean install" />
45
	</target>
46

  
47
	<target name="mvn-reinstall-without-tests"
48
		description="Performs a clean install without launching tests">
49
		<maven arg="-Dmaven.test.skip=true clean install" />
50
	</target>
51

  
52
	<target name="mvn-deploy" 
53
		description="Compiles, installs and deploys">
54
		<maven arg="deploy" />
55
	</target>
56

  
57
	<target name="mvn-deploy-release" 
58
			description="Compiles, installs and deploys for release">
59
		<maven arg="-P release deploy" />
60
	</target>
61

  
62
	<target name="mvn-configure-eclipse-workspace"
63
		description="Configures the eclipse workspace for maven integration">
64

  
65
		<input message="Eclipse workspace folder to configure?:" 
66
			addproperty="eclipse.workspace"
67
			defaultvalue="${workspace_loc}" />
68

  
69
		<maven arg="-Declipse.workspace='${eclipse.workspace}' eclipse:add-maven-repo" />
70
		<mkdir dir="${eclipse.workspace}/.metadata/.plugins/org.eclipse.ui.workbench" />
71
		<copy
72
			file="${build.folder}/metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml"
73
			todir="${eclipse.workspace}/.metadata/.plugins/org.eclipse.ui.workbench" />
74
	</target>
75

  
76
	<target name="mvn-eclipse-clean"
77
		description="Cleans the maven generated eclipse project files">
78
		<maven arg="eclipse:clean" />
79
	</target>
80

  
81
	<!-- Replaced by the target eclipse.project in eclipse-tasks.xml -->
82
	<!--
83
	<target name="mvn-eclipse-eclipse"
84
		description="Generates an eclipse project configuration from the pom.xml">
85
		<maven arg="eclipse:eclipse" />
86
	</target>
87
	-->	
88
	<target name="mvn-eclipse-eclipse"
89
		description="Generates an eclipse project configuration from the pom.xml">
90
		<maven arg="-P eclipse-project" />
91
	</target>
92
	
93
	<target name="mvn-site"
94
		description="Generates the project site documentation">
95
		<maven arg="site" />
96
	</target>
97

  
98
</project>
tags/v2_0_0_Build_2031/build/ant-tasks/eclipse-classpath.xsl
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3
	xmlns:mvn="http://maven.apache.org/POM/4.0.0">
4

  
5
	<xsl:template match="/">
6
		<classpath xsl:exclude-result-prefixes='mvn #default'>
7
		<xsl:for-each select="mvn:project/mvn:build/mvn:plugins/mvn:plugin/mvn:configuration">
8
			<xsl:call-template name="config"/>
9
		</xsl:for-each>
10
		<xsl:for-each select="mvn:project/mvn:profiles/mvn:profile[mvn:id='se']/mvn:build/mvn:plugins/mvn:plugin/mvn:configuration">
11
			<xsl:call-template name="config"/>
12
		</xsl:for-each>
13
		</classpath>
14
	</xsl:template>
15
	
16
	<xsl:template name="config">
17
		<xsl:for-each select="mvn:additionalClasspathElements/mvn:additionalClasspathElement">
18
			<classpathentry xsl:exclude-result-prefixes='mvn #default' kind="lib" path="{.}"/>			
19
		</xsl:for-each>
20
	</xsl:template>
21

  
22
</xsl:stylesheet> 
tags/v2_0_0_Build_2031/build/ant-tasks/maven-archetypes.xml
1
<project name="gvSIG-maven-archetypes" default="mvn-create-library"
2
	xmlns:artifact="antlib:org.apache.maven.artifact.ant">
3
	<dirname property="gvSIG-maven-archetypes.basedir" file="${ant.file.gvSIG-maven-archetypes}" />
4
	<import file="${gvSIG-maven-archetypes.basedir}/ant-tasks-config.xml" />
5
	
6
	<property name="defaultGroupId" value="org.gvsig"/>
7
	<property name="defaultVersion" value="2.0-SNAPSHOT"/>
8

  
9
	<target name="mvn-create-library" depends="mvn-create-library.getparams"
10
		description="Generates a new library project with the initial structure and configuration">
11

  
12
		<echo>
13
			groupId: 	${lib.groupId}
14
			artifactId: ${lib.artifactId}
15
			version: 	${lib.version}
16
		</echo>
17
		<maven
18
			arg="archetype:generate -B -DarchetypeGroupId=org.gvsig -DarchetypeArtifactId=org.gvsig.maven-archetype.library -DgroupId=${lib.groupId} -DartifactId=${lib.artifactId} -Dversion=${lib.version} -Dpackage=${lib.artifactId}" />
19

  
20
		<move todir="${workspace_loc}/${lib.artifactId}">
21
			<fileset dir="${lib.artifactId}" />
22
		</move>
23
				
24
		<artifact:mvn mavenHome="${build.folder}/maven" fork="true"
25
			failonerror="true" dir="${workspace_loc}/${lib.artifactId}">
26
			<arg line="eclipse:eclipse" />
27
		</artifact:mvn>
28
	</target>
29

  
30
	<target name="mvn-create-library.getparams">
31
		<property name="lib.groupId" value="${defaultGroupId}" />
32
		<property name="lib.artifactId" value="${defaultGroupId}.mylibrary" />
33
		<property name="lib.version" value="${defaultVersion}" />		
34
		<antform title="Create a new library project" image="gvSIG.png">
35
				
36
			<label>Create a new library project for gvSIG</label>
37
			<textProperty label="Maven groupId:" property="lib.groupId"
38
				Required="true" />
39
			<textProperty label="Maven artifactId:" property="lib.artifactId"
40
				focus="true" Required="true" />
41
			<textProperty label="Project version:" property="lib.version"
42
				Required="true" />
43
			<label>
44
Note:
45
  Once the process has finished, import the project into your
46
  eclipse workspace.
47
			</label>
48
			<controlbar>
49
				<button label="Cancel" target="cancel" type="cancel"/>
50
				<button label="Ok" type="ok"/>
51
			</controlbar>
52
		</antform>
53
	</target>
54

  
55
	<target name="mvn-create-extension" depends="mvn-create-extension.getparams"
56
		description="Generates a new extension project with the initial structure and configuration">
57
		
58
		<echo>
59
			groupId: 	${ext.groupId}
60
			artifactId:	${ext.artifactId}
61
			version: 	${ext.version}
62
		</echo>
63
		<maven
64
			arg="archetype:generate -B -DarchetypeGroupId=org.gvsig -DarchetypeArtifactId=org.gvsig.maven-archetype.extension -DgroupId=${ext.groupId} -DartifactId=${ext.artifactId} -Dversion=${ext.version} -Dpackage=${ext.artifactId}" />
65

  
66
		<move todir="${workspace_loc}/${ext.artifactId}">
67
			<fileset dir="${ext.artifactId}" />
68
		</move>
69

  
70
		<artifact:mvn mavenHome="${build.folder}/maven" fork="true"
71
			failonerror="true" dir="${workspace_loc}/${ext.artifactId}">
72
			<arg line="eclipse:eclipse" />
73
		</artifact:mvn>
74
	</target>
75

  
76
	<target name="mvn-create-extension.getparams">
77
		<property name="ext.groupId" value="${defaultGroupId}" />
78
		<property name="ext.artifactId" value="${defaultGroupId}.myextension" />
79
		<property name="ext.version" value="${defaultVersion}" />
80
		<antform title="Create a new gvSIG extension project" image="gvSIG.png">
81
 			<label>Create a new extension project for gvSIG</label>
82
			<textProperty label="Maven groupId:" property="ext.groupId"
83
				Required="true" />
84
			<textProperty label="Maven artifactId:" property="ext.artifactId"
85
				focus="true" Required="true" />
86
			<textProperty label="Project version:" property="ext.version"
87
				Required="true" />
88
			<label>
89
Note:
90
  Once the process has finished, import the project into your
91
  eclipse workspace.
92
			</label>
93
			<controlbar>
94
				<button label="Cancel" target="cancel" type="cancel"/>
95
				<button label="Ok" type="ok"/>
96
			</controlbar>
97
		</antform>
98
	</target>
99

  
100
</project>
tags/v2_0_0_Build_2031/build/ant-tasks/subversion-tasks.xml
1
<project name="gvSIG-subversion-tasks" default="svn.checkout.all"
2
	xmlns:artifact="antlib:org.apache.maven.artifact.ant">
3

  
4
	<dirname property="gvSIG-subversion-tasks.basedir" file="${ant.file.gvSIG-subversion-tasks}" />
5
	<import file="${gvSIG-subversion-tasks.basedir}/ant-tasks-config.xml" />
6

  
7
	<description>
8
		Ant tasks and macros to interact with subversion
9
	</description>
10

  
11
	<!-- Subversion targets -->
12
	<target name="svn.checkout.all" 
13
		depends="svn.checkout.allprojects,eclipse.projects"
14
		description="Checkouts all projects defined in a parent module pom.xml">
15
		<echo>
16
Note:
17
  Once the process has finished, import the projects into your
18
  eclipse workspace.</echo>
19
	</target>
20
		
21
	<target name="svn.checkout.allprojects" depends="svn.getparams">
22

  
23
		<artifact:pom id="pom" file="pom.xml" />
24
	    <echo>Checking out the gvSIG projects for the group ${pom.artifactId}: ${pom.modules}</echo>
25
		<for list="${pom.modules}" param="svn.module" delimiter=",[]" trim="true">
26
			<sequential>
27
				<propertyregex property="svn.module" input="@{svn.module}"
28
					regexp="[./]*(.*)" replace="\1" casesensitive="false" 
29
					override="true" />
30
			    <!-- just to ignore submodules as they are already check out -->
31
                <var name="svn.issubmodule" unset="true" />
32
                <available file="${basedir}/${svn.module}" 
33
                    property="svn.issubmodule" />
34
				<antcall target="svn.checkout.module">
35
					<param name="svn.module" value="${svn.module}" />
36
				</antcall>
37
			</sequential>
38
		</for>
39
	</target>
40
	
41
	<target name="eclipse.projects" if="create.eclipse.projects">
42
		<!-- Create the eclipse project configuration for all downloaded projects -->
43
		<if>
44
			<equals arg1="${create.eclipse.projects}" arg2="true" />
45
			<then>
46
				<maven arg="-Dmaven.test.failure.ignore install" />
47
				<maven arg="-P eclipse-project" />
48
			</then>
49
		</if>
50
	</target>
51

  
52
	<target name="svn.update.all" depends="svn.getparams"
53
		description="Updates all projects defined in a parent module pom.xml">
54
		<artifact:pom id="pom" file="pom.xml" />
55
		<for list="${pom.modules}" param="svn.module" delimiter=",[]" trim="true">
56
			<sequential>
57
				<propertyregex property="svn.module" input="@{svn.module}"
58
					regexp="[./]*(.*)" replace="\1" casesensitive="false" 
59
					override="true" />
60
                <!-- just to ignore submodules as they are already check out -->
61
                <var name="svn.issubmodule" unset="true" />
62
                <available file="${basedir}/${svn.module}" 
63
                    property="svn.issubmodule" />
64
				<antcall target="svn.update.module">
65
					<param name="svn.module" value="${svn.module}" />
66
				</antcall>
67
			</sequential>
68
		</for>
69
	</target>
70
    
71
    <target name="svn.checkout.module" unless="svn.issubmodule">
72
        <var name="svn.isgroup" unset="true" />
73
        <available file="${build.folder}/projects/${svn.module}" 
74
            property="svn.isgroup" />
75
        <antcall target="svn.checkout.group">
76
            <param name="svn.module" value="${svn.module}" />
77
        </antcall>
78
        <antcall target="svn.checkout.project">
79
            <param name="svn.module" value="${svn.module}" />
80
        </antcall>
81
    </target>    
82

  
83
	<target name="svn.checkout.group" if="svn.isgroup">
84
		<echo>group: ${svn.module}</echo>
85
		<ant dir="${build.folder}/projects/${svn.module}" 
86
			target="svn.checkout.allprojects" />
87
	</target>
88

  
89
	<target name="svn.checkout.project" unless="svn.isgroup" 
90
		depends="svn.get.project.path">
91
		<echo>project: ${svn.module}</echo>
92
		<antcall target="svn.checkout">
93
			<param name="svn.project.path" value="${workspace_loc}" />
94
			<param name="svn.project.url" value="${svn.module.url}" />
95
		</antcall>
96
	</target>
97

  
98
    <target name="svn.update.module" unless="svn.issubmodule">
99
        <var name="svn.isgroup" unset="true" />
100
        <available file="${build.folder}/projects/${svn.module}" 
101
            property="svn.isgroup" />
102
        <antcall target="svn.update.group">
103
            <param name="svn.module" value="${svn.module}" />
104
        </antcall>
105
        <antcall target="svn.update.project">
106
            <param name="svn.module" value="${svn.module}" />
107
        </antcall>
108
    </target>
109

  
110
    <target name="svn.update.group" if="svn.isgroup">
111
        <echo>group: ${svn.module}</echo>
112
        <ant dir="${build.folder}/projects/${svn.module}" target="svn.update.all" />
113
    </target>
114

  
115
	<target name="svn.update.project" unless="svn.isgroup" 
116
		depends="svn.get.project.path">
117
		<echo>project: ${svn.module}</echo>
118
		<antcall target="svn.update">
119
			<param name="svn.project.path" value="${workspace_loc}" />
120
			<param name="svn.project.url" value="${svn.module.url}" />
121
		</antcall>
122
	</target>
123

  
124
	<target name="svn.checkout">
125
		<echo>url: ${svn.project.url}</echo>
126
		<echo>SVNKit version: ${svnkit.version}</echo>
127
		<java classname="org.tmatesoft.svn.cli.SVN" dir="${svn.project.path}"
128
			fork="true" failonerror="true">
129
			<arg value="--non-interactive"/>
130
			<arg value="co" />
131
			<arg value="--username" />
132
			<arg value="${svn.username}" />
133
			<arg value="--password" />
134
			<arg value="${svn.password}" />
135
			<arg value="${svn.project.url}" />
136
			<classpath>
137
				<pathelement location="${ant.libs.dir}/svnkit-${svnkit.version}.jar" />
138
				<pathelement location="${ant.libs.dir}/svnkit-cli-${svnkit.version}.jar" />
139
			</classpath>
140
		</java>
141
	</target>
142

  
143
	<target name="svn.update">
144
		<echo>url: ${svn.project.url}</echo>
145
		<echo>SVNKit version: ${svnkit.version}</echo>
146
		<java classname="org.tmatesoft.svn.cli.SVN" dir="${svn.project.path}"
147
			fork="true" failonerror="true">
148
			<arg value="--non-interactive"/>
149
			<arg value="update" />
150
			<arg value="${svn.module}" />
151
			<classpath>
152
				<pathelement location="${ant.libs.dir}/svnkit-${svnkit.version}.jar" />
153
				<pathelement location="${ant.libs.dir}/svnkit-cli-${svnkit.version}.jar" />
154
			</classpath>
155
		</java>
156
	</target>
157

  
158
	<!-- 
159
		Get subversion parameters using the AntForms utility:
160
		http://antforms.sourceforge.net/
161
	-->
162
	<target name="svn.getparams" unless="svn.repository.url">
163
		<!-- Default values -->
164
		<property name="create.eclipse.projects" value="true"/>
165
		<property name="svn.repository.url" value="https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep"/>
166
		<!--
167
			<property name="svn.username" value="guest"/> <property name="svn.password"
168
			value="guest"/>
169
		-->
170
		<antform title="SVN parameters" image="${gvsiglogo}" resetMessage="Cancel"
171
			previousTarget="cancel">
172
	
173
			<textProperty label="gvSIG 2.0 subversion repository: " property="svn.repository.url"
174
				password="false" editable="false" columns="38"/>
175

  
176
			<label>
177
Note:
178
  Select the SVNKit version which relates to the SVN version of the other SVN 
179
  clients you are using, like the SVN command line client or Eclipse. In the
180
  case of Eclipse, you have to install a version of the Subclipse plugin which 
181
  provides the same SVNKit version as the one selected, or to install the 
182
  Subversive plugin and configure it to use the selected SVNKit version in the
183
  plugin preferences.
184
				
185
  The relationship with the subversion version is :
186
  	SVNKit 1.1.7 -> Subversion 1.4 -> ¿? 
187
  	SVNKit 1.2.3 -> Subversion 1.5 -> Subclipse 1.4.*
188
  	SVNKit 1.3.0 -> Subversion 1.6 -> Subclipse 1.6.*
189
				
190
  In the case of Subversive, you can select the SVNKit version in the eclipse preferences:
191
	Team > SVN > SVN Connector
192
			</label>
193

  
194
			<selectionProperty label="SVNKit version to use: "
195
				property="svnkit.version"
196
				values="1.3.0;1.2.3;1.1.7"
197
				separator=";" />
198

  
199
			<label>
200
Note:
201
  Once the process has finished, import the projects into your eclipse workspace.
202
			</label>
203
		</antform>
204
	</target>
205

  
206
	<target name="svn.get.project.path">
207
		<description>
208
			Converts a project name to a project path in subversion.
209
			Ej: libTools -> libraries/libTools
210
		</description>
211
		<property file="${gvSIG-subversion-tasks.basedir}/projects-svn-repository.properties"/>
212
		<propertycopy property="svn.module.url" from="${svn.module}" 
213
					  override="true" silent="true"/>
214
	</target>
215
</project>
tags/v2_0_0_Build_2031/build/extension-pom/buildNumber.properties
1
# Ignore this file, don't modify or remove it.
2
# This is a fake build number so the configuration of this pom works with itself.
3
buildNumber=0
tags/v2_0_0_Build_2031/build/extension-pom/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
6

  
7
    <modelVersion>4.0.0</modelVersion>
8
    <groupId>org.gvsig</groupId>
9
    <artifactId>gvsig-base-extension-pom</artifactId>
10
    <packaging>pom</packaging>
11
    <version>2.0-SNAPSHOT</version>
12
    <name>extension-base-pom</name>
13
    <parent>
14
        <groupId>org.gvsig</groupId>
15
        <artifactId>org.gvsig.maven.base.extension.pom</artifactId>
16
        <version>1.0.8-SNAPSHOT</version>
17
    </parent>
18
    <scm>
19
        <connection>
20
			scm:svn:http://subversion.gvsig.org/gvSIG/branches/v2_0_0_prep/	    
21
	    </connection>
22
        <developerConnection>
23
			scm:svn:https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/
24
	    </developerConnection>
25
        <url>http://subversion.gvsig.org/viewvc/?root=gvSIG</url>
26
        <tag>v2_0_0_prep</tag>
27
    </scm>
28
    <dependencyManagement>
29
        <dependencies>
30
            <dependency>
31
                <groupId>org.gvsig</groupId>
32
                <artifactId>org.gvsig.core.maven.dependencies</artifactId>
33
                <version>2.0.1-SNAPSHOT</version>
34
                <type>pom</type>
35
                <scope>import</scope>
36
            </dependency>
37
        </dependencies>
38
    </dependencyManagement>
39
    <repositories>
40
        <repository>
41
            <id>gvsig-public-http-repository</id>
42
            <name>gvSIG maven public HTTP repository</name>
43
            <url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url>
44
            <releases>
45
                <enabled>true</enabled>
46
                <updatePolicy>daily</updatePolicy>
47
                <checksumPolicy>warn</checksumPolicy>
48
            </releases>
49
            <snapshots>
50
                <enabled>true</enabled>
51
                <updatePolicy>daily</updatePolicy>
52
                <checksumPolicy>warn</checksumPolicy>
53
            </snapshots>
54
        </repository>
55
    </repositories>
56
    <profiles>
57
        <profile>
58
            <id>gvsig-install</id>
59
            <activation>
60
                <activeByDefault>true</activeByDefault>
61
            </activation>
62
            <properties>
63
                <!-- gvSIG installation folder -->
64
                <gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir>
65
            </properties>
66
        </profile>
67
        <profile>
68
            <id>eclipse-project</id>
69
            <build>
70
                <plugins>
71
                    <plugin>
72
                        <artifactId>maven-antrun-plugin</artifactId>
73
                        <configuration>
74
                            <tasks>
75
                                <ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml"
76
                                    target="eclipse.eclipse" />
77
                            </tasks>
78
                        </configuration>
79
                    </plugin>
80
                </plugins>
81
            </build>
82
        </profile>
83
    </profiles>
84
</project>
tags/v2_0_0_Build_2031/build/extension-pom/distribution/distribution.xml
1
<assembly>
2
	<id>distribution</id>
3
</assembly>
0 4

  
tags/v2_0_0_Build_2031/build/libraries-pom/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
6

  
7
	<modelVersion>4.0.0</modelVersion>
8
	<groupId>org.gvsig</groupId>
9
	<artifactId>gvsig-base-library-pom</artifactId>
10
	<packaging>pom</packaging>
11
	<version>2.0-SNAPSHOT</version>
12
	<name>library-base-pom</name>
13
	<parent>
14
		<groupId>org.gvsig</groupId>
15
		<artifactId>org.gvsig.maven.base.pom</artifactId>
16
		<version>1.0.8-SNAPSHOT</version>
17
	</parent>
18
	<scm>
19
		<connection>
20
			scm:svn:http://subversion.gvsig.org/gvSIG/branches/v2_0_0_prep/	    
21
	    </connection>
22
		<developerConnection>
23
			scm:svn:https://gvsig.org/svn/gvSIG/branches/v2_0_0_prep/
24
	    </developerConnection>
25
		<url>http://subversion.gvsig.org/viewvc/?root=gvSIG</url>
26
		<tag>v2_0_0_prep</tag>
27
	</scm>
28
	<repositories>
29
		<repository>
30
			<id>gvsig-public-http-repository</id>
31
			<name>gvSIG maven public HTTP repository</name>
32
			<url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url>
33
			<releases>
34
				<enabled>true</enabled>
35
				<updatePolicy>daily</updatePolicy>
36
				<checksumPolicy>warn</checksumPolicy>
37
			</releases>
38
			<snapshots>
39
				<enabled>true</enabled>
40
				<updatePolicy>daily</updatePolicy>
41
				<checksumPolicy>warn</checksumPolicy>
42
			</snapshots>
43
		</repository>
44
	</repositories>
45
	<dependencyManagement>
46
		<dependencies>
47
			<dependency>
48
				<groupId>org.gvsig</groupId>
49
				<artifactId>org.gvsig.core.maven.dependencies</artifactId>
50
				<version>2.0.1-SNAPSHOT</version>
51
				<type>pom</type>
52
				<scope>import</scope>
53
			</dependency>
54
		</dependencies>
55
	</dependencyManagement>
56
	<build>
57
		<plugins>
58
			<plugin>
59
				<artifactId>maven-clean-plugin</artifactId>
60
				<configuration>
61
					<filesets>
62
						<fileset>
63
							<directory>${user.home}/.depman/</directory>
64
							<includes>
65
								<include>**</include>
66
							</includes>
67
						</fileset>
68
					</filesets>
69
					<followSymLinks>true</followSymLinks>
70
				</configuration>
71
			</plugin>
72
		</plugins>
73
	</build>
74
	<profiles>
75
		<profile>
76
			<id>eclipse-project</id>
77
			<build>
78
				<plugins>
79
					<plugin>
80
						<artifactId>maven-antrun-plugin</artifactId>
81
						<configuration>
82
							<tasks>
83
								<ant antfile="${build-dir}/ant-tasks/eclipse-tasks.xml" target="eclipse.eclipse" />
84
							</tasks>
85
						</configuration>
86
						<dependencies>
87
							<dependency>
88
								<groupId>org.apache.ant</groupId>
89
								<artifactId>ant-trax</artifactId>
90
								<version>1.7.1</version>
91
							</dependency>
92
							<dependency>
93
								<groupId>xalan</groupId>
94
								<artifactId>xalan</artifactId>
95
								<version>2.6.0</version>
96
							</dependency>
97
						</dependencies>
98
					</plugin>
99
				</plugins>
100
			</build>
101
		</profile>
102
		<profile>
103
			<id>gvsig-install</id>
104
			<activation>
105
				<activeByDefault>true</activeByDefault>
106
			</activation>
107
			<properties>
108
				<!--  gvSIG installation folder -->
109
				<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir>
110
			</properties>
111
		</profile>
112
	</profiles>
113
</project>
0 114

  
tags/v2_0_0_Build_2031/build/maven/LICENSE.txt
1

  
2
                                 Apache License
3
                           Version 2.0, January 2004
4
                        http://www.apache.org/licenses/
5

  
6
   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7

  
8
   1. Definitions.
9

  
10
      "License" shall mean the terms and conditions for use, reproduction,
11
      and distribution as defined by Sections 1 through 9 of this document.
12

  
13
      "Licensor" shall mean the copyright owner or entity authorized by
14
      the copyright owner that is granting the License.
15

  
16
      "Legal Entity" shall mean the union of the acting entity and all
17
      other entities that control, are controlled by, or are under common
18
      control with that entity. For the purposes of this definition,
19
      "control" means (i) the power, direct or indirect, to cause the
20
      direction or management of such entity, whether by contract or
21
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
      outstanding shares, or (iii) beneficial ownership of such entity.
23

  
24
      "You" (or "Your") shall mean an individual or Legal Entity
25
      exercising permissions granted by this License.
26

  
27
      "Source" form shall mean the preferred form for making modifications,
28
      including but not limited to software source code, documentation
29
      source, and configuration files.
30

  
31
      "Object" form shall mean any form resulting from mechanical
32
      transformation or translation of a Source form, including but
33
      not limited to compiled object code, generated documentation,
34
      and conversions to other media types.
35

  
36
      "Work" shall mean the work of authorship, whether in Source or
37
      Object form, made available under the License, as indicated by a
38
      copyright notice that is included in or attached to the work
39
      (an example is provided in the Appendix below).
40

  
41
      "Derivative Works" shall mean any work, whether in Source or Object
42
      form, that is based on (or derived from) the Work and for which the
43
      editorial revisions, annotations, elaborations, or other modifications
44
      represent, as a whole, an original work of authorship. For the purposes
45
      of this License, Derivative Works shall not include works that remain
46
      separable from, or merely link (or bind by name) to the interfaces of,
47
      the Work and Derivative Works thereof.
48

  
49
      "Contribution" shall mean any work of authorship, including
50
      the original version of the Work and any modifications or additions
51
      to that Work or Derivative Works thereof, that is intentionally
52
      submitted to Licensor for inclusion in the Work by the copyright owner
53
      or by an individual or Legal Entity authorized to submit on behalf of
54
      the copyright owner. For the purposes of this definition, "submitted"
55
      means any form of electronic, verbal, or written communication sent
56
      to the Licensor or its representatives, including but not limited to
57
      communication on electronic mailing lists, source code control systems,
58
      and issue tracking systems that are managed by, or on behalf of, the
59
      Licensor for the purpose of discussing and improving the Work, but
60
      excluding communication that is conspicuously marked or otherwise
61
      designated in writing by the copyright owner as "Not a Contribution."
62

  
63
      "Contributor" shall mean Licensor and any individual or Legal Entity
64
      on behalf of whom a Contribution has been received by Licensor and
65
      subsequently incorporated within the Work.
66

  
67
   2. Grant of Copyright License. Subject to the terms and conditions of
68
      this License, each Contributor hereby grants to You a perpetual,
69
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
      copyright license to reproduce, prepare Derivative Works of,
71
      publicly display, publicly perform, sublicense, and distribute the
72
      Work and such Derivative Works in Source or Object form.
73

  
74
   3. Grant of Patent License. Subject to the terms and conditions of
75
      this License, each Contributor hereby grants to You a perpetual,
76
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
      (except as stated in this section) patent license to make, have made,
78
      use, offer to sell, sell, import, and otherwise transfer the Work,
79
      where such license applies only to those patent claims licensable
80
      by such Contributor that are necessarily infringed by their
81
      Contribution(s) alone or by combination of their Contribution(s)
82
      with the Work to which such Contribution(s) was submitted. If You
83
      institute patent litigation against any entity (including a
84
      cross-claim or counterclaim in a lawsuit) alleging that the Work
85
      or a Contribution incorporated within the Work constitutes direct
86
      or contributory patent infringement, then any patent licenses
87
      granted to You under this License for that Work shall terminate
88
      as of the date such litigation is filed.
89

  
90
   4. Redistribution. You may reproduce and distribute copies of the
91
      Work or Derivative Works thereof in any medium, with or without
92
      modifications, and in Source or Object form, provided that You
93
      meet the following conditions:
94

  
95
      (a) You must give any other recipients of the Work or
96
          Derivative Works a copy of this License; and
97

  
98
      (b) You must cause any modified files to carry prominent notices
99
          stating that You changed the files; and
100

  
101
      (c) You must retain, in the Source form of any Derivative Works
102
          that You distribute, all copyright, patent, trademark, and
103
          attribution notices from the Source form of the Work,
104
          excluding those notices that do not pertain to any part of
105
          the Derivative Works; and
106

  
107
      (d) If the Work includes a "NOTICE" text file as part of its
108
          distribution, then any Derivative Works that You distribute must
109
          include a readable copy of the attribution notices contained
110
          within such NOTICE file, excluding those notices that do not
111
          pertain to any part of the Derivative Works, in at least one
112
          of the following places: within a NOTICE text file distributed
113
          as part of the Derivative Works; within the Source form or
114
          documentation, if provided along with the Derivative Works; or,
115
          within a display generated by the Derivative Works, if and
116
          wherever such third-party notices normally appear. The contents
117
          of the NOTICE file are for informational purposes only and
118
          do not modify the License. You may add Your own attribution
119
          notices within Derivative Works that You distribute, alongside
120
          or as an addendum to the NOTICE text from the Work, provided
121
          that such additional attribution notices cannot be construed
122
          as modifying the License.
123

  
124
      You may add Your own copyright statement to Your modifications and
125
      may provide additional or different license terms and conditions
126
      for use, reproduction, or distribution of Your modifications, or
127
      for any such Derivative Works as a whole, provided Your use,
128
      reproduction, and distribution of the Work otherwise complies with
129
      the conditions stated in this License.
130

  
131
   5. Submission of Contributions. Unless You explicitly state otherwise,
132
      any Contribution intentionally submitted for inclusion in the Work
133
      by You to the Licensor shall be under the terms and conditions of
134
      this License, without any additional terms or conditions.
135
      Notwithstanding the above, nothing herein shall supersede or modify
136
      the terms of any separate license agreement you may have executed
137
      with Licensor regarding such Contributions.
138

  
139
   6. Trademarks. This License does not grant permission to use the trade
140
      names, trademarks, service marks, or product names of the Licensor,
141
      except as required for reasonable and customary use in describing the
142
      origin of the Work and reproducing the content of the NOTICE file.
143

  
144
   7. Disclaimer of Warranty. Unless required by applicable law or
145
      agreed to in writing, Licensor provides the Work (and each
146
      Contributor provides its Contributions) on an "AS IS" BASIS,
147
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
      implied, including, without limitation, any warranties or conditions
149
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
      PARTICULAR PURPOSE. You are solely responsible for determining the
151
      appropriateness of using or redistributing the Work and assume any
152
      risks associated with Your exercise of permissions under this License.
153

  
154
   8. Limitation of Liability. In no event and under no legal theory,
155
      whether in tort (including negligence), contract, or otherwise,
156
      unless required by applicable law (such as deliberate and grossly
157
      negligent acts) or agreed to in writing, shall any Contributor be
158
      liable to You for damages, including any direct, indirect, special,
159
      incidental, or consequential damages of any character arising as a
160
      result of this License or out of the use or inability to use the
161
      Work (including but not limited to damages for loss of goodwill,
162
      work stoppage, computer failure or malfunction, or any and all
163
      other commercial damages or losses), even if such Contributor
164
      has been advised of the possibility of such damages.
165

  
166
   9. Accepting Warranty or Additional Liability. While redistributing
167
      the Work or Derivative Works thereof, You may choose to offer,
168
      and charge a fee for, acceptance of support, warranty, indemnity,
169
      or other liability obligations and/or rights consistent with this
170
      License. However, in accepting such obligations, You may act only
171
      on Your own behalf and on Your sole responsibility, not on behalf
172
      of any other Contributor, and only if You agree to indemnify,
173
      defend, and hold each Contributor harmless for any liability
174
      incurred by, or claims asserted against, such Contributor by reason
175
      of your accepting any such warranty or additional liability.
176

  
177
   END OF TERMS AND CONDITIONS
178

  
179
License for JSch
180

  
181
------------------------------------------------------------------------------
182
Copyright (c) 2002,2003,2004,2005,2006,2007,2008 Atsuhiko Yamanaka, JCraft,Inc. 
183
All rights reserved.
184

  
185
Redistribution and use in source and binary forms, with or without
186
modification, are permitted provided that the following conditions are met:
187

  
188
  1. Redistributions of source code must retain the above copyright notice,
189
     this list of conditions and the following disclaimer.
190

  
191
  2. Redistributions in binary form must reproduce the above copyright 
192
     notice, this list of conditions and the following disclaimer in 
193
     the documentation and/or other materials provided with the distribution.
194

  
195
  3. The names of the authors may not be used to endorse or promote products
196
     derived from this software without specific prior written permission.
197

  
198
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
199
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
200
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
201
INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
202
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
203
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
204
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
205
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
206
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
207
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
208

  
209
License for SLF4J
210

  
211
Copyright (c) 2004-2008 QOS.ch
212
 All rights reserved.
213

  
214
 Permission is hereby granted, free  of charge, to any person obtaining
215
 a  copy  of this  software  and  associated  documentation files  (the
216
 "Software"), to  deal in  the Software without  restriction, including
217
 without limitation  the rights to  use, copy, modify,  merge, publish,
218
 distribute,  sublicense, and/or sell  copies of  the Software,  and to
219
 permit persons to whom the Software  is furnished to do so, subject to
220
 the following conditions:
221
 
222
 The  above  copyright  notice  and  this permission  notice  shall  be
223
 included in all copies or substantial portions of the Software.
224
 
225
 THE  SOFTWARE IS  PROVIDED  "AS  IS", WITHOUT  WARRANTY  OF ANY  KIND,
226
 EXPRESS OR  IMPLIED, INCLUDING  BUT NOT LIMITED  TO THE  WARRANTIES OF
227
 MERCHANTABILITY,    FITNESS    FOR    A   PARTICULAR    PURPOSE    AND
228
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
229
 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
230
 OF CONTRACT, TORT OR OTHERWISE,  ARISING FROM, OUT OF OR IN CONNECTION
231
 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
232

  
233

  
tags/v2_0_0_Build_2031/build/maven/conf/settings.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<!--
4
Licensed to the Apache Software Foundation (ASF) under one
5
or more contributor license agreements.  See the NOTICE file
6
distributed with this work for additional information
7
regarding copyright ownership.  The ASF licenses this file
8
to you under the Apache License, Version 2.0 (the
9
"License"); you may not use this file except in compliance
10
with the License.  You may obtain a copy of the License at
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff