Change-Id: I66f981b92988f820469c272063e7b22661900e8d
Signed-off-by: dglFromAtt <dgl@research.att.com>
Issue-ID: DMAAP-318
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
</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/>