Revision 776 org.gvsig.maven.base/trunk/org.gvsig.maven.base/org.gvsig.maven.base.extension.pom/pom.xml

View differences:

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

  
18

  
19
    <properties>
20
        <!-- Name of the folder where andami looks for plugins -->
21
        <extensions.dir.name>gvSIG/extensiones</extensions.dir.name>
22
        <!-- Name of the folder where andami can find the plugin for the 
23
            current extension -->
24
        <extension.install.dir.name>${extensions.dir.name}/${project.artifactId}</extension.install.dir.name>
25
        <!-- Name of the folder where andami can find the plugin for the 
26
            appgvSIG extensions -->
27
        <gvsig.extension.install.dir.name>${extensions.dir.name}/org.gvsig.app/</gvsig.extension.install.dir.name>
28

  
29
        <!-- Absolute gvSIG extensions installation folder -->
30
        <gvsig.extensions.dir>${gvsig.install.dir}/${extensions.dir.name}</gvsig.extensions.dir>
31
        <!-- Absolute current extension installation folder into gvSIG -->
32
        <extension.install.dir>${gvsig.install.dir}/${extension.install.dir.name}</extension.install.dir>
33
        <!-- Maven assembly plugin configuration file for the current extension, 
34
            relative to the extension folder. -->
35
        <extension.distribution.file>
36
            distribution/distribution.xml
37
		</extension.distribution.file>
38
        <!-- Extension installation library dependencies folder -->
39
        <library-dir>lib</library-dir>
40
        <!-- Package info property values -->
41
        <package.info.state>devel</package.info.state>
42
        <package.info.official>true</package.info.official>
43
        <package.info.operatingSystem>all</package.info.operatingSystem>
44
        <package.info.architecture>all</package.info.architecture>
45
        <package.info.javaVM>j1_5</package.info.javaVM>
46
        <package.info.gvSIGVersion>2.0.0</package.info.gvSIGVersion>
47
        <package.info.baseDownloadURL>../../pool/${pom.artifactId}</package.info.baseDownloadURL>
48
        <package.info.dependencies />
49
        <package.info.owner>gvSIG Association</package.info.owner>
50
        <package.info.sourcesURL>${project.scm.url}</package.info.sourcesURL>
51
        <package.info.webURL>http://www.gvsig.com</package.info.webURL>
52
        <package.info.categories />
53
    </properties>
54

  
55
    <profiles>
56
        <profile>
57
            <id>install-extension</id>
58
            <activation>
59
                <activeByDefault>true</activeByDefault>
60
                <property>
61
                    <name>install-extension</name>
62
                </property>
63
            </activation>
64
            <build>
65
                <plugins>
66
                    <!-- This plugin configuration is duplicated in the create-installer 
67
                        profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven 
68
                        plugin -->
69
                    <plugin>
70
                        <artifactId>maven-assembly-plugin
71
						</artifactId>
72
                        <configuration>
73
                            <descriptors>
74
                                <descriptor>${extension.distribution.file}</descriptor>
75
                            </descriptors>
76
                            <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
77
                            <appendAssemblyId>true</appendAssemblyId>
78
                        </configuration>
79
                        <executions>
80
                            <execution>
81
                                <id>make-assembly</id><!-- this is used for 
82
                                    inheritance merges -->
83
                                <phase>install</phase><!-- append to the 
84
                                    packaging phase. -->
85
                                <goals>
86
                                    <goal>attached</goal>
87
                                </goals>
88
                            </execution>
89
                        </executions>
90
                    </plugin>
91
                    <!-- This plugin configuration is duplicated in the create-installer 
92
                        profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven 
93
                        plugin -->
94
                    <plugin>
95
                        <artifactId>maven-antrun-plugin</artifactId>
96
                        <executions>
97
                            <execution>
98
                                <id>copy-to-andami</id>
99
                                <phase>install</phase>
100
                                <configuration>
101
                                    <tasks>
102
                                        <property name="project.packaging" value="${project.packaging}" />
103
                                        <property name="gvsig.install.dir" value="${gvsig.install.dir}" />
