Statistics
| Revision:

root / branches / v2_0_0_prep / build / libraries-jni-pom / pom.xml @ 28403

History | View | Annotate | Download (3.22 KB)

1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
6

    
7
        <modelVersion>4.0.0</modelVersion>
8
        <groupId>org.gvsig</groupId>
9
        <artifactId>gvsig-library-jni-base-pom</artifactId>
10
        <packaging>pom</packaging>
11
        <version>2.0-SNAPSHOT</version>
12
        <name>library-jni-base-pom</name>
13
        <parent>
14
                <groupId>org.gvsig</groupId>
15
                <artifactId>gvsig-library-base-pom</artifactId>
16
                <version>2.0-SNAPSHOT</version>
17
        </parent>
18
        <description>
19
                Base POM for all GvSIG JNI projects. This pom knows how to
20
                build and made an libraries for GvSIG. The property
21
                "gvsig-path" must be set up correctly.
22
        </description>
23
        <properties>
24
                <builddir>${basedir}/../</builddir>
25
        </properties>
26
        <profiles>
27
                <profile>
28
                        <activation>
29
                                <property>
30
                                        <name>useBuildMan</name>
31
                                </property>
32
                        </activation>
33
                        <properties>
34
                                <compileTarget>native</compileTarget>
35
                                <numProc>2</numProc>
36
                                <install-dependencies>false</install-dependencies>
37
                                <useBuildMan>false</useBuildMan>
38
                                <depman-ant>${builddir}/scripts/depman-ant.xml</depman-ant>
39
                        </properties>
40
                        <build>
41
                                <plugins>
42
                                        <plugin>
43
                                                <groupId>org.apache.maven.plugins</groupId>
44
                                                <artifactId>maven-antrun-plugin</artifactId>
45
                                                <executions>
46
                                                        <execution>
47
                                                                <id>compile-native</id>
48
                                                                <phase>compile</phase>
49
                                                                <configuration>
50
                                                                        <tasks>
51
                                                                                <property name="numProc" value="${numProc}" />
52
                                                                                <property name="install-dependencies" value="${install-dependencies}" />
53
                                                                                <ant antfile="${depman-ant}" target="${compileTarget}" />
54
                                                                        </tasks>
55
                                                                </configuration>
56
                                                                <goals>
57
                                                                        <goal>run</goal>
58
                                                                </goals>
59
                                                        </execution>
60
                                                        <execution>
61
                                                                <id>native-eclipse</id>
62
                                                                <phase>generate-sources</phase>
63
                                                                <configuration>
64
                                                                        <tasks>
65
                                                                                <property name="numProc" value="${numProc}" />
66
                                                                                <property name="install-dependencies" value="${install-dependencies}" />
67
                                                                                <property name="useBuildMan" value="${useBuildMan}" />
68
                                                                                <ant antfile="${depman-ant}" target="${compileTarget}-eclipse" />
69
                                                                        </tasks>
70
                                                                </configuration>
71
                                                                <goals>
72
                                                                        <goal>run</goal>
73
                                                                </goals>
74
                                                        </execution>
75
                                                        <execution>
76
                                                                <id>native-deploy</id>
77
                                                                <phase>deploy</phase>
78
                                                                <configuration>
79
                                                                        <tasks>
80
                                                                                <property name="numProc" value="${numProc}" />
81
                                                                                <property name="install-dependencies" value="${install-dependencies}" />
82
                                                                                <property name="useBuildMan" value="${useBuildMan}" />
83
                                                                                <ant antfile="${depman-ant}" target="deploy-${compileTarget}" />
84
                                                                        </tasks>
85
                                                                </configuration>
86
                                                                <goals>
87
                                                                        <goal>run</goal>
88
                                                                </goals>
89
                                                        </execution>
90
                                                </executions>
91
                                                <!--
92
                                                        dependencies> <dependency> <groupId>ant</groupId>
93
                                                        <artifactId>ant-antlr</artifactId> <version>1.6.5</version>
94
                                                        </dependency> </dependencies
95
                                                -->
96
                                        </plugin>
97
                                </plugins>
98
                        </build>
99
                </profile>
100
        </profiles>
101
</project>