source: branches/maven/projects/native-library-util/nbactions.xml @ 7574

Revision 7574, 1.6 KB checked in by aivar, 9 years ago (diff)

New utility class for dealing with native libraries.

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<actions>
3        <action>
4            <actionName>run</actionName>
5            <goals>
6                <goal>process-classes</goal>
7                <goal>org.codehaus.mojo:exec-maven-plugin:1.1.1:exec</goal>
8            </goals>
9            <properties>
10                <exec.classpathScope>runtime</exec.classpathScope>
11                <exec.args>-classpath %classpath ${packageClassName}</exec.args>
12                <exec.executable>java</exec.executable>
13            </properties>
14        </action>
15        <action>
16            <actionName>debug</actionName>
17            <goals>
18                <goal>process-classes</goal>
19                <goal>org.codehaus.mojo:exec-maven-plugin:1.1.1:exec</goal>
20            </goals>
21            <properties>
22                <exec.classpathScope>runtime</exec.classpathScope>
23                <exec.args>-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath ${packageClassName}</exec.args>
24                <jpda.listen>true</jpda.listen>
25                <exec.executable>java</exec.executable>
26            </properties>
27        </action>
28        <action>
29            <actionName>profile</actionName>
30            <goals>
31                <goal>process-classes</goal>
32                <goal>org.codehaus.mojo:exec-maven-plugin:1.1.1:exec</goal>
33            </goals>
34            <properties>
35                <exec.args>${profiler.args} -classpath %classpath ${packageClassName}</exec.args>
36                <profiler.action>profile</profiler.action>
37                <exec.executable>${profiler.java}</exec.executable>
38            </properties>
39        </action>
40    </actions>
Note: See TracBrowser for help on using the repository browser.