Revision 776 org.gvsig.maven.base/trunk/org.gvsig.maven.base/org.gvsig.maven.base.jni.pom/pom.xml
pom.xml | ||
---|---|---|
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/xsd/maven-4.0.0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.maven.base.jni.pom</artifactId> |
|
6 |
<packaging>pom</packaging> |
|
7 |
<name>org.gvsig.maven.base.jni.pom</name> |
|
8 |
<parent> |
|
9 |
<groupId>org.gvsig</groupId> |
|
10 |
<artifactId>org.gvsig.maven.base.pom</artifactId> |
|
11 |
<version>1.0.9</version> |
|
12 |
</parent> |
|
13 |
|
|
14 |
<description> |
|
15 |
Base POM for all JNI projects. This pom knows how to |
|
16 |
build and made an native libraries for GvSIG. |
|
17 |
</description> |
|
18 |
<profiles> |
|
19 |
<profile> |
|
20 |
<id>jni-devel</id> |
|
21 |
<activation> |
|
22 |
<property> |
|
23 |
<name>jni-devel</name> |
|
24 |
</property> |
|
25 |
</activation> |
|
26 |
<properties> |
|
27 |
<compileTarget>native</compileTarget> |
|
28 |
<numProc>2</numProc> |
|
29 |
<depman-ant>${base.tools.path}/ant/depman-ant.xml</depman-ant> |
|
30 |
</properties> |
|
31 |
<build> |
|
32 |
<plugins> |
|
33 |
<plugin> |
|
34 |
<groupId>org.apache.maven.plugins</groupId> |
|
35 |
<artifactId>maven-antrun-plugin</artifactId> |
|
36 |
<executions> |
|
37 |
<execution> |
|
38 |
<id>compile-native</id> |
|
39 |
<phase>compile</phase> |
|
40 |
<configuration> |
|
41 |
<tasks> |
|
42 |
<property name="numProc" value="${numProc}" /> |
|
43 |
<property name="project.build.directory" value="${project.build.directory}" /> |
|
44 |
<ant antfile="${depman-ant}" target="${compileTarget}" /> |
|
45 |
</tasks> |
|
46 |
</configuration> |
|
47 |
<goals> |
|
48 |
<goal>run</goal> |
|
49 |
</goals> |
|
50 |
</execution> |
|
51 |
<execution> |
|
52 |
<id>native-eclipse</id> |
|
53 |
<phase>generate-sources</phase> |
|
54 |
<configuration> |
|
55 |
<tasks> |
|
56 |
<property name="numProc" value="${numProc}" /> |
|
57 |
<property name="project.build.directory" value="${project.build.directory}" /> |
|
58 |
<ant antfile="${depman-ant}" target="${compileTarget}-eclipse" /> |
|
59 |
</tasks> |
|
60 |
</configuration> |
|
61 |
<goals> |
|
62 |
<goal>run</goal> |
|
63 |
</goals> |
|
64 |
</execution> |
|
65 |
</executions> |
|
66 |
</plugin> |
|
67 |
<plugin> |
|
68 |
<artifactId>maven-assembly-plugin |
|
69 |
</artifactId> |
|
70 |
<configuration> |
|
71 |
<descriptors> |
|
72 |
<descriptor>${base.tools.path}/assembly/native.xml</descriptor> |
|
73 |
</descriptors> |
|
74 |
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions> |
|
75 |
</configuration> |
|
76 |
<executions> |
|
77 |
<execution> |
|
78 |
<id>package-native</id> |
|
79 |
<!-- |
|
80 |
this is used for inheritance merges |
|
81 |
--> |
|
82 |
<phase>package</phase> |
|
83 |
<!-- |
|
84 |
append to the packaging phase. |
|
85 |
--> |
|
86 |
<goals> |
|
87 |
<goal>attached</goal><!-- goals == mojos --> |
|
88 |
</goals> |
|
89 |
</execution> |
|
90 |
</executions> |
|
91 |
</plugin> |
|
92 |
</plugins> |
|
93 |
</build> |
|
94 |
</profile> |
|
95 |
</profiles> |
|
96 |
</project> |
|
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/xsd/maven-4.0.0.xsd"> |
|
4 |
<modelVersion>4.0.0</modelVersion> |
|
5 |
<artifactId>org.gvsig.maven.base.jni.pom</artifactId> |
|
6 |
<packaging>pom</packaging> |
|
7 |
<name>org.gvsig.maven.base.jni.pom</name> |
|
8 |
<parent> |
|
9 |
<groupId>org.gvsig</groupId> |
|
10 |
<artifactId>org.gvsig.maven.base.pom</artifactId> |
|
11 |
<version>1.0.9-SNAPSHOT</version> |
|
12 |
</parent> |
|
13 |
|
|
14 |
|
|
15 |
<description> |
|
16 |
Base POM for all JNI projects. This pom knows how to |
|
17 |
build and made an native libraries for GvSIG. |
|
18 |
</description> |
|
19 |
<profiles> |
|
20 |
<profile> |
|
21 |
<id>jni-devel</id> |
|
22 |
<activation> |
|
23 |
<property> |
|
24 |
<name>jni-devel</name> |
|
25 |
</property> |
|
26 |
</activation> |
|
27 |
<properties> |
|
28 |
<compileTarget>native</compileTarget> |
|
29 |
<numProc>2</numProc> |
|
30 |
<depman-ant>${base.tools.path}/ant/depman-ant.xml</depman-ant> |
|
31 |
</properties> |
|
32 |
<build> |
|
33 |
<plugins> |
|
34 |
<plugin> |
|
35 |
<groupId>org.apache.maven.plugins</groupId> |
|
36 |
<artifactId>maven-antrun-plugin</artifactId> |
|
37 |
<executions> |
|
38 |
<execution> |
|
39 |
<id>compile-native</id> |
|
40 |
<phase>compile</phase> |
|
41 |
<configuration> |
|
42 |
<tasks> |
|
43 |
<property name="numProc" value="${numProc}" /> |
|
44 |
<property name="project.build.directory" value="${project.build.directory}" /> |
|
45 |
<ant antfile="${depman-ant}" target="${compileTarget}" /> |
|
46 |
</tasks> |
|
47 |
</configuration> |
|
48 |
<goals> |
|
49 |
<goal>run</goal> |
|
50 |
</goals> |
|
51 |
</execution> |
|
52 |
<execution> |
|
53 |
<id>native-eclipse</id> |
|
54 |
<phase>generate-sources</phase> |
|
55 |
<configuration> |
|
56 |
<tasks> |
|
57 |
<property name="numProc" value="${numProc}" /> |
|
58 |
<property name="project.build.directory" value="${project.build.directory}" /> |
|
59 |
<ant antfile="${depman-ant}" target="${compileTarget}-eclipse" /> |
|
60 |
</tasks> |
|
61 |
</configuration> |
|
62 |
<goals> |
|
63 |
<goal>run</goal> |
|
64 |
</goals> |
|
65 |
</execution> |
|
66 |
</executions> |
|
67 |
</plugin> |
|
68 |
<plugin> |
|
69 |
<artifactId>maven-assembly-plugin |
|
70 |
</artifactId> |
|
71 |
<configuration> |
|
72 |
<descriptors> |
|
73 |
<descriptor>${base.tools.path}/assembly/native.xml</descriptor> |
|
74 |
</descriptors> |
|
75 |
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions> |
|
76 |
</configuration> |
|
77 |
<executions> |
|
78 |
<execution> |
|
79 |
<id>package-native</id> |
|
80 |
<!-- |
|
81 |
this is used for inheritance merges |
|
82 |
--> |
|
83 |
<phase>package</phase> |
|
84 |
<!-- |
|
85 |
append to the packaging phase. |
|
86 |
--> |
|
87 |
<goals> |
|
88 |
<goal>attached</goal><!-- goals == mojos --> |
|
89 |
</goals> |
|
90 |
</execution> |
|
91 |
</executions> |
|
92 |
</plugin> |
|
93 |
</plugins> |
|
94 |
</build> |
|
95 |
</profile> |
|
96 |
</profiles> |
|
97 |
</project> |
Also available in: Unified diff