aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominic Lunanuova <dgl@research.att.com>2018-02-12 22:09:44 +0000
committerDominic Lunanuova <dgl@research.att.com>2018-02-12 22:10:50 +0000
commit4a7c3578d29aee0cf561608885dd0acbcce5ecff (patch)
treea782040f8b37eb8bc3db49838250afd6ad45ac91
parente50b8b6e33ef2f0b28f9831783eaf9c40100b8c7 (diff)
correction to mvn step to populate dependencies
Change-Id: I5d9f71b07c73c32856d2984613183a54f446e5af Signed-off-by: Dominic Lunanuova <dgl@research.att.com> Issue-ID: DMAAP-115
-rw-r--r--README.md5
-rw-r--r--pom.xml28
2 files changed, 30 insertions, 3 deletions
diff --git a/README.md b/README.md
index 5d118a0..2f82582 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,10 @@ We can utilize docker to build and register the buscontroller container in a loc
Note the Dockerfile follows ONAP convention of running app as root.
```
-<following a successful build, assuming DOCKER_HOST is set appropriately for your environment>
+<following a successful build, copy all dependencies >
+$ mvn dependency:copy-dependencies
+
+<assuming DOCKER_HOST is set appropriately for your environment>
$ docker build -f ./Dockerfile .
```
diff --git a/pom.xml b/pom.xml
index 14e1cc3..53cbb70 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.onap.dmaap.buscontroller</groupId>
<artifactId>buscontroller</artifactId>
- <version>${artifact.version}</version>
+ <version>1.0.1</version>
<name>dmaap-buscontroller</name>
<parent>
<groupId>org.onap.oparent</groupId>
@@ -15,6 +15,30 @@
<finalName>buscontroller</finalName>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>3.0.0-M1</version>
+ <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.dbcapi:dbcapi</exclude>
+ </excludes>
+ </requireReleaseDeps>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<pluginManagement>
@@ -160,7 +184,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jettyVersion>9.3.7.v20160115</jettyVersion>
<eelf.version>0.0.1</eelf.version>
- <artifact.version>1.0.1-SNAPSHOT</artifact.version>
+ <artifact.version>1.0.1</artifact.version>
<!-- SONAR -->
<jacoco.version>0.7.7.201606060606</jacoco.version>
<sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>