1 |
<?xml version="1.0"?><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/maven-v4_0_0.xsd"> |
2 |
<parent> |
3 |
<artifactId>global</artifactId> |
4 |
<groupId>org.freehep</groupId> |
5 |
<version>8</version> |
6 |
</parent> |
7 |
<modelVersion>4.0.0</modelVersion> |
8 |
<groupId>org.freehep</groupId> |
9 |
<artifactId>freehep-aidajni</artifactId> |
10 |
<version>3.2.7-SNAPSHOT</version> |
11 |
<packaging>nar</packaging> |
12 |
<name>FreeHEP AIDAJNI</name> |
13 |
<description>FreeHEP JNI Adapter for AIDA</description> |
14 |
<build> |
15 |
<plugins> |
16 |
<plugin> |
17 |
<groupId>org.freehep</groupId> |
18 |
<artifactId>freehep-swig-plugin</artifactId> |
19 |
<version>1.3.31-2-SNAPSHOT</version> |
20 |
<executions> |
21 |
<execution> |
22 |
<id>swig</id> |
23 |
<goals> |
24 |
<goal>generate</goal> |
25 |
</goals> |
26 |
<configuration> |
27 |
<groupId>org.swig</groupId> |
28 |
<artifactId>swig</artifactId> |
29 |
<version>1.3.31-2-SNAPSHOT</version> |
30 |
<force>true</force> |
31 |
<defines> |
32 |
<define>AID_EXCEPTION=void</define> |
33 |
</defines> |
34 |
<cpp>true</cpp> |
35 |
<packageName>hep.aida.swig</packageName> |
36 |
<javaTargetDirectory>src/main/java</javaTargetDirectory> |
37 |
|
38 |
|
39 |
|
40 |
<source>AIDAJNI.swg</source> |
41 |
<noWarn>473</noWarn> |
42 |
</configuration> |
43 |
</execution> |
44 |
</executions> |
45 |
</plugin> |
46 |
<plugin> |
47 |
<groupId>org.freehep</groupId> |
48 |
<artifactId>freehep-nar-plugin</artifactId> |
49 |
<version>2.0-alpha-10-SNAPSHOT</version> |
50 |
<configuration> |
51 |
<cpp> |
52 |
<debug>true</debug> |
53 |
<defines> |
54 |
<define>AID_EXCEPTION=void</define> |
55 |
</defines> |
56 |
<includePaths> |
57 |
<includePath>src/main/include</includePath> |
58 |
<includePath>src/test/include</includePath> |
59 |
<includePath>target/swig/c++</includePath> |
60 |
</includePaths> |
61 |
</cpp> |
62 |
<libraries> |
63 |
<library> |
64 |
<type>shared</type> |
65 |
</library> |
66 |
<library> |
67 |
<type>jni</type> |
68 |
<narSystemDirectory>src/main/java</narSystemDirectory> |
69 |
<narSystemPackage>hep.aida.jni</narSystemPackage> |
70 |
</library> |
71 |
</libraries> |
72 |
<java> |
73 |
<include>true</include> |
74 |
<link>true</link> |
75 |
</java> |
76 |
<javah> |
77 |
<excludes> |
78 |
<exclude>**/AIDAJNI.class</exclude> |
79 |
</excludes> |
80 |
</javah> |
81 |
<tests> |
82 |
<test> |
83 |
<name>TestCallFromCpp</name> |
84 |
<link>shared</link> |
85 |
</test> |
86 |
</tests> |
87 |
</configuration> |
88 |
</plugin> |
89 |
<plugin> |
90 |
<artifactId>maven-surefire-plugin</artifactId> |
91 |
<configuration> |
92 |
<skip>true</skip> |
93 |
</configuration> |
94 |
</plugin> |
95 |
</plugins> |
96 |
</build> |
97 |
<repositories> |
98 |
<repository> |
99 |
<id>freehep-maven</id> |
100 |
<name>Maven FreeHEP</name> |
101 |
<url>http://java.freehep.org/maven2</url> |
102 |
</repository> |
103 |
</repositories> |
104 |
<dependencies> |
105 |
<dependency> |
106 |
<groupId>junit</groupId> |
107 |
<artifactId>junit</artifactId> |
108 |
<version>3.8.2</version> |
109 |
<scope>test</scope> |
110 |
</dependency> |
111 |
<dependency> |
112 |
<groupId>hep.aida</groupId> |
113 |
<artifactId>aida</artifactId> |
114 |
<version>3.2.1-2-SNAPSHOT</version> |
115 |
<scope>compile</scope> |
116 |
</dependency> |
117 |
</dependencies> |
118 |
</project> |