correction to mvn step to populate dependencies 19/31519/1
authorDominic Lunanuova <dgl@research.att.com>
Mon, 12 Feb 2018 22:09:44 +0000 (22:09 +0000)
committerDominic Lunanuova <dgl@research.att.com>
Mon, 12 Feb 2018 22:10:50 +0000 (22:10 +0000)
Change-Id: I5d9f71b07c73c32856d2984613183a54f446e5af
Signed-off-by: Dominic Lunanuova <dgl@research.att.com>
Issue-ID: DMAAP-115

README.md
pom.xml

index 5d118a0..2f82582 100644 (file)
--- 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 (file)
--- 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>
     <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>
     <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>