Skip to content

Commit d13d32e

Browse files
author
Mark Stehr
committed
Release 1.0.1
1 parent 1e96846 commit d13d32e

File tree

2 files changed

+136
-135
lines changed

2 files changed

+136
-135
lines changed

pom.xml

+134-133
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,73 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<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">
4-
<modelVersion>4.0.0</modelVersion>
3+
<project xmlns="http://maven.apache.org/POM/4.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
6+
<modelVersion>4.0.0</modelVersion>
57

6-
<name>MongoBumblebee</name>
7-
<description>MongoDB data migration tool for Java</description>
8-
<url>https://github.com/hdisysteme/MongoBumblebee</url>
8+
<name>MongoBumblebee</name>
9+
<description>MongoDB data migration tool for Java</description>
10+
<url>https://github.com/hdisysteme/MongoBumblebee</url>
911

10-
<groupId>de.hdi</groupId>
11-
<artifactId>mongobumblebee</artifactId>
12-
<version>1.0-SNAPSHOT</version>
13-
14-
<properties>
12+
<groupId>de.hdi</groupId>
13+
<artifactId>mongobumblebee</artifactId>
14+
<version>1.0.1</version>
15+
16+
<properties>
1517
<java.version>17</java.version>
16-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
18-
</properties>
18+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
20+
</properties>
1921

20-
<licenses>
21-
<license>
22-
<name>The Apache Software License, Version 2.0</name>
23-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
24-
<distribution>repo</distribution>
25-
</license>
26-
</licenses>
22+
<licenses>
23+
<license>
24+
<name>The Apache Software License, Version 2.0</name>
25+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
26+
<distribution>repo</distribution>
27+
</license>
28+
</licenses>
2729

28-
<scm>
29-
<connection>scm:git:[email protected]/hdisysteme/MongoBumblebee.git</connection>
30-
<developerConnection>scm:git:[email protected]/hdisysteme/MongoBumblebee.git</developerConnection>
31-
<url>[email protected]/hdisysteme/MongoBumblebee.git</url>
32-
<tag>mongobumblebee-tag</tag>
33-
</scm>
30+
<scm>
31+
<connection>scm:git:[email protected]/hdisysteme/MongoBumblebee.git</connection>
32+
<developerConnection>
33+
scm:git:[email protected]/hdisysteme/MongoBumblebee.git</developerConnection>
34+
<url>[email protected]/hdisysteme/MongoBumblebee.git</url>
35+
<tag>mongobumblebee-tag</tag>
36+
</scm>
3437

35-
<developers>
36-
<developer>
37-
<id>blafoo</id>
38-
<name>blafoo</name>
39-
</developer>
40-
<developer>
41-
<name>Mark Stehr</name>
42-
<email>[email protected]</email>
43-
<organization>HDI Systeme AG</organization>
44-
<organizationUrl>https://github.com/hdisysteme</organizationUrl>
45-
</developer>
46-
</developers>
38+
<developers>
39+
<developer>
40+
<id>blafoo</id>
41+
<name>blafoo</name>
42+
</developer>
43+
<developer>
44+
<name>Mark Stehr</name>
45+
<email>[email protected]</email>
46+
<organization>HDI Systeme AG</organization>
47+
<organizationUrl>https://github.com/hdisysteme</organizationUrl>
48+
</developer>
49+
</developers>
4750

48-
<distributionManagement>
49-
<repository>
51+
<distributionManagement>
52+
<repository>
5053
<id>ossrh</id>
51-
<name>Central Repository OSSRH</name>
52-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
54+
<name>Central Repository OSSRH</name>
55+
<url>
56+
https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
5357
</repository>
54-
</distributionManagement>
58+
</distributionManagement>
5559

5660
<dependencies>
5761
<dependency>
5862
<groupId>org.springframework.data</groupId>
5963
<artifactId>spring-data-mongodb</artifactId>
6064
<version>4.0.5</version>
6165
</dependency>
62-
<dependency>
63-
<groupId>org.mongodb</groupId>
64-
<artifactId>mongodb-driver-sync</artifactId>
65-
<version>4.8.2</version>
66-
</dependency>
66+
<dependency>
67+
<groupId>org.mongodb</groupId>
68+
<artifactId>mongodb-driver-sync</artifactId>
69+
<version>4.8.2</version>
70+
</dependency>
6771
<dependency>
6872
<groupId>org.projectlombok</groupId>
6973
<artifactId>lombok</artifactId>
@@ -76,10 +80,10 @@
7680
<version>[0.10,)</version>
7781
</dependency>
7882
<dependency>
79-
<groupId>org.slf4j</groupId>
80-
<artifactId>slf4j-simple</artifactId>
81-
<version>[2.0,)</version>
82-
<scope>test</scope>
83+
<groupId>org.slf4j</groupId>
84+
<artifactId>slf4j-simple</artifactId>
85+
<version>[2.0,)</version>
86+
<scope>test</scope>
8387
</dependency>
8488
<dependency>
8589
<groupId>org.junit.jupiter</groupId>
@@ -96,89 +100,86 @@
96100
<dependency>
97101
<groupId>de.flapdoodle.embed</groupId>
98102
<artifactId>de.flapdoodle.embed.mongo.spring30x</artifactId>
99-
<version>[4.7,)</version>
103+
<version>[4.7,)</version>
100104
<scope>test</scope>
101105
</dependency>
102106
</dependencies>
103-
104-
<build>
105-
<plugins>
106-
<plugin>
107-
<groupId>org.apache.maven.plugins</groupId>
108-
<artifactId>maven-compiler-plugin</artifactId>
109-
<version>3.8.1</version>
110-
<configuration>
111-
<source>17</source>
112-
<target>17</target>
113-
</configuration>
114-
</plugin>
115-
<!-- JUnit 5 requires Surefire version 2.22.1 or higher -->
116-
<plugin>
117-
<artifactId>maven-surefire-plugin</artifactId>
118-
<version>2.22.1</version>
119-
</plugin>
120-
</plugins>
121-
</build>
122107

