/
pom.xml
121 lines (116 loc) · 3.82 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hectorclient</groupId>
<artifactId>hector</artifactId>
<version>2.0-1-SNAPSHOT</version>
</parent>
<artifactId>hector-test</artifactId>
<packaging>jar</packaging>
<name>test</name>
<properties>
<!-- OSGi bundle properties -->
<bundle.symbolicName>org.hectorclient.hector-test</bundle.symbolicName>
<bundle.namespace>org.hectorclient</bundle.namespace>
</properties>
<build>
<plugins>
<!--
run examples thusly: mvn exec:java
-Dexec.mainClass="me.prettyprint.cassandra.examples.ExampleDao"
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.ops4j</groupId>
<artifactId>maven-pax-plugin</artifactId>
<version>1.4</version>
<configuration>
<provision>
<param>--platform=equinox</param>
</provision>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>1.4.3</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Embed-Dependency>
libthrift;scope=compile|runtime;type=!pom;inline=false,
cassandra;scope=compile|runtime;type=!pom;inline=false,
<!-- *;scope=compile|runtime;type=!pom;inline=false -->
</Embed-Dependency>
<Export-Package>
<!-- !${bundle.namespace}.internal.*, -->
${bundle.namespace}.*;version="${project.version}"
</Export-Package>
<Import-Package>
!org.apache.avro.*,
!javax.jms.*,
!javax.mail.*,
!javax.servlet.*,
!com.sun.*,
!org.antlr.*,
!jline.*,
!sun.misc.*,
*;resolution:=optional
</Import-Package>
<Private-Package>
<!-- ${bundle.namespace}.internal.* -->
</Private-Package>
<_include>-osgi.bnd</_include>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<argLine>-Xmx512M -Xms512M -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8</argLine>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-all</artifactId>
</dependency>
<dependency>
<groupId>com.github.stephenc</groupId>
<artifactId>jamm</artifactId>
<scope>test</scope>
</dependency>
<!-- OSGi deps -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi_R4_core</artifactId>
<version>1.0</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi_R4_compendium</artifactId>
<version>1.0</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
</dependencies>
</project>