Statistics
| Revision:

gvsig-raster / org.gvsig.raster.ermapper / tags / v2.2.1 / org.gvsig.raster.ermapper / org.gvsig.raster.ermapper.app / pom.xml @ 2729

History | View | Annotate | Download (9.66 KB)

1
<?xml version="1.0" encoding="ISO-8859-1"?>
2

    
3
<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">
4
        <modelVersion>4.0.0</modelVersion>
5
        <artifactId>org.gvsig.raster.ermapper.app</artifactId>
6
        <packaging>jar</packaging>
7
        <name>Formats: Ecw file format support</name>
8
        <description>Ermapper SDK data provider (ecw format) for gvSIG</description>
9
        <parent>
10
      <groupId>org.gvsig</groupId>
11
      <artifactId>org.gvsig.raster.ermapper</artifactId>
12
      <version>2.2.1</version>
13
    </parent>
14
    <scm>
15
        <connection>scm:svn:https://devel.gvsig.org/svn/gvsig-raster/org.gvsig.raster.ermapper/tags/v2.2.1/org.gvsig.raster.ermapper.app</connection>
16
        <developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-raster/org.gvsig.raster.ermapper/tags/v2.2.1/org.gvsig.raster.ermapper.app</developerConnection>
17
        <url>https://devel.gvsig.org/redmine/projects/gvsig-raster/repository/show/org.gvsig.raster.ermapper/tags/v2.2.1/org.gvsig.raster.ermapper.app</url>
18
    </scm>
19
   <dependencies>
20
                   <dependency>
21
                <groupId>org.gvsig</groupId>
22
            <artifactId>org.gvsig.andami</artifactId>
23
            <scope>compile</scope>
24
        </dependency>
25
            <dependency>
26
                        <groupId>org.gvsig</groupId>
27
                        <artifactId>org.gvsig.raster.ermapper.io</artifactId>
28
            <scope>runtime</scope>
29
                </dependency>  
30
                <dependency>
31
                        <groupId>org.gvsig</groupId>
32
                        <artifactId>org.gvsig.jecw</artifactId>
33
            <scope>compile</scope>
34
                </dependency>
35
        <dependency>
36
            <groupId>org.gvsig</groupId>
37
            <artifactId>org.gvsig.jecw</artifactId>
38
            <classifier>${native_classifier}</classifier>
39
            <type>tar.gz</type>
40
            <scope>runtime</scope>
41
        </dependency>
42
        </dependencies>
43
        
44
        <profiles>
45
           <profile>
46
                        <id>gvsig-install</id>
47
                        <activation>
48
                                <activeByDefault>true</activeByDefault>
49
                        </activation>
50
                </profile>  
51
                
52
           <!-- *************** -->
53
       <!--  LINUX PROFILE  -->
54
       <!-- *************** -->
55
            
56
        <profile>
57
            <id>linux-profile</id>
58
            <activation>
59
                                <property>
60
                                        <name>native-platform</name>
61
                                        <value>linux</value>
62
                                </property>
63
           </activation>
64
           <properties>
65
                           <gvsig.package.info.categories>Raster</gvsig.package.info.categories>
66
                           <gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem>
67
                        <gvsig.package.info.architecture>x86</gvsig.package.info.architecture>
68
                <gvsig.package.info.dependencies>required: org.gvsig.raster.tilecache.app -ge 2</gvsig.package.info.dependencies>
69
                        </properties>
70
                        <build>
71
                          <plugins>
72
                            <plugin>
73
                                <artifactId>maven-assembly-plugin</artifactId>
74
                                <configuration>
75
                                    <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
76
                                    <appendAssemblyId>false</appendAssemblyId>
77
                                </configuration>
78
                                <executions>
79
                                          <execution>
80
                                            <id>gvsig-plugin-package</id>
81
                                            <phase>package</phase>
82
                                            <goals>
83
                                                <goal>single</goal>
84
                                            </goals>
85
                                            <configuration>
86
                                                      <finalName>gvSIG-desktop-${gvsig.package.info.gvSIGVersion}-${project.artifactId}-${gvsig.package.info.version}-${buildNumber}-${gvsig.package.info.state}-${gvsig.package.info.operatingSystem}-${gvsig.package.info.architecture}-${gvsig.package.info.javaVM}.gvspkg</finalName>
87
                                                      <descriptors>
88
                                                        <descriptor>src/main/assembly/gvsig-plugin-package-lin.xml</descriptor>
89
                                                      </descriptors>
90
                                            </configuration>
91
                                          </execution>
92
                                </executions>
93
                            </plugin>
94
                            
95
                            <plugin>
96
                                                <groupId>org.codehaus.mojo</groupId>
97
                                                <artifactId>exec-maven-plugin</artifactId>
98
                        <executions>
99
                            <execution>
100
                                                                <id>unpack-jecw</id>
101
                                                                <phase>generate-sources</phase>
102
                                <goals>
103
                                    <goal>exec</goal>
104
                                </goals>
105
                                <configuration>
106
                                                                    <executable>sh</executable>
107
                                    <arguments>