104
                                        <property name="distribution-final-name" value="${project.build.finalName}" />
105
                                        <ant antfile="${base.tools.path}/ant/gvsig-extension-tasks.xml" target="make-extension-new" inheritRefs="true" />
106
                                    </tasks>
107
                                </configuration>
108
                                <goals>
109
                                    <goal>run</goal>
110
                                </goals>
111
                            </execution>
112
                        </executions>
113
                    </plugin>
114
                    <plugin>
115
                        <artifactId>maven-clean-plugin</artifactId>
116
                        <configuration>
117
                            <filesets>
118
                                <fileset>
119
                                    <directory>${extension.install.dir}</directory>
120
                                    <includes>
121
                                        <include>**</include>
122
                                    </includes>
123
                                </fileset>
124
                            </filesets>
125
                        </configuration>
126
                    </plugin>
127
                    <plugin>
128
                        <groupId>org.codehaus.mojo</groupId>
129
                        <artifactId>properties-maven-plugin</artifactId>
130
                        <version>1.0-alpha-2</version>
131
                        <executions>
132
                            <execution>
133
                                <phase>initialize</phase>
134
                                <goals>
135
                                    <goal>read-project-properties</goal>
136
                                </goals>
137
                                <configuration>
138
                                    <files>
139
                                        <file>buildNumber.properties</file>
140
                                    </files>
141
                                </configuration>
142
                            </execution>
143
                        </executions>
144
                    </plugin>
145
                    <!-- Create the package.info file for the plugin and 
146
                        installer info in the compile phase. -->
147
                    <plugin>
148
                        <groupId>org.gvsig</groupId>
149
                        <artifactId>org.gvsig.installer.maven</artifactId>
150
                        <configuration>
151
                            <pluginsFolder>${gvsig.install.dir}/gvSIG/extensiones</pluginsFolder>
152
                            <packageFolder>${gvsig.install.dir}/install/pool/${project.artifactId}</packageFolder>
153
                            <buildNumber>${buildNumber}</buildNumber>
154
                            <state>${package.info.state}</state>
155
                            <official>${package.info.official}</official>
156
                            <operatingSystem>${package.info.operatingSystem}</operatingSystem>
157
                            <architecture>${package.info.architecture}</architecture>
158
                            <javaVM>${package.info.javaVM}</javaVM>
159
                            <gvSIGVersion>${package.info.gvSIGVersion}</gvSIGVersion>
160
                            <baseDownloadURL>${package.info.baseDownloadURL}</baseDownloadURL>
161
                            <pkgdependencies>${package.info.dependencies}</pkgdependencies>
162
                            <owner>${package.info.owner}</owner>
163
                            <sourcesURL>${package.info.sourcesURL}</sourcesURL>
164
                            <webURL>${package.info.webURL}</webURL>
165
                            <categories>${package.info.categories}</categories>
166
                        </configuration>
167
                        <executions>
168
                            <execution>
169
                                <id>write-info</id>
170
                                <phase>compile</phase>
171
                                <goals>
172
                                    <goal>write-info</goal>
173
                                </goals>
174
                            </execution>
175
                        </executions>
176
                    </plugin>
177
                </plugins>
178
            </build>
179
        </profile>
180
        <profile>
181
            <id>create-installer</id>
182
            <build>
183
                <plugins>
184
                    <plugin>
185
                        <groupId>org.codehaus.mojo</groupId>
186
                        <artifactId>buildnumber-maven-plugin</artifactId>
187
                        <version>1.0-beta-2</version>
188
                        <executions>
189
                            <execution>
190
                                <phase>validate</phase>
191
                                <goals>
192
                                    <goal>create</goal>
193
                                </goals>
194
                            </execution>
195
                        </executions>
196
                        <configuration>
