Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.mkmvnproject.app / org.gvsig.mkmvnproject.app.mainplugin / pom.xml @ 41546

History | View | Annotate | Download (7.65 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.app.mainplugin</artifactId>
6
    <packaging>jar</packaging>
7
    <name>Development project wizard</name>
8
    <description>
9
        Utilities and gvSIG plugin to create new gvSIG projects from a template
10
    </description>
11
    <parent>
12
        <groupId>org.gvsig</groupId>
13
        <artifactId>org.gvsig.mkmvnproject.app</artifactId>
14
        <version>2.0.46-SNAPSHOT</version>
15
    </parent>
16

    
17
    <dependencies>
18
        <dependency>
19
            <groupId>org.apache.maven</groupId>
20
            <artifactId>maven-ant-tasks</artifactId>
21
            <version>2.1.3</version>
22
            <scope>runtime</scope>
23
        </dependency>
24
        <dependency>
25
            <groupId>org.slf4j</groupId>
26
            <artifactId>slf4j-api</artifactId>
27
            <scope>provided</scope>
28
        </dependency>        
29
        <dependency>
30
            <groupId>org.apache.ant</groupId>
31
            <artifactId>ant</artifactId>
32
            <scope>provided</scope>
33
        </dependency>
34
        <dependency>
35
            <groupId>org.gvsig</groupId>
36
            <artifactId>org.gvsig.andami</artifactId>
37
            <scope>provided</scope>
38
        </dependency>
39
        <dependency>
40
            <groupId>org.gvsig</groupId>
41
            <artifactId>org.gvsig.i18n</artifactId>
42
            <scope>provided</scope>
43
        </dependency>
44

    
45

    
46
        <dependency>
47
            <groupId>org.apache.ant</groupId>
48
            <artifactId>ant-nodeps</artifactId>
49
            <scope>runtime</scope>
50
        </dependency>
51
        <dependency>
52
            <groupId>org.apache.ant</groupId>
53
            <artifactId>ant-apache-oro</artifactId>
54
            <scope>runtime</scope>
55
        </dependency>
56
        <dependency>
57
            <groupId>ant-contrib</groupId>
58
            <artifactId>ant-contrib</artifactId>
59
            <scope>runtime</scope>
60
        </dependency>
61
        <dependency>
62
            <groupId>org.apache.ant</groupId>
63
            <artifactId>ant-launcher</artifactId>
64
            <scope>runtime</scope>
65
        </dependency>
66
        <dependency>
67
            <groupId>org.tigris.antelope</groupId>
68
            <artifactId>antelopetasks</artifactId>
69
            <scope>runtime</scope>
70
        </dependency>
71
        <dependency>
72
            <groupId>com.sardak</groupId>
73
            <artifactId>antform</artifactId>
74
            <scope>runtime</scope>
75
        </dependency>
76
        <dependency>
77
            <groupId>org.tmatesoft.svnkit</groupId>
78
            <artifactId>svnkit</artifactId>
79
            <scope>runtime</scope>
80
        </dependency>
81
        <dependency>
82
            <groupId>org.tmatesoft.svnkit</groupId>
83
            <artifactId>svnkit-cli</artifactId>
84
            <scope>runtime</scope>
85
        </dependency>
86

    
87
    </dependencies>
88

    
89
    <build>
90
        
91
<!--
92
        <plugins>
93
            <plugin>
94
                <groupId>org.codehaus.mojo</groupId>
95
                <artifactId>properties-maven-plugin</artifactId>
96
                <configuration>
97
                    <files>
98
                        <file>${user.home}/.gvsig-devel.properties</file>
99
                    </files>
100
                    <quiet>true</quiet>
101
                </configuration>
102
                <executions>
103
                    <execution>
104
                        <id>default</id>
105
                        <phase>initialize</phase>
106
                        <goals>
107
                            <goal>read-project-properties</goal>
108
                        </goals>
109
                    </execution>
110
                </executions>
111
            </plugin>
112
        </plugins>
113
-->
114

    
115
        <pluginManagement>
116
            <plugins>
117
                <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
118
                <plugin>
119
                    <groupId>org.eclipse.m2e</groupId>
120
                    <artifactId>lifecycle-mapping</artifactId>
121
                    <version>1.0.0</version>
122
                    <configuration>
123
                        <lifecycleMappingMetadata>
124
                            <pluginExecutions>
125
                                <pluginExecution>
126
                                    <pluginExecutionFilter>
127
                                        <groupId>org.apache.maven.plugins</groupId>
128
                                        <artifactId>maven-antrun-plugin</artifactId>
129
                                        <versionRange>[1.7,)</versionRange>
130
                                        <goals>
131
                                            <goal>run</goal>
132
                                        </goals>
133
                                    </pluginExecutionFilter>
134
                                    <action>
135
                                        <ignore />
136
                                    </action>
137
                                </pluginExecution>
138
                            </pluginExecutions>
139
                        </lifecycleMappingMetadata>
140
                    </configuration>
141
                </plugin>
142
            </plugins>
143
        </pluginManagement>
144
    </build>
145

    
146

    
147
    <profiles>
148
        <profile>
149
            <id>download-plugin-templates</id>
150
            <activation>
151
                <property>
152
                    <name>!gvsig.skip.downloadPluginTemplates</name>
153
                </property>
154
            </activation>
155
            <build>
156
                <plugins>
157

    
158
                    <plugin>
159
                        <groupId>org.apache.maven.plugins</groupId>
160
                        <artifactId>maven-antrun-plugin</artifactId>
161
                        <dependencies>
162
                            <dependency>
163
                                <groupId>org.apache.ant</groupId>
164
                                <artifactId>ant-apache-oro</artifactId>
165
                                <version>1.8.1</version>
166
                            </dependency>
167
                        </dependencies>
168
                        <executions>
169
                            <execution>
170
                                <id>prepare-templates</id>
171
                                <phase>generate-resources</phase>
172
                                <configuration>
173
                                    <tasks>
174
                                        <!-- Regexp implementation to use -->
175
                                        <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.JakartaOroRegexp" />
176
                                        <property name="runtime_classpath" refid="maven.runtime.classpath" />
177
                                        <ant antfile="${basedir}/src/main/ant/prepare-templates.xml" />
178
                                    </tasks>
179
                                </configuration>
180
                                <goals>
181
                                    <goal>run</goal>
182
                                </goals>
183
                            </execution>
184
                        </executions>
185
                    </plugin>
186

    
187
                </plugins>
188
            </build>
189
            <properties>
190
                <gvsig.install.plugin.package>true</gvsig.install.plugin.package>
191
            </properties>
192
        </profile>
193
    </profiles>
194

    
195
    <properties>
196
        <gvsig.package.info.categories>Development</gvsig.package.info.categories>
197
        <gvsig.package.info.codealias>org.gvsig.mkmvnproject</gvsig.package.info.codealias>
198
        <gvsig.package.info.official>true</gvsig.package.info.official>
199
        <gvsig.install.plugin.package>false</gvsig.install.plugin.package>
200
    </properties>
201

    
202
</project>