corrections for packaging and CSIT
[dmaap/buscontroller.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 53cbb70..ab6347d 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             </configuration>
           </execution>
         </executions>
+      </plugin>
+         <plugin>
+        <!--Special goal to populate target/libs with dependencies to place in docker image -->
+           <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-dependency-plugin</artifactId>
+           <executions>
+             <execution>
+                   <phase>install</phase>
+                   <goals>
+                     <goal>copy-dependencies</goal>
+                   </goals>
+                   <configuration>
+                     <outputDirectory>${project.build.directory}/dependency</outputDirectory>
+                   </configuration>
+             </execution>
+       </executions>
       </plugin>
 
     </plugins>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-dependency-plugin</artifactId>
                     <versionRange>[2.10,)</versionRange>
-                    <goals>
-                      <goal>copy-dependencies</goal>
-                    </goals>
+                                           <phase>install</phase>
+                        <goals>
+                          <goal>copy-dependencies</goal>
+                        </goals>
                   </pluginExecutionFilter>
                   <action>
                     <ignore/>