Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / extensions / org.gvsig.mkmvnproject / pom.xml @ 35149

History | View | Annotate | Download (9.98 KB)

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"
4
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
    <modelVersion>4.0.0</modelVersion>
6
    <groupId>org.gvsig</groupId>
7
    <artifactId>org.gvsig.mkmvnproject</artifactId>
8
    <packaging>jar</packaging>
9
    <version>2.0-SNAPSHOT</version>
10
    <name>Development project wizard</name>
11
    <description>
12
        Utilities and gvSIG plugin to create new gvSIG projects from a template
13
    </description>
14
    <url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.fortunecookies/${project.version}/basic/org.gvsig.mkmvnproject</url>
15
    <parent>
16
        <groupId>org.gvsig</groupId>
17
        <artifactId>gvsig-base-extension-pom</artifactId>
18
        <version>2.0-SNAPSHOT</version>
19
    </parent>
20
    <scm>
21
        <connection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject</connection>
22
        <developerConnection>scm:svn:https://svn.forge.osor.eu/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject</developerConnection>
23
        <url>https://forge.osor.eu/plugins/scmsvn/viewcvs.php/branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject/?root=gvsig-desktop</url>
24
    </scm>
25

    
26
    <developers>
27
        <developer>
28
            <id>jjdelcerro</id>
29
            <name>Joaqu?n Jos? del Cerro</name>
30
            <email>jjdelcerro@gvsig.org</email>
31
            <roles>
32
                <role>Architect</role>
33
                <role>Developer</role>
34
            </roles>
35
        </developer>
36
        <developer>
37
            <id>jbadia</id>
38
            <name>Jos? Bad?a</name>
39
            <email>badia_jos@gva.es</email>
40
            <roles>
41
                <role>Developer</role>
42
            </roles>
43
        </developer>
44
        <developer>
45
            <id>cordinyana</id>
46
            <name>C?sar Ordi?ana</name>
47
            <email>cordinyana@gvsig.com</email>
48
            <roles>
49
                <role>Architect</role>
50
                <role>Developer</role>
51
            </roles>
52
        </developer>
53
    </developers>
54

    
55
    <distributionManagement>
56
        <site>
57
            <id>gvsig-repository</id>
58
            <url>scp://shell.forge.osor.eu/home/groups/gvsig-desktop/www/downloads/pub/projects/gvSIG-desktop/docs/reference/org.gvsig.mkmvnproject/${project.version}</url>
59
        </site>
60
    </distributionManagement>
61
    <repositories>
62
        <repository>
63
            <id>gvsig-public-http-repository</id>
64
            <name>gvSIG maven public HTTP repository</name>
65
            <url>http://gvsig-desktop.forge.osor.eu/downloads/pub/projects/gvSIG-desktop/maven-repository</url>
66
            <releases>
67
                <enabled>true</enabled>
68
                <updatePolicy>daily</updatePolicy>
69
                <checksumPolicy>warn</checksumPolicy>
70
            </releases>
71
            <snapshots>
72
                <enabled>true</enabled>
73
                <updatePolicy>daily</updatePolicy>
74
                <checksumPolicy>warn</checksumPolicy>
75
            </snapshots>
76
        </repository>
77
    </repositories>
78
    <dependencies>
79
        <dependency>
80
            <groupId>org.slf4j</groupId>
81
            <artifactId>slf4j-api</artifactId>
82
            <scope>compile</scope>
83
        </dependency>        
84
        <dependency>
85
            <groupId>org.apache.ant</groupId>
86
            <artifactId>ant</artifactId>
87
            <scope>compile</scope>
88
        </dependency>
89
        <dependency>
90
            <groupId>org.apache.ant</groupId>
91
            <artifactId>ant-apache-oro</artifactId>
92
            <scope>runtime</scope>
93
        </dependency>
94
        <dependency>
95
            <groupId>ant-contrib</groupId>
96
            <artifactId>ant-contrib</artifactId>
97
            <scope>runtime</scope>
98
        </dependency>
99
        <dependency>
100
            <groupId>org.apache.ant</groupId>
101
            <artifactId>ant-launcher</artifactId>
102
            <scope>compile</scope>
103
        </dependency>
104
        <dependency>
105
            <groupId>org.apache.ant</groupId>
106
            <artifactId>ant-nodeps</artifactId>
107
            <scope>runtime</scope>
108
        </dependency>
109
        <dependency>
110
            <groupId>org.tigris.antelope</groupId>
111
            <artifactId>antelopetasks</artifactId>
112
            <scope>runtime</scope>
113
        </dependency>
114
        <dependency>
115
            <groupId>com.sardak</groupId>
116
            <artifactId>antform</artifactId>
117
            <scope>runtime</scope>
118
        </dependency>
