aboutsummaryrefslogtreecommitdiffstats
path: root/ms/sdclistener
diff options
context:
space:
mode:
authorSINGAL, KAPIL (ks220y) <ks220y@att.com>2019-09-17 16:36:59 +0000
committerBrinda Santh Muthuramalingam <brindasanth@in.ibm.com>2019-09-17 17:01:40 +0000
commit24f39fda67bec6f622c25effcd2a1626efae772a (patch)
tree44a81cd9a479c2d01535a609775e8c9122828934 /ms/sdclistener
parentfdc1a2b71f8fa2c8071310d38116d608c0466f6b (diff)
Plugin to format/validate POM
Adding tidy-maven-plugin and related profile to format/vaidate pom files To format POM Files just run mvn process-sources -P format Issue-ID: CCSDK-1739 Signed-off-by: SINGAL, KAPIL (ks220y) <ks220y@att.com> Change-Id: I58dc261ac7b3179a91a0ab5a06237990707543f5
Diffstat (limited to 'ms/sdclistener')
-rw-r--r--ms/sdclistener/application/pom.xml4
-rwxr-xr-xms/sdclistener/distribution/pom.xml8
-rwxr-xr-xms/sdclistener/parent/pom.xml8
-rw-r--r--ms/sdclistener/pom.xml17
4 files changed, 24 insertions, 13 deletions
diff --git a/ms/sdclistener/application/pom.xml b/ms/sdclistener/application/pom.xml
index 7b12e14ea..d1048acfd 100644
--- a/ms/sdclistener/application/pom.xml
+++ b/ms/sdclistener/application/pom.xml
@@ -16,6 +16,7 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+
<parent>
<groupId>org.onap.ccsdk.cds.sdclistener</groupId>
<artifactId>parent</artifactId>
@@ -24,8 +25,9 @@
</parent>
<artifactId>application</artifactId>
- <packaging>jar</packaging>
<version>0.7.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
<name>SDC Listener Application</name>
<properties>
diff --git a/ms/sdclistener/distribution/pom.xml b/ms/sdclistener/distribution/pom.xml
index 8f0120fa5..ca6947841 100755
--- a/ms/sdclistener/distribution/pom.xml
+++ b/ms/sdclistener/distribution/pom.xml
@@ -16,15 +16,19 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+
<parent>
<groupId>org.onap.ccsdk.cds.sdclistener</groupId>
<artifactId>parent</artifactId>
<version>0.7.0-SNAPSHOT</version>
<relativePath>../parent</relativePath>
</parent>
+
<artifactId>distribution</artifactId>
<packaging>pom</packaging>
+
<name>SDC Listener Distribution</name>
+
<properties>
<assembly.id>maven</assembly.id>
<name.space>org.onap.ccsdk.cds</name.space>
@@ -44,6 +48,7 @@
<artifactId>application</artifactId>
</dependency>
</dependencies>
+
<build>
<plugins>
<plugin>
@@ -89,8 +94,7 @@
</execution>
</executions>
</plugin>
- <plugin>
- <!--build the final artifact for docker deployment -->
+ <plugin><!--build the final artifact for docker deployment -->
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<configuration>
diff --git a/ms/sdclistener/parent/pom.xml b/ms/sdclistener/parent/pom.xml
index 05bfdeff4..850dfa43f 100755
--- a/ms/sdclistener/parent/pom.xml
+++ b/ms/sdclistener/parent/pom.xml
@@ -16,19 +16,22 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+
<parent>
<groupId>org.onap.ccsdk.cds</groupId>
<artifactId>sdclistener</artifactId>
<version>0.7.0-SNAPSHOT</version>
</parent>
+
<groupId>org.onap.ccsdk.cds.sdclistener</groupId>
<artifactId>parent</artifactId>
<packaging>pom</packaging>
+
<name>SDC Listener Parent</name>
<description>SDC Listener Parent</description>
+
<properties>
<spring.boot.version>2.1.3.RELEASE</spring.boot.version>
<spring.version>5.1.5.RELEASE</spring.version>
@@ -45,6 +48,7 @@
<jmockit.version>1.19</jmockit.version>
<reactorcore.version>3.2.6.RELEASE</reactorcore.version>
</properties>
+
<dependencyManagement>
<dependencies>
<!-- Spring Boot -->
diff --git a/ms/sdclistener/pom.xml b/ms/sdclistener/pom.xml
index 42c6a1acd..6439e31ab 100644
--- a/ms/sdclistener/pom.xml
+++ b/ms/sdclistener/pom.xml
@@ -16,6 +16,7 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+
<parent>
<groupId>org.onap.ccsdk.cds</groupId>
<artifactId>ms</artifactId>
@@ -24,9 +25,16 @@
</parent>
<artifactId>sdclistener</artifactId>
+ <packaging>pom</packaging>
+
<name>SDC Listener Root</name>
<description>SDC Listener Root</description>
- <packaging>pom</packaging>
+
+ <modules>
+ <module>parent</module>
+ <module>application</module>
+ <module>distribution</module>
+ </modules>
<properties>
<service.name>sdclistener</service.name>
@@ -39,11 +47,4 @@
<maven.compiler.source>1.8</maven.compiler.source>
<ccsdk.project.version>${project.version}</ccsdk.project.version>
</properties>
-
- <modules>
- <module>parent</module>
- <module>application</module>
- <module>distribution</module>
- </modules>
-
</project>