forked from stargate/stargate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
159 lines (157 loc) · 5.58 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.stargate</groupId>
<artifactId>stargate</artifactId>
<version>2.0.7-SNAPSHOT</version>
</parent>
<groupId>io.stargate.bridge</groupId>
<artifactId>bridge</artifactId>
<dependencies>
<!-- Stargate component dependencies -->
<dependency>
<groupId>io.stargate.core</groupId>
<artifactId>core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.stargate.db</groupId>
<artifactId>persistence-api</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.stargate.auth</groupId>
<artifactId>authnz</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<!-- gRPC -->
<dependency>
<groupId>io.stargate.grpc</groupId>
<artifactId>bridge-proto</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
</dependency>
<!-- 3rd party dependencies -->
<dependency>
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-shaded-guava</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-core</artifactId>
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>19.0.0</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>2.0.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<unpackBundle>true</unpackBundle>
<instructions>
<Bundle-Name>gRPC-bridge</Bundle-Name>
<Bundle-Description>gRPC bridge for Stargate</Bundle-Description>
<Bundle-SymbolicName>io.stargate.bridge</Bundle-SymbolicName>
<Bundle-Activator>io.stargate.bridge.BridgeActivator</Bundle-Activator>
<Import-Package><![CDATA[
org.slf4j,
org.slf4j.helpers,
org.slf4j.spi,
org.osgi.framework,
io.stargate.core.*,
io.stargate.auth,
io.stargate.auth.*,
io.stargate.db,
io.stargate.db.*,
org.apache.cassandra.stargate,
org.apache.cassandra.stargate.*,
org.javatuples,
com.datastax.oss.driver.api.core,
com.datastax.oss.driver.api.core.*,
com.datastax.oss.driver.shaded.guava.*,
com.codahale.metrics,
com.codahale.metrics.*,
!io.micrometer.core.instrument.binder.grpc,
io.micrometer.core.instrument
]]></Import-Package>
<Export-Package>!*</Export-Package>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>
</instructions>
<buildDirectory>${project.basedir}/../stargate-lib</buildDirectory>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestEntries>
<x-Stargate-Health-Checkers>bridge</x-Stargate-Health-Checkers>
</manifestEntries>
</archive>
<outputDirectory>${project.basedir}/../stargate-lib</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>
</project>