Revision 23397
branches/v2_0_0_prep/build/projects/gvsig-base/build.xml | ||
---|---|---|
1 |
<project name="gvSIG 3D Plugin Build System" default="work" basedir="."> |
|
2 |
|
|
3 |
<import file="../../build.xml" /> |
|
4 |
<!-- |
|
5 |
TODO: This target should call mvn install phase in a temporary dir, and afterwards call izPack to do the distribution of this plugin. |
|
6 |
target name="distribution" description="creates the final distribution of the plugin" depends="mvn-install,build-installer" / |
|
7 |
--> |
|
8 |
|
|
9 |
<target name="work" description="prepares system to begin working with eclipse" depends="install-gvsig-base" /> |
|
10 |
<target name="eclipse" depends="mvn-clean,mvn-eclipse-clean,mvn-eclipse-eclipse" /> |
|
11 |
|
|
12 |
<target name="install-gvsig-base" depends="mvn-clean,mvn-install-extensions"/> |
|
13 |
|
|
14 |
|
|
15 |
<target name="mvn-install-extensions"> |
|
16 |
<maven> |
|
17 |
<arg value="install" /> |
|
18 |
<arg value="-Dmaven.test.skip=true" /> |
|
19 |
<arg value="-Dinstall-extension" /> |
|
20 |
</maven> |
|
21 |
</target> |
|
22 |
|
|
23 |
<target name="mvn-install"> |
|
24 |
<maven> |
|
25 |
<arg value="install" /> |
|
26 |
</maven> |
|
27 |
</target> |
|
28 |
|
|
29 |
<target name="mvn-eclipse-clean"> |
|
30 |
<maven> |
|
31 |
<arg value="eclipse:clean" /> |
|
32 |
</maven> |
|
33 |
</target> |
|
34 |
|
|
35 |
|
|
36 |
<target name="mvn-eclipse-eclipse"> |
|
37 |
<maven> |
|
38 |
<arg value="eclipse:eclipse" /> |
|
39 |
</maven> |
|
40 |
</target> |
|
41 |
|
|
42 |
</project> |
|
43 |
|
branches/v2_0_0_prep/build/projects/gvsig-base/pom.xml | ||
---|---|---|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
|
3 |
http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<groupId>org.gvsig</groupId> |
|
6 |
<artifactId>gvsig-base</artifactId> |
|
7 |
<packaging>pom</packaging> |
|
8 |
<version>2.0-SNAPSHOT</version> |
|
9 |
<name>gvsig-base</name> |
|
10 |
<description> GvSIG base. This pom mades all the base plugin needed |
|
11 |
to run GvSIG</description> |
|
12 |
<inceptionYear>2007</inceptionYear> |
|
13 |
<developers> |
|
14 |
<developer> |
|
15 |
<name>nombre</name> |
|
16 |
<id>id</id> |
|
17 |
<email>mail@mail.com</email> |
|
18 |
<roles> |
|
19 |
<role>Developer</role> |
|
20 |
</roles> |
|
21 |
<organization>CIT</organization> |
|
22 |
</developer> |
|
23 |
</developers> |
|
24 |
<dependencies> |
|
25 |
<dependency> |
|
26 |
<groupId>junit</groupId> |
|
27 |
<artifactId>junit</artifactId> |
|
28 |
<version>3.8.1</version> |
|
29 |
<scope>test</scope> |
|
30 |
</dependency> |
|
31 |
<dependency> |
|
32 |
<groupId>log4j</groupId> |
|
33 |
<artifactId>log4j</artifactId> |
|
34 |
<version>1.2.13</version> |
|
35 |
</dependency> |
|
36 |
</dependencies> |
|
37 |
|
|
38 |
<distributionManagement> |
|
39 |
<repository> |
|
40 |
<id>gvsig-ftp-repository</id> |
|
41 |
<name>gvSIG maven FTP repository</name> |
|
42 |
<url>ftp://downloads.gvsig.org:20001/user/maven |
|
43 |
</url> |
|
44 |
</repository> |
|
45 |
<snapshotRepository> |
|
46 |
<id>gvsig-ftp-repository</id> |
|
47 |
<name>gvSIG maven FTP repository</name> |
|
48 |
<url>ftp://downloads.gvsig.org:20001/user/maven |
|
49 |
</url> |
|
50 |
</snapshotRepository> |
|
51 |
</distributionManagement> |
|
52 |
|
|
53 |
<modules> |
|
54 |
<module>../../../libTools</module> |
|
55 |
<module>../../../libInternationalization</module> |
|
56 |
<module>../../../libIverUtiles</module> |
|
57 |
<module>../../../libUIComponent</module> |
|
58 |
<module>../../../libMetadata</module> |
|
59 |
<module>../../../_fwAndami</module> |
|
60 |
<module>../../../libCorePlugin</module> |
|
61 |
<module>../../../libProjection</module> |
|
62 |
<module>../../../libRaster</module> |
|
63 |
<module>../../../libDXF</module> |
|
64 |
<module>../../../libRemoteServices</module> |
|
65 |
<module>../../../libFMap_geometries</module> |
|
66 |
<module>../../../libFMap_data</module> |
|
67 |
<module>../../../libFMap_data_eval_SQLJEP</module> |
|
68 |
<module>../../../libFMap_mapcontext</module> |
|
69 |
<module>../../../libFMap_dataFile</module> |
|
70 |
<module>../../../libFMap_dataDB</module> |
|
71 |
<module>../../../libFMap_spatialindex</module> |
|
72 |
<module>../../../libFMap_mapcontrol</module> |
|
73 |
<module>../../../appgvSIG</module> |
|
74 |
</modules> |
|
75 |
</project> |
branches/v2_0_0_prep/build/pom.xml | ||
---|---|---|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" |
|
2 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
3 | 2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
4 | 3 |
http://maven.apache.org/maven-v4_0_0.xsd"> |
5 | 4 |
<modelVersion>4.0.0</modelVersion> |
6 | 5 |
<groupId>org.gvsig</groupId> |
7 | 6 |
<artifactId>gvsig-basepoms</artifactId> |
8 | 7 |
<packaging>pom</packaging> |
9 |
<version>1.0-SNAPSHOT</version>
|
|
8 |
<version>2.0-SNAPSHOT</version>
|
|
10 | 9 |
<name>gvsig-base-pom</name> |
11 | 10 |
<description>Base POM for all GvSIG projects</description> |
12 |
|
|
13 | 11 |
<scm> |
14 |
<connection> |
|
15 |
scm:svn:https://gvsig.org/svn/gvSIG/trunk |
|
16 |
</connection> |
|
17 |
<developerConnection> |
|
18 |
scm:svn:https://gvsig.org/svn/gvSIG/trunk |
|
12 |
<connection> scm:svn:https://gvsig.org/svn/gvSIG/trunk</connection> |
|
13 |
<developerConnection> scm:svn:https://gvsig.org/svn/gvSIG/trunk |
|
19 | 14 |
</developerConnection> |
20 | 15 |
<url>https://gvsig.org/web</url> |
21 | 16 |
</scm> |
22 |
|
|
23 | 17 |
<organization> |
24 | 18 |
<name>CIT/IVER/AI2</name> |
25 | 19 |
<url>http://gvsig.org/web</url> |
26 | 20 |
</organization> |
27 |
|
|
28 |
<!-- Put here the global properties who use all the projects of GvSIG --> |
|
21 |
<!-- |
|
22 |
Put here the global properties who use all the projects of GvSIG |
|
23 |
--> |
|
29 | 24 |
<properties> |
30 | 25 |
<gvsig-path><!-- Name property --> |
31 |
../_fwAndami
|
|
26 |
../build/product
|
|
32 | 27 |
</gvsig-path> |
33 | 28 |
<gvsig-lib-dir>${gvsig-path}/lib</gvsig-lib-dir> |
34 |
<extension-dir>${gvsig-path}/gvSIG/extensiones</extension-dir> |
|
29 |
<extension-dir>${gvsig-path}/gvSIG/extensiones |
|
30 |
</extension-dir> |
|
35 | 31 |
<build-dir>${basedir}</build-dir> |
36 | 32 |
</properties> |
37 |
|
|
38 | 33 |
<repositories> |
39 |
<!--repository>
|
|
40 |
<id>gvSIG-Repo</id> |
|
34 |
<!-- |
|
35 |
repository> <id>gvSIG-Repo</id>
|
|
41 | 36 |
<url>https://gvsig.org/plugins/downloads/gvsig-repo</url> |
42 |
</repository-->
|
|
43 |
|
|
37 |
</repository |
|
38 |
--> |
|
44 | 39 |
<repository> |
40 |
<id>gvsig-ftp-repository</id> |
|
41 |
<name>gvSIG maven FTP repository</name> |
|
42 |
<url>ftp://downloads.gvsig.org:20001/user/maven |
|
43 |
</url> |
|
44 |
</repository> |
|
45 |
<repository> |
|
45 | 46 |
<id>refractions</id> |
46 | 47 |
<name>Refractions Research Maven 2 Repository</name> |
47 |
<url>http://lists.refractions.net/m2</url> |
|
48 |
<url>http://lists.refractions.net/m2 |
|
49 |
</url> |
|
48 | 50 |
</repository> |
49 |
|
|
50 | 51 |
<repository> |
51 | 52 |
<id>geotools</id> |
52 |
<url>http://maven.geotools.fr/repository</url> |
|
53 |
<url>http://maven.geotools.fr/repository |
|
54 |
</url> |
|
53 | 55 |
</repository> |
54 |
|
|
55 | 56 |
<repository> |
56 | 57 |
<id>OSGVP</id> |
57 |
<url>http://josgplanets.ai2.upv.es/maven/repository</url> |
|
58 |
<url>http://josgplanets.ai2.upv.es/maven/repository |
|
59 |
</url> |
|
58 | 60 |
</repository> |
59 |
|
|
61 |
</repositories> |
|
62 |
<reporting> |
|
63 |
<plugins> |
|
64 |
<plugin> |
|
65 |
<groupId>org.apache.maven.plugins</groupId> |
|
66 |
<artifactId>maven-javadoc-plugin</artifactId> |
|
67 |
</plugin> |
|
68 |
</plugins> |
|
69 |
</reporting> |
|
70 |
<distributionManagement> |
|
60 | 71 |
<repository> |
61 | 72 |
<id>gvsig-ftp-repository</id> |
62 | 73 |
<name>gvSIG maven FTP repository</name> |
63 |
<url>ftp://downloads.gvsig.org:20001/user/maven</url> |
|
74 |
<url>ftp://downloads.gvsig.org:20001/user/maven |
|
75 |
</url> |
|
64 | 76 |
</repository> |
65 |
|
|
66 |
</repositories> |
|
67 |
|
|
68 |
<distributionManagement> |
|
69 |
<!--repository> |
|
70 |
<id>gvSIG-Repo</id> |
|
71 |
<name>Repositorio Maven2 GvSIG</name> |
|
72 |
<url> |
|
73 |
dav:https://gvsig.org/plugins/downloads/gvsig-repo |
|
74 |
ftp:https://gvsig.org/plugins/downloads/gvsig-repo |
|
75 |
scp:https://gvsig.org/plugins/downloads/gvsig-repo |
|
76 |
</url> |
|
77 |
</repository--> |
|
78 |
<repository> |
|
77 |
<snapshotRepository> |
|
79 | 78 |
<id>gvsig-ftp-repository</id> |
80 | 79 |
<name>gvSIG maven FTP repository</name> |
81 |
<url>ftp://downloads.gvsig.org:20001/user/maven</url> |
|
82 |
</repository> |
|
80 |
<url>ftp://downloads.gvsig.org:20001/user/maven |
|
81 |
</url> |
|
82 |
</snapshotRepository> |
|
83 | 83 |
</distributionManagement> |
84 | 84 |
<build> |
85 | 85 |
<extensions> |
... | ... | |
94 | 94 |
<version>0.1</version> |
95 | 95 |
</extension> |
96 | 96 |
</extensions> |
97 |
|
|
98 |
|
|
99 | 97 |
<plugins> |
100 | 98 |
<plugin> |
101 | 99 |
<groupId>org.apache.maven.plugins</groupId> |
... | ... | |
103 | 101 |
<configuration> |
104 | 102 |
<source>1.5</source> |
105 | 103 |
<target>1.5</target> |
104 |
<!-- put your configurations here --> |
|
105 |
<encoding>ISO-8859-1</encoding> |
|
106 |
<!-- <failOnError>false</failOnError>--> |
|
106 | 107 |
</configuration> |
107 | 108 |
</plugin> |
108 | 109 |
</plugins> |
... | ... | |
118 | 119 |
<build> |
119 | 120 |
<plugins> |
120 | 121 |
<plugin> |
121 |
<groupId>org.apache.maven.plugins</groupId> |
|
122 |
<groupId>org.apache.maven.plugins |
|
123 |
</groupId> |
|
122 | 124 |
<artifactId>maven-source-plugin</artifactId> |
123 | 125 |
<executions> |
124 | 126 |
<execution> |
... | ... | |
137 | 139 |
<module>libraries-pom</module> |
138 | 140 |
<module>extension-pom</module> |
139 | 141 |
</modules> |
140 |
</project>
|
|
142 |
</project> |
branches/v2_0_0_prep/build/build.xml | ||
---|---|---|
1 |
<project name="Complete build system" basedir=".">
|
|
1 |
<project name="Complete_build_system" basedir="." default="prepare-eclipse-workspace">
|
|
2 | 2 |
<description> |
3 | 3 |
Builds and prepare folders to work with eclipse using maven. |
4 | 4 |
Also is able to generate a release of all system with binaries distribution |
5 |
and sources distribution.
|
|
5 |
and sources distribution. |
|
6 | 6 |
</description> |
7 | 7 |
<!-- set global properties for this build --> |
8 |
<property name="mavendir" value="../../maven" /> |
|
8 |
<dirname file="${ant.file.Complete_build_system}" property="ant.file.Complete_build_system.dir"/> |
|
9 |
<dirname file="${ant.file.Complete_build_system.dir}" property="workspace_loc"/> |
|
10 |
<property name="mavendir" location="${ant.file.Complete_build_system.dir}/maven" /> |
|
11 |
<property environment="environment"/> |
|
12 |
|
|
9 | 13 |
<condition property="mvn.executable" value="${mavendir}/bin/mvn.bat" else="${mavendir}/bin/mvn"> |
10 | 14 |
<os family="windows" /> |
11 | 15 |
</condition> |
... | ... | |
44 | 48 |
<os family="mac" /> |
45 | 49 |
</condition> |
46 | 50 |
|
47 |
<property name="native-binaries-dir" value="../binaries" />
|
|
51 |
<property name="native-binaries-dir" value="${workspace_loc}/binaries" />
|
|
48 | 52 |
|
53 |
<presetdef name="maven"> |
|
54 |
<exec executable="${mvn.executable}"> |
|
55 |
<env key="JAVA_HOME" value="${java.home}"/> |
|
56 |
</exec> |
|
57 |
</presetdef> |
|
58 |
|
|
49 | 59 |
<target name="prepare-eclipse-workspace" depends="mvn-clean,mvn-install-without-tests"> |
50 |
<exec executable="${mvn.executable}">
|
|
51 |
<arg value="-Declipse.workspace=../" />
|
|
60 |
<maven>
|
|
61 |
<arg value="-Declipse.workspace='${workspace_loc}'" />
|
|
52 | 62 |
<arg value="eclipse:add-maven-repo" /> |
53 |
</exec>
|
|
54 |
<exec executable="${mvn.executable}">
|
|
63 |
</maven>
|
|
64 |
<maven>
|
|
55 | 65 |
<arg value="eclipse:eclipse" /> |
56 |
</exec> |
|
66 |
</maven> |
|
67 |
|
|
57 | 68 |
</target> |
58 | 69 |
<target name="mvn-clean"> |
59 |
<exec executable="${mvn.executable}">
|
|
70 |
<maven>
|
|
60 | 71 |
<arg value="clean" /> |
61 |
</exec>
|
|
72 |
</maven>
|
|
62 | 73 |
</target> |
63 | 74 |
<target name="mvn-install-without-tests"> |
64 |
<exec executable="${mvn.executable}">
|
|
75 |
<maven>
|
|
65 | 76 |
<arg value="install" /> |
66 | 77 |
<arg value="-Dmaven.test.skip=true" /> |
67 |
</exec>
|
|
78 |
</maven>
|
|
68 | 79 |
</target> |
80 |
|
|
81 |
<target name="install-gvsig-base" depends="mvn-clean,mvn-install-extensions,mvn-eclipse-clean"> |
|
82 |
<maven> |
|
83 |
<arg value="eclipse:eclipse" /> |
|
84 |
</maven> |
|
85 |
</target> |
|
86 |
|
|
87 |
<target name="mvn-install-extensions"> |
|
88 |
<maven> |
|
89 |
<arg value="install" /> |
|
90 |
<arg value="-Dmaven.test.skip=true" /> |
|
91 |
<arg value="-Dinstall-extension" /> |
|
92 |
</maven> |
|
93 |
</target> |
|
94 |
|
|
69 | 95 |
<target name="mvn-install"> |
70 |
<exec executable="${mvn.executable}">
|
|
96 |
<maven>
|
|
71 | 97 |
<arg value="install" /> |
72 |
</exec>
|
|
98 |
</maven>
|
|
73 | 99 |
</target> |
74 | 100 |
|
101 |
<target name="mvn-eclipse-clean"> |
|
102 |
<maven> |
|
103 |
<arg value="eclipse:clean" /> |
|
104 |
</maven> |
|
105 |
</target> |
|
106 |
|
|
107 |
<target name="mvn-eclipse-eclipse"> |
|
108 |
<maven> |
|
109 |
<arg value="eclipse:eclipse" /> |
|
110 |
</maven> |
|
111 |
</target> |
|
112 |
|
|
75 | 113 |
<!-- TODO: Target for make complete building of gvSIG, calling all enabled projects by default --> |
76 | 114 |
|
77 | 115 |
<!-- target name="work" description="prepares system to begin working with eclipse" depends="prepare-eclipse-workspace" / --> |
78 | 116 |
branches/v2_0_0_prep/build/extension-pom/pom.xml | ||
---|---|---|
2 | 2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 |
<modelVersion>4.0.0</modelVersion> |
4 | 4 |
<groupId>org.gvsig</groupId> |
5 |
<artifactId>gvsig-extension-base-pom |
|
6 |
</artifactId> |
|
5 |
<artifactId>gvsig-extension-base-pom</artifactId> |
|
7 | 6 |
<packaging>pom</packaging> |
8 | 7 |
<version>1.0-SNAPSHOT</version> |
9 | 8 |
<name>extension-base-pom</name> |
... | ... | |
38 | 37 |
<build-dir>${basedir}/..</build-dir> |
39 | 38 |
<extension-ant-base-dir> ${build-dir}/extension-pom |
40 | 39 |
</extension-ant-base-dir> |
41 |
<extension-distribution>dist.xml</extension-distribution>
|
|
40 |
<extension-distribution-file>dist.xml</extension-distribution-file>
|
|
42 | 41 |
<library-dir>lib</library-dir> |
43 | 42 |
</properties> |
44 | 43 |
<profiles> |
45 | 44 |
<profile> |
46 |
<id>generate-installers</id>
|
|
45 |
<id>install-extension</id>
|
|
47 | 46 |
<activation> |
48 | 47 |
<property> |
49 | 48 |
<name>install-extension</name> |
... | ... | |
56 | 55 |
</artifactId> |
57 | 56 |
<configuration> |
58 | 57 |
<descriptors> |
59 |
<descriptor> ${extension-distribution}</descriptor> |
|
58 |
<descriptor> ${extension-distribution-file}</descriptor>
|
|
60 | 59 |
</descriptors> |
61 |
<outputDirectory> ${distribution-output-directory} |
|
60 |
<outputDirectory> ${extension-distribution-output-directory}
|
|
62 | 61 |
</outputDirectory> |
63 | 62 |
<finalName> ${distribution-final-name}</finalName> |
64 | 63 |
<appendAssemblyId>true</appendAssemblyId> |
... | ... | |
111 | 110 |
</plugins> |
112 | 111 |
</build> |
113 | 112 |
</profile> |
113 |
<profile> |
|
114 |
<id>generate-installers</id> |
|
115 |
<activation> |
|
116 |
<property> |
|
117 |
<name>generate-install</name> |
|
118 |
</property> |
|
119 |
</activation> |
|
120 |
<build> |
|
121 |
<plugins> |
|
122 |
<plugin> |
|
123 |
<artifactId>maven-assembly-plugin</artifactId> |
|
124 |
<configuration> |
|
125 |
<descriptors> |
|
126 |
<descriptor> |
|
127 |
${distribution-win32-descriptor} |
|
128 |
</descriptor> |
|
129 |
<descriptor> |
|
130 |
${distribution-linux32-descriptor} |
|
131 |
</descriptor> |
|
132 |
<!-- descriptor> |
|
133 |
${distribution-mac-descriptor |
|
134 |
</descriptor--> |
|
135 |
<!--descriptor> |
|
136 |
/distribution/source-distribution.xml |
|
137 |
</descriptor--> |
|
138 |
</descriptors> |
|
139 |
<outputDirectory> |
|
140 |
${distribution-output-directory} |
|
141 |
</outputDirectory> |
|
142 |
<finalName> |
|
143 |
${distribution-final-name} |
|
144 |
</finalName> |
|
145 |
<appendAssemblyId>true</appendAssemblyId> |
|
146 |
<ignoreDirFormatExtensions> |
|
147 |
true |
|
148 |
</ignoreDirFormatExtensions> |
|
149 |
</configuration> |
|
150 |
<executions> |
|
151 |
<execution> |
|
152 |
<id>make-assembly</id><!-- this is used for inheritance merges --> |
|
153 |
<phase>package</phase><!-- append to the packaging phase. --> |
|
154 |
<goals> |
|
155 |
<goal>attached</goal><!-- goals == mojos --> |
|
156 |
</goals> |
|
157 |
</execution> |
|
158 |
</executions> |
|
159 |
</plugin> |
|
160 |
</plugins> |
|
161 |
</build> |
|
162 |
</profile> |
|
114 | 163 |
</profiles> |
115 | 164 |
</project> |
branches/v2_0_0_prep/build/extension-pom/build.xml | ||
---|---|---|
31 | 31 |
<echo message="======================== New target " /> |
32 | 32 |
<echo message="======================== Making Extension " /> |
33 | 33 |
<echo message="======================== Copying to extensions dir..." /> |
34 |
<move todir="${extension-dir}/../../">
|
|
34 |
<copy todir="${extension-dir}/../../">
|
|
35 | 35 |
<fileset dir="target/${distribution-final-name}-distribution/${distribution-final-name}" includes="**/**" /> |
36 |
</move>
|
|
36 |
</copy>
|
|
37 | 37 |
</target> |
38 | 38 |
</project> |
branches/v2_0_0_prep/build/libraries-pom/pom.xml | ||
---|---|---|
15 | 15 |
<description> |
16 | 16 |
Base POM for all GvSIG libraries projects. This pom knows how to |
17 | 17 |
build and made an libraries for GvSIG. The property |
18 |
"gvsig-path" must be set up correctly.
|
|
18 |
"gvsig-path" must be set up correctly. |
|
19 | 19 |
</description> |
20 | 20 |
<dependencies> |
21 | 21 |
<dependency> |
Also available in: Unified diff