diff options
author | Dan Timoney <dtimoney@att.com> | 2017-12-07 15:29:50 -0500 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-12-07 15:29:50 -0500 |
commit | d8c2cab70e28690e2f292d45b0ea3c415b9e494d (patch) | |
tree | c04c3a138109f558b195ef1f394c0bf7f70356fd | |
parent | b3aa1979de292cdd21aba7d9e40c4e016a348dfc (diff) |
Add main class to manifest
Start script for dmaap-listener expects jar to contain a main class
Change-Id: I903330cd78209bf76da9c367bd14c80af8d26771
Issue-ID: CCSDK-153
Signed-off-by: Dan Timoney <dtimoney@att.com>
-rwxr-xr-x | dmaap-listener/pom.xml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/dmaap-listener/pom.xml b/dmaap-listener/pom.xml index cf30e0e1..e60f1803 100755 --- a/dmaap-listener/pom.xml +++ b/dmaap-listener/pom.xml @@ -90,8 +90,19 @@ <target>1.7</target> </configuration> </plugin> - - + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>2.6</version> + <configuration> + <archive> + <manifest> + <addClasspath>true</addClasspath> + <mainClass>org.onap.ccsdk.sli.northbound.dmaapclient.DmaapListener</mainClass> + </manifest> + </archive> + </configuration> + </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.6</version> |