Statistics
| Revision:

root / branches / v2_0_0_prep / applications / _fwAndami-updater / pom.xml @ 37568

History | View | Annotate | Download (5.43 KB)

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