Statistics
| Revision:

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

History | View | Annotate | Download (5.89 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>_fwAndami-updater</name>
6
        <version>1.0.1</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/tags/applications/org.gvsig.andamiupdater/1.0.1</connection>
17
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-desktop/tags/applications/org.gvsig.andamiupdater/1.0.1</developerConnection>
18
        <url>https://devel.gvsig.org/redmine/projects/gvsig-desktop/repository/show/tags/applications/org.gvsig.andamiupdater/1.0.1</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.1</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
                        <goals>deploy</goals>
71
                      </configuration>
72
                    </plugin>                        
73

    
74
        </plugins>
75
    </build>
76
    <profiles>
77
            <profile>
78
            <id>install-extension</id>
79
            <activation>
80
                <activeByDefault>true</activeByDefault>
81
                <property>
82
                    <name>install-extension</name>
83
                </property>
84
            </activation>
85
            <build>
86
                <plugins>
87
                    <plugin>
88
                        <groupId>org.apache.maven.plugins
89
                                                </groupId>
90
                        <artifactId>maven-dependency-plugin
91
                                                </artifactId>
92
                        <executions>
93
                            <execution>
94
                                <id>copy-own-dependencies-for-andamiupdater
95
                                                                </id>
96
                                <phase>install</phase>
97
                                <goals>
98
                                    <goal>copy-dependencies</goal>
99
                                </goals>
100
                                <configuration>
101
                                    <outputDirectory>${andami.lib.dir}</outputDirectory>
102
                                    <overWriteReleases>true</overWriteReleases>
103
                                    <overWriteSnapshots>true</overWriteSnapshots>
104
                                    <overWriteIfNewer>true</overWriteIfNewer>
105
                                    <includeScope>runtime</includeScope>
106
                                </configuration>
107
                            </execution>
108
                            <execution>
109
                                <id>copy-andamiupdater</id>
110
                                <phase>install</phase>
111
                                <goals>
112
                                    <goal>copy</goal>
113
                                </goals>
114
                                <configuration>
115
                                    <artifactItems>
116
                                        <artifactItem>
117
                                            <groupId>org.gvsig</groupId>
118
                                            <artifactId>org.gvsig.andamiupdater</artifactId>
119
                                            <version>1.0.0</version>
120
                                            <type>jar</type>
121
                                            <overWrite>true</overWrite>
122
                                        </artifactItem>
123
                                    </artifactItems>
124
                                    <outputDirectory>${andami.lib.dir}</outputDirectory>
125
                                    <overWriteReleases>true</overWriteReleases>
126
                                    <overWriteSnapshots>false</overWriteSnapshots>
127
                                    <overWriteIfNewer>true</overWriteIfNewer>
128
                                    <excludeTransitive>false</excludeTransitive>
129
                                </configuration>
130
                            </execution>
131
                        </executions>
132
                    </plugin>
133
                </plugins>
134
            </build>
135
        </profile>
136
     </profiles>
137
</project>