Revision 28463 branches/v2_0_0_prep/build/libraries-jni-pom/pom.xml
pom.xml | ||
---|---|---|
25 | 25 |
</properties> |
26 | 26 |
<profiles> |
27 | 27 |
<profile> |
28 |
<id>jni-devel</id> |
|
28 | 29 |
<activation> |
29 | 30 |
<property> |
30 |
<name>useBuildMan</name>
|
|
31 |
<name>jni-devel</name>
|
|
31 | 32 |
</property> |
32 | 33 |
</activation> |
33 | 34 |
<properties> |
34 | 35 |
<compileTarget>native</compileTarget> |
35 | 36 |
<numProc>2</numProc> |
36 |
<install-dependencies>false</install-dependencies> |
|
37 |
<useBuildMan>false</useBuildMan> |
|
38 | 37 |
<depman-ant>${builddir}/scripts/depman-ant.xml</depman-ant> |
39 | 38 |
</properties> |
40 | 39 |
<build> |
... | ... | |
49 | 48 |
<configuration> |
50 | 49 |
<tasks> |
51 | 50 |
<property name="numProc" value="${numProc}" /> |
52 |
<property name="install-dependencies" value="${install-dependencies}" />
|
|
51 |
<property name="project.build.directory" value="${project.build.directory}" />
|
|
53 | 52 |
<ant antfile="${depman-ant}" target="${compileTarget}" /> |
54 | 53 |
</tasks> |
55 | 54 |
</configuration> |
... | ... | |
63 | 62 |
<configuration> |
64 | 63 |
<tasks> |
65 | 64 |
<property name="numProc" value="${numProc}" /> |
66 |
<property name="install-dependencies" value="${install-dependencies}" /> |
|
67 |
<property name="useBuildMan" value="${useBuildMan}" /> |
|
65 |
<property name="project.build.directory" value="${project.build.directory}" /> |
|
68 | 66 |
<ant antfile="${depman-ant}" target="${compileTarget}-eclipse" /> |
69 | 67 |
</tasks> |
70 | 68 |
</configuration> |
... | ... | |
72 | 70 |
<goal>run</goal> |
73 | 71 |
</goals> |
74 | 72 |
</execution> |
73 |
</executions> |
|
74 |
</plugin> |
|
75 |
<!-- <plugin>--> |
|
76 |
<!-- <groupId>org.apache.maven.plugins</groupId>--> |
|
77 |
<!-- <artifactId>maven-jar-plugin</artifactId>--> |
|
78 |
<!-- <configuration>--> |
|
79 |
<!-- <includes>--> |
|
80 |
<!-- <include>**/**</include>--> |
|
81 |
<!-- </includes>--> |
|
82 |
<!-- </configuration>--> |
|
83 |
<!-- <executions>--> |
|
84 |
<!-- --> |
|
85 |
<!-- |
|
86 |
Generates a jar file only with the DAL default implementation |
|
87 |
--> |
|
88 |
<!-- --> |
|
89 |
<!-- <execution>--> |
|
90 |
<!-- <id>native</id>--> |
|
91 |
<!-- <phase>package</phase>--> |
|
92 |
<!-- <goals>--> |
|
93 |
<!-- <goal>jar</goal>--> |
|
94 |
<!-- </goals>--> |
|
95 |
<!-- <configuration>--> |
|
96 |
<!-- <type>tar.gz</type>--> |
|
97 |
<!-- <classifier>${native-classifier}</classifier>--> |
|
98 |
<!-- <includes>--> |
|
99 |
<!-- <include>**/**</include>--> |
|
100 |
<!-- </includes>--> |
|
101 |
<!-- |
|
102 |
<classesDirectory>${project.build.directory}/target_cmake_product/</classesDirectory> |
|
103 |
--> |
|
104 |
<!-- </configuration>--> |
|
105 |
<!-- </execution>--> |
|
106 |
<!-- </executions>--> |
|
107 |
<!-- </plugin>--> |
|
108 |
|
|
109 |
<plugin> |
|
110 |
<artifactId>maven-assembly-plugin |
|
111 |
</artifactId> |
|
112 |
<configuration> |
|
113 |
<descriptors> |
|
114 |
<descriptor>${builddir}/scripts/native-assembly.xml</descriptor> |
|
115 |
</descriptors> |
|
116 |
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions> |
|
117 |
</configuration> |
|
118 |
<executions> |
|
75 | 119 |
<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> |
|
120 |
<id>package-native</id> |
|
121 |
<!-- |
|
122 |
this is used for inheritance merges |
|
123 |
--> |
|
124 |
<phase>package</phase> |
|
125 |
<!-- |
|
126 |
append to the packaging phase. |
|
127 |
--> |
|
86 | 128 |
<goals> |
87 |
<goal>run</goal>
|
|
129 |
<goal>attached</goal><!-- goals == mojos -->
|
|
88 | 130 |
</goals> |
89 | 131 |
</execution> |
90 | 132 |
</executions> |
91 |
<!-- |
|
92 |
dependencies> <dependency> <groupId>ant</groupId> |
|
93 |
<artifactId>ant-antlr</artifactId> <version>1.6.5</version> |
|
94 |
</dependency> </dependencies |
|
95 |
--> |
|
96 | 133 |
</plugin> |
97 | 134 |
</plugins> |
98 | 135 |
</build> |
Also available in: Unified diff