Revision 41465 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.mkmvnproject.app/org.gvsig.mkmvnproject.app.mainplugin/pom.xml

View differences:

pom.xml
1 1
<?xml version="1.0" encoding="ISO-8859-1"?>
2 2

  
3 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.41-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>
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>
35 12
        <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>
13
        <artifactId>org.gvsig.mkmvnproject.app</artifactId>
14
        <version>2.0.41-SNAPSHOT</version>
15
    </parent>
44 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>
45 44

  
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 45

  
87
  </dependencies>
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>
88 86

  
87
    </dependencies>
88

  
89 89
    <build>
90 90
        <plugins>
91
        
92
            <plugin>
93
                <!-- load ".gvsig-devel.properties" -->
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>
91 113

  
92
          <plugin>
93
              <groupId>org.apache.maven.plugins</groupId>
94
              <artifactId>maven-antrun-plugin</artifactId>
95
              <dependencies>
96
                  <dependency>
97
                      <groupId>org.apache.ant</groupId>
98
                      <artifactId>ant-apache-oro</artifactId>
99
                      <version>1.8.1</version>
100
                  </dependency>
101
              </dependencies>
102
              <executions>
103
                  <execution>
104
                      <id>prepare-templates</id>
105
                      <phase>generate-resources</phase>
106
                      <configuration>
107
                          <tasks>
108
                              <!-- Regexp implementation to use -->
109
                              <property name="ant.regexp.regexpimpl" value="org.apache.tools.ant.util.regexp.JakartaOroRegexp" />
110
                              <property name="runtime_classpath" refid="maven.runtime.classpath" />
111
                              <ant antfile="${basedir}/src/main/ant/prepare-templates.xml" />
112
                          </tasks>
113
                      </configuration>
114
                      <goals>
115
                          <goal>run</goal>
116
                      </goals>
117
                  </execution>
118
              </executions>
119
          </plugin>
120

  
121
      </plugins>
122

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

  
160 145

  
161
  <properties>
162
      <gvsig.package.info.categories>Development</gvsig.package.info.categories>
163
      <gvsig.package.info.codealias>org.gvsig.mkmvnproject</gvsig.package.info.codealias>
164
	  <gvsig.package.info.official>true</gvsig.package.info.official>
165
  </properties>
146
    <profiles>
147
        <profile>
148
            <id>download-plugin-templates</id>
149
            <activation>
150
                <property>
151
                    <name>!gvsig.skip.downloadPluginTemplates</name>
152
                </property>
153
            </activation>
154
            <build>
155
                <plugins>
166 156

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

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

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

  
167 201
</project>

Also available in: Unified diff