Skip to content

Commit

Permalink
Release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Stehr committed Aug 4, 2023
1 parent 1e96846 commit d13d32e
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 135 deletions.
267 changes: 134 additions & 133 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,69 +1,73 @@
<?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>
<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>

<name>MongoBumblebee</name>
<description>MongoDB data migration tool for Java</description>
<url>https://github.com/hdisysteme/MongoBumblebee</url>
<name>MongoBumblebee</name>
<description>MongoDB data migration tool for Java</description>
<url>https://github.com/hdisysteme/MongoBumblebee</url>

<groupId>de.hdi</groupId>
<artifactId>mongobumblebee</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<groupId>de.hdi</groupId>
<artifactId>mongobumblebee</artifactId>
<version>1.0.1</version>

<properties>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<connection>scm:git:git@github.com/hdisysteme/MongoBumblebee.git</connection>
<developerConnection>scm:git:git@github.com/hdisysteme/MongoBumblebee.git</developerConnection>
<url>git@github.com/hdisysteme/MongoBumblebee.git</url>
<tag>mongobumblebee-tag</tag>
</scm>
<scm>
<connection>scm:git:git@github.com/hdisysteme/MongoBumblebee.git</connection>
<developerConnection>
scm:git:git@github.com/hdisysteme/MongoBumblebee.git</developerConnection>
<url>git@github.com/hdisysteme/MongoBumblebee.git</url>
<tag>mongobumblebee-tag</tag>
</scm>

<developers>
<developer>
<id>blafoo</id>
<name>blafoo</name>
</developer>
<developer>
<name>Mark Stehr</name>
<email>mark.stehr@hdi.de</email>
<organization>HDI Systeme AG</organization>
<organizationUrl>https://github.com/hdisysteme</organizationUrl>
</developer>
</developers>
<developers>
<developer>
<id>blafoo</id>
<name>blafoo</name>
</developer>
<developer>
<name>Mark Stehr</name>
<email>mark.stehr@hdi.de</email>
<organization>HDI Systeme AG</organization>
<organizationUrl>https://github.com/hdisysteme</organizationUrl>
</developer>
</developers>

<distributionManagement>
<repository>
<distributionManagement>
<repository>
<id>ossrh</id>
<name>Central Repository OSSRH</name>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<name>Central Repository OSSRH</name>
<url>
https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</distributionManagement>

<dependencies>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-mongodb</artifactId>
<version>4.0.5</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-sync</artifactId>
<version>4.8.2</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-sync</artifactId>
<version>4.8.2</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand All @@ -76,10 +80,10 @@
<version>[0.10,)</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>[2.0,)</version>
<scope>test</scope>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>[2.0,)</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand All @@ -96,89 +100,86 @@
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo.spring30x</artifactId>
<version>[4.7,)</version>
<version>[4.7,)</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
<!-- JUnit 5 requires Surefire version 2.22.1 or higher -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>publish</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<!--
<passphraseServerId>gpg.passphrase</passphraseServerId>
-->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
<!-- JUnit 5 requires Surefire version 2.22.1 or higher -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>publish</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void testMongoClient1() {

Set<String> databases = new HashSet<>();
mongoClient.listDatabaseNames().into(databases);
assertTrue(databases.containsAll(Set.of("admin","config","local")));
assertTrue(databases.containsAll(Set.of("test", "admin", "local")));
}

@Test
Expand All @@ -36,7 +36,7 @@ void testMongoClient2() {

Set<String> databases = new HashSet<>();
mongoClient.listDatabaseNames().into(databases);
assertTrue(databases.containsAll(Set.of("admin","config","local")));
assertTrue(databases.containsAll(Set.of("test", "admin", "local")));
}

@AfterAll
Expand Down

0 comments on commit d13d32e

Please sign in to comment.