Statistics
| Revision:

gvsig-gdal / trunk / org.gvsig.gdal / org.gvsig.gdal.app / org.gvsig.gdal.app.mainplugin / org.gvsig.gdal.app.mainplugin.lin.x86_64 / pom.xml @ 26

History | View | Annotate | Download (3.24 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" 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
        <artifactId>org.gvsig.gdal.app.mainplugin.lin.x86_64</artifactId>
6
        <packaging>jar</packaging>
7

    
8
        <parent>
9
                <groupId>org.gvsig</groupId>
10
                <artifactId>org.gvsig.gdal.app.mainplugin</artifactId>
11
                <version>1.0.0-SNAPSHOT</version>
12
        </parent>
13

    
14

    
15
        <properties>
16
                <gvsig.package.info.operatingSystem>lin</gvsig.package.info.operatingSystem>
17
                <gvsig.package.info.architecture>x86_64</gvsig.package.info.architecture>
18

    
19
                <gdal.classifier>linux-all-gcc4-x86_64-dynamic</gdal.classifier>
20
                <gdal.version>1.11.2</gdal.version>
21
        </properties>
22

    
23
        <dependencyManagement>
24
                <dependencies>
25
                        <dependency>
26
                                <groupId>org.gdal</groupId>
27
                                <artifactId>gdal</artifactId>
28
                                <version>${gdal.version}</version>
29
                                <classifier>${gdal.classifier}</classifier>
30
                                <scope>runtime</scope>
31
                                <type>tar.gz</type>
32
                        </dependency>
33
                </dependencies>
34
        </dependencyManagement>
35

    
36

    
37
        <dependencies>
38
                <dependency>
39
                        <groupId>org.gvsig</groupId>
40
                        <artifactId>org.gvsig.gdal.app.mainplugin.common</artifactId>
41
                        <type>zip</type>
42
                </dependency>
43
                <dependency>
44
                        <groupId>org.gdal</groupId>
45
                        <artifactId>gdal</artifactId>
46
                        <scope>runtime</scope>
47
                </dependency>
48
                <dependency>
49
                        <groupId>org.gdal</groupId>
50
                        <artifactId>gdal</artifactId>
51
                        <classifier>${gdal.classifier}</classifier>
52
                        <scope>runtime</scope>
53
                        <type>tar.gz</type>
54
                </dependency>
55
        </dependencies>
56

    
57

    
58

    
59
        <build>
60
                <plugins>
61

    
62
                        <plugin>
63
                                <groupId>org.apache.maven.plugins</groupId>
64
                                <artifactId>maven-dependency-plugin</artifactId>
65
                                <executions>
66
                                        <execution>
67
                                                <id>unpack</id>
68
                                                <phase>process-sources</phase>
69
                                                <goals>
70
                                                        <goal>unpack</goal>
71
                                                </goals>
72
                                                <configuration>
73
                                                        <artifactItems>
74
                                                                <artifactItem>
75
                                                                        <groupId>org.gvsig</groupId>
76
                                                                        <artifactId>org.gvsig.gdal.app.mainplugin.common</artifactId>
77
                                                                        <type>zip</type>
78
                                                                        <overWrite>true</overWrite>
79
                                                                        <outputDirectory>target</outputDirectory>
80
                                                                </artifactItem>
81
                                                                <artifactItem>
82
                                                                        <groupId>org.gdal</groupId>
83
                                                                        <artifactId>gdal</artifactId>
84
                                                                        <version>${gdal.version}</version>
85
                                                                        <classifier>${gdal.classifier}</classifier>
86
                                                                        <type>tar.gz</type>
87
                                                                        <overWrite>true</overWrite>
88
                                                                        <outputDirectory>target/native/gdal</outputDirectory>
89
                                                                </artifactItem>
90
                                                        </artifactItems>
91
                                                </configuration>
92
                                        </execution>
93
                                </executions>
94
                        </plugin>
95

    
96
                </plugins>
97
        </build>
98

    
99

    
100
        <profiles>
101
                <profile>
102
                        <id>gvsig-plugin-install-gdal-linux-x86_64</id>
103
                        <activation>
104
                                <os>
105
                                        <family>unix</family>
106
                                        <name>linux</name>
107
                                        <arch>x86_64</arch>
108
                                </os>
109
                        </activation>
110
                        <properties>
111
                                <gvsig.install.plugin>true</gvsig.install.plugin>
112
                        </properties>
113
                </profile>
114

    
115
                <profile>
116
                        <id>gvsig-plugin-install-gdal-linux-amd64</id>
117
                        <activation>
118
                                <os>
119
                                        <family>unix</family>
120
                                        <name>linux</name>
121
                                        <arch>amd64</arch>
122
                                </os>
123
                        </activation>
124
                        <properties>
125
                                <gvsig.install.plugin>true</gvsig.install.plugin>
126
                        </properties>
127
                </profile>
128

    
129
        </profiles>
130

    
131
</project>