forked from stargate/stargate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
111 lines (109 loc) · 3.95 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
<?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.auth.table</groupId>
<artifactId>auth-table-based-service</artifactId>
<dependencies>
<!-- Stargate component dependencies -->
<dependency>
<groupId>io.stargate.auth</groupId>
<artifactId>authnz</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<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>
<!-- 3rd party dependencies -->
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
</dependency>
<dependency>
<groupId>org.mindrot</groupId>
<artifactId>jbcrypt</artifactId>
<version>0.4</version>
</dependency>
<!-- Test dependencies -->
<!-- 21-Sep-2021, tatu: If you need to use Guava for NON-test code (runtime),
note that you need to BOTH change scope to "runtime" AND add
OSGi import: see f.ex "cql/pom.xml" for example of how to do it.
But make sure you really want Guava and there is no alternative as
we are trying to reduce Guava usage to avoid version conflicts
-->
<dependency>
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-shaded-guava</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>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>AuthTableBasedService</Bundle-Name>
<Bundle-Description>AuthTableBasedService component for project</Bundle-Description>
<Bundle-SymbolicName>io.stargate.auth.table</Bundle-SymbolicName>
<Bundle-Activator>io.stargate.auth.table.AuthTableBasedServiceActivator</Bundle-Activator>
<Import-Package><![CDATA[
org.slf4j,
org.slf4j.helpers,
org.slf4j.spi,
org.osgi.framework,
io.stargate.core.*,
io.stargate.auth,
io.stargate.db.*,
org.apache.cassandra.stargate,
org.apache.cassandra.stargate.*,
org.javatuples,
]]></Import-Package>
<Export-Package>!*</Export-Package>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
<outputDirectory>${project.basedir}/../stargate-lib</outputDirectory>
</configuration>
</plugin>
</plugins>
</build>
</project>