108
                                                                                <argument>${basedir}/unpack-dependencies.sh</argument>
109
                                                                                <argument>${user.home}/.m2/repository/org/gvsig/org.gvsig.jecw/${jecw.version}</argument>
110
                                                                                <argument>${depman.dir}</argument>
111
                                    </arguments>
112
                                </configuration>
113
                            </execution>
114
                            <execution>
115
                                                                <id>unpack-ecw</id>
116
                                                                <phase>generate-sources</phase>
117
                                <goals>
118
                                    <goal>exec</goal>
119
                                </goals>
120
                                <configuration>
121
                                                                    <executable>sh</executable>
122
                                    <arguments>
123
                                                                                <argument>${basedir}/unpack-dependencies.sh</argument>
124
                                                                                <argument>${user.home}/.m2/repository/com/ermapper/ecw/${ecw.version}</argument>
125
                                                                                <argument>${depman.dir}</argument>
126
                                    </arguments>
127
                                </configuration>
128
                            </execution>
129
                        </executions>
130
                    </plugin>
131
                            
132
                    </plugins>
133
            </build>
134
        </profile>
135
        
136
       <!-- *************** -->
137
       <!-- WINDOWS PROFILE -->
138
       <!-- *************** -->
139
       
140
        <profile>
141
            <id>windows-profile</id>
142
            <activation>
143
                <property>
144
                                        <name>native-platform</name>
145
                                        <value>win</value>
146
                                </property>
147
            </activation>
148
            <properties>
149
                    <gvsig.package.info.categories>Raster, Formats</gvsig.package.info.categories>
150
                           <gvsig.package.info.operatingSystem>win</gvsig.package.info.operatingSystem>
151
                        <gvsig.package.info.architecture>x86</gvsig.package.info.architecture>
152
                <gvsig.package.info.dependencies>required: org.gvsig.raster.tilecache.app -ge 2</gvsig.package.info.dependencies>
153
                        </properties>
154
                        <build>
155
                          <plugins>
156
                            <plugin>
157
                                <artifactId>maven-assembly-plugin</artifactId>
158
                                <configuration>
159
                                    <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
160
                                    <appendAssemblyId>false</appendAssemblyId>
161
                                </configuration>
162
                                <executions>
163
                                          <execution>
164
                                            <id>gvsig-plugin-package</id>
165
                                            <phase>package</phase>
166
                                            <goals>
167
                                                <goal>single</goal>
168
                                            </goals>
169
                                            <configuration>
170
                                                      <finalName>gvSIG-desktop-${gvsig.package.info.gvSIGVersion}-${project.artifactId}-${gvsig.package.info.version}-${buildNumber}-${gvsig.package.info.state}-${gvsig.package.info.operatingSystem}-${gvsig.package.info.architecture}-${gvsig.package.info.javaVM}.gvspkg</finalName>
171
                                                      <descriptors>
172
                                                        <descriptor>src/main/assembly/gvsig-plugin-package-win.xml</descriptor>
173
                                                      </descriptors>
174
                                            </configuration>
175
                                          </execution>
176
                                </executions>
177
                            </plugin>
178
                            
179
                            <plugin>
180
                                                <groupId>org.codehaus.mojo</groupId>
181
                                                <artifactId>exec-maven-plugin</artifactId>
182
                        <executions>
183
                            <execution>
184
                                                                <id>unpack-jecw</id>
185
                                                                <phase>generate-sources</phase>
186
                                <goals>
187
                                    <goal>exec</goal>
188
                                </goals>
189
                                <configuration>
190
                                                                    <executable>sh</executable>
191
                                    <arguments>
192
                                                                                <argument>${basedir}/unpack-dependencies.sh</argument>
193
                                                                                <argument>${user.home}/.m2/repository/org/gvsig/org.gvsig.jecw/${jecw.version}</argument>
194
                                                                                <argument>${depman.dir}</argument>
195
                                    </arguments>
196
                                </configuration>
197
                            </execution>
198
                            <execution>
199
                                                                <id>unpack-ecw</id>
200
                                                                <phase>generate-sources</phase>
201
                                <goals>
202
                                    <goal>exec</goal>
203
                                </goals>
204
                                <configuration>
205
                                                                    <executable>sh</executable>
206
                                    <arguments>
207
                                                                                <argument>${basedir}/unpack-dependencies.sh</argument>
208
                                                                                <argument>${user.home}/.m2/repository/com/ermapper/ecw/${ecw.version}</argument>
209
                                                                                <argument>${depman.dir}</argument>
210
                                    </arguments>
211
                                </configuration>
212
                            </execution>
213
                        </executions>
214
                    </plugin>
215
                    
216
                    </plugins>
217
            </build>
218
        </profile>
219
    </profiles>
220
    <properties>
221
            <gvsig.package.info.state>final</gvsig.package.info.state>
222
            <gvsig.package.info.poolURL>http://devel.gvsig.org/download/projects/Raster/pool</gvsig.package.info.poolURL>
223
            <gvsig.package.info.official>true</gvsig.package.info.official>
224
    </properties>
225
</project>