MPNATIVE-7
Submitted By: Joachim Bader Add support for native dependencies and Add support for optional include path (includepath/sysincludepath) git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116138 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
c3933eb9ff
commit
1fedf1acfc
6 files changed
+149
-1
No files matched your search
@@ -22,6 +22,7 @@
|
||||
<properties>
|
||||
<title>Maven Native Plugin Properties</title>
|
||||
<author email="apache@kav.dk">Kasper Nielsen</author>
|
||||
<author email="info@joachim-bader.de">Joachim Bader</author>
|
||||
</properties>
|
||||
<body>
|
||||
<section name="Native Plugin Properties">
|
||||
@@ -112,7 +113,88 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>maven.native.compiler.target</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Optional compiler target. Used for cross compile.
|
||||
<code>arm-linux</code> means that <code>arm-linux-gcc</code> is
|
||||
used.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>maven.native.linker.target</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Optional linker target. Used for cross compile.
|
||||
Default value <code>${maven.native.compiler.target}</code>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>maven.native.compiler.arg.start|mid|end</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Space delimted list of optional compiler arguments.
|
||||
<code>start|mid|end</code> spcifies the position in the compiler
|
||||
argument list.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>maven.native.linke.arg.start|mid|end</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Space delimted list of optional linke arguments.
|
||||
<code>start|mid|end</code> spcifies the position in the linker
|
||||
argument list.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>maven.native.compile.includepath</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Space delimted list of optional include pathes.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>maven.native.compile.sysincludepath</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
Space delimted list of optional system include pathes.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section name="Dependencies on native libraries">
|
||||
<p>
|
||||
Dependencies on native libraries can be handled by the maven
|
||||
dependency mechanism.
|
||||
|
||||
The property <code>native.syslib</code> is optional. If set the
|
||||
<code>syslibset</code> tag is used insted of the normal
|
||||
<code>libset</code> tag.
|
||||
|
||||
Only <code>so</code>s are supported a the moment.
|
||||
</p>
|
||||
|
||||
<source><![CDATA[
|
||||
<dependency>
|
||||
<groupId>group</groupId>
|
||||
<artifactId>libmyDependendLib</artifactId
|
||||
<version>1.0</version>
|
||||
<type>so</type>
|
||||
<properties>
|
||||
<native.syslib>true</native.syslib>
|
||||
</properties>
|
||||
</dependency>
|
||||
]]></source>
|
||||
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
Reference in new issue
Block a user