Statistics
| Revision:

gvsig-raster / org.gvsig.jgdal / trunk / org.gvsig.jgdal / pom.xml @ 974

History | View | Annotate | Download (3.34 KB)

1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
        <modelVersion>4.0.0</modelVersion>
4
        <artifactId>org.gvsig.jgdal</artifactId>
5
        <packaging>jar</packaging>
6
        <version>2.0.4-SNAPSHOT</version>
7
        <name>org.gvsig.jgdal</name>
8

    
9
    <parent>
10
        <groupId>org.gvsig</groupId>
11
        <artifactId>org.gvsig.maven.base.jni.pom</artifactId>
12
        <version>1.0.8-SNAPSHOT</version>
13
    </parent>
14
        <properties>
15
                <build-dir>${basedir}/../../build</build-dir>
16
                <eclipse.project.name>org.gvsig.jgdal</eclipse.project.name>
17
        </properties>
18
        <build>
19
                <plugins>
20
                        <!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
21
                        <plugin>
22
                                <groupId>org.apache.maven.plugins</groupId>
23
                                <artifactId>maven-surefire-plugin</artifactId>
24
                                <configuration>
25
                                        <skipTests>true</skipTests>
26
                                </configuration>
27
                        </plugin>
28
                </plugins>
29
        </build>
30
        <profiles>
31
                <profile>
32
                        <id>windows-profile</id>
33
                        <activation>
34
                                <property>
35
                                        <name>native-platform</name>
36
                                        <value>win</value>
37
                                </property>
38
                        </activation>
39
                        <properties>
40
                                <!-- This hack is necessary to allow correct search in windows -->
41
                                <build-dir>${basedir}\..\..\build</build-dir>
42
                        </properties>
43
                        <dependencies>
44
                                <dependency>
45
                                        <groupId>org.gdal</groupId>
46
                                        <artifactId>gdal</artifactId>
47
                                        <version>1.8.1</version>
48
                                        <classifier>${native-classifier}</classifier>
49
                                        <type>tar.gz</type>
50
                                </dependency>
51
                                <dependency>
52
                                        <groupId>com.microsoft</groupId>
53
                                        <artifactId>visualcppredist</artifactId>
54
                                        <version>2008</version>
55
                                        <classifier>${native-classifier}</classifier>
56
                                        <type>tar.gz</type>
57
                                </dependency>
58
                        </dependencies>
59
                </profile>
60
                <profile>
61
                        <id>linux-profile</id>
62
                        <activation>
63
                                <property>
64
                                        <name>native-platform</name>
65
                                        <value>linux</value>
66
                                </property>
67
                        </activation>
68
                        <dependencies>
69
                                <dependency>
70
                                        <groupId>org.gdal</groupId>
71
                                        <artifactId>gdal</artifactId>
72
                                        <version>1.8.1</version>
73
                                        <classifier>${native-classifier}</classifier>
74
                                        <type>tar.gz</type>
75
                                </dependency>
76
                                <!-- <dependency> <groupId>eu.fbk</groupId> <artifactId>grass</artifactId> 
77
                                        <version>6.0.2</version> <classifier>${native-classifier}</classifier> <type>tar.gz</type> 
78
                                        <scope>runtime</scope> </dependency> -->
79
                        </dependencies>
80
                </profile>
81
                <profile>
82
                        <id>fedora11-profile</id>
83
                        <activation>
84
                                <property>
85
                                        <name>native-platform</name>
86
                                        <value>fedora11</value>
87
                                </property>
88
                        </activation>
89
                        <dependencies>
90
                                <dependency>
91
                                        <groupId>org.gdal</groupId>
92
                                        <artifactId>gdal</artifactId>
93
                                        <version>1.6.0</version>
94
                                        <classifier>${native-classifier}</classifier>
95
                                        <type>tar.gz</type>
96
                                </dependency>
97
                        </dependencies>
98
                </profile>
99
                <profile>
100
                        <id>mac-profile</id>
101
                        <activation>
102
                                <property>
103
                                        <name>native-platform</name>
104
                                        <value>mac</value>
105
                                </property>
106
                        </activation>
107
                        <dependencies>
108
                                <dependency>
109
                                        <groupId>org.gdal</groupId>
110
                                        <artifactId>gdal</artifactId>
111
                                        <version>1.8.1</version>
112
                                        <classifier>${native-classifier}</classifier>
113
                                        <type>tar.gz</type>
114
                                </dependency>
115
                        </dependencies>
116
                </profile>
117
        </profiles>
118
</project>
119