Revision 40135 branches/v2_0_0_prep/applications/_fwAndami-updater/pom.xml
pom.xml | ||
---|---|---|
1 |
<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/maven-v4_0_0.xsd"> |
|
2 |
<modelVersion>4.0.0</modelVersion> |
|
3 |
<artifactId>org.gvsig.andamiupdater</artifactId> |
|
4 |
<packaging>jar</packaging> |
|
5 |
<name>_fwAndami-updater</name> |
|
6 |
<version>1.0.1-SNAPSHOT</version> |
|
7 |
|
|
8 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-desktop</url> |
|
9 |
|
|
10 |
<parent> |
|
11 |
<groupId>org.gvsig</groupId> |
|
12 |
<artifactId>org.gvsig.maven.base.pom</artifactId> |
|
13 |
<version>1.0.9</version> |
|
14 |
</parent> |
|
15 |
<scm> |
|
16 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/applications/_fwAndami-updater</connection> |
|
17 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/applications/_fwAndami-updater</developerConnection> |
|
18 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/branches/v2_0_0_prep/applications/_fwAndami-updater</url> |
|
19 |
</scm> |
|
20 |
<properties> |
|
21 |
<andami.lib.dir>${gvsig.install.dir}/lib</andami.lib.dir> |
|
22 |
<!-- |
|
23 |
Default gvSIG installation folder relative to the current workspace |
|
24 |
--> |
|
25 |
<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir> |
|
26 |
</properties> |
|
27 |
<dependencies> |
|
28 |
<dependency> |
|
29 |
<groupId>org.gvsig</groupId> |
|
30 |
<artifactId>org.gvsig.andami</artifactId> |
|
31 |
<version>2.0</version> |
|
32 |
<scope>compile</scope> |
|
33 |
</dependency> |
|
34 |
<dependency> |
|
35 |
<groupId>org.apache.ant</groupId> |
|
36 |
<artifactId>ant</artifactId> |
|
37 |
<scope>compile</scope> |
|
38 |
</dependency> |
|
39 |
<dependency> |
|
40 |
<groupId>com.sardak</groupId> |
|
41 |
<artifactId>antform</artifactId> |
|
42 |
<scope>compile</scope> |
|
43 |
</dependency> |
|
44 |
<dependency> |
|
45 |
<groupId>ant-contrib</groupId> |
|
46 |
<artifactId>ant-contrib</artifactId> |
|
47 |
<scope>runtime</scope> |
|
48 |
</dependency> |
|
49 |
</dependencies> |
|
50 |
<build> |
|
51 |
<plugins> |
|
52 |
<plugin> |
|
53 |
<groupId>org.apache.maven.plugins</groupId> |
|
54 |
<artifactId>maven-jar-plugin</artifactId> |
|
55 |
<configuration> |
|
56 |
<archive> |
|
57 |
<manifest> |
|
58 |
<addClasspath>true</addClasspath> |
|
59 |
<mainClass>org.gvsig.andamiupdater.Updater</mainClass> |
|
60 |
</manifest> |
|
61 |
</archive> |
|
62 |
</configuration> |
|
63 |
</plugin> |
|
64 |
|
|
65 |
<plugin> |
|
66 |
<artifactId>maven-release-plugin</artifactId> |
|
67 |
<version>2.0</version> |
|
68 |
<configuration> |
|
69 |
<tagBase>https://devel.gvsig.org/svn/gvsig-desktop/tags/applications/${artifactId}</tagBase> |
|
70 |
</configuration> |
|
71 |
</plugin> |
|
72 |
|
|
73 |
</plugins> |
|
74 |
</build> |
|
75 |
<profiles> |
|
76 |
<profile> |
|
77 |
<id>install-extension</id> |
|
78 |
<activation> |
|
79 |
<activeByDefault>true</activeByDefault> |
|
80 |
<property> |
|
81 |
<name>install-extension</name> |
|
82 |
</property> |
|
83 |
</activation> |
|
84 |
<build> |
|
85 |
<plugins> |
|
86 |
<plugin> |
|
87 |
<groupId>org.apache.maven.plugins |
|
88 |
</groupId> |
|
89 |
<artifactId>maven-dependency-plugin |
|
90 |
</artifactId> |
|
91 |
<executions> |
|
92 |
<execution> |
|
93 |
<id>copy-own-dependencies-for-andamiupdater |
|
94 |
</id> |
|
95 |
<phase>install</phase> |
|
96 |
<goals> |
|
97 |
<goal>copy-dependencies</goal> |
|
98 |
</goals> |
|
99 |
<configuration> |
|
100 |
<outputDirectory>${andami.lib.dir}</outputDirectory> |
|
101 |
<overWriteReleases>true</overWriteReleases> |
|
102 |
<overWriteSnapshots>true</overWriteSnapshots> |
|
103 |
<overWriteIfNewer>true</overWriteIfNewer> |
|
104 |
<includeScope>runtime</includeScope> |
|
105 |
</configuration> |
|
106 |
</execution> |
|
107 |
<execution> |
|
108 |
<id>copy-andamiupdater</id> |
|
109 |
<phase>install</phase> |
|
110 |
<goals> |
|
111 |
<goal>copy</goal> |
|
112 |
</goals> |
|
113 |
<configuration> |
|
114 |
<artifactItems> |
|
115 |
<artifactItem> |
|
116 |
<groupId>org.gvsig</groupId> |
|
117 |
<artifactId>org.gvsig.andamiupdater</artifactId> |
|
118 |
<version>1.0.0-SNAPSHOT</version> |
|
119 |
<type>jar</type> |
|
120 |
<overWrite>true</overWrite> |
|
121 |
</artifactItem> |
|
122 |
</artifactItems> |
|
123 |
<outputDirectory>${andami.lib.dir}</outputDirectory> |
|
124 |
<overWriteReleases>true</overWriteReleases> |
|
125 |
<overWriteSnapshots>false</overWriteSnapshots> |
|
126 |
<overWriteIfNewer>true</overWriteIfNewer> |
|
127 |
<excludeTransitive>false</excludeTransitive> |
|
128 |
</configuration> |
|
129 |
</execution> |
|
130 |
</executions> |
|
131 |
</plugin> |
|
132 |
</plugins> |
|
133 |
</build> |
|
134 |
</profile> |
|
135 |
</profiles> |
|
136 |
</project> |
|
1 |
<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/maven-v4_0_0.xsd"> |
|
2 |
<modelVersion>4.0.0</modelVersion> |
|
3 |
<artifactId>org.gvsig.andamiupdater</artifactId> |
|
4 |
<packaging>jar</packaging> |
|
5 |
<name>_fwAndami-updater</name> |
|
6 |
<version>1.0.0-SNAPSHOT</version> |
|
7 |
|
|
8 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-desktop</url> |
|
9 |
|
|
10 |
<parent> |
|
11 |
<groupId>org.gvsig</groupId> |
|
12 |
<artifactId>org.gvsig.maven.base.pom</artifactId> |
|
13 |
<version>1.0.9</version> |
|
14 |
</parent> |
|
15 |
<scm> |
|
16 |
<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/applications/${name}</connection> |
|
17 |
<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/branches/v2_0_0_prep/applications/${name}</developerConnection> |
|
18 |
<url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/branches/v2_0_0_prep/applications/${name}</url> |
|
19 |
</scm> |
|
20 |
<properties> |
|
21 |
<andami.lib.dir>${gvsig.install.dir}/lib</andami.lib.dir> |
|
22 |
<!-- |
|
23 |
Default gvSIG installation folder relative to the current workspace |
|
24 |
--> |
|
25 |
<gvsig.install.dir>${basedir}/../build/product</gvsig.install.dir> |
|
26 |
</properties> |
|
27 |
<dependencies> |
|
28 |
<dependency> |
|
29 |
<groupId>org.gvsig</groupId> |
|
30 |
<artifactId>org.gvsig.andami</artifactId> |
|
31 |
<version>2.0</version> |
|
32 |
<scope>compile</scope> |
|
33 |
</dependency> |
|
34 |
<dependency> |
|
35 |
<groupId>org.apache.ant</groupId> |
|
36 |
<artifactId>ant</artifactId> |
|
37 |
<scope>compile</scope> |
|
38 |
</dependency> |
|
39 |
<dependency> |
|
40 |
<groupId>com.sardak</groupId> |
|
41 |
<artifactId>antform</artifactId> |
|
42 |
<scope>compile</scope> |
|
43 |
</dependency> |
|
44 |
<dependency> |
|
45 |
<groupId>ant-contrib</groupId> |
|
46 |
<artifactId>ant-contrib</artifactId> |
|
47 |
<scope>runtime</scope> |
|
48 |
</dependency> |
|
49 |
</dependencies> |
|
50 |
<build> |
|
51 |
<plugins> |
|
52 |
<plugin> |
|
53 |
<groupId>org.apache.maven.plugins</groupId> |
|
54 |
<artifactId>maven-jar-plugin</artifactId> |
|
55 |
<configuration> |
|
56 |
<archive> |
|
57 |
<manifest> |
|
58 |
<addClasspath>true</addClasspath> |
|
59 |
<mainClass>org.gvsig.andamiupdater.Updater</mainClass> |
|
60 |
</manifest> |
|
61 |
</archive> |
|
62 |
</configuration> |
|
63 |
</plugin> |
|
64 |
|
|
65 |
<plugin> |
|
66 |
<artifactId>maven-release-plugin</artifactId> |
|
67 |
<version>2.0</version> |
|
68 |
<configuration> |
|
69 |
<tagBase>https://devel.gvsig.org/svn/gvsig-desktop/tags/applications/${artifactId}</tagBase> |
|
70 |
</configuration> |
|
71 |
</plugin> |
|
72 |
|
|
73 |
</plugins> |
|
74 |
</build> |
|
75 |
<profiles> |
|
76 |
<profile> |
|
77 |
<id>install-extension</id> |
|
78 |
<activation> |
|
79 |
<activeByDefault>true</activeByDefault> |
|
80 |
<property> |
|
81 |
<name>install-extension</name> |
|
82 |
</property> |
|
83 |
</activation> |
|
84 |
<build> |
|
85 |
<plugins> |
|
86 |
<plugin> |
|
87 |
<groupId>org.apache.maven.plugins |
|
88 |
</groupId> |
|
89 |
<artifactId>maven-dependency-plugin |
|
90 |
</artifactId> |
|
91 |
<executions> |
|
92 |
<execution> |
|
93 |
<id>copy-own-dependencies-for-andamiupdater |
|
94 |
</id> |
|
95 |
<phase>install</phase> |
|
96 |
<goals> |
|
97 |
<goal>copy-dependencies</goal> |
|
98 |
</goals> |
|
99 |
<configuration> |
|
100 |
<outputDirectory>${andami.lib.dir}</outputDirectory> |
|
101 |
<overWriteReleases>true</overWriteReleases> |
|
102 |
<overWriteSnapshots>true</overWriteSnapshots> |
|
103 |
<overWriteIfNewer>true</overWriteIfNewer> |
|
104 |
<includeScope>runtime</includeScope> |
|
105 |
</configuration> |
|
106 |
</execution> |
|
107 |
<execution> |
|
108 |
<id>copy-andamiupdater</id> |
|
109 |
<phase>install</phase> |
|
110 |
<goals> |
|
111 |
<goal>copy</goal> |
|
112 |
</goals> |
|
113 |
<configuration> |
|
114 |
<artifactItems> |
|
115 |
<artifactItem> |
|
116 |
<groupId>org.gvsig</groupId> |
|
117 |
<artifactId>org.gvsig.andamiupdater</artifactId> |
|
118 |
<version>1.0.0</version> |
|
119 |
<type>jar</type> |
|
120 |
<overWrite>true</overWrite> |
|
121 |
</artifactItem> |
|
122 |
</artifactItems> |
|
123 |
<outputDirectory>${andami.lib.dir}</outputDirectory> |
|
124 |
<overWriteReleases>true</overWriteReleases> |
|
125 |
<overWriteSnapshots>false</overWriteSnapshots> |
|
126 |
<overWriteIfNewer>true</overWriteIfNewer> |
|
127 |
<excludeTransitive>false</excludeTransitive> |
|
128 |
</configuration> |
|
129 |
</execution> |
|
130 |
</executions> |
|
131 |
</plugin> |
|
132 |
</plugins> |
|
133 |
</build> |
|
134 |
</profile> |
|
135 |
</profiles> |
|
136 |
</project> |
Also available in: Unified diff