Commit for the blueprint generator java tool
[dcaegen2/platform/cli.git] / blueprint-generator / pom.xml
diff --git a/blueprint-generator/pom.xml b/blueprint-generator/pom.xml
new file mode 100644 (file)
index 0000000..2dbfd9e
--- /dev/null
@@ -0,0 +1,191 @@
+<!--
+============LICENSE_START======================================================= 
+ org.onap.dcae 
+ ================================================================================ 
+ Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. 
+ ================================================================================ 
+ Licensed under the Apache License, Version 2.0 (the "License"); 
+ you may not use this file except in compliance with the License. 
+ You may obtain a copy of the License at 
+
+      http://www.apache.org/licenses/LICENSE-2.0 
+
+ Unless required by applicable law or agreed to in writing, software 
+ distributed under the License is distributed on an "AS IS" BASIS, 
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
+ See the License for the specific language governing permissions and 
+ limitations under the License. 
+ ============LICENSE_END========================================================= 
+-->
+
+<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.dcaegen2.platform.cli</groupId> 
+               <artifactId>cli</artifactId> 
+               <version>1.1.0-SNAPSHOT</version> 
+       </parent>
+       <groupId>org.onap.dcaegen2.platform.cli</groupId>
+       <artifactId>blueprint-generator-onap</artifactId>
+       <version>0.0.1-SNAPSHOT</version> 
+       <properties>
+               <maven.compiler.source>1.6</maven.compiler.source>
+               <maven.compiler.target>1.6</maven.compiler.target>
+
+               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+               <sonar.core.codeCoveragePlugin>cobertura</sonar.core.codeCoveragePlugin>
+               <sonar.java.coveragePlugin>cobertura</sonar.java.coveragePlugin>
+               <sonar.junit.reportsPath>${project.basedir}/target/surefire-reports</sonar.junit.reportsPath>
+               <sonar.surefire.reportsPath>${project.basedir}/target/surefire-reports</sonar.surefire.reportsPath>
+               <sonar.cobertura.reportPath>${project.basedir}/target/site/cobertura/coverage.xml</sonar.cobertura.reportPath> 
+
+       </properties>
+
+       <build>
+               <plugins>
+
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <configuration>
+                                       <source>1.7</source>
+                                       <target>1.7</target>
+                               </configuration>
+                               <version>2.0.2</version>
+                       </plugin>
+                       <plugin>
+                               <artifactId>maven-assembly-plugin</artifactId>
+                               <version>2.4.1</version>
+                               <configuration>
+                                       <descriptors>
+                                               <descriptor>src/assembly/dep.xml</descriptor>
+                                       </descriptors>
+                               </configuration>
+
+                               <executions>
+                                       <execution> 
+
+                                               <id>make-assembly</id>  
+                                               <phase>package</phase>   
+                                               <goals>
+                                                       <goal>single</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+
+
+                       </plugin> 
+
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>cobertura-maven-plugin</artifactId>
+                               <version>2.7</version>
+                               <configuration>
+                                       <instrumentation>
+                                               <includes>
+                                                       <include>**/*.class</include>
+                                               </includes>
+                                       </instrumentation>
+                                       <encoding>UTF-8</encoding>
+                               </configuration>
+
+                               <executions>
+
+                                       <execution>
+                                               <id>clean</id>
+                                               <!-- > <phase>pre-site</phase> -->
+                                               <phase>pre-site</phase>
+                                               <goals>
+                                                       <goal>cobertura</goal>
+                                               </goals>
+                                       </execution>
+
+
+                                       <execution>
+                                               <id>instrument</id>
+                                               <phase>site</phase>
+                                               <goals>
+                                                       <goal>instrument</goal>
+                                                       <goal>cobertura</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <encoding>UTF-8</encoding>
+                                               </configuration>
+                                       </execution>
+
+                               </executions>
+
+                       </plugin>
+
+                       <plugin>
+                               <groupId>org.sonarsource.scanner.maven</groupId>
+                               <artifactId>sonar-maven-plugin</artifactId>
+                               <version>3.0.2</version>
+                       </plugin>
+
+               </plugins>
+
+       </build>
+
+       <reporting>
+               <plugins>
+                       <plugin>
+                               <!-- use mvn cobertura:cobertura to generate cobertura reports -->
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>cobertura-maven-plugin</artifactId>
+                               <version>2.7</version>
+                               <configuration>
+                                       <formats>
+                                               <format>xml</format>
+                                       </formats>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </reporting>
+
+
+       <dependencies>
+               <dependency>
+                       <groupId>org.projectlombok</groupId>
+                       <artifactId>lombok</artifactId>
+                       <version>1.18.2</version>
+                       <scope>provided</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>commons-cli</groupId>
+                       <artifactId>commons-cli</artifactId>
+                       <version>1.2</version>
+               </dependency>
+
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <version>4.12</version>
+                       <scope>test</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>com.fasterxml.jackson.dataformat</groupId>
+                       <artifactId>jackson-dataformat-yaml</artifactId>
+                       <version>2.9.8</version>
+               </dependency>
+
+               <dependency>
+                       <groupId>com.fasterxml.jackson.core</groupId>
+                       <artifactId>jackson-databind</artifactId>
+                       <version>2.9.8</version>
+               </dependency>
+               <dependency>
+                       <groupId>com.fasterxml.jackson.core</groupId>
+                       <artifactId>jackson-annotations</artifactId>
+                       <version>2.9.8</version>
+               </dependency>
+
+
+
+       </dependencies>
+
+</project>
\ No newline at end of file