Revision 37 trunk/org.gvsig.gdal/org.gvsig.gdal.app/org.gvsig.gdal.app.mainplugin/org.gvsig.gdal.app.mainplugin.win.x86/pom.xml

View differences:

pom.xml
1 1
<?xml version="1.0" encoding="UTF-8"?>
2 2
<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">
3
  <modelVersion>4.0.0</modelVersion>
4
  <artifactId>org.gvsig.gdal.app.mainplugin.win.x86</artifactId>
5
  <packaging>jar</packaging>
3
    <modelVersion>4.0.0</modelVersion>
4
    <artifactId>org.gvsig.gdal.app.mainplugin.win.x86</artifactId>
5
    <packaging>jar</packaging>
6 6
   
7
 	<parent>
8
		<groupId>org.gvsig</groupId>
9
		<artifactId>org.gvsig.gdal.app.mainplugin</artifactId>
10
		<version>1.0.0</version>
11
	</parent>
7
    <parent>
8
        <groupId>org.gvsig</groupId>
9
        <artifactId>org.gvsig.gdal.app.mainplugin</artifactId>
10
        <version>1.0.0-SNAPSHOT</version>
11
    </parent>
12 12
	
13
 	<properties>
14
		<gvsig.package.info.operatingSystem>win</gvsig.package.info.operatingSystem>
15
		<gvsig.package.info.architecture>x86</gvsig.package.info.architecture>
13
    <properties>
14
        <gvsig.package.info.operatingSystem>win</gvsig.package.info.operatingSystem>
15
        <gvsig.package.info.architecture>x86</gvsig.package.info.architecture>
16 16

  
17
		<gdal.classifier>win-vc1600-x86-dynamic</gdal.classifier>
18
		<gdal.version>1.11.2</gdal.version>
19
	</properties>
17
        <gdal.classifier>win-vc1600-x86-dynamic</gdal.classifier>
18
        <gdal.version>1.11.2</gdal.version>
19
    </properties>
20 20

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

  
34 34

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

  
55 55
  
56 56

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

  
92
  <profiles>
93
  
94
    <profile>
95
      <id>gvsig-plugin-install-driver-windows-x86</id>
96
      <activation>
97
         <os>
98
             <family>windows</family>
99
             <arch>x86</arch>
100
         </os>
101
      </activation>
102
	  <properties>
103
	    <gvsig.install.plugin>true</gvsig.install.plugin>
104
	  </properties>
105
    </profile>
106
  </profiles>
107
  
108 98
</project>
109 99

  

Also available in: Unified diff