I encounter failure of compile after deleting my .m2/ cache
The root cause is cloud-utils is set as 'test' scope in agent/pom.xml and 
server/pom.xml, but cloud-utils itself is not 'test' scope.
I suspect it's a wrong setting and made below patch. If nobody rises special 
reason I would apply this patch tomorrow.

diff --git a/agent/pom.xml b/agent/pom.xml
index 810f33f..0fc372d 100644
--- a/agent/pom.xml
+++ b/agent/pom.xml
@@ -35,8 +35,6 @@
       <groupId>org.apache.cloudstack</groupId>
       <artifactId>cloud-utils</artifactId>
       <version>${project.version}</version>
-      <classifier>tests</classifier>
-      <scope>test</scope>
     </dependency>
   </dependencies>
   <build>
diff --git a/server/pom.xml b/server/pom.xml
index 602ed5b..a3dab6f 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -77,8 +77,6 @@
       <groupId>org.apache.cloudstack</groupId>
       <artifactId>cloud-utils</artifactId>
       <version>${project.version}</version>
-      <classifier>tests</classifier>
-      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.reflections</groupId>

Reply via email to