Statistics
| Revision:

root / trunk / extensions / extAnimationGUI / pom.xml @ 22809

History | View | Annotate | Download (4.98 KB)

1
<project xmlns="http://maven.apache.org/POM/4.0.0"
2
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
        <modelVersion>4.0.0</modelVersion>
5
        <groupId>org.gvsig</groupId>
6
        <artifactId>extAnimationGUI</artifactId>
7
        <packaging>jar</packaging>
8
        <version>1.0-SNAPSHOT</version>
9
        <name>extAnimationGUI</name>
10
        <url>http://gvsig.org</url>
11
        <description>
12
                This is the extension that contains all the GUI part for the
13
                Animation extension of GvSIG
14
        </description>
15
        <parent>
16
                <groupId>org.gvsig</groupId>
17
                <artifactId>gvsig-extension-base-pom</artifactId>
18
                <version>1.0-SNAPSHOT</version>
19
        </parent>
20
        <dependencies>
21
                <dependency>
22
                        <groupId>org.gvsig</groupId>
23
                        <artifactId>libAnimation3D</artifactId>
24
                        <version>1.0-SNAPSHOT</version>
25
                </dependency>
26
                <dependency>
27
                        <groupId>org.gvsig</groupId>
28
                        <artifactId>libAnimation2D</artifactId>
29
                        <version>1.0-SNAPSHOT</version>
30
                </dependency>
31
                <dependency>
32
                        <groupId>org.gvsig</groupId>
33
                        <artifactId>libAnimationCommon</artifactId>
34
                        <version>1.0-SNAPSHOT</version>
35
                </dependency>
36
        </dependencies>
37
        <properties>
38
                <extension-appgvsig-lib-dir>
39
                        ${extension-dir}/com.iver.cit.gvsig/lib/
40
                </extension-appgvsig-lib-dir>
41
                <build-dir>${basedir}/../build</build-dir>
42
                <extension-distribution>
43
                        gvSIG/extensiones/org.gvsig.extAnimationGUI/
44
                </extension-distribution>
45
                <gvsig-extension-distribution>
46
                        gvSIG/extensiones/com.iver.cit.gvsig/
47
                </gvsig-extension-distribution>
48
                
49
                        <!-- Path to the descriptor for win32 -->
50
                <distribution-win32-descriptor>
51
                        /distribution/win-distribution/distribution-win32.xml
52
                </distribution-win32-descriptor>
53
                <!-- Path to the descriptor for win32 sources -->
54
                <distribution-win32-descriptor-source></distribution-win32-descriptor-source>
55

    
56
                <!-- Path to the descriptor for linux32  -->
57
                <distribution-linux32-descriptor>
58
                        /distribution/linux-distribution/distribution-linux.xml
59
                </distribution-linux32-descriptor>
60
                <!-- Path to the descriptor for linux32 sources -->
61
                <distribution-linux32-descriptor-source></distribution-linux32-descriptor-source>
62

    
63
                <!-- Path to the descriptor for mac -->
64
                <distribution-mac-descriptor>
65
                        /distribution/distribution-mac.xml
66
                </distribution-mac-descriptor>
67
                <!-- Path to the descriptor for mac sources-->
68
                <distribution-mac-descriptor-source></distribution-mac-descriptor-source>
69

    
70
                <!-- Path to the output directory for the distribution -->
71
                <distribution-output-directory>
72
                        ./distribution/
73
                </distribution-output-directory>
74
                <!-- Final name of the output directory for the distribution -->
75
                <distribution-final-name>extAnimation</distribution-final-name>
76
                
77
                
78
                
79
                <!-- Path to the file descriptor to generate the extension-->
80
                <extension-distribution-file>distribution/extension-distribution.xml
81
                </extension-distribution-file>
82
                <!-- Final name of the output directory for the distribution -->
83
                <distribution-final-name>extAnimationGUI</distribution-final-name>
84
                <application-name>Extension-Animation-GUI</application-name>
85
        </properties>
86
        <build>
87
                <sourceDirectory>src</sourceDirectory>
88
                <testSourceDirectory>test</testSourceDirectory>
89
                <plugins>
90
                        <plugin>
91
                                <groupId>org.apache.maven.plugins</groupId>
92
                                <artifactId>maven-dependency-plugin</artifactId>
93
                                <executions>
94
                                        <execution>
95
                                                <id>copy-gvsig</id>
96
                                                <phase>install</phase>
97
                                                <goals>
98
                                                        <goal>copy</goal>
99
                                                </goals>
100
                                                <configuration>
101
                                                        <artifactItems>
102
                                                                <artifactItem>
103
                                                                        <groupId>org.gvsig</groupId>
104
                                                                        <artifactId>
105
                                                                                libAnimation
106
                                                                        </artifactId>
107
                                                                        <version>1.0-SNAPSHOT</version>
108
                                                                        <type>jar</type>
109
                                                                        <overWrite>true</overWrite>
110
                                                                </artifactItem>
111
                                                        </artifactItems>
112
                                                        <outputDirectory>
113
                                                                ${extension-appgvsig-lib-dir}
114
                                                        </outputDirectory>
115
                                                        <overWriteReleases>false</overWriteReleases>
116
                                                        <overWriteSnapshots>
117
                                                                true
118
                                                        </overWriteSnapshots>
119
                                                        <excludeTransitive>false</excludeTransitive>
120
                                                </configuration>
121
                                        </execution>
122
                                </executions>
123
                        </plugin>
124
                </plugins>
125
        </build>
126
        <profiles>
127
                <profile>
128
                        <id>generate-installers</id>
129
                        <activation>
130
                                <property>
131
                                        <name>generate-install</name>
132
                                </property>
133
                        </activation>
134
                        <build>
135
                                <plugins>
136
                                        <plugin>
137
                                                <artifactId>maven-antrun-plugin</artifactId>
138
                                                <executions>
139
                                                        <execution>
140
                                                                <id>generate-install</id>
141
                                                                <phase>install</phase>
142
                                                                <configuration>
143
                                                                        <tasks>
144
                                                                        <property
145
                                                                                        name="base-dir" value="${basedir}" />
146
                                                                                <ant
147
                                                                                        antfile="${basedir}/distribution/build.xml"
148
                                                                                        inheritRefs="true" />
149
                                                                        </tasks>
150
                                                                </configuration>
151
                                                                <goals>
152
                                                                        <goal>run</goal>
153
                                                                </goals>
154
                                                        </execution>
155
                                                </executions>
156
                                        </plugin>
157
                                </plugins>
158
                        </build>
159
                </profile>
160
        </profiles>
161
</project>