diff options
author | sunil unnava <sunil.unnava@att.com> | 2019-01-08 16:41:07 -0500 |
---|---|---|
committer | sunil unnava <su622b@att.com> | 2019-01-09 04:27:18 +0000 |
commit | 88c4aeab197aec7c4b2bba0f3595cc32a718d8cb (patch) | |
tree | 7aa7acdb5dc2c926ea2dad10647d3b4dd74a6554 /pom.xml | |
parent | 244dda1d092ca7c2eacdc7dca8f063d44edd7dee (diff) |
add mmagent
Issue-ID: DMAAP-909
Change-Id: Ib90bd5b62528fcec753e1f892797c8eb41c63062
Signed-off-by: sunil unnava <sunil.unnava@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 60 |
1 files changed, 56 insertions, 4 deletions
@@ -21,7 +21,7 @@ <groupId>org.onap.dmaap.kafka</groupId> <artifactId>kafka11aaf</artifactId> - <version>0.0.2-SNAPSHOT</version> + <version>0.0.3-SNAPSHOT</version> <name>dmaap-kafka11aaf</name> <licenses> <license> @@ -137,6 +137,53 @@ </configuration> </plugin> <plugin> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy</id> + <phase>package</phase> + <goals> + <goal>copy</goal> + </goals> + <configuration> + <outputDirectory>target</outputDirectory> + <encoding>UTF-8</encoding> + <artifactItems> + <artifactItem> + <groupId>org.onap.dmaap.messagerouter.mirroragent</groupId> + <artifactId>dmaapMMAgent</artifactId> + <version>1.1.1-SNAPSHOT</version> + <destFileName>dmaapMMAgent.jar</destFileName> + </artifactItem> + </artifactItems> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <executions> + <execution> + <id>enforce-no-snapshots</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireReleaseDeps> + <message>No Snapshots Allowed!</message> + <excludes> + <exclude>org.onap.dmaap.messagerouter.mirroragent:dmaapMMAgent</exclude> + </excludes> + </requireReleaseDeps> + </rules> + <fail>true</fail> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId> <version>1.0.0</version> @@ -157,6 +204,11 @@ <directory>${project.build.directory}</directory> <include>**/**</include> </resource> + <resource> + <targetPath>/</targetPath> + <directory>${project.build.directory}</directory> + <include>dmaapMMAgent.jar</include> + </resource> </resources> </configuration> <executions> @@ -233,7 +285,7 @@ <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <!-- MainClass in mainfest make a executable jar --> - <finalName>kafka11aaf</finalName> + <finalName>kafka11aaf</finalName> </configuration> <executions> <execution> @@ -246,13 +298,13 @@ </execution> </executions> </plugin> - + </plugins> </build> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <KafkaImg>0.0.2</KafkaImg> + <KafkaImg>0.0.3</KafkaImg> <sitePath>/content/sites/site/org/onap/dmaap/kafka0111/${project.artifactId}/${project.version}</sitePath> <skip.docker.build>true</skip.docker.build> <skip.docker.push>true</skip.docker.push> |