Revision 40338
tags/v2_0_0_prep/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 |
<artifactId>gvsig-base-library-jni-pom</artifactId> |
|
9 |
<packaging>pom</packaging> |
|
10 |
<version>2.0-SNAPSHOT</version> |
|
11 |
<name>library-jni-base-pom</name> |
|
12 |
<parent> |
|
13 |
<groupId>org.gvsig</groupId> |
|
14 |
<artifactId>org.gvsig.maven.base.jni.pom</artifactId> |
|
15 |
<version>1.0.8-SNAPSHOT</version> |
|
16 |
</parent> |
|
17 |
<scm> |
|
18 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep</connection> |
|
19 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep</developerConnection> |
|
20 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/branches/v2_0_0_prep</url> |
|
21 |
</scm> |
|
22 |
<dependencyManagement> |
|
23 |
<dependencies> |
|
24 |
<dependency> |
|
25 |
<groupId>org.gvsig</groupId> |
|
26 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
27 |
<version>2.0.1-SNAPSHOT</version> |
|
28 |
<type>pom</type> |
|
29 |
<scope>import</scope> |
|
30 |
</dependency> |
|
31 |
</dependencies> |
|
32 |
</dependencyManagement> |
|
33 |
<repositories> |
|
34 |
<repository> |
|
35 |
<id>gvsig-public-http-repository</id> |
|
36 |
<name>gvSIG maven public HTTP repository</name> |
|
37 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
38 |
<releases> |
|
39 |
<enabled>true</enabled> |
|
40 |
<updatePolicy>daily</updatePolicy> |
|
41 |
<checksumPolicy>warn</checksumPolicy> |
|
42 |
</releases> |
|
43 |
<snapshots> |
|
44 |
<enabled>true</enabled> |
|
45 |
<updatePolicy>daily</updatePolicy> |
|
46 |
<checksumPolicy>warn</checksumPolicy> |
|
47 |
</snapshots> |
|
48 |
</repository> |
|
49 |
</repositories> |
|
50 |
|
|
51 |
<description> |
|
52 |
Base POM for all GvSIG JNI projects. This pom knows how to |
|
53 |
build and made an libraries for GvSIG. The property |
|
54 |
"gvsig-path" must be set up correctly. |
|
55 |
</description> |
|
56 |
</project> |
|
0 | 57 |
tags/v2_0_0_prep/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_prep/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=build |
|
6 |
org.gvsig.core.maven.dependencies=org.gvsig.core.maven.dependencies |
|
7 |
|
|
8 |
# Applications |
|
9 |
appgvSIG=applications/appgvSIG |
|
10 |
# Extensions |
|
11 |
extCenterViewToPoint=extensions/extCenterViewToPoint |
|
12 |
org.gvsig.daltransform.app.mainplugin=extensions/org.gvsig.daltransform.app.mainplugin |
|
13 |
extDalTransformEventTheme=extensions/extDalTransformEventTheme |
|
14 |
extDalTransformJoin=extensions/extDalTransformJoin |
|
15 |
extDataLocator=extensions/extDataLocator |
|
16 |
extDwg=extensions/extDwg |
|
17 |
extEditing=extensions/extEditing |
|
18 |
extExpressionField=extensions/extExpressionField |
|
19 |
extGeoDB=extensions/extGeoDB |
|
20 |
extGPE-gvSIG=extensions/extGPE-gvSIG |
|
21 |
extHelp=extensions/extHelp |
|
22 |
extI18n=extensions/extI18n |
|
23 |
extIconThemeBase=extensions/extIconThemeBase |
|
24 |
extJCRS=extensions/extJCRS |
|
25 |
extWFS2=extensions/extWFS2 |
|
26 |
org.gvsig.annotation.app=extensions/org.gvsig.annotation.app |
|
27 |
org.gvsig.app.document.table.app=extensions/org.gvsig.app.document.table.app |
|
28 |
org.gvsig.app.document.layout.app=extensions/org.gvsig.app.document.layout.app |
|
29 |
org.gvsig.exportto.app=extensions/org.gvsig.exportto.app |
|
30 |
org.gvsig.newlayer.app=extensions/org.gvsig.newlayer.app |
|
31 |
org.gvsig.geometrymeasurement.app=extensions/org.gvsig.geometrymeasurement.app |
|
32 |
org.gvsig.hyperlink.app=extensions/org.gvsig.hyperlink.app |
|
33 |
org.gvsig.installer.app=extensions/org.gvsig.installer.app |
|
34 |
org.gvsig.mkmvnproject=extensions/org.gvsig.mkmvnproject |
|
35 |
org.gvsig.selectiontools.app=extensions/org.gvsig.selectiontools.app |
|
36 |
org.gvsig.symbology.app=extensions/org.gvsig.symbology.app |
|
37 |
# Frameworks |
|
38 |
_fwAndami-updater=applications/_fwAndami-updater |
|
39 |
_fwAndami=frameworks/_fwAndami |
|
40 |
# Libraries |
|
41 |
libCompat=libraries/libCompat |
|
42 |
libCorePlugin=libraries/libCorePlugin |
|
43 |
libDwg=libraries/libDwg |
|
44 |
libDXF=libraries/libDXF |
|
45 |
libEvaluator_SQLJEP=libraries/libEvaluator_SQLJEP |
|
46 |
libFMap_controls=libraries/libFMap_controls |
|
47 |
libFMap_dal=libraries/libFMap_dal |
|
48 |
libFMap_daldb=libraries/libFMap_daldb |
|
49 |
libFMap_dalfile=libraries/libFMap_dalfile |
|
50 |
libFMap_dalindex=libraries/libFMap_dalindex |
|
51 |
libFMap_geometries=libraries/libFMap_geometries |
|
52 |
libFMap_mapcontext=libraries/libFMap_mapcontext |
|
53 |
libInternationalization=libraries/libInternationalization |
|
54 |
libIverUtiles=libraries/libIverUtiles |
|
55 |
libJCRS=libraries/libJCRS |
|
56 |
libjni-proj4=libraries/libjni-proj4 |
|
57 |
libProjection=libraries/libProjection |
|
58 |
libRemoteServices=libraries/libRemoteServices |
|
59 |
libUIComponent=libraries/libUIComponent |
|
60 |
org.gvsig.annotation=libraries/org.gvsig.annotation |
|
61 |
org.gvsig.exportto=libraries/org.gvsig.exportto |
|
62 |
org.gvsig.newlayer=libraries/org.gvsig.newlayer |
|
63 |
org.gvsig.installer=extensions/org.gvsig.installer |
|
64 |
org.gvsig.personaldb=libraries/org.gvsig.personaldb |
|
65 |
org.gvsig.symbology=libraries/org.gvsig.symbology |
|
66 |
|
tags/v2_0_0_prep/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_prep/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 |
<typedef resource="com/googlecode/svntask/svntask.xml"> |
|
47 |
<classpath> |
|
48 |
<fileset dir= "${ant.libs.dir}" > |
|
49 |
<include name="svnkit-1.3.0.jar"/> |
|
50 |
<include name="svntask-1.0.8.jar"/> |
|
51 |
<include name="sqljet-1.1.1.jar"/> |
|
52 |
<include name="antlr-runtime-3.4.jar"/> |
|
53 |
<include name="sequence-library-1.0.2.jar"/> |
|
54 |
|
|
55 |
</fileset> |
|
56 |
</classpath> |
|
57 |
</typedef> |
|
58 |
<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" classpath="${ant.libs.dir}/antelopetasks-3.2.10.jar" /> |
|
59 |
|
|
60 |
|
|
61 |
<taskdef name="antform" classname="com.sardak.antform.AntForm"> |
|
62 |
<classpath> |
|
63 |
<pathelement location="${ant.libs.dir}/antform-2.0.jar" /> |
|
64 |
</classpath> |
|
65 |
</taskdef> |
|
66 |
|
|
67 |
<taskdef name="antmenu" classname="com.sardak.antform.AntMenu"> |
|
68 |
<classpath> |
|
69 |
<pathelement location="${ant.libs.dir}/antform-2.0.jar" /> |
|
70 |
</classpath> |
|
71 |
</taskdef> |
|
72 |
|
|
73 |
<target name="show.path.properties" unless="path.properties.shown"> |
|
74 |
<echo>workspace_loc = ${workspace_loc}</echo> |
|
75 |
<echo>build.folder = ${build.folder}</echo> |
|
76 |
<echo>ant.libs.dir = ${ant.libs.dir}</echo> |
|
77 |
<property name="path.properties.shown" value="true" /> |
|
78 |
</target> |
|
79 |
|
|
80 |
<!-- Maven targets --> |
|
81 |
<macrodef name="maven"> |
|
82 |
<attribute name="arg" /> |
|
83 |
<sequential> |
|
84 |
<condition property="gvsig.platform.exists"> |
|
85 |
<available file="${user.home}/.gvsig.platform.properties"/> |
|
86 |
</condition> |
|
87 |
|
|
88 |
<fail unless="gvsig.platform.exists"> |
|
89 |
ERROR!! |
|
90 |
|
|
91 |
You have to define your gvSIG platform properties, |
|
92 |
by creating the file: ${user.home}/.gvsig.platform.properties |
|
93 |
with the following content: |
|
94 |
|
|
95 |
native_platform=linux |
|
96 |
native_distribution=Ubuntu-9.10 |
|
97 |
native_compiler=gcc4 |
|
98 |
native_arch=i386 |
|
99 |
native_libraryType=dynamic |
|
100 |
export native_classifier=${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType} |
|
101 |
|
|
102 |
Replace the fifth initial variables values with the ones appropiate |
|
103 |
to your platform. |
|
104 |
|
|
105 |
If you use maven in the command line, you can use the previous file also |
|
106 |
to define the MAVEN_OPTS environment variable, by adding to your |
|
107 |
.bash_rc file something like this: |
|
108 |
|
|
109 |
if [ -f "${HOME}/.gvsig.platform.properties" ] |
|
110 |
then |
|
111 |
. ${HOME}/.gvsig.platform.properties |
|
112 |
export MAVEN_OPTS="-Xmx384M -XX:MaxPermSize=64m -Dnative-classifier=${native_classifier} -Dnative-platform=${native_platform}" |
|
113 |
else |
|
114 |
export MAVEN_OPTS="-Xmx384M -XX:MaxPermSize=64m" |
|
115 |
fi |
|
116 |
|
|
117 |
It will work if you use the bash shell. In any other case or platform, you'll |
|
118 |
have to define your MAVEN_OPTS environment variable and set the |
|
119 |
"native-classifier" parameter directly. |
|
120 |
</fail> |
|
121 |
|
|
122 |
<loadproperties srcFile="${user.home}/.gvsig.platform.properties"> |
|
123 |
<filterchain> |
|
124 |
<linecontains> |
|
125 |
<contains value="native_"/> |
|
126 |
</linecontains> |
|
127 |
</filterchain> |
|
128 |
</loadproperties> |
|
129 |
<property name="native_classifier" value="${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}"/> |
|
130 |
<echo>mvn -e -Dnative-classifier=${native_classifier} -Dnative-platform=${native_platform} @{arg}</echo> |
|
131 |
<artifact:mvn mavenHome="${build.folder}/maven" fork="true" |
|
132 |
failonerror="true" maxmemory="384M"> |
|
133 |
<arg line="-e -Dnative-classifier=${native_classifier} -Dnative-platform=${native_platform} @{arg}" /> |
|
134 |
<jvmarg value="-XX:MaxPermSize=96M" /> |
|
135 |
</artifact:mvn> |
|
136 |
</sequential> |
|
137 |
</macrodef> |
|
138 |
|
|
139 |
<macrodef name="maven.lin"> |
|
140 |
<attribute name="arg" /> |
|
141 |
<sequential> |
|
142 |
<echo>mvn -e -Dnative-classifier=linux-all-gcc4-i386-dynamic -Dnative-platform=linux @{arg}</echo> |
|
143 |
<artifact:mvn mavenHome="${build.folder}/maven" fork="true" |
|
144 |
failonerror="true" maxmemory="384M"> |
|
145 |
<arg line="-e -Dnative-classifier=linux-all-gcc4-i386-dynamic -Dnative-platform=linux @{arg}" /> |
|
146 |
<jvmarg value="-XX:MaxPermSize=96M" /> |
|
147 |
</artifact:mvn> |
|
148 |
</sequential> |
|
149 |
</macrodef> |
|
150 |
|
|
151 |
<macrodef name="maven.win"> |
|
152 |
<attribute name="arg" /> |
|
153 |
<sequential> |
|
154 |
<echo>mvn -e -Dnative-classifier=win-nt-vs8-i386-dynamic -Dnative-platform=win @{arg}</echo> |
|
155 |
<artifact:mvn mavenHome="${build.folder}/maven" fork="true" |
|
156 |
failonerror="true" maxmemory="384M"> |
|
157 |
<arg line="-e -Dnative-classifier=win-nt-vs8-i386-dynamic -Dnative-platform=win @{arg}" /> |
|
158 |
<jvmarg value="-XX:MaxPermSize=96M" /> |
|
159 |
</artifact:mvn> |
|
160 |
</sequential> |
|
161 |
</macrodef> |
|
162 |
|
|
163 |
<!-- Utility targets --> |
|
164 |
<target name="cancel"> |
|
165 |
<fail>User canceled</fail> |
|
166 |
</target> |
|
167 |
</project> |
tags/v2_0_0_prep/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 |
<svn><info path=".."/></svn> |
|
18 |
<echo>svn: ${svn.info.repositoryRootUrl} rev ${svn.info.revision}</echo> |
|
19 |
<maven arg="compile" /> |
|
20 |
</target> |
|
21 |
|
|
22 |
<target name="mvn-test" description="Launches unit tests"> |
|
23 |
<maven arg="test" /> |
|
24 |
</target> |
|
25 |
|
|
26 |
<target name="mvn-install" description="Compiles and installs"> |
|
27 |
<svn><info path=".."/></svn> |
|
28 |
<echo>svn: ${svn.info.repositoryRootUrl} rev ${svn.info.revision}</echo> |
|
29 |
<maven arg="install" /> |
|
30 |
</target> |
|
31 |
|
|
32 |
<target name="mvn-create-installer" |
|
33 |
description="Compiles and generates an installer if the project is a gvSIG plugin"> |
|
34 |
<maven arg="-P create-installer install" /> |
|
35 |
</target> |
|
36 |
|
|
37 |
<target name="mvn-create-installer-linux" description="Compiles and generates an installer for linux, if the plugin uses native libraries"> |
|
38 |
<maven.lin arg="-P create-installer install" /> |
|
39 |
</target> |
|
40 |
|
|
41 |
<target name="mvn-create-installer-windows" description="Compiles and generates an installer for windows, if the plugin uses native libraries"> |
|
42 |
<maven.win arg="-P create-installer install" /> |
|
43 |
</target> |
|
44 |
|
|
45 |
<target name="mvn-install-ignore-tests" description="Compiles and installs and ignore tests"> |
|
46 |
<svn><info path=".."/></svn> |
|
47 |
<echo>svn: ${svn.info.repositoryRootUrl} rev ${svn.info.revision}</echo> |
|
48 |
<maven arg="install -Dmaven.test.failure.ignore" /> |
|
49 |
</target> |
|
50 |
|
|
51 |
<target name="mvn-install-without-tests" |
|
52 |
description="Compiles and installs without launching tests"> |
|
53 |
<svn><info path=".."/></svn> |
|
54 |
<echo>svn: ${svn.info.repositoryRootUrl} rev ${svn.info.revision}</echo> |
|
55 |
<maven arg="-Dmaven.test.skip=true install" /> |
|
56 |
</target> |
|
57 |
|
|
58 |
<target name="mvn-reinstall" |
|
59 |
description="Performs a clean install"> |
|
60 |
<svn><info path=".."/></svn> |
|
61 |
<echo>svn: ${svn.info.repositoryRootUrl} rev ${svn.info.revision}</echo> |
|
62 |
<maven arg="clean install" /> |
|
63 |
</target> |
|
64 |
|
|
65 |
<target name="mvn-reinstall-without-tests" |
|
66 |
description="Performs a clean install without launching tests"> |
|
67 |
<svn><info path=".."/></svn> |
|
68 |
<echo>svn: ${svn.info.repositoryRootUrl} rev ${svn.info.revision}</echo> |
|
69 |
<maven arg="-Dmaven.test.skip=true clean install" /> |
|
70 |
</target> |
|
71 |
|
|
72 |
<target name="mvn-dependency-tree" |
|
73 |
description="Creates a text tree with the project dependencies"> |
|
74 |
<maven arg="dependency:tree" /> |
|
75 |
</target> |
|
76 |
|
|
77 |
<target name="mvn-deploy" |
|
78 |
description="Compiles, installs and deploys"> |
|
79 |
<maven arg="deploy" /> |
|
80 |
</target> |
|
81 |
|
|
82 |
<target name="release.get.params"> |
|
83 |
<!-- Default values --> |
|
84 |
<property name="svn.username" value="${user.name}"/> |
|
85 |
|
|
86 |
<property name="svn.tag" value=""/> |
|
87 |
<propertyregex property="svn.tag" input="${svn.tag}" |
|
88 |
regexp="(.*)-SNAPSHOT" select="\1" casesensitive="false" override="true" /> |
|
89 |
|
|
90 |
<antform title="Release parameters" image="${gvsiglogo}" resetMessage="Cancel" |
|
91 |
previousTarget="cancel"> |
|
92 |
|
|
93 |
<label>Set the values needed to perform the release.</label> |
|
94 |
|
|
95 |
<textProperty label="SVN user name: " property="svn.username" |
|
96 |
password="false" /> |
|
97 |
<textProperty label="SVN user password: " property="svn.password" |
|
98 |
password="true" /> |
|
99 |
<textProperty label="SVN tag: " property="svn.tag" |
|
100 |
password="false" /> |
|
101 |
<textProperty label="Next development version: " |
|
102 |
property="developmentVersion" |
|
103 |
password="false" /> |
|
104 |
<label> |
|
105 |
Note: |
|
106 |
Don't include the suffix "-SNAPSHOT" in the development version, |
|
107 |
it will be automatically included where needed. |
|
108 |
</label> |
|
109 |
</antform> |
|
110 |
</target> |
|
111 |
|
|
112 |
<target name="mvn-release-prepare-perform" depends="release.get.params" description="Prepares and performs (tag, version upgrade and deploys) a new release of the project"> |
|
113 |
<echo>mvn release:clean release:prepare release:perform -DpreparationGoals='clean install' -Dusername=${svn.username} -Dpassword=******* -Dtag=${svn.tag} -DdevelopmentVersion=${developmentVersion}-SNAPSHOT</echo> |
|
114 |
<maven arg="release:clean release:prepare release:perform -DpreparationGoals='clean install' -Dusername=${svn.username} -Dpassword=${svn.password} -Dtag=${svn.tag} -DdevelopmentVersion=${developmentVersion}-SNAPSHOT" /> |
|
115 |
</target> |
|
116 |
|
|
117 |
<target name="mvn-release-prepare-dry-run" depends="release.get.params" description="Performs a dry run (does not perform the real release) of a new release of the project"> |
|
118 |
<echo>mvn release:clean release:prepare -DdryRun=true -DpreparationGoals='clean install' -Dtag=${svn.tag} -DdevelopmentVersion=${developmentVersion}-SNAPSHOT</echo> |
|
119 |
<maven arg="release:clean release:prepare -DdryRun=true -Dtag=${svn.tag} -DdevelopmentVersion=${developmentVersion}-SNAPSHOT" /> |
|
120 |
</target> |
|
121 |
|
|
122 |
<target name="mvn-release-clean" description="Cleans all files created by the release-prepare* targets"> |
|
123 |
<maven arg="release:clean" /> |
|
124 |
</target> |
|
125 |
|
|
126 |
<target name="mvn-configure-eclipse-workspace" |
|
127 |
description="Configures the eclipse workspace for maven integration"> |
|
128 |
|
|
129 |
<input message="Eclipse workspace folder to configure?:" |
|
130 |
addproperty="eclipse.workspace" |
|
131 |
defaultvalue="${workspace_loc}" /> |
|
132 |
|
|
133 |
<maven arg="-Declipse.workspace='${eclipse.workspace}' eclipse:add-maven-repo" /> |
|
134 |
<mkdir dir="${eclipse.workspace}/.metadata/.plugins/org.eclipse.ui.workbench" /> |
|
135 |
<copy |
|
136 |
file="${build.folder}/metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml" |
|
137 |
todir="${eclipse.workspace}/.metadata/.plugins/org.eclipse.ui.workbench" /> |
|
138 |
</target> |
|
139 |
|
|
140 |
<target name="mvn-eclipse-clean" |
|
141 |
description="Cleans the maven generated eclipse project files"> |
|
142 |
<maven arg="eclipse:clean" /> |
|
143 |
</target> |
|
144 |
|
|
145 |
<!-- Replaced by the target eclipse.project in eclipse-tasks.xml --> |
|
146 |
<!-- |
|
147 |
<target name="mvn-eclipse-eclipse" |
|
148 |
description="Generates an eclipse project configuration from the pom.xml"> |
|
149 |
<maven arg="eclipse:eclipse" /> |
|
150 |
</target> |
|
151 |
--> |
|
152 |
<target name="mvn-eclipse-eclipse" |
|
153 |
description="Generates an eclipse project configuration from the pom.xml"> |
|
154 |
<maven arg="-P eclipse-project" /> |
|
155 |
</target> |
|
156 |
|
|
157 |
<target name="mvn-site" |
|
158 |
description="Generates the project site documentation"> |
|
159 |
<maven arg="site" /> |
|
160 |
</target> |
|
161 |
|
|
162 |
<target name="mvn-any" |
|
163 |
description="Asks for the parameters to launch maven with"> |
|
164 |
<antform title="Launch maven" image="${gvsiglogo}" resetMessage="Cancel" |
|
165 |
previousTarget="cancel"> |
|
166 |
<textProperty label="mvn " property="mvn.parameters" |
|
167 |
password="false" /> |
|
168 |
</antform> |
|
169 |
<maven arg="${mvn.parameters}" /> |
|
170 |
</target> |
|
171 |
|
|
172 |
</project> |
tags/v2_0_0_prep/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_prep/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 |
<property name="build.path" location="${gvSIG-subversion-tasks.basedir}/.." /> |
|
7 |
|
|
8 |
<description> |
|
9 |
Ant tasks and macros to interact with subversion |
|
10 |
</description> |
|
11 |
|
|
12 |
<!-- Subversion targets --> |
|
13 |
<target name="svn.checkout.all" |
|
14 |
depends="svn.checkout.allprojects,eclipse.projects" |
|
15 |
description="Checkouts all projects defined in a parent module pom.xml"> |
|
16 |
<echo> |
|
17 |
Note: |
|
18 |
Once the process has finished, import the projects into your |
|
19 |
eclipse workspace.</echo> |
|
20 |
</target> |
|
21 |
|
|
22 |
<target name="svn.checkout.allprojects" depends="svn.getparams"> |
|
23 |
|
|
24 |
<artifact:pom id="pom" file="pom.xml" /> |
|
25 |
<echo>Checking out the gvSIG projects for the group ${pom.artifactId}: ${pom.modules}</echo> |
|
26 |
<for list="${pom.modules}" param="svn.module" delimiter=",[]" trim="true"> |
|
27 |
<sequential> |
|
28 |
<propertyregex property="svn.module" input="@{svn.module}" |
|
29 |
regexp="[./]*(.*)" replace="\1" casesensitive="false" |
|
30 |
override="true" /> |
|
31 |
<!-- just to ignore submodules as they are already check out --> |
|
32 |
<var name="svn.issubmodule" unset="true" /> |
|
33 |
<available file="${basedir}/${svn.module}" |
|
34 |
property="svn.issubmodule" /> |
|
35 |
<antcall target="svn.checkout.module"> |
|
36 |
<param name="svn.module" value="${svn.module}" /> |
|
37 |
</antcall> |
|
38 |
</sequential> |
|
39 |
</for> |
|
40 |
</target> |
|
41 |
|
|
42 |
<target name="eclipse.projects" if="create.eclipse.projects"> |
|
43 |
<!-- Create the eclipse project configuration for all downloaded projects --> |
|
44 |
<if> |
|
45 |
<equals arg1="${create.eclipse.projects}" arg2="true" /> |
|
46 |
<then> |
|
47 |
<maven arg="-Dmaven.test.failure.ignore install" /> |
|
48 |
<maven arg="-P eclipse-project" /> |
|
49 |
</then> |
|
50 |
</if> |
|
51 |
</target> |
|
52 |
|
|
53 |
<target name="svn.update.all" depends="svn.getparams" |
|
54 |
description="Updates all projects defined in a parent module pom.xml"> |
|
55 |
<artifact:pom id="pom" file="pom.xml" /> |
|
56 |
<for list="${pom.modules}" param="svn.module" delimiter=",[]" trim="true"> |
|
57 |
<sequential> |
|
58 |
<propertyregex property="svn.module" input="@{svn.module}" |
|
59 |
regexp="[./]*(.*)" replace="\1" casesensitive="false" |
|
60 |
override="true" /> |
|
61 |
<!-- just to ignore submodules as they are already check out --> |
|
62 |
<var name="svn.issubmodule" unset="true" /> |
|
63 |
<available file="${basedir}/${svn.module}" |
|
64 |
property="svn.issubmodule" /> |
|
65 |
<antcall target="svn.update.module"> |
|
66 |
<param name="svn.module" value="${svn.module}" /> |
|
67 |
</antcall> |
|
68 |
</sequential> |
|
69 |
</for> |
|
70 |
</target> |
|
71 |
|
|
72 |
<target name="svn.checkout.module" unless="svn.issubmodule"> |
|
73 |
<var name="svn.isgroup" unset="true" /> |
|
74 |
<available file="${build.folder}/projects/${svn.module}" |
|
75 |
property="svn.isgroup" /> |
|
76 |
<antcall target="svn.checkout.group"> |
|
77 |
<param name="svn.module" value="${svn.module}" /> |
|
78 |
</antcall> |
|
79 |
<antcall target="svn.checkout.project"> |
|
80 |
<param name="svn.module" value="${svn.module}" /> |
|
81 |
</antcall> |
|
82 |
</target> |
|
83 |
|
|
84 |
<target name="svn.checkout.group" if="svn.isgroup"> |
|
85 |
<echo>group: ${svn.module}</echo> |
|
86 |
<ant dir="${build.folder}/projects/${svn.module}" |
|
87 |
target="svn.checkout.allprojects" /> |
|
88 |
</target> |
|
89 |
|
|
90 |
<target name="svn.checkout.project" unless="svn.isgroup" |
|
91 |
depends="svn.get.project.path"> |
|
92 |
<echo>project: ${svn.module}</echo> |
|
93 |
<antcall target="svn.checkout"> |
|
94 |
<param name="svn.project.path" value="${workspace_loc}" /> |
|
95 |
<param name="svn.project.url" value="${svn.module.url}" /> |
|
96 |
</antcall> |
|
97 |
</target> |
|
98 |
|
|
99 |
<target name="svn.update.module" unless="svn.issubmodule"> |
|
100 |
<var name="svn.isgroup" unset="true" /> |
|
101 |
<available file="${build.folder}/projects/${svn.module}" |
|
102 |
property="svn.isgroup" /> |
|
103 |
<antcall target="svn.update.group"> |
|
104 |
<param name="svn.module" value="${svn.module}" /> |
|
105 |
</antcall> |
|
106 |
<antcall target="svn.update.project"> |
|
107 |
<param name="svn.module" value="${svn.module}" /> |
|
108 |
</antcall> |
|
109 |
</target> |
|
110 |
|
|
111 |
<target name="svn.update.group" if="svn.isgroup"> |
|
112 |
<echo>group: ${svn.module}</echo> |
|
113 |
<ant dir="${build.folder}/projects/${svn.module}" target="svn.update.all" /> |
|
114 |
</target> |
|
115 |
|
|
116 |
<target name="svn.update.project" unless="svn.isgroup" |
|
117 |
depends="svn.get.project.path"> |
|
118 |
<echo>project: ${svn.module}</echo> |
|
119 |
<antcall target="svn.update"> |
|
120 |
<param name="svn.project.path" value="${workspace_loc}" /> |
|
121 |
<param name="svn.project.url" value="${svn.module.url}" /> |
|
122 |
</antcall> |
|
123 |
</target> |
|
124 |
|
|
125 |
<target name="svn.checkout"> |
|
126 |
<echo>url: ${svn.project.url}</echo> |
|
127 |
<echo>SVNKit version: ${svnkit.version}</echo> |
|
128 |
<java classname="org.tmatesoft.svn.cli.SVN" dir="${svn.project.path}" |
|
129 |
fork="true" failonerror="true"> |
|
130 |
<arg value="--non-interactive"/> |
|
131 |
<arg value="co" /> |
|
132 |
<arg value="--username" /> |
|
133 |
<arg value="${svn.username}" /> |
|
134 |
<arg value="--password" /> |
|
135 |
<arg value="${svn.password}" /> |
|
136 |
<arg value="${svn.project.url}" /> |
|
137 |
<classpath> |
|
138 |
<pathelement location="${ant.libs.dir}/svnkit-${svnkit.version}.jar" /> |
|
139 |
<pathelement location="${ant.libs.dir}/svnkit-cli-${svnkit.version}.jar" /> |
|
140 |
<pathelement location="${ant.libs.dir}/sqljet-1.1.1.jar"/> |
|
141 |
<pathelement location="${ant.libs.dir}/antlr-runtime-3.4.jar"/> |
|
142 |
<pathelement location="${ant.libs.dir}/sequence-library-1.0.2.jar"/> |
|
143 |
</classpath> |
|
144 |
</java> |
|
145 |
</target> |
|
146 |
|
|
147 |
<target name="svn.update"> |
|
148 |
<echo>url: ${svn.project.url}</echo> |
|
149 |
<echo>SVNKit version: ${svnkit.version}</echo> |
|
150 |
<java classname="org.tmatesoft.svn.cli.SVN" dir="${svn.project.path}" |
|
151 |
fork="true" failonerror="true"> |
|
152 |
<arg value="--non-interactive"/> |
|
153 |
<arg value="update" /> |
|
154 |
<arg value="${svn.module}" /> |
|
155 |
<classpath> |
|
156 |
<pathelement location="${ant.libs.dir}/svnkit-${svnkit.version}.jar" /> |
|
157 |
<pathelement location="${ant.libs.dir}/svnkit-cli-${svnkit.version}.jar" /> |
|
158 |
<pathelement location="${ant.libs.dir}/sqljet-1.1.1.jar"/> |
|
159 |
<pathelement location="${ant.libs.dir}/antlr-runtime-3.4.jar"/> |
|
160 |
<pathelement location="${ant.libs.dir}/sequence-library-1.0.2.jar"/> |
|
161 |
</classpath> |
|
162 |
</java> |
|
163 |
</target> |
|
164 |
|
|
165 |
<target name="svn.getparams" depends="svn.getparams.form" unless="svn.repository.url"> |
|
166 |
<typedef resource="com/googlecode/svntask/svntask.xml"> |
|
167 |
<classpath> |
|
168 |
<fileset dir= "${gvSIG-subversion-tasks.basedir}" > |
|
169 |
<include name="svnkit-${svnkit.version}.jar"/> |
|
170 |
<include name="svntask-1.0.8.jar"/> |
|
171 |
<include name="sqljet-1.1.1.jar"/> |
|
172 |
<include name="antlr-runtime-3.4.jar"/> |
|
173 |
<include name="sequence-library-1.0.2.jar"/> |
|
174 |
|
|
175 |
</fileset> |
|
176 |
</classpath> |
|
177 |
</typedef> |
|
178 |
<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" classpath="${gvSIG-subversion-tasks.basedir}/antelopetasks-3.2.10.jar" /> |
|
179 |
|
|
180 |
<svn> |
|
181 |
<info path="${build.path}" /> |
|
182 |
</svn> |
|
183 |
<stringutil string="${svn.info.url}" property="svn.repository.url"> |
|
184 |
<replace regex="/build$$" replacement="/" /> |
|
185 |
</stringutil> |
|
186 |
</target> |
|
187 |
|
|
188 |
<!-- |
|
189 |
Get subversion parameters using the AntForms utility: |
|
190 |
http://antforms.sourceforge.net/ |
|
191 |
--> |
|
192 |
<target name="svn.getparams.form" unless="svnkit.version"> |
|
193 |
<!-- Default values --> |
|
194 |
<property name="create.eclipse.projects" value="true"/> |
|
195 |
<antform title="SVN parameters" image="${gvsiglogo}" resetMessage="Cancel" |
|
196 |
previousTarget="cancel"> |
|
197 |
<textProperty label="" property="dumb" |
|
198 |
password="false" editable="false" columns="38"/> |
|
199 |
<label> |
|
200 |
Note: |
|
201 |
Select the SVNKit version which relates to the SVN version of the other SVN |
|
202 |
clients you are using, like the SVN command line client or Eclipse. In the |
|
203 |
case of Eclipse, you have to install a version of the Subclipse plugin which |
|
204 |
provides the same SVNKit version as the one selected, or to install the |
|
205 |
Subversive plugin and configure it to use the selected SVNKit version in the |
|
206 |
plugin preferences. |
|
207 |
|
|
208 |
The relationship with the subversion version is : |
|
209 |
SVNKit 1.1.7 -> Subversion 1.4 -> ¿? |
|
210 |
SVNKit 1.2.3 -> Subversion 1.5 -> Subclipse 1.4.* |
|
211 |
SVNKit 1.3.0 -> Subversion 1.6 -> Subclipse 1.6.* |
|
212 |
SVNKit 1.7.4 -> Subversion 1.7 -> Subclipse 1.7.* |
|
213 |
|
|
214 |
In the case of Subversive, you can select the SVNKit version in the eclipse preferences: |
|
215 |
Team > SVN > SVN Connector |
|
216 |
</label> |
|
217 |
|
|
218 |
<selectionProperty label="SVNKit version to use: " |
|
219 |
property="svnkit.version" |
|
220 |
values="1.7.4-v1;1.3.0;1.2.3;1.1.7" |
|
221 |
separator=";" /> |
|
222 |
|
|
223 |
<label> |
|
224 |
Note: |
|
225 |
Once the process has finished, import the projects into your eclipse workspace. |
|
226 |
</label> |
|
227 |
</antform> |
|
228 |
</target> |
|
229 |
|
|
230 |
<target name="svn.get.project.path"> |
|
231 |
<description> |
|
232 |
Converts a project name to a project path in subversion. |
|
233 |
Ej: libTools -> libraries/libTools |
|
234 |
</description> |
|
235 |
<property file="${gvSIG-subversion-tasks.basedir}/projects-svn-repository.properties"/> |
|
236 |
<propertycopy property="svn.module.url.tail" from="${svn.module}" |
|
237 |
override="true" silent="true"/> |
|
238 |
<property name="svn.module.url" value="${svn.repository.url}${svn.module.url.tail}"/> |
|
239 |
</target> |
|
240 |
</project> |
tags/v2_0_0_prep/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 |
<artifactId>gvsig-base-extension-pom</artifactId> |
|
9 |
<packaging>pom</packaging> |
|
10 |
<version>2.0.1-SNAPSHOT</version> |
|
11 |
<name>extension-base-pom</name> |
|
12 |
<parent> |
|
13 |
<groupId>org.gvsig</groupId> |
|
14 |
<artifactId>org.gvsig.maven.base.extension.pom</artifactId> |
|
15 |
<version>1.0.9</version> |
|
16 |
</parent> |
|
17 |
<scm> |
|
18 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep</connection> |
|
19 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep</developerConnection> |
|
20 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/branches/v2_0_0_prep</url> |
|
21 |
</scm> |
|
22 |
<dependencyManagement> |
|
23 |
<dependencies> |
|
24 |
<dependency> |
|
25 |
<groupId>org.gvsig</groupId> |
|
26 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
27 |
<version>2.0.3-SNAPSHOT</version> |
|
28 |
<type>pom</type> |
|
29 |
<scope>import</scope> |
|
30 |
</dependency> |
|
31 |
</dependencies> |
|
32 |
</dependencyManagement> |
|
33 |
<repositories> |
|
34 |
<repository> |
|
35 |
<id>gvsig-public-http-repository</id> |
|
36 |
<name>gvSIG maven public HTTP repository</name> |
|
37 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
38 |
<releases> |
|
39 |
<enabled>true</enabled> |
|
40 |
<updatePolicy>daily</updatePolicy> |
|
41 |
<checksumPolicy>warn</checksumPolicy> |
|
42 |
</releases> |
|
43 |
<snapshots> |
|
44 |
<enabled>true</enabled> |
|
45 |
<updatePolicy>daily</updatePolicy> |
|
46 |
<checksumPolicy>warn</checksumPolicy> |
|
47 |
</snapshots> |
|
48 |
</repository> |
|
49 |
</repositories> |
|
50 |
<profiles> |
|
51 |
<profile> |
|
52 |
<id>gvsig-install</id> |
|
53 |
<activation> |
|
54 |
<activeByDefault>true</activeByDefault> |
|
55 |
</activation> |
|
56 |
<properties> |
|
57 |
<!-- gvSIG installation folder --> |
|
58 |
<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir> |
|
59 |
</properties> |
|
60 |
</profile> |
|
61 |
</profiles> |
|
62 |
</project> |
tags/v2_0_0_prep/build/extension-pom/distribution/distribution.xml | ||
---|---|---|
1 |
<assembly> |
|
2 |
<id>distribution</id> |
|
3 |
</assembly> |
tags/v2_0_0_prep/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 |
|
0 | 4 |
tags/v2_0_0_prep/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 |
<artifactId>gvsig-base-library-pom</artifactId> |
|
9 |
<packaging>pom</packaging> |
|
10 |
<version>2.0.2-SNAPSHOT</version> |
|
11 |
<name>library-base-pom</name> |
|
12 |
<parent> |
|
13 |
<groupId>org.gvsig</groupId> |
|
14 |
<artifactId>org.gvsig.maven.base.pom</artifactId> |
|
15 |
<version>1.0.9</version> |
|
16 |
</parent> |
|
17 |
<scm> |
|
18 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep</connection> |
|
19 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep</developerConnection> |
|
20 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/branches/v2_0_0_prep</url> |
|
21 |
</scm> |
|
22 |
<repositories> |
|
23 |
<repository> |
|
24 |
<id>gvsig-public-http-repository</id> |
|
25 |
<name>gvSIG maven public HTTP repository</name> |
|
26 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
27 |
<releases> |
|
28 |
<enabled>true</enabled> |
|
29 |
<updatePolicy>daily</updatePolicy> |
|
30 |
<checksumPolicy>warn</checksumPolicy> |
|
31 |
</releases> |
|
32 |
<snapshots> |
|
33 |
<enabled>true</enabled> |
|
34 |
<updatePolicy>daily</updatePolicy> |
|
35 |
<checksumPolicy>warn</checksumPolicy> |
|
36 |
</snapshots> |
|
37 |
</repository> |
|
38 |
</repositories> |
|
39 |
<dependencyManagement> |
|
40 |
<dependencies> |
|
41 |
<dependency> |
|
42 |
<groupId>org.gvsig</groupId> |
|
43 |
<artifactId>org.gvsig.core.maven.dependencies</artifactId> |
|
44 |
<version>2.0.3-SNAPSHOT</version> |
|
45 |
<type>pom</type> |
|
46 |
<scope>import</scope> |
|
47 |
</dependency> |
|
48 |
</dependencies> |
|
49 |
</dependencyManagement> |
|
50 |
<build> |
|
51 |
<plugins> |
|
52 |
<plugin> |
|
53 |
<artifactId>maven-clean-plugin</artifactId> |
|
54 |
<configuration> |
|
55 |
<filesets> |
|
56 |
<fileset> |
|
57 |
<directory>${user.home}/.depman/</directory> |
|
58 |
<includes> |
|
59 |
<include>**</include> |
|
60 |
</includes> |
|
61 |
</fileset> |
|
62 |
</filesets> |
|
63 |
<followSymLinks>true</followSymLinks> |
|
64 |
</configuration> |
|
65 |
</plugin> |
|
66 |
</plugins> |
|
67 |
</build> |
|
68 |
<profiles> |
|
69 |
<profile> |
|
70 |
<id>gvsig-install</id> |
|
71 |
<activation> |
|
72 |
<activeByDefault>true</activeByDefault> |
|
73 |
</activation> |
|
74 |
<properties> |
|
75 |
<!-- gvSIG installation folder --> |
|
76 |
<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir> |
|
77 |
</properties> |
|
78 |
</profile> |
|
79 |
</profiles> |
|
80 |
</project> |
|
0 | 81 |
tags/v2_0_0_prep/build/maven/NOTICE.txt | ||
---|---|---|
1 |
========================================================================= |
|
2 |
== NOTICE file corresponding to the section 4 d of == |
|
3 |
== the Apache License, Version 2.0, == |
|
4 |
== in this case for the Apache Maven distribution. == |
|
5 |
========================================================================= |
|
6 |
|
|
7 |
This product includes software developed by |
|
8 |
The Apache Software Foundation (http://www.apache.org/). |
|
9 |
|
|
10 |
This product includes software (Plexus and Classworlds) developed by |
|
11 |
The Codehaus Foundation (http://www.codehaus.org/). |
|
12 |
|
|
13 |
This product includes software (JSCH) developed by |
|
14 |
JCraft Inc. (http://www.jcraft.com/jsch/). |
|
15 |
|
|
16 |
This product includes software (JTidy) developed at |
|
17 |
SourceForge (http://sourceforge.net/projects/jtidy). |
|
18 |
|
|
19 |
This product includes software (NekoHTML) developed at |
|
20 |
SourceForge (http://sourceforge.net/projects/nekohtml). |
tags/v2_0_0_prep/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 |
Also available in: Unified diff