Declare container-test before container in container-dependencies-enforcer
<dependencies>
<dependency>
<groupId>com.yahoo.vespa</groupId>
- <artifactId>container</artifactId>
+ <artifactId>container-test</artifactId>
<version>${project.version}</version>
- <scope>provided</scope>
+ <scope>test</scope>
</dependency>
+ <!-- Declare container-test before container here, opposite of what we do in hosted-tenant-base, to cover both cases -->
<dependency>
<groupId>com.yahoo.vespa</groupId>
- <artifactId>container-test</artifactId>
+ <artifactId>container</artifactId>
<version>${project.version}</version>
- <scope>test</scope>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
