Revision 790
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.tools/src/main/resources/bash/unpack-dependencies.sh | ||
---|---|---|
1 |
#!/bin/bash |
|
2 |
|
|
3 |
#set -x |
|
4 |
|
|
5 |
dep_dir=$1; |
|
6 |
dest_dir=$2; |
|
7 |
|
|
8 |
if [ ! -d $dest_dir ]; then mkdir $dest_dir; fi; |
|
9 |
if [ ! -d $dep_dir ]; then exit 0; fi |
|
10 |
|
|
11 |
if [ ! -d $dest_dir/unpacked ]; then |
|
12 |
mkdir $dest_dir/unpacked; |
|
13 |
fi |
|
14 |
|
|
15 |
# Get all natives sdk bundle files |
|
16 |
files=$(find $dep_dir -type f -name *.tar.gz) |
|
17 |
|
|
18 |
for i in $files; do |
|
19 |
filename=`basename $i` |
|
20 |
filedest="$dest_dir/unpacked/$filename" |
|
21 |
|
|
22 |
#echo FileName: "$filename" |
|
23 |
#echo FileDest: "$filedest" |
|
24 |
|
|
25 |
# Overwrite only if the file is newer than the one stored as unpacked |
|
26 |
if [ ! -f "$filedest" ] || [ "$i" -nt "$filedest" ]; then |
|
27 |
echo "Expanding $i in $dest_dir" |
|
28 |
cp "$i" "$dest_dir/unpacked" |
|
29 |
tar xzf "$i" -C "$dest_dir" |
|
30 |
else |
|
31 |
echo "$i not newer than the one available in $dest_dir/unpacked, not expanding it" |
|
32 |
fi |
|
33 |
done |
|
0 | 34 |
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.tools/src/main/resources/checkstyle/gvsig.header | ||
---|---|---|
1 |
^/\*\* |
|
2 |
^ \* gvSIG\. Desktop Geographic Information System\.*$ |
|
3 |
^ \**$ |
|
4 |
^ \* Copyright \(C\) 20\d\d-20\d\d gvSIG Association\.*$ |
|
5 |
^ \**$ |
|
6 |
^ \* This program is free software; you can redistribute it and/or*$ |
|
7 |
^ \* modify it under the terms of the GNU General Public License*$ |
|
8 |
^ \* as published by the Free Software Foundation; either version 2*$ |
|
9 |
^ \* of the License, or \(at your option\) any later version\.*$ |
|
10 |
^ \**$ |
|
11 |
^ \* This program is distributed in the hope that it will be useful,*$ |
|
12 |
^ \* but WITHOUT ANY WARRANTY; without even the implied warranty of*$ |
|
13 |
^ \* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE\. See the*$ |
|
14 |
^ \* GNU General Public License for more details\.*$ |
|
15 |
^ \**$ |
|
16 |
^ \* You should have received a copy of the GNU General Public License*$ |
|
17 |
^ \* along with this program; if not, write to the Free Software*$ |
|
18 |
^ \* Foundation, Inc\., 51 Franklin Street, Fifth Floor, Boston,*$ |
|
19 |
^ \* MA 02110-1301, USA\.*$ |
|
20 |
^ \**$ |
|
21 |
^ \* For any additional information, do not hesitate to contact us |
|
22 |
^ \* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
^ \*/*$ |
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.tools/src/main/resources/checkstyle/checkstyle_gvsig.xml | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<!DOCTYPE module PUBLIC |
|
3 |
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" |
|
4 |
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> |
|
5 |
|
|
6 |
<!-- |
|
7 |
|
|
8 |
Checkstyle configuration that checks the sun coding conventions from: |
|
9 |
|
|
10 |
- the Java Language Specification at |
|
11 |
http://java.sun.com/docs/books/jls/second_edition/html/index.html |
|
12 |
|
|
13 |
- the Sun Code Conventions at http://java.sun.com/docs/codeconv/ |
|
14 |
|
|
15 |
- the Javadoc guidelines at |
|
16 |
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html |
|
17 |
|
|
18 |
- the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html |
|
19 |
|
|
20 |
- some best practices |
|
21 |
|
|
22 |
Checkstyle is very configurable. Be sure to read the documentation at |
|
23 |
http://checkstyle.sf.net (or in your downloaded distribution). |
|
24 |
|
|
25 |
Most Checks are configurable, be sure to consult the documentation. |
|
26 |
|
|
27 |
To completely disable a check, just comment it out or delete it from the file. |
|
28 |
|
|
29 |
Finally, it is worth reading the documentation. |
|
30 |
|
|
31 |
--> |
|
32 |
|
|
33 |
<module name="Checker"> |
|
34 |
<!-- |
|
35 |
If you set the basedir property below, then all reported file |
|
36 |
names will be relative to the specified directory. See |
|
37 |
http://checkstyle.sourceforge.net/5.x/config.html#Checker |
|
38 |
|
|
39 |
<property name="basedir" value="${basedir}"/> |
|
40 |
--> |
|
41 |
<!-- gvSIG: All project files have the ISO-8859-1 charset --> |
|
42 |
<property name="charset" value="ISO-8859-1" /> |
|
43 |
|
|
44 |
<!-- Checks that a package-info.java file exists for each package. --> |
|
45 |
<!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage --> |
|
46 |
<module name="JavadocPackage"> |
|
47 |
<property name="allowLegacy" value="true" /> |
|
48 |
</module> |
|
49 |
|
|
50 |
<!-- Checks whether files end with a new line. --> |
|
51 |
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile --> |
|
52 |
<module name="NewlineAtEndOfFile"/> |
|
53 |
|
|
54 |
<!-- Checks that property files contain the same keys. --> |
|
55 |
<!-- See http://checkstyle.sf.net/config_misc.html#Translation --> |
|
56 |
<module name="Translation"/> |
|
57 |
|
|
58 |
<!-- Checks for Size Violations. --> |
|
59 |
<!-- See http://checkstyle.sf.net/config_sizes.html --> |
|
60 |
<module name="FileLength"/> |
|
61 |
|
|
62 |
<!-- Checks for whitespace --> |
|
63 |
<!-- See http://checkstyle.sf.net/config_whitespace.html --> |
|
64 |
<module name="FileTabCharacter"/> |
|
65 |
|
|
66 |
|
|
67 |
<module name="TreeWalker"> |
|
68 |
|
|
69 |
<!-- Miscellaneous other checks. --> |
|
70 |
<!-- See http://checkstyle.sf.net/config_misc.html --> |
|
71 |
<!-- gvSIG: apply only to java files --> |
|
72 |
<module name="RegexpSinglelineJava"> |
|
73 |
<property name="format" value="\s+$"/> |
|
74 |
<property name="minimum" value="0"/> |
|
75 |
<property name="maximum" value="0"/> |
|
76 |
<property name="message" value="Line has trailing spaces."/> |
|
77 |
<property name="ignoreComments" value="true"/> |
|
78 |
</module> |
|
79 |
|
|
80 |
<!-- Checks for Javadoc comments. --> |
|
81 |
<!-- See http://checkstyle.sf.net/config_javadoc.html --> |
|
82 |
<!-- |
|
83 |
gvSIG rule 3: All protected or public classes must have a Javadoc comments, |
|
84 |
except getters and setters |
|
85 |
--> |
|
86 |
<module name="JavadocMethod"> |
|
87 |
<property name="scope" value="protected" /> |
|
88 |
<property name="allowMissingPropertyJavadoc" value="true" /> |
|
89 |
</module> |
|
90 |
<!-- |
|
91 |
gvSIG rule 9: All classes must have a Javadoc comment |
|
92 |
with the "@author tag" and the "@version $Id$" tag included |
|
93 |
--> |
|
94 |
<module name="JavadocType"> |
|
95 |
<property name="scope" value="private" /> |
|
96 |
<property name="authorFormat" value="\S" /> |
|
97 |
<property name="versionFormat" value="\$Id.*\$"/> |
|
98 |
</module> |
|
99 |
<module name="JavadocVariable"> |
|
100 |
<property name="scope" value="protected" /> |
|
101 |
</module> |
|
102 |
<!-- gvSIG rule 3: Check correctly formatted Javadoc --> |
|
103 |
<module name="JavadocStyle"> |
|
104 |
<property name="scope" value="protected" /> |
|
105 |
</module> |
|
106 |
|
|
107 |
|
|
108 |
<!-- Checks for Naming Conventions. --> |
|
109 |
<!-- See http://checkstyle.sf.net/config_naming.html --> |
|
110 |
<module name="ConstantName"/> |
|
111 |
<module name="LocalFinalVariableName"/> |
|
112 |
<module name="LocalVariableName"/> |
|
113 |
<module name="MemberName"/> |
|
114 |
<module name="MethodName"/> |
|
115 |
<!-- gvSIG rule 15: All packages must begin with org.gvsig. --> |
|
116 |
<module name="PackageName"> |
|
117 |
<property name="format" value="^org\.gvsig(\.[a-z][a-z0-9]*)+$" /> |
|
118 |
</module> |
|
119 |
<!-- gvSIG advised rule 1: Abstract class names must begin with Abstract. --> |
|
120 |
<!-- module name="AbstractClassName" /--> |
|
121 |
<module name="ParameterName"/> |
|
122 |
<module name="StaticVariableName"/> |
|
123 |
<module name="TypeName"/> |
|
124 |
|
|
125 |
<!-- Checks for imports --> |
|
126 |
<!-- See http://checkstyle.sf.net/config_import.html --> |
|
127 |
<module name="AvoidStarImport"/> |
|
128 |
<module name="IllegalImport"/> <!-- defaults to sun.* packages --> |
|
129 |
<module name="RedundantImport"/> |
|
130 |
<module name="UnusedImports"/> |
|
131 |
|
|
132 |
|
|
133 |
<!-- Checks for Size Violations. --> |
|
134 |
<!-- See http://checkstyle.sf.net/config_sizes.html --> |
|
135 |
<module name="LineLength"/> |
|
136 |
<module name="MethodLength"/> |
|
137 |
<module name="ParameterNumber"/> |
|
138 |
|
|
139 |
|
|
140 |
<!-- Checks for whitespace --> |
|
141 |
<!-- See http://checkstyle.sf.net/config_whitespace.html --> |
|
142 |
<module name="EmptyForIteratorPad"/> |
|
143 |
<module name="GenericWhitespace"/> |
|
144 |
<module name="MethodParamPad"/> |
|
145 |
<module name="NoWhitespaceAfter"/> |
|
146 |
<module name="NoWhitespaceBefore"/> |
|
147 |
<module name="OperatorWrap"/> |
|
148 |
<module name="ParenPad"/> |
|
149 |
<module name="TypecastParenPad"/> |
|
150 |
<module name="WhitespaceAfter"/> |
|
151 |
<module name="WhitespaceAround"/> |
|
152 |
|
|
153 |
|
|
154 |
<!-- Modifier Checks --> |
|
155 |
<!-- See http://checkstyle.sf.net/config_modifiers.html --> |
|
156 |
<module name="ModifierOrder"/> |
|
157 |
<module name="RedundantModifier"/> |
|
158 |
|
|
159 |
|
|
160 |
<!-- Checks for blocks. You know, those {}'s --> |
|
161 |
<!-- See http://checkstyle.sf.net/config_blocks.html --> |
|
162 |
<module name="AvoidNestedBlocks"/> |
|
163 |
<module name="EmptyBlock"/> |
|
164 |
<module name="LeftCurly"/> |
|
165 |
<module name="NeedBraces"/> |
|
166 |
<module name="RightCurly"/> |
|
167 |
|
|
168 |
|
|
169 |
<!-- Checks for common coding problems --> |
|
170 |
<!-- See http://checkstyle.sf.net/config_coding.html --> |
|
171 |
<module name="AvoidInlineConditionals"/> |
|
172 |
<module name="DoubleCheckedLocking"/> <!-- MY FAVOURITE --> |
|
173 |
<module name="EmptyStatement"/> |
|
174 |
<module name="EqualsHashCode"/> |
|
175 |
<module name="HiddenField"/> |
|
176 |
<module name="IllegalInstantiation"/> |
|
177 |
<module name="InnerAssignment"/> |
|
178 |
<module name="MagicNumber"/> |
|
179 |
<module name="MissingSwitchDefault"/> |
|
180 |
<module name="RedundantThrows"/> |
|
181 |
<module name="SimplifyBooleanExpression"/> |
|
182 |
<module name="SimplifyBooleanReturn"/> |
|
183 |
|
|
184 |
<!-- gvSIG: Check for some common programming errors --> |
|
185 |
<module name="CovariantEquals" /> |
|
186 |
<module name="StringLiteralEquality" /> |
|
187 |
|
|
188 |
<!-- Checks for class design --> |
|
189 |
<!-- See http://checkstyle.sf.net/config_design.html --> |
|
190 |
<module name="DesignForExtension"/> |
|
191 |
<module name="FinalClass"/> |
|
192 |
<module name="HideUtilityClassConstructor"/> |
|
193 |
<module name="InterfaceIsType"/> |
|
194 |
<module name="VisibilityModifier"/> |
|
195 |
|
|
196 |
|
|
197 |
<!-- Miscellaneous other checks. --> |
|
198 |
<!-- See http://checkstyle.sf.net/config_misc.html --> |
|
199 |
<module name="ArrayTypeStyle"/> |
|
200 |
<!-- gvSIG: removed --> |
|
201 |
<!-- module name="FinalParameters"/--> |
|
202 |
<module name="TodoComment"/> |
|
203 |
<module name="UpperEll"/> |
|
204 |
|
|
205 |
<!-- gvSIG rule 2: Sun style with 4 spaces --> |
|
206 |
<module name="Indentation"> |
|
207 |
<property name="basicOffset" value="4"/> |
|
208 |
<property name="caseIndent" value="0"/> |
|
209 |
</module> |
|
210 |
|
|
211 |
<!-- gvSIG rule 10: Do not use System.out/err to log --> |
|
212 |
<module name="Regexp"> |
|
213 |
<!-- . matches any character, so we need to escape it and use \. |
|
214 |
to match dots.--> |
|
215 |
<property name="format" value="System\.[out|err]\.println"/> |
|
216 |
<property name="illegalPattern" value="true"/> |
|
217 |
</module> |
|
218 |
|
|
219 |
<!-- gvSIG rule 11: Try to avoid catching Throwable or |
|
220 |
Exception and catch specific exceptions instead. --> |
|
221 |
<module name="IllegalCatch"/> |
|
222 |
|
|
223 |
<!-- gvSIG rule 13: Use interfaces in the declaration of |
|
224 |
methods and variables. |
|
225 |
By default only avoids usage of Classes: |
|
226 |
"java.util.GregorianCalendar, java.util.Hashtable, |
|
227 |
java.util.HashSet, java.util.HashMap, java.util.ArrayList, |
|
228 |
java.util.LinkedList, java.util.LinkedHashMap, |
|
229 |
java.util.LinkedHashSet, java.util.TreeSet, |
|
230 |
java.util.TreeMap, java.util.Vector" --> |
|
231 |
<module name="IllegalType"> |
|
232 |
<property name="ignoredMethodNames" value="getInstance"/> |
|
233 |
</module> |
|
234 |
|
|
235 |
</module> |
|
236 |
|
|
237 |
<!-- gvSIG rule 1: check for the gvSIG header --> |
|
238 |
<!-- Uneeded, use the maven-license-plugin instead |
|
239 |
<module name="RegexpHeader"> --> |
|
240 |
<!-- The follow property value demonstrates the ability --> |
|
241 |
<!-- to have access to ANT properties. In this case it uses --> |
|
242 |
<!-- the ${basedir} property to allow Checkstyle to be run --> |
|
243 |
<!-- from any directory within a project. See property --> |
|
244 |
<!-- expansion, --> |
|
245 |
<!-- http://checkstyle.sf.net/config.html#properties --> |
|
246 |
<!-- |
|
247 |
<property name="headerFile" value="${checkstyle.header.file}" /> |
|
248 |
</module> |
|
249 |
--> |
|
250 |
|
|
251 |
</module> |
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.tools/src/main/resources/assembly/native.xml | ||
---|---|---|
1 |
<assembly> |
|
2 |
<id>${native-classifier}</id> |
|
3 |
<formats> |
|
4 |
<format>tar.gz</format> |
|
5 |
</formats> |
|
6 |
<baseDirectory></baseDirectory> |
|
7 |
<fileSets> |
|
8 |
<fileSet> |
|
9 |
<directory>${project.build.directory}/target_cmake_product</directory> |
|
10 |
<includes> |
|
11 |
<include>**/**</include> |
|
12 |
</includes> |
|
13 |
<outputDirectory>/</outputDirectory> |
|
14 |
</fileSet> |
|
15 |
</fileSets> |
|
16 |
</assembly> |
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.tools/src/main/resources/ant/depman-ant.xml | ||
---|---|---|
1 |
<project name="Native Build System" default="native" basedir="."> |
|
2 |
|
|
3 |
<import file="utilities.xml" /> |
|
4 |
|
|
5 |
<target name="generate"> |
|
6 |
<cmake args="-DCMAKE_INSTALL_PREFIX='${project.build.directory}/target_cmake_product'" /> |
|
7 |
</target> |
|
8 |
|
|
9 |
<target name="build"> |
|
10 |
<make-install numProc="${numProc}" /> |
|
11 |
</target> |
|
12 |
|
|
13 |
<target name="native" depends="build" /> |
|
14 |
|
|
15 |
<target name="native-eclipse" depends="generate" /> |
|
16 |
|
|
17 |
</project> |
|
18 |
|
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.tools/src/main/resources/ant/utilities.xml | ||
---|---|---|
1 |
<project name="ant_libs"> |
|
2 |
<dirname file="${ant.file.ant_libs}" property="ant.file.ant_libs.dir"/> |
|
3 |
|
|
4 |
<!-- |
|
5 |
==================================== |
|
6 |
Compilation base properties |
|
7 |
==================================== |
|
8 |
--> |
|
9 |
<property name="JUNIT_HOME" location="${ant.file.ant_libs.dir}" /> |
|
10 |
<property name="JavaSourceVersion" value="1.5"/> |
|
11 |
<property name="JavaTargetVersion" value="1.5"/> |
|
12 |
<property name="debug" value="on"/> |
|
13 |
<property name="debuglevel" value="lines, vars, source"/> |
|
14 |
<property name="encoding" value="ISO_8859_1"/> |
|
15 |
<property name="workspaceDir" location="${ant.file.ant_libs.dir}/../.."/> |
|
16 |
<property name="workspace_loc" location="${workspaceDir}"/> |
|
17 |
<property name="binaries_loc" location="${workspace_loc}/binaries"/> |
|
18 |
<property name="dependencies_loc" location="${binaries_loc}/dependencies"/> |
|
19 |
<property name="lib_loc" location="${binaries_loc}/lib"/> |
|
20 |
<property name="unixOS" value="Linux,SunOS,Solaris,Mac OS X" /> |
|
21 |
|
|
22 |
|
|
23 |
<!-- Macros to call the usual maven 2 goals from ant --> |
|
24 |
<macrodef name="mvn"> |
|
25 |
<attribute name="arg" /> |
|
26 |
<sequential> |
|
27 |
<exec executable="${workspaceDir}/build/maven/bin/mvn" failonerror="true" os="${unixOS}"> |
|
28 |
<arg line="@{arg}"/> |
|
29 |
</exec> |
|
30 |
<exec executable="cmd" os="windows"> |
|
31 |
<arg value="/c"/> |
|
32 |
<arg value="${workspaceDir}/build/maven/bin/mvn.bat"/> |
|
33 |
<arg value="@{arg}"/> |
|
34 |
</exec> |
|
35 |
</sequential> |
|
36 |
</macrodef> |
|
37 |
|
|
38 |
<macrodef name="mvn-clean"> |
|
39 |
<sequential> |
|
40 |
<mvn arg="clean"/> |
|
41 |
</sequential> |
|
42 |
</macrodef> |
|
43 |
|
|
44 |
<macrodef name="mvn-compile"> |
|
45 |
<sequential> |
|
46 |
<mvn arg="compile"/> |
|
47 |
</sequential> |
|
48 |
</macrodef> |
|
49 |
|
|
50 |
<macrodef name="mvn-install"> |
|
51 |
<attribute name="tofile" /> |
|
52 |
<attribute name="mvnJarName"/> |
|
53 |
<attribute name="disable-tests" default="false" /> |
|
54 |
<sequential> |
|
55 |
<mvn arg="install"/> |
|
56 |
<copy tofile="@{tofile}" file="target/@{mvnJarName}"/> |
|
57 |
</sequential> |
|
58 |
</macrodef> |
|
59 |
|
|
60 |
<macrodef name="mvn-install-no-tests"> |
|
61 |
<attribute name="tofile" /> |
|
62 |
<attribute name="mvnJarName"/> |
|
63 |
<attribute name="disable-tests" default="false" /> |
|
64 |
<sequential> |
|
65 |
<mvn arg="-Dmaven.test.skip=true install"/> |
|
66 |
<copy tofile="@{tofile}" file="target/@{mvnJarName}"/> |
|
67 |
</sequential> |
|
68 |
</macrodef> |
|
69 |
|
|
70 |
<macrodef name="mvn-javadoc"> |
|
71 |
<sequential> |
|
72 |
<mvn arg="javadoc:javadoc"/> |
|
73 |
</sequential> |
|
74 |
</macrodef> |
|
75 |
|
|
76 |
|
|
77 |
<!-- Macros to call the usual cmake goals from ant --> |
|
78 |
<property name="target" value="target/target_cmake"/> |
|
79 |
<property name="cmakeExe" value="cmake"/> |
|
80 |
<property name="buildman.executable" location="${workspaceDir}/build/buildman/bin/bmn.py" /> |
|
81 |
|
|
82 |
<macrodef name="cmake"> |
|
83 |
<attribute name="install-dependencies" default="OFF"/> |
|
84 |
<attribute name="cmake-build-type" default="Release"/> |
|
85 |
<attribute name="args" default=""/> |
|
86 |
<sequential> |
|
87 |
<mkdir dir="${target}" /> |
|
88 |
<delete file="${target}/CMakeCache.txt"/> |
|
89 |
<exec dir="${target}" executable="${cmakeExe}" failonerror="true" os="${unixOS}"> |
|
90 |
<arg value="-GUnix Makefiles" /> |
|
91 |
<arg value="-DCMAKE_BUILD_TYPE=@{cmake-build-type}" /> |
|
92 |
<arg value="-DINSTALL_DEPENDENCIES=@{install-dependencies}"/> |
|
93 |
<arg line="@{args}"/> |
|
94 |
<arg value="../../" /> |
|
95 |
</exec> |
|
96 |
<exec dir="${target}" executable="${cmakeExe}" failonerror="true" osfamily="windows"> |
|
97 |
<arg value="-GNMake Makefiles" /> |
|
98 |
<arg value="-DCMAKE_BUILD_TYPE=@{cmake-build-type}" /> |
|
99 |
<arg value="-DINSTALL_DEPENDENCIES=@{install-dependencies}"/> |
|
100 |
<arg line="@{args}"/> |
|
101 |
<arg value="..\\..\\" /> |
|
102 |
</exec> |
|
103 |
</sequential> |
|
104 |
</macrodef> |
|
105 |
|
|
106 |
<macrodef name="make-install"> |
|
107 |
<attribute name="numProc" default="2"/> |
|
108 |
<sequential> |
|
109 |
<exec dir="${target}" executable="make" failonerror="true" os="${unixOS}"> |
|
110 |
<arg value="-j@{numProc}"/> |
|
111 |
<arg value="install"/> |
|
112 |
</exec> |
|
113 |
<exec dir="${target}" executable="nmake" failonerror="true" osfamily="windows"> |
|
114 |
<arg value="install"/> |
|
115 |
</exec> |
|
116 |
</sequential> |
|
117 |
</macrodef> |
|
118 |
<macrodef name="buildman"> |
|
119 |
<attribute name="goal"/> |
|
120 |
<attribute name="args" default=""/> |
|
121 |
<sequential> |
|
122 |
<exec executable="python" failonerror="true" > |
|
123 |
<arg value="${buildman.executable}" /> |
|
124 |
<arg value="@{goal}" /> |
|
125 |
<arg line="@{args}" /> |
|
126 |
</exec> |
|
127 |
</sequential> |
|
128 |
</macrodef> |
|
129 |
</project> |
|
130 |
|
|
131 |
|
|
132 |
|
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.tools/src/main/resources/ant/gvsig-extension-tasks.xml | ||
---|---|---|
1 |
<project name="gvSIG-extension-tasks" default="make-extension-new"> |
|
2 |
<description> |
|
3 |
Ant tasks for extension installation |
|
4 |
</description> |
|
5 |
|
|
6 |
<!-- gvSIG extension targets --> |
|
7 |
<condition property="isJar"> |
|
8 |
<equals arg1="${project.packaging}" arg2="jar" /> |
|
9 |
</condition> |
|
10 |
|
|
11 |
<target name="check-file" if="isJar"> |
|
12 |
<available file="target/${distribution-final-name}-distribution/${distribution-final-name}" type="dir" |
|
13 |
property="distribution.present"/> |
|
14 |
|
|
15 |
</target> |
|
16 |
|
|
17 |
<target name="make-extension-new" if="distribution.present" depends="check-file"> |
|
18 |
<echo message="======================== Copying extension files to extensions dir..." /> |
|
19 |
<copy todir="${gvsig.install.dir}"> |
|
20 |
<fileset dir="target/${distribution-final-name}-distribution/${distribution-final-name}" includes="**/**" /> |
|
21 |
</copy> |
|
22 |
</target> |
|
23 |
</project> |
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.tools/src/main/resources/gvsig.header | ||
---|---|---|
1 |
gvSIG. Desktop Geographic Information System. |
|
2 |
|
|
3 |
Copyright (C) 2007-2012 gvSIG Association. |
|
4 |
|
|
5 |
This program is free software; you can redistribute it and/or |
|
6 |
modify it under the terms of the GNU General Public License |
|
7 |
as published by the Free Software Foundation; either version 2 |
|
8 |
of the License, or (at your option) any later version. |
|
9 |
|
|
10 |
This program is distributed in the hope that it will be useful, |
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
GNU General Public License for more details. |
|
14 |
|
|
15 |
You should have received a copy of the GNU General Public License |
|
16 |
along with this program; if not, write to the Free Software |
|
17 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
MA 02110-1301, USA. |
|
19 |
|
|
20 |
For any additional information, do not hesitate to contact us |
|
21 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.tools/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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
4 |
|
|
5 |
<modelVersion>4.0.0</modelVersion> |
|
6 |
<artifactId>org.gvsig.maven.base.tools</artifactId> |
|
7 |
<packaging>jar</packaging> |
|
8 |
<name>org.gvsig.maven.base.tools</name> |
|
9 |
<description>Maven build utilities for gvSIG</description> |
|
10 |
<parent> |
|
11 |
<groupId>org.gvsig</groupId> |
|
12 |
<artifactId>org.gvsig.maven.base</artifactId> |
|
13 |
<version>1.0.9</version> |
|
14 |
</parent> |
|
15 |
</project> |
|
16 |
|
|
17 |
|
|
0 | 18 |
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.extension.pom/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
|
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.maven.base.extension.pom</artifactId> |
|
6 |
<packaging>pom</packaging> |
|
7 |
<name>org.gvsig.maven.base.extension.pom</name> |
|
8 |
<description> Base POM for all GvSIG extension projects. This pom knows |
|
9 |
how to build and made an extension for GvSIG. The property |
|
10 |
"build-dir" must be set up correctly.</description> |
|
11 |
|
|
12 |
<parent> |
|
13 |
<groupId>org.gvsig</groupId> |
|
14 |
<artifactId>org.gvsig.maven.base.pom</artifactId> |
|
15 |
<version>1.0.9</version> |
|
16 |
</parent> |
|
17 |
<properties> |
|
18 |
<!-- Name of the folder where andami looks for plugins --> |
|
19 |
<extensions.dir.name>gvSIG/extensiones</extensions.dir.name> |
|
20 |
<!-- Name of the folder where andami can find the plugin for the |
|
21 |
current extension --> |
|
22 |
<extension.install.dir.name>${extensions.dir.name}/${project.artifactId}</extension.install.dir.name> |
|
23 |
<!-- Name of the folder where andami can find the plugin for the |
|
24 |
appgvSIG extensions --> |
|
25 |
<gvsig.extension.install.dir.name>${extensions.dir.name}/org.gvsig.app/</gvsig.extension.install.dir.name> |
|
26 |
|
|
27 |
<!-- Absolute gvSIG extensions installation folder --> |
|
28 |
<gvsig.extensions.dir>${gvsig.install.dir}/${extensions.dir.name}</gvsig.extensions.dir> |
|
29 |
<!-- Absolute current extension installation folder into gvSIG --> |
|
30 |
<extension.install.dir>${gvsig.install.dir}/${extension.install.dir.name}</extension.install.dir> |
|
31 |
<!-- Maven assembly plugin configuration file for the current extension, |
|
32 |
relative to the extension folder. --> |
|
33 |
<extension.distribution.file> |
|
34 |
distribution/distribution.xml |
|
35 |
</extension.distribution.file> |
|
36 |
<!-- Extension installation library dependencies folder --> |
|
37 |
<library-dir>lib</library-dir> |
|
38 |
<!-- Package info property values --> |
|
39 |
<package.info.state>devel</package.info.state> |
|
40 |
<package.info.official>true</package.info.official> |
|
41 |
<package.info.operatingSystem>all</package.info.operatingSystem> |
|
42 |
<package.info.architecture>all</package.info.architecture> |
|
43 |
<package.info.javaVM>j1_5</package.info.javaVM> |
|
44 |
<package.info.gvSIGVersion>2.0.0</package.info.gvSIGVersion> |
|
45 |
<package.info.baseDownloadURL>../../pool/${pom.artifactId}</package.info.baseDownloadURL> |
|
46 |
<package.info.dependencies /> |
|
47 |
<package.info.owner>gvSIG Association</package.info.owner> |
|
48 |
<package.info.sourcesURL>${project.scm.url}</package.info.sourcesURL> |
|
49 |
<package.info.webURL>http://www.gvsig.com</package.info.webURL> |
|
50 |
<package.info.categories /> |
|
51 |
</properties> |
|
52 |
|
|
53 |
<profiles> |
|
54 |
<profile> |
|
55 |
<id>install-extension</id> |
|
56 |
<activation> |
|
57 |
<activeByDefault>true</activeByDefault> |
|
58 |
<property> |
|
59 |
<name>install-extension</name> |
|
60 |
</property> |
|
61 |
</activation> |
|
62 |
<build> |
|
63 |
<plugins> |
|
64 |
<!-- This plugin configuration is duplicated in the create-installer |
|
65 |
profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven |
|
66 |
plugin --> |
|
67 |
<plugin> |
|
68 |
<artifactId>maven-assembly-plugin |
|
69 |
</artifactId> |
|
70 |
<configuration> |
|
71 |
<descriptors> |
|
72 |
<descriptor>${extension.distribution.file}</descriptor> |
|
73 |
</descriptors> |
|
74 |
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions> |
|
75 |
<appendAssemblyId>true</appendAssemblyId> |
|
76 |
</configuration> |
|
77 |
<executions> |
|
78 |
<execution> |
|
79 |
<id>make-assembly</id><!-- this is used for |
|
80 |
inheritance merges --> |
|
81 |
<phase>install</phase><!-- append to the |
|
82 |
packaging phase. --> |
|
83 |
<goals> |
|
84 |
<goal>attached</goal> |
|
85 |
</goals> |
|
86 |
</execution> |
|
87 |
</executions> |
|
88 |
</plugin> |
|
89 |
<!-- This plugin configuration is duplicated in the create-installer |
|
90 |
profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven |
|
91 |
plugin --> |
|
92 |
<plugin> |
|
93 |
<artifactId>maven-antrun-plugin</artifactId> |
|
94 |
<executions> |
|
95 |
<execution> |
|
96 |
<id>copy-to-andami</id> |
|
97 |
<phase>install</phase> |
|
98 |
<configuration> |
|
99 |
<tasks> |
|
100 |
<property name="project.packaging" value="${project.packaging}" /> |
|
101 |
<property name="gvsig.install.dir" value="${gvsig.install.dir}" /> |
|
102 |
<property name="distribution-final-name" value="${project.build.finalName}" /> |
|
103 |
<ant antfile="${base.tools.path}/ant/gvsig-extension-tasks.xml" target="make-extension-new" inheritRefs="true" /> |
|
104 |
</tasks> |
|
105 |
</configuration> |
|
106 |
<goals> |
|
107 |
<goal>run</goal> |
|
108 |
</goals> |
|
109 |
</execution> |
|
110 |
</executions> |
|
111 |
</plugin> |
|
112 |
<plugin> |
|
113 |
<artifactId>maven-clean-plugin</artifactId> |
|
114 |
<configuration> |
|
115 |
<filesets> |
|
116 |
<fileset> |
|
117 |
<directory>${extension.install.dir}</directory> |
|
118 |
<includes> |
|
119 |
<include>**</include> |
|
120 |
</includes> |
|
121 |
</fileset> |
|
122 |
</filesets> |
|
123 |
</configuration> |
|
124 |
</plugin> |
|
125 |
<plugin> |
|
126 |
<groupId>org.codehaus.mojo</groupId> |
|
127 |
<artifactId>properties-maven-plugin</artifactId> |
|
128 |
<version>1.0-alpha-2</version> |
|
129 |
<executions> |
|
130 |
<execution> |
|
131 |
<phase>initialize</phase> |
|
132 |
<goals> |
|
133 |
<goal>read-project-properties</goal> |
|
134 |
</goals> |
|
135 |
<configuration> |
|
136 |
<files> |
|
137 |
<file>buildNumber.properties</file> |
|
138 |
</files> |
|
139 |
</configuration> |
|
140 |
</execution> |
|
141 |
</executions> |
|
142 |
</plugin> |
|
143 |
<!-- Create the package.info file for the plugin and |
|
144 |
installer info in the compile phase. --> |
|
145 |
<plugin> |
|
146 |
<groupId>org.gvsig</groupId> |
|
147 |
<artifactId>org.gvsig.installer.maven</artifactId> |
|
148 |
<configuration> |
|
149 |
<pluginsFolder>${gvsig.install.dir}/gvSIG/extensiones</pluginsFolder> |
|
150 |
<packageFolder>${gvsig.install.dir}/install/pool/${project.artifactId}</packageFolder> |
|
151 |
<buildNumber>${buildNumber}</buildNumber> |
|
152 |
<state>${package.info.state}</state> |
|
153 |
<official>${package.info.official}</official> |
|
154 |
<operatingSystem>${package.info.operatingSystem}</operatingSystem> |
|
155 |
<architecture>${package.info.architecture}</architecture> |
|
156 |
<javaVM>${package.info.javaVM}</javaVM> |
|
157 |
<gvSIGVersion>${package.info.gvSIGVersion}</gvSIGVersion> |
|
158 |
<baseDownloadURL>${package.info.baseDownloadURL}</baseDownloadURL> |
|
159 |
<pkgdependencies>${package.info.dependencies}</pkgdependencies> |
|
160 |
<owner>${package.info.owner}</owner> |
|
161 |
<sourcesURL>${package.info.sourcesURL}</sourcesURL> |
|
162 |
<webURL>${package.info.webURL}</webURL> |
|
163 |
<categories>${package.info.categories}</categories> |
|
164 |
</configuration> |
|
165 |
<executions> |
|
166 |
<execution> |
|
167 |
<id>write-info</id> |
|
168 |
<phase>compile</phase> |
|
169 |
<goals> |
|
170 |
<goal>write-info</goal> |
|
171 |
</goals> |
|
172 |
</execution> |
|
173 |
</executions> |
|
174 |
</plugin> |
|
175 |
</plugins> |
|
176 |
</build> |
|
177 |
</profile> |
|
178 |
<profile> |
|
179 |
<id>create-installer</id> |
|
180 |
<build> |
|
181 |
<plugins> |
|
182 |
<plugin> |
|
183 |
<groupId>org.codehaus.mojo</groupId> |
|
184 |
<artifactId>buildnumber-maven-plugin</artifactId> |
|
185 |
<version>1.0-beta-2</version> |
|
186 |
<executions> |
|
187 |
<execution> |
|
188 |
<phase>validate</phase> |
|
189 |
<goals> |
|
190 |
<goal>create</goal> |
|
191 |
</goals> |
|
192 |
</execution> |
|
193 |
</executions> |
|
194 |
<configuration> |
|
195 |
<format>{0,number,#}</format> |
|
196 |
<items> |
|
197 |
<item>buildNumber</item> |
|
198 |
</items> |
|
199 |
<doCheck>false</doCheck> |
|
200 |
<doUpdate>false</doUpdate> |
|
201 |
</configuration> |
|
202 |
</plugin> |
|
203 |
<!-- This plugin configuration is duplicated in the install-extension |
|
204 |
profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven |
|
205 |
plugin --> |
|
206 |
<plugin> |
|
207 |
<artifactId>maven-assembly-plugin |
|
208 |
</artifactId> |
|
209 |
<configuration> |
|
210 |
<descriptors> |
|
211 |
<descriptor>${extension.distribution.file}</descriptor> |
|
212 |
</descriptors> |
|
213 |
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions> |
|
214 |
<appendAssemblyId>true</appendAssemblyId> |
|
215 |
</configuration> |
|
216 |
<executions> |
|
217 |
<execution> |
|
218 |
<id>make-assembly</id><!-- this is used for |
|
219 |
inheritance merges --> |
|
220 |
<phase>install</phase><!-- append to the |
|
221 |
packaging phase. --> |
|
222 |
<goals> |
|
223 |
<goal>attached</goal> |
|
224 |
</goals> |
|
225 |
</execution> |
|
226 |
</executions> |
|
227 |
</plugin> |
|
228 |
<!-- This plugin configuration is duplicated in the install-extension |
|
229 |
profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven |
|
230 |
plugin --> |
|
231 |
<plugin> |
|
232 |
<artifactId>maven-antrun-plugin</artifactId> |
|
233 |
<executions> |
|
234 |
<execution> |
|
235 |
<id>copy-to-andami</id> |
|
236 |
<phase>install</phase> |
|
237 |
<configuration> |
|
238 |
<tasks> |
|
239 |
<property name="project.packaging" value="${project.packaging}" /> |
|
240 |
<property name="gvsig.install.dir" value="${gvsig.install.dir}" /> |
|
241 |
<property name="distribution-final-name" value="${project.build.finalName}" /> |
|
242 |
<ant antfile="${base.tools.path}/ant/gvsig-extension-tasks.xml" target="make-extension-new" inheritRefs="true" /> |
|
243 |
</tasks> |
|
244 |
</configuration> |
|
245 |
<goals> |
|
246 |
<goal>run</goal> |
|
247 |
</goals> |
|
248 |
</execution> |
|
249 |
</executions> |
|
250 |
</plugin> |
|
251 |
<!-- Create the package.info file for the plugin and |
|
252 |
installer info in the compile phase, and create the plugin installer in the |
|
253 |
install phase. --> |
|
254 |
<plugin> |
|
255 |
<groupId>org.gvsig</groupId> |
|
256 |
<artifactId>org.gvsig.installer.maven</artifactId> |
|
257 |
<configuration> |
|
258 |
<pluginsFolder>${gvsig.install.dir}/gvSIG/extensiones</pluginsFolder> |
|
259 |
<packageFolder>${gvsig.install.dir}/install/pool/${project.artifactId}</packageFolder> |
|
260 |
<buildNumber>${buildNumber}</buildNumber> |
|
261 |
<state>${package.info.state}</state> |
|
262 |
<official>${package.info.official}</official> |
|
263 |
<operatingSystem>${package.info.operatingSystem}</operatingSystem> |
|
264 |
<architecture>${package.info.architecture}</architecture> |
|
265 |
<javaVM>${package.info.javaVM}</javaVM> |
|
266 |
<gvSIGVersion>${package.info.gvSIGVersion}</gvSIGVersion> |
|
267 |
<baseDownloadURL>${package.info.baseDownloadURL}</baseDownloadURL> |
|
268 |
<pkgdependencies>${package.info.dependencies}</pkgdependencies> |
|
269 |
<owner>${package.info.owner}</owner> |
|
270 |
<sourcesURL>${package.info.sourcesURL}</sourcesURL> |
|
271 |
<webURL>${package.info.webURL}</webURL> |
|
272 |
</configuration> |
|
273 |
<executions> |
|
274 |
<execution> |
|
275 |
<id>write-info</id> |
|
276 |
<phase>compile</phase> |
|
277 |
<goals> |
|
278 |
<goal>write-info</goal> |
|
279 |
</goals> |
|
280 |
</execution> |
|
281 |
<execution> |
|
282 |
<id>create-plugin-package</id> |
|
283 |
<phase>install</phase> |
|
284 |
<goals> |
|
285 |
<goal>create-package</goal> |
|
286 |
</goals> |
|
287 |
</execution> |
|
288 |
<execution> |
|
289 |
<id>create-plugin-package-index</id> |
|
290 |
<phase>install</phase> |
|
291 |
<goals> |
|
292 |
<goal>create-package-index</goal> |
|
293 |
</goals> |
|
294 |
</execution> |
|
295 |
</executions> |
|
296 |
</plugin> |
|
297 |
</plugins> |
|
298 |
</build> |
|
299 |
</profile> |
|
300 |
</profiles> |
|
301 |
</project> |
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.extension.pom/distribution/distribution.xml | ||
---|---|---|
1 |
<assembly> |
|
2 |
<id>distribution</id> |
|
3 |
</assembly> |
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.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 |
org.gvsig.maven.base/tags/1.0.9/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
3 |
<modelVersion>4.0.0</modelVersion> |
|
4 |
<groupId>org.gvsig</groupId> |
|
5 |
<artifactId>org.gvsig.maven.base</artifactId> |
|
6 |
<packaging>pom</packaging> |
|
7 |
|
|
8 |
<version>1.0.9</version> |
|
9 |
<name>org.gvsig.maven.base</name> |
|
10 |
<description>gvSIG maven configuration and base poms</description> |
|
11 |
<licenses> |
|
12 |
<license> |
|
13 |
<name>GPL Version 2</name> |
|
14 |
<url>http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt</url> |
|
15 |
<distribution>repo</distribution> |
|
16 |
<comments> |
|
17 |
"GPL" stands for "General Public License". The most widespread such |
|
18 |
license is the GNU General Public License, or GNU GPL for short. |
|
19 |
This can be further shortened to "GPL", when it is understood that |
|
20 |
the GNU GPL is the one intended. |
|
21 |
</comments> |
|
22 |
</license> |
|
23 |
</licenses> |
|
24 |
<organization> |
|
25 |
<name>gvSIG</name> |
|
26 |
<url>http://www.gvsig.org/</url> |
|
27 |
</organization> |
|
28 |
<scm> |
|
29 |
<connection> |
|
30 |
scm:svn:https://devel.gvsig.org/svn/gvsig-tools/org.gvsig.maven.base/tags/1.0.9 |
|
31 |
</connection> |
|
32 |
<developerConnection> |
|
33 |
scm:svn:https://devel.gvsig.org/svn/gvsig-tools/org.gvsig.maven.base/tags/1.0.9 |
|
34 |
</developerConnection> |
|
35 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-tools/repository/show/org.gvsig.maven.base/tags/1.0.9</url> |
|
36 |
</scm> |
|
37 |
<repositories> |
|
38 |
<repository> |
|
39 |
<id>gvsig-public-http-repository</id> |
|
40 |
<name>gvSIG maven public HTTP repository</name> |
|
41 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
42 |
<releases> |
|
43 |
<enabled>true</enabled> |
|
44 |
<updatePolicy>daily</updatePolicy> |
|
45 |
<checksumPolicy>warn</checksumPolicy> |
|
46 |
</releases> |
|
47 |
<snapshots> |
|
48 |
<enabled>true</enabled> |
|
49 |
<updatePolicy>interval:30</updatePolicy> |
|
50 |
<checksumPolicy>warn</checksumPolicy> |
|
51 |
</snapshots> |
|
52 |
</repository> |
|
53 |
<repository> |
|
54 |
<id>osgeo</id> |
|
55 |
<name>Open Source Geospatial Foundation</name> |
|
56 |
<url>http://download.osgeo.org/webdav/geotools</url> |
|
57 |
<releases> |
|
58 |
<enabled>true</enabled> |
|
59 |
<updatePolicy>never</updatePolicy> |
|
60 |
<checksumPolicy>warn</checksumPolicy> |
|
61 |
</releases> |
|
62 |
<snapshots> |
|
63 |
<enabled>false</enabled> |
|
64 |
</snapshots> |
|
65 |
</repository> |
|
66 |
</repositories> |
|
67 |
<pluginRepositories> |
|
68 |
<pluginRepository> |
|
69 |
<id>gvsig-public-http-repository</id> |
|
70 |
<name>gvSIG maven public HTTP repository</name> |
|
71 |
<url>http://devel.gvsig.org/m2repo/j2se</url> |
|
72 |
<releases> |
|
73 |
<enabled>true</enabled> |
|
74 |
<updatePolicy>daily</updatePolicy> |
|
75 |
<checksumPolicy>warn</checksumPolicy> |
|
76 |
</releases> |
|
77 |
<snapshots> |
|
78 |
<enabled>true</enabled> |
|
79 |
<updatePolicy>interval:30</updatePolicy> |
|
80 |
<checksumPolicy>warn</checksumPolicy> |
|
81 |
</snapshots> |
|
82 |
</pluginRepository> |
|
83 |
</pluginRepositories> |
|
84 |
<distributionManagement> |
|
85 |
<repository> |
|
86 |
<id>gvsig-repository</id> |
|
87 |
<name>gvSIG maven repository</name> |
|
88 |
<url>dav:https://devel.gvsig.org/m2repo/j2se</url> |
|
89 |
<uniqueVersion>false</uniqueVersion> |
|
90 |
</repository> |
|
91 |
<snapshotRepository> |
|
92 |
<id>gvsig-repository</id> |
|
93 |
<name>gvSIG maven repository</name> |
|
94 |
<url>dav:https://devel.gvsig.org/m2repo/j2se</url> |
|
95 |
<uniqueVersion>false</uniqueVersion> |
|
96 |
</snapshotRepository> |
|
97 |
</distributionManagement> |
|
98 |
<build> |
|
99 |
<extensions> |
|
100 |
<extension> |
|
101 |
<groupId>org.apache.maven.wagon</groupId> |
|
102 |
<artifactId>wagon-webdav-jackrabbit</artifactId> |
|
103 |
<version>1.0-beta-7</version> |
|
104 |
</extension> |
|
105 |
</extensions> |
|
106 |
<plugins> |
|
107 |
<plugin> |
|
108 |
<groupId>org.apache.maven.plugins</groupId> |
|
109 |
<artifactId>maven-resources-plugin</artifactId> |
|
110 |
<version>2.5</version> |
|
111 |
<configuration> |
|
112 |
<encoding>ISO-8859-1</encoding> |
|
113 |
</configuration> |
|
114 |
</plugin> |
|
115 |
<plugin> |
|
116 |
<groupId>org.apache.maven.plugins</groupId> |
|
117 |
<artifactId>maven-release-plugin</artifactId> |
|
118 |
<version>2.0</version> |
|
119 |
<configuration> |
|
120 |
<tagBase>https://devel.gvsig.org/svn/gvsig-tools/org.gvsig.maven.base/tags</tagBase> |
|
121 |
</configuration> |
|
122 |
</plugin> |
|
123 |
</plugins> |
|
124 |
</build> |
|
125 |
<profiles> |
|
126 |
<profile> |
|
127 |
<id>cdc</id> |
|
128 |
<activation> |
|
129 |
<activeByDefault>false</activeByDefault> |
|
130 |
</activation> |
|
131 |
<dependencies> |
|
132 |
<!-- <dependency> <groupId>com.sun.phoneme</groupId> <artifactId>btclasses</artifactId> |
|
133 |
<version>bn102</version> <type>zip</type> </dependency> <dependency> <groupId>com.sun.phoneme</groupId> |
|
134 |
<artifactId>rt</artifactId> <version>bn102</version> </dependency> <dependency> |
|
135 |
<groupId>org.gvsig.mobile</groupId> <artifactId>cdc-addons</artifactId> <version>1.0-SNAPSHOT</version> |
|
136 |
</dependency> --> |
|
137 |
</dependencies> |
|
138 |
<build> |
|
139 |
<!-- finalName>${project.artifactId}.cdc-${project.version}-${buildnumber}</finalName --> |
|
140 |
<!--finalName>${project.artifactId}-cdc-${project.version}</finalName --> |
|
141 |
<plugins> |
|
142 |
<plugin> |
|
143 |
<groupId>org.apache.maven.plugins</groupId> |
|
144 |
<artifactId>maven-compiler-plugin</artifactId> |
|
145 |
<configuration> |
|
146 |
<source>1.4</source> |
|
147 |
<target>1.4</target> |
|
148 |
<compilerArguments> |
|
149 |
<bootclasspath>${cdc-runtime}</bootclasspath> |
|
150 |
</compilerArguments> |
|
151 |
</configuration> |
|
152 |
</plugin> |
|
153 |
</plugins> |
|
154 |
</build> |
|
155 |
<repositories> |
|
156 |
<repository> |
|
157 |
<id>gvsig-public-http-repository</id> |
|
158 |
<name>gvSIG maven public HTTP repository</name> |
|
159 |
<url>http://devel.gvsig.org/m2repo/j2me</url> |
|
160 |
</repository> |
|
161 |
</repositories> |
|
162 |
<distributionManagement> |
|
163 |
<repository> |
|
164 |
<id>gvsig-repository</id> |
|
165 |
<name>gvSIG maven repository</name> |
|
166 |
<url>dav:https://devel.gvsig.org/m2repo/j2me</url> |
|
167 |
<uniqueVersion>false</uniqueVersion> |
|
168 |
</repository> |
|
169 |
<snapshotRepository> |
|
170 |
<id>gvsig-repository</id> |
|
171 |
<name>gvSIG maven repository</name> |
|
172 |
<url>dav:https://devel.gvsig.org/m2repo/j2me</url> |
|
173 |
<uniqueVersion>false</uniqueVersion> |
|
174 |
</snapshotRepository> |
|
175 |
</distributionManagement> |
|
176 |
</profile> |
|
177 |
</profiles> |
|
178 |
<properties> |
|
179 |
<cdc-runtime>${localRepository}/com/sun/phoneme/btclasses/bn102/btclasses-bn102.zip${path.separator}${localRepository}/com/sun/phonemert/bn102/rt-bn102.jar${path.separator}${localRepository}/org/gvsig/mobile/cdc-addons/1.0-SNAPSHOT/cdc-addons-1.0-SNAPSHOT.jar</cdc-runtime> |
|
180 |
</properties> |
|
181 |
<modules> |
|
182 |
<module>org.gvsig.maven.base.tools</module> |
|
183 |
<module>org.gvsig.maven.base.pom</module> |
|
184 |
<module>org.gvsig.maven.base.extension.pom</module> |
|
185 |
<module>org.gvsig.maven.base.jni.pom</module> |
|
186 |
<module>org.gvsig.maven.base.build</module> |
|
187 |
</modules> |
|
188 |
</project> |
|
189 |
|
|
190 |
|
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.jni.pom/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
|
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.maven.base.jni.pom</artifactId> |
|
6 |
<packaging>pom</packaging> |
|
7 |
<name>org.gvsig.maven.base.jni.pom</name> |
|
8 |
<parent> |
|
9 |
<groupId>org.gvsig</groupId> |
|
10 |
<artifactId>org.gvsig.maven.base.pom</artifactId> |
|
11 |
<version>1.0.9</version> |
|
12 |
</parent> |
|
13 |
|
|
14 |
<description> |
|
15 |
Base POM for all JNI projects. This pom knows how to |
|
16 |
build and made an native libraries for GvSIG. |
|
17 |
</description> |
|
18 |
<profiles> |
|
19 |
<profile> |
|
20 |
<id>jni-devel</id> |
|
21 |
<activation> |
|
22 |
<property> |
|
23 |
<name>jni-devel</name> |
|
24 |
</property> |
|
25 |
</activation> |
|
26 |
<properties> |
|
27 |
<compileTarget>native</compileTarget> |
|
28 |
<numProc>2</numProc> |
|
29 |
<depman-ant>${base.tools.path}/ant/depman-ant.xml</depman-ant> |
|
30 |
</properties> |
|
31 |
<build> |
|
32 |
<plugins> |
|
33 |
<plugin> |
|
34 |
<groupId>org.apache.maven.plugins</groupId> |
|
35 |
<artifactId>maven-antrun-plugin</artifactId> |
|
36 |
<executions> |
|
37 |
<execution> |
|
38 |
<id>compile-native</id> |
|
39 |
<phase>compile</phase> |
|
40 |
<configuration> |
|
41 |
<tasks> |
|
42 |
<property name="numProc" value="${numProc}" /> |
|
43 |
<property name="project.build.directory" value="${project.build.directory}" /> |
|
44 |
<ant antfile="${depman-ant}" target="${compileTarget}" /> |
|
45 |
</tasks> |
|
46 |
</configuration> |
|
47 |
<goals> |
|
48 |
<goal>run</goal> |
|
49 |
</goals> |
|
50 |
</execution> |
|
51 |
<execution> |
|
52 |
<id>native-eclipse</id> |
|
53 |
<phase>generate-sources</phase> |
|
54 |
<configuration> |
|
55 |
<tasks> |
|
56 |
<property name="numProc" value="${numProc}" /> |
|
57 |
<property name="project.build.directory" value="${project.build.directory}" /> |
|
58 |
<ant antfile="${depman-ant}" target="${compileTarget}-eclipse" /> |
|
59 |
</tasks> |
|
60 |
</configuration> |
|
61 |
<goals> |
|
62 |
<goal>run</goal> |
|
63 |
</goals> |
|
64 |
</execution> |
|
65 |
</executions> |
|
66 |
</plugin> |
|
67 |
<plugin> |
|
68 |
<artifactId>maven-assembly-plugin |
|
69 |
</artifactId> |
|
70 |
<configuration> |
|
71 |
<descriptors> |
|
72 |
<descriptor>${base.tools.path}/assembly/native.xml</descriptor> |
|
73 |
</descriptors> |
|
74 |
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions> |
|
75 |
</configuration> |
|
76 |
<executions> |
|
77 |
<execution> |
|
78 |
<id>package-native</id> |
|
79 |
<!-- |
|
80 |
this is used for inheritance merges |
|
81 |
--> |
|
82 |
<phase>package</phase> |
|
83 |
<!-- |
|
84 |
append to the packaging phase. |
|
85 |
--> |
|
86 |
<goals> |
|
87 |
<goal>attached</goal><!-- goals == mojos --> |
|
88 |
</goals> |
|
89 |
</execution> |
|
90 |
</executions> |
|
91 |
</plugin> |
|
92 |
</plugins> |
|
93 |
</build> |
|
94 |
</profile> |
|
95 |
</profiles> |
|
96 |
</project> |
|
0 | 97 |
org.gvsig.maven.base/tags/1.0.9/org.gvsig.maven.base.pom/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
|
|
3 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.maven.base.pom</artifactId> |
|
6 |
<packaging>pom</packaging> |
|
7 |
<name>org.gvsig.maven.base.pom</name> |
|
8 |
<description>Base POM for all GvSIG projects</description> |
|
9 |
<url>http://devel.gvsig.org/sites/${project.artifactId}/${project.version}</url> |
|
10 |
<inceptionYear>2004</inceptionYear> |
|
11 |
<parent> |
|
12 |
|
|
13 |
<groupId>org.gvsig</groupId> |
|
14 |
<artifactId>org.gvsig.maven.base</artifactId> |
|
15 |
<version>1.0.9</version> |
|
16 |
</parent> |
|
17 |
<issueManagement> |
|
18 |
<system>redmine</system> |
|
19 |
<url>https://gvsig-devel.gva.es/redmine/projects/gvsig-desktop</url> |
|
20 |
</issueManagement> |
|
21 |
<ciManagement /> |
|
22 |
<distributionManagement> |
|
23 |
<site> |
|
24 |
<id>gvsig-repository</id> |
|
25 |
<url>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</url> |
|
26 |
</site> |
|
27 |
</distributionManagement> |
|
28 |
<mailingLists> |
|
29 |
<mailingList> |
|
30 |
<name>User List</name> |
|
31 |
<subscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios</subscribe> |
|
32 |
<unsubscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios</unsubscribe> |
|
33 |
<post>gvsig_usuarios@listserv.gva.es</post> |
|
34 |
<archive>http://www.gvsig.org/web/community/mailing-lists/gvsig-nabble</archive> |
|
35 |
<otherArchives> |
|
36 |
<otherArchive>http://www.mail-archive.com/gvsig_usuarios@runas.cap.gva.es</otherArchive> |
|
37 |
<otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive> |
|
38 |
</otherArchives> |
|
39 |
</mailingList> |
|
40 |
<mailingList> |
|
41 |
<name>Developer List</name> |
|
42 |
<subscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores</subscribe> |
|
43 |
<unsubscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores</unsubscribe> |
|
44 |
<post>gvsig_desarrolladores@listserv.gva.es</post> |
|
45 |
<archive>http://www.gvsig.org/web/community/mailing-lists/gvsig-nabble</archive> |
|
46 |
<otherArchives> |
|
47 |
<otherArchive>http://www.mail-archive.com/gvsig_desarrolladores@runas.cap.gva.es</otherArchive> |
|
48 |
<otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive> |
|
49 |
</otherArchives> |
|
50 |
</mailingList> |
|
51 |
<mailingList> |
|
52 |
<name>International List</name> |
|
53 |
<subscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</subscribe> |
|
54 |
<unsubscribe>http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</unsubscribe> |
|
55 |
<post>gvsig_internacional@listserv.gva.es</post> |
|
56 |
<archive>http://www.gvsig.org/web/community/mailing-lists/gvsig-nabble</archive> |
|
57 |
<otherArchives> |
|
58 |
<otherArchive>http://www.mail-archive.com/gvsig_internacional@runas.cap.gva.es</otherArchive> |
|
59 |
<otherArchive>http://dir.gmane.org/index.php?prefix=gmane.comp.gis.gvsig</otherArchive> |
|
60 |
</otherArchives> |
|
61 |
</mailingList> |
|
62 |
</mailingLists> |
|
63 |
<!-- Put here the global properties who use all the projects of GvSIG --> |
|
64 |
<properties> |
|
65 |
<localRepository>${user.home}/.m2/repository</localRepository> |
|
66 |
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding> |
|
67 |
<site-repository>dav:https://devel.gvsig.org/sites/${project.artifactId}/${project.version}</site-repository> |
|
68 |
<base.tools.path>${project.build.directory}/org.gvsig.maven.base.tools</base.tools.path> |
|
69 |
<eclipse.project.name>${project.artifactId}</eclipse.project.name> |
|
70 |
</properties> |
|
71 |
<dependencyManagement> |
|
72 |
<!-- NOTE: the list of dependencies is ordered alphabetically by |
|
73 |
the artifactId. Please, if new dependencies are added, keep the order. --> |
|
74 |
<dependencies> |
|
75 |
<dependency> |
|
76 |
<groupId>org.n52</groupId> |
|
77 |
<artifactId>52n-wps-config</artifactId> |
|
78 |
<version>1.0.1</version> |
|
79 |
<scope>compile</scope> |
|
80 |
</dependency> |
|
81 |
<dependency> |
|
82 |
<groupId>net.opengis</groupId> |
|
83 |
<artifactId>52n-wps-xml</artifactId> |
|
84 |
<version>1.0.0</version> |
|
85 |
<scope>compile</scope> |
|
86 |
</dependency> |
|
87 |
<dependency> |
|
88 |
<groupId>org.jzkit</groupId> |
|
89 |
<artifactId>a2j-runtime</artifactId> |
|
90 |
<version>2.0.9</version> |
|
91 |
<scope>compile</scope> |
|
92 |
</dependency> |
|
93 |
<dependency> |
|
94 |
<groupId>org.jzkit</groupId> |
|
95 |
<artifactId>a2j</artifactId> |
|
96 |
<version>2.0.9</version> |
|
97 |
<scope>compile</scope> |
|
98 |
</dependency> |
|
99 |
<dependency> |
|
100 |
<groupId>net.swing</groupId> |
|
101 |
<artifactId>amic-util</artifactId> |
|
102 |
<version>unknown</version> |
|
103 |
<scope>compile</scope> |
|
104 |
</dependency> |
|
105 |
<dependency> |
|
106 |
<groupId>org.apache.ant</groupId> |
|
107 |
<artifactId>ant</artifactId> |
|
108 |
<version>1.8.1</version> |
|
109 |
<scope>compile</scope> |
|
110 |
</dependency> |
|
111 |
<dependency> |
|
112 |
<groupId>org.apache.ant</groupId> |
|
113 |
<artifactId>ant-apache-oro</artifactId> |
|
114 |
<version>1.8.1</version> |
|
115 |
<scope>compile</scope> |
|
116 |
</dependency> |
|
117 |
<dependency> |
|
118 |
<groupId>ant-contrib</groupId> |
|
119 |
<artifactId>ant-contrib</artifactId> |
|
120 |
<version>1.0b3</version> |
|
121 |
<scope>compile</scope> |
|
122 |
<exclusions> |
|
123 |
<exclusion> |
|
124 |
<groupId>ant</groupId> |
|
125 |
<artifactId>ant</artifactId> |
|
126 |
</exclusion> |
|
127 |
</exclusions> |
|
128 |
</dependency> |
|
129 |
<dependency> |
|
130 |
<groupId>org.apache.ant</groupId> |
|
131 |
<artifactId>ant-launcher</artifactId> |
|
132 |
<version>1.8.1</version> |
|
133 |
<scope>compile</scope> |
|
134 |
</dependency> |
|
135 |
<dependency> |
|
136 |
<groupId>org.apache.ant</groupId> |
|
137 |
<artifactId>ant-nodeps</artifactId> |
|
138 |
<version>1.8.1</version> |
|
139 |
<scope>compile</scope> |
|
140 |
</dependency> |
|
141 |
<dependency> |
|
142 |
<groupId>org.tigris.antelope</groupId> |
|
143 |
<artifactId>antelopetasks</artifactId> |
|
144 |
<version>3.2.10</version> |
|
145 |
<scope>compile</scope> |
|
146 |
</dependency> |
|
147 |
<dependency> |
|
148 |
<groupId>com.sardak</groupId> |
|
149 |
<artifactId>antform</artifactId> |
|
150 |
<version>2.0</version> |
|
151 |
<scope>compile</scope> |
|
152 |
</dependency> |
|
153 |
<dependency> |
|
154 |
<groupId>org.apache.xmlgraphics</groupId> |
|
155 |
<artifactId>batik-awt-util</artifactId> |
|
156 |
<version>1.7</version> |
|
157 |
<scope>compile</scope> |
|
158 |
</dependency> |
|
159 |
<dependency> |
|
160 |
<groupId>org.apache.xmlgraphics</groupId> |
|
161 |
<artifactId>batik-bridge</artifactId> |
|
162 |
<version>1.7</version> |
|
163 |
<scope>compile</scope> |
|
164 |
</dependency> |
|
165 |
<dependency> |
|
166 |
<groupId>org.gvsig</groupId> |
|
167 |
<artifactId>batik-ext-gvsig-custom</artifactId> |
|
168 |
<version>1.7.0</version> |
|
169 |
<scope>compile</scope> |
|
170 |
</dependency> |
|
171 |
<dependency> |
|
172 |
<groupId>org.apache.xmlgraphics</groupId> |
|
173 |
<artifactId>batik-gui-util</artifactId> |
|
174 |
<version>1.7</version> |
|
175 |
<scope>compile</scope> |
|
176 |
</dependency> |
|
177 |
<dependency> |
|
178 |
<groupId>org.apache.xmlgraphics</groupId> |
|
179 |
<artifactId>batik-gvt</artifactId> |
|
180 |
<version>1.7</version> |
|
181 |
<scope>compile</scope> |
|
182 |
</dependency> |
|
183 |
<dependency> |
|
184 |
<groupId>org.apache.xmlgraphics</groupId> |
|
185 |
<artifactId>batik-script</artifactId> |
|
186 |
<version>1.7</version> |
|
187 |
<scope>compile</scope> |
|
188 |
</dependency> |
|
189 |
<dependency> |
|
190 |
<groupId>org.apache.xmlgraphics</groupId> |
|
191 |
<artifactId>batik-xml</artifactId> |
|
192 |
<version>1.7</version> |
|
193 |
<scope>compile</scope> |
|
194 |
</dependency> |
|
195 |
<dependency> |
|
196 |
<groupId>bsf</groupId> |
|
197 |
<artifactId>bsf</artifactId> |
|
198 |
<version>2.3.0-rc1</version> |
|
199 |
<scope>compile</scope> |
|
200 |
</dependency> |
|
201 |
<dependency> |
|
202 |
<groupId>org.apache.bsf</groupId> |
|
203 |
<artifactId>bsf-api</artifactId> |
|
204 |
<version>3.1</version> |
|
205 |
<scope>compile</scope> |
|
206 |
</dependency> |
|
207 |
<dependency> |
|
208 |
<groupId>org.apache.bsf</groupId> |
|
209 |
<artifactId>bsf-utils</artifactId> |
|
210 |
<version>3.1</version> |
|
211 |
<scope>compile</scope> |
|
212 |
</dependency> |
|
213 |
<dependency> |
|
214 |
<groupId>bsh</groupId> |
|
215 |
<artifactId>bsh</artifactId> |
|
216 |
<version>2.0b4</version> |
|
217 |
<scope>compile</scope> |
|
218 |
</dependency> |
|
219 |
<dependency> |
|
220 |
<groupId>castor</groupId> |
|
221 |
<artifactId>castor</artifactId> |
|
222 |
<version>0.9.5.3</version> |
|
223 |
<scope>compile</scope> |
|
224 |
</dependency> |
|
225 |
<dependency> |
|
226 |
<groupId>commons-beanutils</groupId> |
|
227 |
<artifactId>commons-beanutils</artifactId> |
|
228 |
<version>1.6</version> |
|
229 |
<scope>compile</scope> |
|
230 |
</dependency> |
|
231 |
<dependency> |
|
232 |
<groupId>commons-dbcp</groupId> |
|
233 |
<artifactId>commons-dbcp</artifactId> |
|
234 |
<version>1.2.2</version> |
|
235 |
<scope>compile</scope> |
|
236 |
</dependency> |
|
237 |
<dependency> |
|
238 |
<groupId>commons-collections</groupId> |
|
239 |
<artifactId>commons-collections</artifactId> |
|
240 |
<version>3.2.1</version> |
|
241 |
<scope>compile</scope> |
|
242 |
</dependency> |
|
243 |
<dependency> |
|
244 |
<groupId>commons-httpclient</groupId> |
|
245 |
<artifactId>commons-httpclient</artifactId> |
|
246 |
<version>2.0.2</version> |
|
247 |
<scope>compile</scope> |
|
248 |
</dependency> |
|
249 |
<dependency> |
|
250 |
<groupId>commons-io</groupId> |
|
251 |
<artifactId>commons-io</artifactId> |
|
252 |
<version>2.4</version> |
|
253 |
<scope>compile</scope> |
|
254 |
</dependency> |
|
255 |
<dependency> |
|
256 |
<groupId>commons-logging</groupId> |
|
257 |
<artifactId>commons-logging</artifactId> |
|
258 |
<version>1.1.1</version> |
|
259 |
<scope>compile</scope> |
|
260 |
</dependency> |
|
261 |
<dependency> |
|
262 |
<groupId>commons-logging</groupId> |
Also available in: Unified diff