This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit df46cbaf2da55b5da3971b60f93dbf5c8bafb414 Author: Benoit Tellier <[email protected]> AuthorDate: Fri Jan 28 11:49:46 2022 +0700 JAMES-3683 Package the Redis Rate Limiter in a jar-with-dependencies Size: 4.3 MB --- server/mailet/rate-limiter-redis/pom.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/server/mailet/rate-limiter-redis/pom.xml b/server/mailet/rate-limiter-redis/pom.xml index 61ae706..878b6e8 100644 --- a/server/mailet/rate-limiter-redis/pom.xml +++ b/server/mailet/rate-limiter-redis/pom.xml @@ -34,10 +34,12 @@ <dependency> <groupId>${james.groupId}</groupId> <artifactId>apache-mailet-api</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>${james.groupId}</groupId> <artifactId>apache-mailet-base</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>${james.groupId}</groupId> @@ -63,6 +65,12 @@ <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>com.google.inject</groupId> + <artifactId>guice</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>es.moki.ratelimitj</groupId> @@ -72,6 +80,7 @@ <dependency> <groupId>eu.timepit</groupId> <artifactId>refined_${scala.base}</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>io.lettuce</groupId> @@ -80,10 +89,12 @@ <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-core</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-scala-extensions_${scala.base}</artifactId> + <scope>provided</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> @@ -97,6 +108,22 @@ <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + </configuration> + <executions> + <execution> + <goals> + <goal>single</goal> + </goals> + <phase>compile</phase> + </execution> + </executions> + </plugin> </plugins> </build> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