119
        <dependency>
120
            <groupId>org.gvsig</groupId>
121
            <artifactId>org.gvsig.andami</artifactId>
122
            <scope>compile</scope>
123
        </dependency>
124
        <dependency>
125
            <groupId>org.gvsig</groupId>
126
            <artifactId>org.gvsig.maven.base.build</artifactId>
127
            <scope>compile</scope>
128
            <version>1.0.6-SNAPSHOT</version>
129
        </dependency>
130
        <dependency>
131
            <groupId>org.gvsig</groupId>
132
            <artifactId>org.gvsig.i18n</artifactId>
133
            <scope>compile</scope>
134
        </dependency>
135
        <dependency>
136
            <groupId>org.tmatesoft.svnkit</groupId>
137
            <artifactId>svnkit</artifactId>
138
            <scope>runtime</scope>
139
        </dependency>
140
        <dependency>
141
            <groupId>org.tmatesoft.svnkit</groupId>
142
            <artifactId>svnkit-cli</artifactId>
143
            <scope>runtime</scope>
144
        </dependency>
145
    </dependencies>
146
    <build>
147
        <resources>
148
            <resource>
149
                <directory>src/main/resources</directory>
150
                <excludes>
151
                    <exclude>config.xml</exclude>
152
                    <exclude>gvSIG.png</exclude>
153
                    <exclude>scripts/**</exclude>
154
                </excludes>
155
            </resource>
156
        </resources>
157

    
158
        <plugins>
159
            <plugin>
160
                <groupId>org.apache.maven.plugins</groupId>
161
                <artifactId>maven-release-plugin</artifactId>
162
                <configuration>
163
                    <tagBase>https://svn.forge.osor.eu/svn/gvsig-desktop/tags</tagBase>
164
                </configuration>
165
            </plugin>
166
            <plugin>
167
                <artifactId>maven-antrun-plugin</artifactId>
168
                <executions>
169
                    <execution>
170
                        <id>prepare-templates</id>
171
                        <phase>package</phase>
172
                        <configuration>
173
                            <tasks>
174
                                <!-- Regexp implementation to use -->
175
                                <property name="ant.regexp.regexpimpl"
176
                                    value="org.apache.tools.ant.util.regexp.JakartaOroRegexp" />
177

    
178
                                <property name="runtime_classpath"
179
                                    refid="maven.runtime.classpath" />
180
                                <ant antfile="${basedir}/prepare-templates.xml" />
181
                            </tasks>
182
                        </configuration>
183
                        <goals>
184
                            <goal>run</goal>
185
                        </goals>
186
                    </execution>
187
                </executions>
188
                <dependencies>
189
                    <dependency>
190
                        <groupId>org.apache.ant</groupId>
191
                        <artifactId>ant-apache-oro</artifactId>
192
                        <version>1.8.1</version>
193
                    </dependency>
194
                </dependencies>
195
            </plugin>
196
        </plugins>
197
    </build>
198
    <profiles>
199
        <profile>
200
            <id>gvsig-install</id>
201
            <activation>
202
                <activeByDefault>true</activeByDefault>
203
            </activation>
204
            <properties>
205
                <!--  gvSIG installation folder relative to the current workspace -->
206
                <gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir>
207
            </properties>
208
        </profile>
209
        <profile>
210
            <id>create-project</id>
211
            <build>
212
                <plugins>
213
                    <plugin>
214
                        <artifactId>maven-antrun-plugin</artifactId>
215
                        <executions>
216
                            <execution>
217
                                <id>Run mkmvnproject.xml</id>
218
                                <phase>install</phase>
219
                                <configuration>
220
                                    <tasks>
221
                                        <!-- Regexp implementation to use -->
222
                                        <property name="ant.regexp.regexpimpl"
223
                                            value="org.apache.tools.ant.util.regexp.JakartaOroRegexp" />
224
                                        <ant
225
                                            antfile="${project.build.directory}/${project.artifactId}-${project.version}-distribution/${project.artifactId}-${project.version}/gvSIG/extensiones/${project.artifactId}/scripts/mkmvnproject.xml" />
226
                                    </tasks>
227
                                </configuration>
228
                                <goals>
229
                                    <goal>run</goal>
230
                                </goals>
231
                            </execution>
232
                        </executions>
233
                        <dependencies>
234
                            <dependency>
235
                                <groupId>org.apache.ant</groupId>
236
                                <artifactId>ant-apache-oro</artifactId>
237
                                <version>1.8.1</version>
238
                            </dependency>
239
                        </dependencies>
240
                    </plugin>
241
                </plugins>
242
            </build>
243
        </profile>
244
    </profiles>
245
    <properties>
246
        <build-dir>${basedir}/../build</build-dir>
247
    </properties>
248
</project>