summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2021-04-01 17:05:25 +0200
committergjoranv <gv@verizonmedia.com>2021-04-02 19:03:05 +0200
commit233380f23f4547df5964ea0ba3cd1bfbfd2c6630 (patch)
tree2982c66b9049449a2e83e43b07845eeea5a787dc
parent41e8339eb64b58cf98d276fc7f36b36ea7242b1a (diff)
Sort and group deps based on scope.
-rw-r--r--container-di/pom.xml48
1 files changed, 27 insertions, 21 deletions
diff --git a/container-di/pom.xml b/container-di/pom.xml
index f0778f7d45e..a7991ee4f71 100644
--- a/container-di/pom.xml
+++ b/container-di/pom.xml
@@ -15,28 +15,14 @@
<version>7-SNAPSHOT</version>
<packaging>container-plugin</packaging>
<dependencies>
+
+ <!-- COMPILE scope -->
<dependency>
<groupId>com.yahoo.vespa</groupId>
<artifactId>annotations</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-library</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.yahoo.vespa</groupId>
- <artifactId>jdisc_core</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>com.yahoo.vespa</groupId>
<artifactId>vespajlib</artifactId>
<version>${project.version}</version>
@@ -47,9 +33,17 @@
</exclusion>
</exclusions>
</dependency>
+
+ <!-- PROVIDED scope -->
+ <dependency>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ <classifier>no_aop</classifier>
+ <scope>provided</scope>
+ </dependency>
<dependency>
<groupId>com.yahoo.vespa</groupId>
- <artifactId>config-bundle</artifactId>
+ <artifactId>component</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
@@ -60,17 +54,29 @@
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>com.google.inject</groupId>
- <artifactId>guice</artifactId>
- <classifier>no_aop</classifier>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>config-bundle</artifactId>
+ <version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.yahoo.vespa</groupId>
- <artifactId>component</artifactId>
+ <artifactId>jdisc_core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
+
+ <!-- TEST scope -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-library</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<plugins>