-
-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathpom.xml
More file actions
185 lines (172 loc) · 7.57 KB
/
Copy pathpom.xml
File metadata and controls
185 lines (172 loc) · 7.57 KB
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?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>org.dizitart</groupId>
<artifactId>nitrite-java</artifactId>
<version>5.3.0</version>
</parent>
<artifactId>nitrite-bridge</artifactId>
<packaging>jar</packaging>
<name>Nitrite dbinspect Adapter</name>
<description>
Inspect a running Nitrite database from a desktop client. This artifact is the Nitrite
adapter only; the wire protocol, pairing and transport are in the engine-neutral
org.dizitart:dbinspect-bridge, which knows about no database at all.
</description>
<!--
A reactor module since org.dizitart:dbinspect-bridge 0.1.0 reached Maven Central. It was
held out of the parent's <modules> until then because a clean checkout could not resolve
that dependency and the whole reactor would have failed with it — the same sequencing
nitrite-flutter's packages/nitrite_bridge and nitrite-rust's nitrite-bridge were in, and
both rejoined their builds when pub.dev and crates.io got the core.
-->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<dbinspect.version>0.1.0</dbinspect.version>
<!--
Pinned here rather than inherited, because this module is deliberately outside the
reactor and its POM has to stand on its own once installed or published. From 5.0.0
the released parent POM is flattened: it carries no <dependencyManagement>, so a
consumer reading this POM cannot resolve a version this module left to the parent, and
the whole artifact resolves as "invalid POM, transitive dependencies not available" —
which silently drops dbinspect-bridge off the example's classpath rather than failing
loudly. Test scope, so none of it reaches a consumer's own classpath.
-->
<junit.version>4.13.2</junit.version>
<log4j.version>2.26.1</log4j.version>
<commons-io.version>2.22.0</commons-io.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-bom</artifactId>
<version>${project.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.dizitart</groupId>
<artifactId>dbinspect-bridge</artifactId>
<version>${dbinspect.version}</version>
</dependency>
<!--
provided, not compile: an application that wants to inspect its Nitrite database
already has Nitrite, and this artifact must not pin which version that is.
-->
<dependency>
<groupId>org.dizitart</groupId>
<artifactId>nitrite</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<!--
Both storage adapters, because "MVStore- and RocksDB-backed databases browse
correctly" is an acceptance criterion and neither is exercised by the in-memory store.
-->
<dependency>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-mvstore-adapter</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.dizitart</groupId>
<artifactId>nitrite-rocksdb-adapter</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<version>${log4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!--
Surefire turns assertions on by default; an application embedding this
bridge does not. That difference is not academic — it is exactly what hid
a native crash in the RocksDB iterator, which under -ea surfaced as a
caught AssertionError and without it as a SIGSEGV. These tests run the way
the artifact ships.
-->
<enableAssertions>false</enableAssertions>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- No lombok here, so there is nothing delomboked to point javadoc at. -->
<sourcepath>${project.basedir}/src/main/java</sourcepath>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!--
Native Android is a first-class target of this artifact, so the same API-level
check the other pure-Java modules run applies here too.
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive combine.children="append">
<manifestEntries>
<Automatic-Module-Name>org.dizitart.no2.bridge</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>