diff options
author | SINGAL, KAPIL (ks220y) <ks220y@att.com> | 2019-09-17 16:36:59 +0000 |
---|---|---|
committer | Brinda Santh Muthuramalingam <brindasanth@in.ibm.com> | 2019-09-17 17:01:40 +0000 |
commit | 24f39fda67bec6f622c25effcd2a1626efae772a (patch) | |
tree | 44a81cd9a479c2d01535a609775e8c9122828934 /ms/controllerblueprints/modules | |
parent | fdc1a2b71f8fa2c8071310d38116d608c0466f6b (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/controllerblueprints/modules')
5 files changed, 25 insertions, 17 deletions
diff --git a/ms/controllerblueprints/modules/blueprint-core/pom.xml b/ms/controllerblueprints/modules/blueprint-core/pom.xml index 1cb912c1b..5dd5f1bb2 100644 --- a/ms/controllerblueprints/modules/blueprint-core/pom.xml +++ b/ms/controllerblueprints/modules/blueprint-core/pom.xml @@ -17,12 +17,15 @@ --> <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.controllerblueprints</groupId> <artifactId>modules</artifactId> <version>0.7.0-SNAPSHOT</version> </parent> + <artifactId>blueprint-core</artifactId> + <name>Controller Blueprints Core</name> <dependencies> @@ -95,5 +98,4 @@ <scope>test</scope> </dependency> </dependencies> - </project> diff --git a/ms/controllerblueprints/modules/blueprint-proto/pom.xml b/ms/controllerblueprints/modules/blueprint-proto/pom.xml index 7d4d60028..eb4dd9f78 100644 --- a/ms/controllerblueprints/modules/blueprint-proto/pom.xml +++ b/ms/controllerblueprints/modules/blueprint-proto/pom.xml @@ -15,17 +15,17 @@ ~ 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.controllerblueprints</groupId> <artifactId>modules</artifactId> <version>0.7.0-SNAPSHOT</version> </parent> - <modelVersion>4.0.0</modelVersion> <artifactId>blueprint-proto</artifactId> + <name>Controller Blueprints Proto</name> <description>Controller Blueprints Proto</description> @@ -37,13 +37,6 @@ </dependencies> <build> - <extensions> - <extension> - <groupId>kr.motd.maven</groupId> - <artifactId>os-maven-plugin</artifactId> - <version>1.6.2</version> - </extension> - </extensions> <plugins> <plugin> <groupId>org.xolstice.maven.plugins</groupId> @@ -89,8 +82,8 @@ </executions> </plugin> <plugin> - <artifactId>kotlin-maven-plugin</artifactId> <groupId>org.jetbrains.kotlin</groupId> + <artifactId>kotlin-maven-plugin</artifactId> <version>${kotlin.maven.version}</version> <executions> <execution> @@ -109,5 +102,12 @@ </executions> </plugin> </plugins> + <extensions> + <extension> + <groupId>kr.motd.maven</groupId> + <artifactId>os-maven-plugin</artifactId> + <version>1.6.2</version> + </extension> + </extensions> </build> </project> diff --git a/ms/controllerblueprints/modules/blueprint-validation/pom.xml b/ms/controllerblueprints/modules/blueprint-validation/pom.xml index 04c751127..40fff14d4 100644 --- a/ms/controllerblueprints/modules/blueprint-validation/pom.xml +++ b/ms/controllerblueprints/modules/blueprint-validation/pom.xml @@ -18,12 +18,15 @@ --> <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.controllerblueprints</groupId> <artifactId>modules</artifactId> <version>0.7.0-SNAPSHOT</version> </parent> + <artifactId>blueprint-validation</artifactId> + <name>Controller Blueprints Validation Service</name> <dependencies> diff --git a/ms/controllerblueprints/modules/pom.xml b/ms/controllerblueprints/modules/pom.xml index 6cb4ea80a..028e28bf0 100644 --- a/ms/controllerblueprints/modules/pom.xml +++ b/ms/controllerblueprints/modules/pom.xml @@ -17,16 +17,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.controllerblueprints</groupId> <artifactId>parent</artifactId> <version>0.7.0-SNAPSHOT</version> <relativePath>../parent</relativePath> </parent> + <artifactId>modules</artifactId> - <name>Controller Blueprints Modules</name> <packaging>pom</packaging> + <name>Controller Blueprints Modules</name> + <modules> <module>blueprint-core</module> <module>resource-dict</module> @@ -85,5 +88,4 @@ </plugin> </plugins> </build> - </project> diff --git a/ms/controllerblueprints/modules/resource-dict/pom.xml b/ms/controllerblueprints/modules/resource-dict/pom.xml index 4ee4f91a0..b6803d4be 100644 --- a/ms/controllerblueprints/modules/resource-dict/pom.xml +++ b/ms/controllerblueprints/modules/resource-dict/pom.xml @@ -18,12 +18,15 @@ --> <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.controllerblueprints</groupId> <artifactId>modules</artifactId> <version>0.7.0-SNAPSHOT</version> </parent> + <artifactId>resource-dict</artifactId> + <name>Controller Blueprints Resource Dictionary</name> <dependencies> @@ -37,6 +40,4 @@ <scope>test</scope> </dependency> </dependencies> - - </project> |