diff options
author | 2018-03-07 20:27:47 +0000 | |
---|---|---|
committer | 2018-03-07 20:27:47 +0000 | |
commit | b8f4517ccb9eb075443f6929e2c19c41a3c56b7a (patch) | |
tree | f9a179be7fc29b6cd0ed26aaba6a729eeb8684d2 | |
parent | 72dbb8fd3c038ae19f0f44c9de5c343a2fdfd5b1 (diff) | |
parent | 3d2351b25d8f17010f5850c8f91b135fec057f70 (diff) |
Merge "corrections for packaging and CSIT"
-rw-r--r-- | misc/dmaapbc | 8 | ||||
-rw-r--r-- | pom.xml | 23 |
2 files changed, 27 insertions, 4 deletions
diff --git a/misc/dmaapbc b/misc/dmaapbc index 7ee0e68..3d19f88 100644 --- a/misc/dmaapbc +++ b/misc/dmaapbc @@ -86,7 +86,13 @@ start() { if [ "$PIDS" = "" ] then echo $COMPONENT startup failed - tail -100 $APP_ROOT/logs/dmaap*.log + ls -l $APP_ROOT/logs/EELF + echo "------------ error.log ---------------" + cat $APP_ROOT/logs/EELF/error.log + echo "------------ server.log ---------------" + cat $APP_ROOT/logs/EELF/server.log + echo "------------ tail -100 application.log ---------------" + tail -100 $APP_ROOT/logs/EELF/application.log else echo $COMPONENT started fi @@ -39,6 +39,22 @@ </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> <pluginManagement> @@ -56,9 +72,10 @@ <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/> |