197
                            <format>{0,number,#}</format>
198
                            <items>
199
                                <item>buildNumber</item>
200
                            </items>
201
                            <doCheck>false</doCheck>
202
                            <doUpdate>false</doUpdate>
203
                        </configuration>
204
                    </plugin>
205
                    <!-- This plugin configuration is duplicated in the install-extension 
206
                        profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven 
207
                        plugin -->
208
                    <plugin>
209
                        <artifactId>maven-assembly-plugin
210
                        </artifactId>
211
                        <configuration>
212
                            <descriptors>
213
                                <descriptor>${extension.distribution.file}</descriptor>
214
                            </descriptors>
215
                            <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
216
                            <appendAssemblyId>true</appendAssemblyId>
217
                        </configuration>
218
                        <executions>
219
                            <execution>
220
                                <id>make-assembly</id><!-- this is used for 
221
                                    inheritance merges -->
222
                                <phase>install</phase><!-- append to the 
223
                                    packaging phase. -->
224
                                <goals>
225
                                    <goal>attached</goal>
226
                                </goals>
227
                            </execution>
228
                        </executions>
229
                    </plugin>
230
                    <!-- This plugin configuration is duplicated in the install-extension 
231
                        profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven 
232
                        plugin -->
233
                    <plugin>
234
                        <artifactId>maven-antrun-plugin</artifactId>
235
                        <executions>
236
                            <execution>
237
                                <id>copy-to-andami</id>
238
                                <phase>install</phase>
239
                                <configuration>
240
                                    <tasks>
241
                                        <property name="project.packaging" value="${project.packaging}" />
242
                                        <property name="gvsig.install.dir" value="${gvsig.install.dir}" />
243
                                        <property name="distribution-final-name" value="${project.build.finalName}" />
244
                                        <ant antfile="${base.tools.path}/ant/gvsig-extension-tasks.xml" target="make-extension-new" inheritRefs="true" />
245
                                    </tasks>
246
                                </configuration>
247
                                <goals>
248
                                    <goal>run</goal>
249
                                </goals>
250
                            </execution>
251
                        </executions>
252
                    </plugin>
253
                    <!-- Create the package.info file for the plugin and 
254
                        installer info in the compile phase, and create the plugin installer in the 
255
                        install phase. -->
256
                    <plugin>
257
                        <groupId>org.gvsig</groupId>
258
                        <artifactId>org.gvsig.installer.maven</artifactId>
259
                        <configuration>
260
                            <pluginsFolder>${gvsig.install.dir}/gvSIG/extensiones</pluginsFolder>
261
                            <packageFolder>${gvsig.install.dir}/install/pool/${project.artifactId}</packageFolder>
262
                            <buildNumber>${buildNumber}</buildNumber>
263
                            <state>${package.info.state}</state>
264
                            <official>${package.info.official}</official>
265
                            <operatingSystem>${package.info.operatingSystem}</operatingSystem>
266
                            <architecture>${package.info.architecture}</architecture>
267
                            <javaVM>${package.info.javaVM}</javaVM>
268
                            <gvSIGVersion>${package.info.gvSIGVersion}</gvSIGVersion>
269
                            <baseDownloadURL>${package.info.baseDownloadURL}</baseDownloadURL>
270
                            <pkgdependencies>${package.info.dependencies}</pkgdependencies>
271
                            <owner>${package.info.owner}</owner>
272
                            <sourcesURL>${package.info.sourcesURL}</sourcesURL>
273
                            <webURL>${package.info.webURL}</webURL>
274
                        </configuration>
275
                        <executions>
276
                            <execution>
277
                                <id>write-info</id>
278
                                <phase>compile</phase>
279
                                <goals>
280
                                    <goal>write-info</goal>
281
                                </goals>
282
                            </execution>
283
                            <execution>
284
                                <id>create-plugin-package</id>
285
                                <phase>install</phase>
286
                                <goals>
287
                                    <goal>create-package</goal>
288
                                </goals>
289
                            </execution>
290
                            <execution>
291
                                <id>create-plugin-package-index</id>
292
                                <phase>install</phase>
293
                                <goals>
294
                                    <goal>create-package-index</goal>
295
                                </goals>
296
                            </execution>
297
                        </executions>
298
                    </plugin>
299
                </plugins>
300
            </build>
301
        </profile>
302
    </profiles>
303
</project>
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-SNAPSHOT</version>
16
    </parent>
17

  
18
    <properties>
19
        <!-- Name of the folder where andami looks for plugins -->
20
        <extensions.dir.name>gvSIG/extensiones</extensions.dir.name>
21
        <!-- Name of the folder where andami can find the plugin for the 
22
            current extension -->
23
        <extension.install.dir.name>${extensions.dir.name}/${project.artifactId}</extension.install.dir.name>
24
        <!-- Name of the folder where andami can find the plugin for the 
25
            appgvSIG extensions -->
26
        <gvsig.extension.install.dir.name>${extensions.dir.name}/org.gvsig.app/</gvsig.extension.install.dir.name>
27

  
28
        <!-- Absolute gvSIG extensions installation folder -->
29
        <gvsig.extensions.dir>${gvsig.install.dir}/${extensions.dir.name}</gvsig.extensions.dir>
30
        <!-- Absolute current extension installation folder into gvSIG -->
31
        <extension.install.dir>${gvsig.install.dir}/${extension.install.dir.name}</extension.install.dir>
32
        <!-- Maven assembly plugin configuration file for the current extension, 
33
            relative to the extension folder. -->
34
        <extension.distribution.file>
35
            distribution/distribution.xml
36
		</extension.distribution.file>
37
        <!-- Extension installation library dependencies folder -->
38
        <library-dir>lib</library-dir>
39
        <!-- Package info property values -->
40
        <package.info.state>devel</package.info.state>
41
        <package.info.official>true</package.info.official>
42
        <package.info.operatingSystem>all</package.info.operatingSystem>
43
        <package.info.architecture>all</package.info.architecture>
44
        <package.info.javaVM>j1_5</package.info.javaVM>
45
        <package.info.gvSIGVersion>2.0.0</package.info.gvSIGVersion>
46
        <package.info.baseDownloadURL>../../pool/${pom.artifactId}</package.info.baseDownloadURL>
47
        <package.info.dependencies />
48
        <package.info.owner>gvSIG Association</package.info.owner>
49
        <package.info.sourcesURL>${project.scm.url}</package.info.sourcesURL>
50
        <package.info.webURL>http://www.gvsig.com</package.info.webURL>
51
        <package.info.categories />
52
    </properties>
53

  
54
    <profiles>
55
        <profile>
56
            <id>install-extension</id>
57
            <activation>
58
                <activeByDefault>true</activeByDefault>
59
                <property>
60
                    <name>install-extension</name>
61
                </property>
62
            </activation>
63
            <build>
64
                <plugins>
65
                    <!-- This plugin configuration is duplicated in the create-installer 
66
                        profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven 
67
                        plugin -->
68
                    <plugin>
69
                        <artifactId>maven-assembly-plugin
70
						</artifactId>
71
                        <configuration>
72
                            <descriptors>
73
                                <descriptor>${extension.distribution.file}</descriptor>
74
                            </descriptors>
75
                            <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
76
                            <appendAssemblyId>true</appendAssemblyId>
77
                        </configuration>
78
                        <executions>
79
                            <execution>
80
                                <id>make-assembly</id><!-- this is used for 
81
                                    inheritance merges -->
82
                                <phase>install</phase><!-- append to the 
83
                                    packaging phase. -->
84
                                <goals>
85
                                    <goal>attached</goal>
86
                                </goals>
87
                            </execution>
88
                        </executions>
89
                    </plugin>
90
                    <!-- This plugin configuration is duplicated in the create-installer 
91
                        profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven 
92
                        plugin -->
93
                    <plugin>
94
                        <artifactId>maven-antrun-plugin</artifactId>
95
                        <executions>
96
                            <execution>
97
                                <id>copy-to-andami</id>
98
                                <phase>install</phase>
99
                                <configuration>
100
                                    <tasks>
101
                                        <property name="project.packaging" value="${project.packaging}" />
102
                                        <property name="gvsig.install.dir" value="${gvsig.install.dir}" />
103
                                        <property name="distribution-final-name" value="${project.build.finalName}" />
104
                                        <ant antfile="${base.tools.path}/ant/gvsig-extension-tasks.xml" target="make-extension-new" inheritRefs="true" />
105
                                    </tasks>
106
                                </configuration>
107
                                <goals>
108
                                    <goal>run</goal>
109
                                </goals>
110
                            </execution>
111
                        </executions>
112
                    </plugin>
113
                    <plugin>
114
                        <artifactId>maven-clean-plugin</artifactId>
115
                        <configuration>
116
                            <filesets>
117
                                <fileset>
118
                                    <directory>${extension.install.dir}</directory>
119
                                    <includes>
120
                                        <include>**</include>
121
                                    </includes>
122
                                </fileset>
123
                            </filesets>
124
                        </configuration>
125
                    </plugin>
126
                    <plugin>
127
                        <groupId>org.codehaus.mojo</groupId>
128
                        <artifactId>properties-maven-plugin</artifactId>
129
                        <version>1.0-alpha-2</version>
130
                        <executions>
131
                            <execution>
132
                                <phase>initialize</phase>
133
                                <goals>
134
                                    <goal>read-project-properties</goal>
135
                                </goals>
136
                                <configuration>
137
                                    <files>
138
                                        <file>buildNumber.properties</file>
139
                                    </files>
140
                                </configuration>
141
                            </execution>
142
                        </executions>
143
                    </plugin>
144
                    <!-- Create the package.info file for the plugin and 
145
                        installer info in the compile phase. -->
146
                    <plugin>
147
                        <groupId>org.gvsig</groupId>
148
                        <artifactId>org.gvsig.installer.maven</artifactId>
149
                        <configuration>
150
                            <pluginsFolder>${gvsig.install.dir}/gvSIG/extensiones</pluginsFolder>
151
                            <packageFolder>${gvsig.install.dir}/install/pool/${project.artifactId}</packageFolder>
152
                            <buildNumber>${buildNumber}</buildNumber>
153
                            <state>${package.info.state}</state>
154
                            <official>${package.info.official}</official>
155
                            <operatingSystem>${package.info.operatingSystem}</operatingSystem>
156
                            <architecture>${package.info.architecture}</architecture>
157
                            <javaVM>${package.info.javaVM}</javaVM>
158
                            <gvSIGVersion>${package.info.gvSIGVersion}</gvSIGVersion>
159
                            <baseDownloadURL>${package.info.baseDownloadURL}</baseDownloadURL>
160
                            <pkgdependencies>${package.info.dependencies}</pkgdependencies>
161
                            <owner>${package.info.owner}</owner>
162
                            <sourcesURL>${package.info.sourcesURL}</sourcesURL>
163
                            <webURL>${package.info.webURL}</webURL>
164
                            <categories>${package.info.categories}</categories>
165
                        </configuration>
166
                        <executions>
167
                            <execution>
168
                                <id>write-info</id>
169
                                <phase>compile</phase>
170
                                <goals>
171
                                    <goal>write-info</goal>
172
                                </goals>
173
                            </execution>
174
                        </executions>
175
                    </plugin>
176
                </plugins>
177
            </build>
178
        </profile>
179
        <profile>
180
            <id>create-installer</id>
181
            <build>
182
                <plugins>
183
                    <plugin>
184
                        <groupId>org.codehaus.mojo</groupId>
185
                        <artifactId>buildnumber-maven-plugin</artifactId>
186
                        <version>1.0-beta-2</version>
187
                        <executions>
188
                            <execution>
189
                                <phase>validate</phase>
190
                                <goals>
191
                                    <goal>create</goal>
192
                                </goals>
193
                            </execution>
194
                        </executions>
195
                        <configuration>
196
                            <format>{0,number,#}</format>
197
                            <items>
198
                                <item>buildNumber</item>
199
                            </items>
200
                            <doCheck>false</doCheck>
201
                            <doUpdate>false</doUpdate>
202
                        </configuration>
203
                    </plugin>
204
                    <!-- This plugin configuration is duplicated in the install-extension 
205
                        profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven 
206
                        plugin -->
207
                    <plugin>
208
                        <artifactId>maven-assembly-plugin
209
                        </artifactId>
210
                        <configuration>
211
                            <descriptors>
212
                                <descriptor>${extension.distribution.file}</descriptor>
213
                            </descriptors>
214
                            <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
215
                            <appendAssemblyId>true</appendAssemblyId>
216
                        </configuration>
217
                        <executions>
218
                            <execution>
219
                                <id>make-assembly</id><!-- this is used for 
220
                                    inheritance merges -->
221
                                <phase>install</phase><!-- append to the 
222
                                    packaging phase. -->
223
                                <goals>
224
                                    <goal>attached</goal>
225
                                </goals>
226
                            </execution>
227
                        </executions>
228
                    </plugin>
229
                    <!-- This plugin configuration is duplicated in the install-extension 
230
                        profile, because of ordering issues, as it must be run before the org.gvsig.installer.maven 
231
                        plugin -->
232
                    <plugin>
233
                        <artifactId>maven-antrun-plugin</artifactId>
234
                        <executions>
235
                            <execution>
236
                                <id>copy-to-andami</id>
237
                                <phase>install</phase>
238
                                <configuration>
239
                                    <tasks>
240
                                        <property name="project.packaging" value="${project.packaging}" />
241
                                        <property name="gvsig.install.dir" value="${gvsig.install.dir}" />
242
                                        <property name="distribution-final-name" value="${project.build.finalName}" />
243
                                        <ant antfile="${base.tools.path}/ant/gvsig-extension-tasks.xml" target="make-extension-new" inheritRefs="true" />
244
                                    </tasks>
245
                                </configuration>
246
                                <goals>
247
                                    <goal>run</goal>
248
                                </goals>
249
                            </execution>
250
                        </executions>
251
                    </plugin>
252
                    <!-- Create the package.info file for the plugin and 
253
                        installer info in the compile phase, and create the plugin installer in the 
254
                        install phase. -->
255
                    <plugin>
256
                        <groupId>org.gvsig</groupId>
257
                        <artifactId>org.gvsig.installer.maven</artifactId>
258
                        <configuration>
259
                            <pluginsFolder>${gvsig.install.dir}/gvSIG/extensiones</pluginsFolder>
260
                            <packageFolder>${gvsig.install.dir}/install/pool/${project.artifactId}</packageFolder>
261
                            <buildNumber>${buildNumber}</buildNumber>
262
                            <state>${package.info.state}</state>
263
                            <official>${package.info.official}</official>
264
                            <operatingSystem>${package.info.operatingSystem}</operatingSystem>
265
                            <architecture>${package.info.architecture}</architecture>
266
                            <javaVM>${package.info.javaVM}</javaVM>
267
                            <gvSIGVersion>${package.info.gvSIGVersion}</gvSIGVersion>
268
                            <baseDownloadURL>${package.info.baseDownloadURL}</baseDownloadURL>
269
                            <pkgdependencies>${package.info.dependencies}</pkgdependencies>
270
                            <owner>${package.info.owner}</owner>
271
                            <sourcesURL>${package.info.sourcesURL}</sourcesURL>
272
                            <webURL>${package.info.webURL}</webURL>
273
                        </configuration>
274
                        <executions>
275
                            <execution>
276
                                <id>write-info</id>
277
                                <phase>compile</phase>
278
                                <goals>
279
                                    <goal>write-info</goal>
280
                                </goals>
281
                            </execution>
282
                            <execution>
283
                                <id>create-plugin-package</id>
284
                                <phase>install</phase>
285
                                <goals>
286
                                    <goal>create-package</goal>
287
                                </goals>
288
                            </execution>
289
                            <execution>
290
                                <id>create-plugin-package-index</id>
291
                                <phase>install</phase>
292
                                <goals>
293
                                    <goal>create-package-index</goal>
294
                                </goals>
295
                            </execution>
296
                        </executions>
297
                    </plugin>
298
                </plugins>
299
            </build>
300
        </profile>
301
    </profiles>
302
</project>

Also available in: Unified diff