diff options
author | Rob Daugherty <rd472p@att.com> | 2018-02-19 10:16:44 -0500 |
---|---|---|
committer | Rob Daugherty <rd472p@att.com> | 2018-02-19 10:19:36 -0500 |
commit | 472cab29ed1d8f058ababcef2859353817c79fef (patch) | |
tree | 36e81102b5d96ca53dd0abb8583ef08ef4b7d14e /pom.xml | |
parent | afdd5eb886bc0e2f6909d11a70a766582919acb3 (diff) |
so/libs build fails if unit tests are disabled
[ERROR] Failed to execute goal on project nova-client: Could not
resolve dependencies for project org.openecomp.so.libs.openstack-
java-sdk:nova-client:jar:1.2.0-SNAPSHOT: Could not find artifact
org.openecomp.so.libs.openstack-java-sdk:openstack-client:jar:
tests:1.2.0-SNAPSHOT
I've also noticed that the junit and mock artifacts are not
consistently declared with scope "test".
Will fix these issues, and clean up indentation in the poms.
Issue-ID: SO-432
Change-Id: I1e643c288b0cb61f2da6d98832b3aac640073b33
Signed-off-by: Rob Daugherty <rd472p@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 69 |
1 files changed, 35 insertions, 34 deletions
@@ -78,40 +78,41 @@ <url>http://repo2.maven.org/maven2/</url> </pluginRepository> </pluginRepositories> - <dependencyManagement> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-all</artifactId> - <version>1.10.19</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-api-mockito</artifactId> - <version>1.6.2</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.powermock</groupId> - <artifactId>powermock-module-junit4</artifactId> - <version>1.6.2</version> - </dependency> - <dependency> - <groupId>org.openecomp.so.libs.openstack-java-sdk</groupId> - <artifactId>openstack-client</artifactId> - <version>${project.version}</version> - <type>test-jar</type> - <scope>test</scope> - </dependency> - </dependencies> - </dependencyManagement> + <dependencyManagement> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-all</artifactId> + <version>1.10.19</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-api-mockito</artifactId> + <version>1.6.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.powermock</groupId> + <artifactId>powermock-module-junit4</artifactId> + <version>1.6.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.openecomp.so.libs.openstack-java-sdk</groupId> + <artifactId>openstack-client</artifactId> + <version>${project.version}</version> + <type>test-jar</type> + <scope>test</scope> + </dependency> + </dependencies> + </dependencyManagement> <dependencies> <dependency> <groupId>org.codehaus.jackson</groupId> |