Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / applications / _fwAndami-updater / pom.xml @ 36414

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