Skip to content

Commit

Permalink
Bumped library versions.
Browse files Browse the repository at this point in the history
Moved autoconfig file to where spring3 expects.
Added some doc on docker-compose.yml.
  • Loading branch information
agoston committed Sep 7, 2024
1 parent 4ff0884 commit 103154d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 21 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Add dependency:
<dependency>
<groupId>com.bol</groupId>
<artifactId>spring-data-mongodb-encrypt</artifactId>
<version>2.9.0</version>
<version>2.9.1</version>
</dependency>
```

Expand Down Expand Up @@ -160,6 +160,10 @@ public class MongoDBConfiguration extends AbstractMongoClientConfiguration {
}
```

## Starting mongodb for development (docker)

A `docker-compose.yml` file is provided to allow for quickly running the tests and/or prototyping.
Use with `docker compose up`.

## Polymorphism (and why it's bad)

Expand Down
28 changes: 8 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<artifactId>spring-data-mongodb-encrypt</artifactId>
<packaging>jar</packaging>
<name>spring-data-mongodb-encrypt</name>
<version>2.9.0</version>
<version>2.9.1</version>
<description>High performance, per-field encryption for spring-data-mongodb</description>
<url>https://github.com/agoston/spring-data-mongodb-encrypt</url>

Expand Down Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>com.bol</groupId>
<artifactId>cryptvault</artifactId>
<version>1.0.2</version>
<version>3-1.0.2</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
Expand All @@ -50,35 +50,23 @@
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-mongodb</artifactId>
<version>4.2.0</version>
<version>4.3.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>3.2.0</version>
<version>3.3.3</version>
<scope>provided</scope>
</dependency>

<!-- test -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>3.2.0</version>
<version>3.3.3</version>
<scope>test</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.nitorcreations</groupId>-->
<!-- <artifactId>matchers</artifactId>-->
<!-- <version>1.3</version>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.hamcrest</groupId>-->
<!-- <artifactId>hamcrest-library</artifactId>-->
<!-- <version>1.3</version>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -97,7 +85,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -106,7 +94,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -119,7 +107,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<version>3.8.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.bol.config.EncryptAutoConfiguration

0 comments on commit 103154d

Please sign in to comment.