Statistics
| Revision:

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

History | View | Annotate | Download (9.71 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" 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.mkmvnproject</artifactId>
6
    <packaging>jar</packaging>
7
    <version>2.0.1-SNAPSHOT</version>
8
    <name>Development project wizard</name>
9
    <description>
10
        Utilities and gvSIG plugin to create new gvSIG projects from a template
11
    </description>
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/extensions/org.gvsig.mkmvnproject/</connection>
19
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject/</developerConnection>
20
        <url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject</url>
21
    </scm>
22
    <developers>
23
        <developer>
24
            <id>jjdelcerro</id>
25
            <name>Joaqu?n Jos? del Cerro</name>
26
            <email>jjdelcerro@gvsig.org</email>
27
            <roles>
28
                <role>Architect</role>
29
                <role>Developer</role>
30
            </roles>
31
        </developer>
32
        <developer>
33
            <id>jbadia</id>
34
            <name>Jos? Bad?a</name>
35
            <email>badia_jos@gva.es</email>
36
            <roles>
37
                <role>Developer</role>
38
            </roles>
39
        </developer>
40
        <developer>
41
            <id>cordinyana</id>
42
            <name>C?sar Ordi?ana</name>
43
            <email>cordinyana@gvsig.com</email>
44
            <roles>
45
                <role>Architect</role>
46
                <role>Developer</role>
47
            </roles>
48
        </developer>
49
    </developers>
50
    <repositories>
51
        <repository>
52
            <id>gvsig-public-http-repository</id>
53
            <name>gvSIG maven public HTTP repository</name>
54
            <url>http://devel.gvsig.org/m2repo/j2se</url>
55
            <releases>
56
                <enabled>true</enabled>
57
                <updatePolicy>daily</updatePolicy>
58
                <checksumPolicy>warn</checksumPolicy>
59
            </releases>
60
            <snapshots>
61
                <enabled>true</enabled>
62
                <updatePolicy>daily</updatePolicy>
63
                <checksumPolicy>warn</checksumPolicy>
64
            </snapshots>
65
        </repository>
66
    </repositories>
67
    <dependencyManagement>
68
        <dependencies>          
69
            <dependency>
70
                <groupId>org.gvsig</groupId>
71
                <artifactId>org.gvsig.core.maven.dependencies</artifactId>
72
                <version>2.0.1</version>
73
                <type>pom</type>
74
                <scope>import</scope>
75
            </dependency>
76
        </dependencies>
77
    </dependencyManagement>
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.9</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
        
160
                    <plugin>
161
                      <artifactId>maven-release-plugin</artifactId>
162
                      <version>2.0</version>
163
                      <configuration>
164
                        <tagBase>https://devel.gvsig.org/svn/gvsig-desktop/tags/extensions/${artifactId}</tagBase>
165
                      </configuration>
166
                    </plugin>                        
167

    
168
            <plugin>
169
                <artifactId>maven-antrun-plugin</artifactId>
170
                <executions>
171
                    <execution>
172
                        <id>prepare-templates</id>
173
                        <phase>package</phase>
174
                        <configuration>
175
                            <tasks>
176
                                <!-- Regexp implementation to use -->
177
                                <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.JakartaOroRegexp" />
178

    
179
                                <property name="runtime_classpath" 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" value="org.apache.tools.ant.util.regexp.JakartaOroRegexp" />
223
                                        <ant antfile="${project.build.directory}/${project.artifactId}-${project.version}-distribution/${project.artifactId}-${project.version}/gvSIG/extensiones/${project.artifactId}/scripts/mkmvnproject.xml" />
224
                                    </tasks>
225
                                </configuration>
226
                                <goals>
227
                                    <goal>run</goal>
228
                                </goals>
229
                            </execution>
230
                        </executions>
231
                        <dependencies>
232
                            <dependency>
233
                                <groupId>org.apache.ant</groupId>
234
                                <artifactId>ant-apache-oro</artifactId>
235
                                <version>1.8.1</version>
236
                            </dependency>
237
                        </dependencies>
238
                    </plugin>
239
                </plugins>
240
            </build>
241
        </profile>
242
    </profiles>
243
    <properties>
244
            <package.info.state>final</package.info.state>
245
            <!-- alpha-devel -->
246
        <package.info.categories>Development</package.info.categories>
247
    </properties>
248
</project>