123-
<profiles>
124-
<profile>
125-
<id>publish</id>
126-
<activation>
127-
<activeByDefault>false</activeByDefault>
128-
</activation>
129-
<build>
130-
<plugins>
131-
<plugin>
132-
<groupId>org.apache.maven.plugins</groupId>
133-
<artifactId>maven-gpg-plugin</artifactId>
134-
<version>3.1.0</version>
135-
<configuration>
136-
<!--
137-
<passphraseServerId>gpg.passphrase</passphraseServerId>
138-
-->
139-
<gpgArguments>
140-
<arg>--pinentry-mode</arg>
141-
<arg>loopback</arg>
142-
</gpgArguments>
143-
</configuration>
144-
<executions>
145-
<execution>
146-
<id>sign-artifacts</id>
147-
<phase>verify</phase>
148-
<goals>
149-
<goal>sign</goal>
150-
</goals>
151-
</execution>
152-
</executions>
153-
</plugin>
154-
<plugin>
155-
<groupId>org.apache.maven.plugins</groupId>
156-
<artifactId>maven-source-plugin</artifactId>
157-
<version>3.2.1</version>
158-
<executions>
159-
<execution>
160-
<id>attach-sources</id>
161-
<goals>
162-
<goal>jar-no-fork</goal>
163-
</goals>
164-
</execution>
165-
</executions>
166-
</plugin>
167-
<plugin>
168-
<groupId>org.apache.maven.plugins</groupId>
169-
<artifactId>maven-javadoc-plugin</artifactId>
170-
<version>3.4.1</version>
171-
<executions>
172-
<execution>
173-
<id>attach-javadocs</id>
174-
<goals>
175-
<goal>jar</goal>
176-
</goals>
177-
</execution>
178-
</executions>
179-
</plugin>
180-
</plugins>
181-
</build>
182-
</profile>
183-
</profiles>
108+
<build>
109+
<plugins>
110+
<plugin>
111+
<groupId>org.apache.maven.plugins</groupId>
112+
<artifactId>maven-compiler-plugin</artifactId>
113+
<version>3.8.1</version>
114+
<configuration>
115+
<source>17</source>
116+
<target>17</target>
117+
</configuration>
118+
</plugin>
119+
<!-- JUnit 5 requires Surefire version 2.22.1 or higher -->
120+
<plugin>
121+
<artifactId>maven-surefire-plugin</artifactId>
122+
<version>2.22.1</version>
123+
</plugin>
124+
</plugins>
125+
</build>
126+
127+
<profiles>
128+
<profile>
129+
<id>publish</id>
130+
<activation>
131+
<activeByDefault>false</activeByDefault>
132+
</activation>
133+
<build>
134+
<plugins>
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-gpg-plugin</artifactId>
138+
<version>3.1.0</version>
139+
<configuration>
140+
<gpgArguments>
141+
<arg>--pinentry-mode</arg>
142+
<arg>loopback</arg>
143+
</gpgArguments>
144+
</configuration>
145+
<executions>
146+
<execution>
147+
<id>sign-artifacts</id>
148+
<phase>verify</phase>
149+
<goals>
150+
<goal>sign</goal>
151+
</goals>
152+
</execution>
153+
</executions>
154+
</plugin>
155+
<plugin>
156+
<groupId>org.apache.maven.plugins</groupId>
157+
<artifactId>maven-source-plugin</artifactId>
158+
<version>3.2.1</version>
159+
<executions>
160+
<execution>
161+
<id>attach-sources</id>
162+
<goals>
163+
<goal>jar-no-fork</goal>
164+
</goals>
165+
</execution>
166+
</executions>
167+
</plugin>
168+
<plugin>
169+
<groupId>org.apache.maven.plugins</groupId>
170+
<artifactId>maven-javadoc-plugin</artifactId>
171+
<version>3.4.1</version>
172+
<executions>
173+
<execution>
174+
<id>attach-javadocs</id>
175+
<goals>
176+
<goal>jar</goal>
177+
</goals>
178+
</execution>
179+
</executions>
180+
</plugin>
181+
</plugins>
182+
</build>
183+
</profile>
184+
</profiles>
184185
</project>

src/test/java/de/hdi/mongobumblebee/utils/StartConfigAndMongoDBServerTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ void testMongoClient1() {
2525

2626
Set<String> databases = new HashSet<>();
2727
mongoClient.listDatabaseNames().into(databases);
28-
assertTrue(databases.containsAll(Set.of("admin","config","local")));
28+
assertTrue(databases.containsAll(Set.of("test", "admin", "local")));
2929
}
3030

3131
@Test
@@ -36,7 +36,7 @@ void testMongoClient2() {
3636

3737
Set<String> databases = new HashSet<>();
3838
mongoClient.listDatabaseNames().into(databases);
39-
assertTrue(databases.containsAll(Set.of("admin","config","local")));
39+
assertTrue(databases.containsAll(Set.of("test", "admin", "local")));
4040
}
4141

4242
@AfterAll

0 commit comments

Comments
 (0)