Revision 35232
tags/v2_0_0_Build_2026/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 |
extDalTransform=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extDalTransform |
|
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 |
extRasterTools-SE=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extRasterTools-SE |
|
31 |
extWCS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extWCS |
|
32 |
extWFS2=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extWFS2 |
|
33 |
extWMS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/extWMS |
|
34 |
org.gvsig.annotation.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.annotation.app |
|
35 |
org.gvsig.exportto.app=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.exportto.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_dalRaster=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_dalRaster |
|
58 |
libFMap_geometries=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_geometries |
|
59 |
libFMap_mapcontext=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libFMap_mapcontext |
|
60 |
libInternationalization=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libInternationalization |
|
61 |
libIverUtiles=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libIverUtiles |
|
62 |
libJCRS=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libJCRS |
|
63 |
libMetadata=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libMetadata |
|
64 |
libProjection=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libProjection |
|
65 |
libRaster=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libRaster |
|
66 |
libRaster_io=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libRaster_io |
|
67 |
libRemoteServices=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libRemoteServices |
|
68 |
libUIComponent=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/libUIComponent |
|
69 |
org.gvsig.annotation=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.annotation |
|
70 |
org.gvsig.exportto=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.exportto |
|
71 |
org.gvsig.installer=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.installer |
|
72 |
org.gvsig.personaldb=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.personaldb |
|
73 |
org.gvsig.scripting=https://svn.forge.osor.eu/svn/gvsig-scripting/org.gvsig.scripting/trunk/org.gvsig.scripting |
|
74 |
org.gvsig.symbology=https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/libraries/org.gvsig.symbology |
tags/v2_0_0_Build_2026/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[ ]]></replacetoken> |
|
54 |
</replace> |
|
55 |
<replace file=".classpath.libs" value=""> |
|
56 |
<replacetoken><![CDATA[	]]></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_2026/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.0.10.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 -Dnative-classifier=${native_classifier} @{arg}</echo> |
|
116 |
<artifact:mvn mavenHome="${build.folder}/maven" fork="true" |
|
117 |
failonerror="true" maxmemory="384M"> |
|
118 |
<arg line="-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_2026/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_2026/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_2026/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_2026/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 |
<for list="${pom.modules}" param="svn.module" delimiter=",[]" trim="true"> |
|
25 |
<sequential> |
|
26 |
<propertyregex property="svn.module" input="@{svn.module}" |
|
27 |
regexp="[./]*(.*)" replace="\1" casesensitive="false" |
|
28 |
override="true" /> |
|
29 |
<!-- just to ignore submodules as they are already check out --> |
|
30 |
<var name="svn.issubmodule" unset="true" /> |
|
31 |
<available file="${basedir}/${svn.module}" |
|
32 |
property="svn.issubmodule" /> |
|
33 |
<antcall target="svn.checkout.module"> |
|
34 |
<param name="svn.module" value="${svn.module}" /> |
|
35 |
</antcall> |
|
36 |
</sequential> |
|
37 |
</for> |
|
38 |
</target> |
|
39 |
|
|
40 |
<target name="eclipse.projects" if="create.eclipse.projects"> |
|
41 |
<!-- Create the eclipse project configuration for all downloaded projects --> |
|
42 |
<if> |
|
43 |
<equals arg1="${create.eclipse.projects}" arg2="true" /> |
|
44 |
<then> |
|
45 |
<maven arg="-Dmaven.test.failure.ignore install" /> |
|
46 |
<maven arg="-P eclipse-project" /> |
|
47 |
</then> |
|
48 |
</if> |
|
49 |
</target> |
|
50 |
|
|
51 |
<target name="svn.update.all" depends="svn.getparams" |
|
52 |
description="Updates all projects defined in a parent module pom.xml"> |
|
53 |
<artifact:pom id="pom" file="pom.xml" /> |
|
54 |
<for list="${pom.modules}" param="svn.module" delimiter=",[]" trim="true"> |
|
55 |
<sequential> |
|
56 |
<propertyregex property="svn.module" input="@{svn.module}" |
|
57 |
regexp="[./]*(.*)" replace="\1" casesensitive="false" |
|
58 |
override="true" /> |
|
59 |
<!-- just to ignore submodules as they are already check out --> |
|
60 |
<var name="svn.issubmodule" unset="true" /> |
|
61 |
<available file="${basedir}/${svn.module}" |
|
62 |
property="svn.issubmodule" /> |
|
63 |
<antcall target="svn.update.module"> |
|
64 |
<param name="svn.module" value="${svn.module}" /> |
|
65 |
</antcall> |
|
66 |
</sequential> |
|
67 |
</for> |
|
68 |
</target> |
|
69 |
|
|
70 |
<target name="svn.checkout.module" unless="svn.issubmodule"> |
|
71 |
<var name="svn.isgroup" unset="true" /> |
|
72 |
<available file="${build.folder}/projects/${svn.module}" |
|
73 |
property="svn.isgroup" /> |
|
74 |
<antcall target="svn.checkout.group"> |
|
75 |
<param name="svn.module" value="${svn.module}" /> |
|
76 |
</antcall> |
|
77 |
<antcall target="svn.checkout.project"> |
|
78 |
<param name="svn.module" value="${svn.module}" /> |
|
79 |
</antcall> |
|
80 |
</target> |
|
81 |
|
|
82 |
<target name="svn.checkout.group" if="svn.isgroup"> |
|
83 |
<echo>group: ${svn.module}</echo> |
|
84 |
<ant dir="${build.folder}/projects/${svn.module}" |
|
85 |
target="svn.checkout.allprojects" /> |
|
86 |
</target> |
|
87 |
|
|
88 |
<target name="svn.checkout.project" unless="svn.isgroup" |
|
89 |
depends="svn.get.project.path"> |
|
90 |
<echo>project: ${svn.module}</echo> |
|
91 |
<antcall target="svn.checkout"> |
|
92 |
<param name="svn.project.path" value="${workspace_loc}" /> |
|
93 |
<param name="svn.project.url" value="${svn.module.url}" /> |
|
94 |
</antcall> |
|
95 |
</target> |
|
96 |
|
|
97 |
<target name="svn.update.module" unless="svn.issubmodule"> |
|
98 |
<var name="svn.isgroup" unset="true" /> |
|
99 |
<available file="${build.folder}/projects/${svn.module}" |
|
100 |
property="svn.isgroup" /> |
|
101 |
<antcall target="svn.update.group"> |
|
102 |
<param name="svn.module" value="${svn.module}" /> |
|
103 |
</antcall> |
|
104 |
<antcall target="svn.update.project"> |
|
105 |
<param name="svn.module" value="${svn.module}" /> |
|
106 |
</antcall> |
|
107 |
</target> |
|
108 |
|
|
109 |
<target name="svn.update.group" if="svn.isgroup"> |
|
110 |
<echo>group: ${svn.module}</echo> |
|
111 |
<ant dir="${build.folder}/projects/${svn.module}" target="svn.update.all" /> |
|
112 |
</target> |
|
113 |
|
|
114 |
<target name="svn.update.project" unless="svn.isgroup" |
|
115 |
depends="svn.get.project.path"> |
|
116 |
<echo>project: ${svn.module}</echo> |
|
117 |
<antcall target="svn.update"> |
|
118 |
<param name="svn.project.path" value="${workspace_loc}" /> |
|
119 |
<param name="svn.project.url" value="${svn.module.url}" /> |
|
120 |
</antcall> |
|
121 |
</target> |
|
122 |
|
|
123 |
<target name="svn.checkout"> |
|
124 |
<echo>url: ${svn.project.url}</echo> |
|
125 |
<echo>SVNKit version: ${svnkit.version}</echo> |
|
126 |
<java classname="org.tmatesoft.svn.cli.SVN" dir="${svn.project.path}" |
|
127 |
fork="true" failonerror="true"> |
|
128 |
<arg value="--non-interactive"/> |
|
129 |
<arg value="co" /> |
|
130 |
<arg value="--username" /> |
|
131 |
<arg value="${svn.username}" /> |
|
132 |
<arg value="--password" /> |
|
133 |
<arg value="${svn.password}" /> |
|
134 |
<arg value="${svn.project.url}" /> |
|
135 |
<classpath> |
|
136 |
<pathelement location="${ant.libs.dir}/svnkit-${svnkit.version}.jar" /> |
|
137 |
<pathelement location="${ant.libs.dir}/svnkit-cli-${svnkit.version}.jar" /> |
|
138 |
</classpath> |
|
139 |
</java> |
|
140 |
</target> |
|
141 |
|
|
142 |
<target name="svn.update"> |
|
143 |
<echo>url: ${svn.project.url}</echo> |
|
144 |
<echo>SVNKit version: ${svnkit.version}</echo> |
|
145 |
<java classname="org.tmatesoft.svn.cli.SVN" dir="${svn.project.path}" |
|
146 |
fork="true" failonerror="true"> |
|
147 |
<arg value="--non-interactive"/> |
|
148 |
<arg value="update" /> |
|
149 |
<arg value="${svn.module}" /> |
|
150 |
<classpath> |
|
151 |
<pathelement location="${ant.libs.dir}/svnkit-${svnkit.version}.jar" /> |
|
152 |
<pathelement location="${ant.libs.dir}/svnkit-cli-${svnkit.version}.jar" /> |
|
153 |
</classpath> |
|
154 |
</java> |
|
155 |
</target> |
|
156 |
|
|
157 |
<!-- |
|
158 |
Get subversion parameters using the AntForms utility: |
|
159 |
http://antforms.sourceforge.net/ |
|
160 |
--> |
|
161 |
<target name="svn.getparams" unless="svn.repository.url"> |
|
162 |
<!-- Default values --> |
|
163 |
<property name="create.eclipse.projects" value="true"/> |
|
164 |
<property name="svn.repository.url" value="https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep"/> |
|
165 |
<!-- |
|
166 |
<property name="svn.username" value="guest"/> <property name="svn.password" |
|
167 |
value="guest"/> |
|
168 |
--> |
|
169 |
<antform title="SVN parameters" image="${gvsiglogo}" resetMessage="Cancel" |
|
170 |
previousTarget="cancel"> |
|
171 |
|
|
172 |
<textProperty label="gvSIG 2.0 subversion repository: " property="svn.repository.url" |
|
173 |
password="false" editable="false" columns="38"/> |
|
174 |
|
|
175 |
<label> |
|
176 |
Note: |
|
177 |
Select the SVNKit version which relates to the SVN version of the other SVN |
|
178 |
clients you are using, like the SVN command line client or Eclipse. In the |
|
179 |
case of Eclipse, you have to install a version of the Subclipse plugin which |
|
180 |
provides the same SVNKit version as the one selected, or to install the |
|
181 |
Subversive plugin and configure it to use the selected SVNKit version in the |
|
182 |
plugin preferences. |
|
183 |
|
|
184 |
The relationship with the subversion version is : |
|
185 |
SVNKit 1.1.7 -> Subversion 1.4 -> ¿? |
|
186 |
SVNKit 1.2.3 -> Subversion 1.5 -> Subclipse 1.4.* |
|
187 |
SVNKit 1.3.0 -> Subversion 1.6 -> Subclipse 1.6.* |
|
188 |
|
|
189 |
In the case of Subversive, you can select the SVNKit version in the eclipse preferences: |
|
190 |
Team > SVN > SVN Connector |
|
191 |
</label> |
|
192 |
|
|
193 |
<selectionProperty label="SVNKit version to use: " |
|
194 |
property="svnkit.version" |
|
195 |
values="1.2.3;1.1.7;1.3.0" |
|
196 |
separator=";" /> |
|
197 |
|
|
198 |
<label> |
|
199 |
Note: |
|
200 |
Once the process has finished, import the projects into your eclipse workspace. |
|
201 |
</label> |
|
202 |
</antform> |
|
203 |
</target> |
|
204 |
|
|
205 |
<target name="svn.get.project.path"> |
|
206 |
<description> |
|
207 |
Converts a project name to a project path in subversion. |
|
208 |
Ej: libTools -> libraries/libTools |
|
209 |
</description> |
|
210 |
<property file="${gvSIG-subversion-tasks.basedir}/projects-svn-repository.properties"/> |
|
211 |
<propertycopy property="svn.module.url" from="${svn.module}" |
|
212 |
override="true" silent="true"/> |
|
213 |
</target> |
|
214 |
</project> |
tags/v2_0_0_Build_2026/build/extension-pom/distribution/distribution.xml | ||
---|---|---|
1 |
<assembly> |
|
2 |
<id>distribution</id> |
|
3 |
</assembly> |
tags/v2_0_0_Build_2026/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_2026/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> |
|
0 | 85 |
tags/v2_0_0_Build_2026/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_2026/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 |
|
11 |
|
|
12 |
http://www.apache.org/licenses/LICENSE-2.0 |
|
13 |
|
|
14 |
Unless required by applicable law or agreed to in writing, |
|
15 |
software distributed under the License is distributed on an |
|
16 |
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
|
17 |
KIND, either express or implied. See the License for the |
|
18 |
specific language governing permissions and limitations |
|
19 |
under the License. |
|
20 |
--> |
|
21 |
|
|
22 |
<!-- |
|
23 |
| This is the configuration file for Maven. It can be specified at two levels: |
|
24 |
| |
|
25 |
| 1. User Level. This settings.xml file provides configuration for a single user, |
|
26 |
| and is normally provided in ${user.home}/.m2/settings.xml. |
|
27 |
| |
|
28 |
| NOTE: This location can be overridden with the CLI option: |
|
29 |
| |
|
30 |
| -s /path/to/user/settings.xml |
|
31 |
| |
|
32 |
| 2. Global Level. This settings.xml file provides configuration for all Maven |
|
33 |
| users on a machine (assuming they're all using the same Maven |
|
34 |
| installation). It's normally provided in |
|
35 |
| ${maven.home}/conf/settings.xml. |
|
36 |
| |
|
37 |
| NOTE: This location can be overridden with the CLI option: |
|
38 |
| |
|
39 |
| -gs /path/to/global/settings.xml |
|
40 |
| |
|
41 |
| The sections in this sample file are intended to give you a running start at |
|
42 |
| getting the most out of your Maven installation. Where appropriate, the default |
|
43 |
| values (values used when the setting is not specified) are provided. |
|
44 |
| |
|
45 |
|--> |
|
46 |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" |
|
47 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
48 |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> |
|
49 |
<!-- localRepository |
|
50 |
| The path to the local repository maven will use to store artifacts. |
|
51 |
| |
|
52 |
| Default: ~/.m2/repository |
|
53 |
<localRepository>/path/to/local/repo</localRepository> |
|
54 |
--> |
|
55 |
|
|
56 |
<!-- interactiveMode |
|
57 |
| This will determine whether maven prompts you when it needs input. If set to false, |
|
58 |
| maven will use a sensible default value, perhaps based on some other setting, for |
|
59 |
| the parameter in question. |
|
60 |
| |
|
61 |
| Default: true |
|
62 |
<interactiveMode>true</interactiveMode> |
|
63 |
--> |
|
64 |
|
|
65 |
<!-- offline |
|
66 |
| Determines whether maven should attempt to connect to the network when executing a build. |
|
67 |
| This will have an effect on artifact downloads, artifact deployment, and others. |
|
68 |
| |
|
69 |
| Default: false |
|
70 |
<offline>false</offline> |
|
71 |
--> |
|
72 |
|
|
73 |
<!-- pluginGroups |
|
74 |
| This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e. |
|
75 |
| when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers |
|
76 |
| "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list. |
|
77 |
|--> |
|
78 |
<pluginGroups> |
|
79 |
<!-- pluginGroup |
|
80 |
| Specifies a further group identifier to use for plugin lookup. |
|
81 |
<pluginGroup>com.your.plugins</pluginGroup> |
|
82 |
--> |
|
83 |
</pluginGroups> |
|
84 |
|
|
85 |
<!-- proxies |
|
86 |
| This is a list of proxies which can be used on this machine to connect to the network. |
|
87 |
| Unless otherwise specified (by system property or command-line switch), the first proxy |
|
88 |
| specification in this list marked as active will be used. |
|
89 |
|--> |
|
90 |
<proxies> |
|
91 |
<!-- proxy |
|
92 |
| Specification for one proxy, to be used in connecting to the network. |
|
93 |
| |
|
94 |
<proxy> |
|
95 |
<id>optional</id> |
|
96 |
<active>true</active> |
|
97 |
<protocol>http</protocol> |
|
98 |
<username>proxyuser</username> |
|
99 |
<password>proxypass</password> |
|
100 |
<host>proxy.host.net</host> |
|
101 |
<port>80</port> |
|
102 |
<nonProxyHosts>local.net|some.host.com</nonProxyHosts> |
|
103 |
</proxy> |
|
104 |
--> |
|
105 |
</proxies> |
|
106 |
|
|
107 |
<!-- servers |
|
108 |
| This is a list of authentication profiles, keyed by the server-id used within the system. |
|
109 |
| Authentication profiles can be used whenever maven must make a connection to a remote server. |
|
110 |
|--> |
|
111 |
<servers> |
|
112 |
<!-- server |
|
113 |
| Specifies the authentication information to use when connecting to a particular server, identified by |
|
114 |
| a unique name within the system (referred to by the 'id' attribute below). |
|
115 |
| |
|
116 |
| NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are |
|
117 |
| used together. |
|
118 |
| |
|
119 |
<server> |
|
120 |
<id>deploymentRepo</id> |
|
121 |
<username>repouser</username> |
|
122 |
<password>repopwd</password> |
|
123 |
</server> |
|
124 |
--> |
|
125 |
|
|
126 |
<!-- Another sample, using keys to authenticate. |
|
127 |
<server> |
|
128 |
<id>siteServer</id> |
|
129 |
<privateKey>/path/to/private/key</privateKey> |
|
130 |
<passphrase>optional; leave empty if not used.</passphrase> |
|
131 |
</server> |
|
132 |
--> |
|
133 |
</servers> |
|
134 |
|
|
135 |
<!-- mirrors |
|
136 |
| This is a list of mirrors to be used in downloading artifacts from remote repositories. |
|
137 |
| |
|
138 |
| It works like this: a POM may declare a repository to use in resolving certain artifacts. |
|
139 |
| However, this repository may have problems with heavy traffic at times, so people have mirrored |
|
140 |
| it to several places. |
|
141 |
| |
|
142 |
| That repository definition will have a unique id, so we can create a mirror reference for that |
|
143 |
| repository, to be used as an alternate download site. The mirror site will be the preferred |
|
144 |
| server for that repository. |
|
145 |
|--> |
|
146 |
<mirrors> |
|
147 |
<!-- mirror |
|
148 |
| Specifies a repository mirror site to use instead of a given repository. The repository that |
|
149 |
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used |
|
150 |
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors. |
|
151 |
| |
|
152 |
<mirror> |
|
153 |
<id>mirrorId</id> |
|
154 |
<mirrorOf>repositoryId</mirrorOf> |
|
155 |
<name>Human Readable Name for this Mirror.</name> |
|
156 |
<url>http://my.repository.com/repo/path</url> |
|
157 |
</mirror> |
|
158 |
--> |
|
159 |
</mirrors> |
|
160 |
|
|
161 |
<!-- profiles |
|
162 |
| This is a list of profiles which can be activated in a variety of ways, and which can modify |
|
163 |
| the build process. Profiles provided in the settings.xml are intended to provide local machine- |
|
164 |
| specific paths and repository locations which allow the build to work in the local environment. |
|
165 |
| |
|
166 |
| For example, if you have an integration testing plugin - like cactus - that needs to know where |
|
167 |
| your Tomcat instance is installed, you can provide a variable here such that the variable is |
|
168 |
| dereferenced during the build process to configure the cactus plugin. |
|
169 |
| |
|
170 |
| As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles |
|
171 |
| section of this document (settings.xml) - will be discussed later. Another way essentially |
|
172 |
| relies on the detection of a system property, either matching a particular value for the property, |
|
173 |
| or merely testing its existence. Profiles can also be activated by JDK version prefix, where a |
|
174 |
| value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'. |
|
175 |
| Finally, the list of active profiles can be specified directly from the command line. |
|
176 |
| |
|
177 |
| NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact |
|
178 |
| repositories, plugin repositories, and free-form properties to be used as configuration |
|
179 |
| variables for plugins in the POM. |
|
180 |
| |
|
181 |
|--> |
|
182 |
<profiles> |
|
183 |
<!-- profile |
|
184 |
| Specifies a set of introductions to the build process, to be activated using one or more of the |
|
185 |
| mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/> |
|
186 |
| or the command line, profiles have to have an ID that is unique. |
|
187 |
| |
|
188 |
| An encouraged best practice for profile identification is to use a consistent naming convention |
|
189 |
| for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc. |
|
190 |
| This will make it more intuitive to understand what the set of introduced profiles is attempting |
|
191 |
| to accomplish, particularly when you only have a list of profile id's for debug. |
|
192 |
| |
|
193 |
| This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo. |
|
194 |
<profile> |
|
195 |
<id>jdk-1.4</id> |
|
196 |
|
|
197 |
<activation> |
|
198 |
<jdk>1.4</jdk> |
|
199 |
</activation> |
|
200 |
|
|
201 |
<repositories> |
|
202 |
<repository> |
|
203 |
<id>jdk14</id> |
|
204 |
<name>Repository for JDK 1.4 builds</name> |
|
205 |
<url>http://www.myhost.com/maven/jdk14</url> |
|
206 |
<layout>default</layout> |
|
207 |
<snapshotPolicy>always</snapshotPolicy> |
|
208 |
</repository> |
|
209 |
</repositories> |
|
210 |
</profile> |
|
211 |
--> |
|
212 |
|
|
213 |
<!-- |
|
214 |
| Here is another profile, activated by the system property 'target-env' with a value of 'dev', |
|
215 |
| which provides a specific path to the Tomcat instance. To use this, your plugin configuration |
|
216 |
| might hypothetically look like: |
|
217 |
| |
|
218 |
| ... |
|
219 |
| <plugin> |
|
220 |
| <groupId>org.myco.myplugins</groupId> |
|
221 |
| <artifactId>myplugin</artifactId> |
|
222 |
| |
|
223 |
| <configuration> |
|
224 |
| <tomcatLocation>${tomcatPath}</tomcatLocation> |
|
225 |
| </configuration> |
|
226 |
| </plugin> |
|
227 |
| ... |
|
228 |
| |
|
229 |
| NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to |
|
230 |
| anything, you could just leave off the <value/> inside the activation-property. |
|
231 |
| |
|
232 |
<profile> |
|
233 |
<id>env-dev</id> |
|
234 |
|
|
235 |
<activation> |
|
236 |
<property> |
|
237 |
<name>target-env</name> |
|
238 |
<value>dev</value> |
|
239 |
</property> |
|
240 |
</activation> |
|
241 |
|
|
242 |
<properties> |
|
243 |
<tomcatPath>/path/to/tomcat/instance</tomcatPath> |
|
244 |
</properties> |
|
245 |
</profile> |
|
246 |
--> |
|
247 |
</profiles> |
|
248 |
|
|
249 |
<!-- activeProfiles |
|
250 |
| List of profiles that are active for all builds. |
|
251 |
| |
|
252 |
<activeProfiles> |
|
253 |
<activeProfile>alwaysActiveProfile</activeProfile> |
|
254 |
<activeProfile>anotherAlwaysActiveProfile</activeProfile> |
|
255 |
</activeProfiles> |
|
256 |
--> |
|
257 |
</settings> |
tags/v2_0_0_Build_2026/build/maven/bin/m2 | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
# ---------------------------------------------------------------------------- |
|
3 |
# Licensed to the Apache Software Foundation (ASF) under one |
|
4 |
# or more contributor license agreements. See the NOTICE file |
|
5 |
# distributed with this work for additional information |
|
6 |
# regarding copyright ownership. The ASF licenses this file |
|
7 |
# to you under the Apache License, Version 2.0 (the |
|
8 |
# "License"); you may not use this file except in compliance |
|
9 |
# with the License. You may obtain a copy of the License at |
|
10 |
# |
|
11 |
# http://www.apache.org/licenses/LICENSE-2.0 |
|
12 |
# |
|
13 |
# Unless required by applicable law or agreed to in writing, |
|
14 |
# software distributed under the License is distributed on an |
|
15 |
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
|
16 |
# KIND, either express or implied. See the License for the |
|
17 |
# specific language governing permissions and limitations |
|
18 |
# under the License. |
|
19 |
# ---------------------------------------------------------------------------- |
|
20 |
|
|
21 |
echo "" |
|
22 |
echo THE m2 COMMMAND IS DEPRECATED - PLEASE RUN mvn INSTEAD |
|
23 |
echo "" |
|
24 |
|
|
25 |
. `dirname "$0"`/mvn |
|
26 |
exec "`dirname "$0"`/mvn" $QUOTED_ARGS |
|
0 | 27 |
tags/v2_0_0_Build_2026/build/maven/bin/mvn | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
# ---------------------------------------------------------------------------- |
|
3 |
# Licensed to the Apache Software Foundation (ASF) under one |
|
4 |
# or more contributor license agreements. See the NOTICE file |
|
5 |
# distributed with this work for additional information |
|
6 |
# regarding copyright ownership. The ASF licenses this file |
|
7 |
# to you under the Apache License, Version 2.0 (the |
|
8 |
# "License"); you may not use this file except in compliance |
|
9 |
# with the License. You may obtain a copy of the License at |
|
10 |
# |
|
11 |
# http://www.apache.org/licenses/LICENSE-2.0 |
|
12 |
# |
|
13 |
# Unless required by applicable law or agreed to in writing, |
|
14 |
# software distributed under the License is distributed on an |
|
15 |
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
|
16 |
# KIND, either express or implied. See the License for the |
|
17 |
# specific language governing permissions and limitations |
|
18 |
# under the License. |
|
19 |
# ---------------------------------------------------------------------------- |
|
20 |
|
|
21 |
# ---------------------------------------------------------------------------- |
|
22 |
# Maven2 Start Up Batch script |
|
23 |
# |
|
24 |
# Required ENV vars: |
|
25 |
# ------------------ |
|
26 |
# JAVA_HOME - location of a JDK home dir |
|
27 |
# |
|
28 |
# Optional ENV vars |
|
29 |
# ----------------- |
|
30 |
# M2_HOME - location of maven2's installed home dir |
|
31 |
# MAVEN_OPTS - parameters passed to the Java VM when running Maven |
|
32 |
# e.g. to debug Maven itself, use |
|
33 |
# set MAVEN_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 |
|
34 |
# ---------------------------------------------------------------------------- |
|
35 |
|
|
36 |
QUOTED_ARGS="" |
|
37 |
while [ "$1" != "" ] ; do |
|
38 |
|
|
39 |
QUOTED_ARGS="$QUOTED_ARGS \"$1\"" |
|
40 |
shift |
|
41 |
|
|
42 |
done |
|
43 |
|
|
44 |
if [ -f /etc/mavenrc ] ; then |
|
45 |
. /etc/mavenrc |
|
46 |
fi |
|
47 |
|
|
48 |
if [ -f "$HOME/.mavenrc" ] ; then |
|
49 |
. "$HOME/.mavenrc" |
|
50 |
fi |
|
51 |
|
|
52 |
# OS specific support. $var _must_ be set to either true or false. |
|
53 |
cygwin=false; |
Also available in: Unified diff