| <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> |
| |
| <groupId>org.onap.sdc.sdc-tosca</groupId> |
| <artifactId>sdc-tosca-jtosca</artifactId> |
| <name>sdc-tosca-jtosca</name> |
| <description>SDC Tosca Parser JAR file for use by consumers</description> |
| <version>1.7.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <parent> |
| <groupId>org.onap.oparent</groupId> |
| <artifactId>oparent</artifactId> |
| <version>3.2.0</version> |
| <relativePath/> |
| </parent> |
| |
| <modules> |
| <module>sdc-tosca</module> |
| <module>jtosca</module> |
| </modules> |
| |
| <properties> |
| |
| <!-- ==================== --> |
| <!-- Generic properties --> |
| <!-- ==================== --> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| |
| <!-- ==================== --> |
| <!-- Versions --> |
| <hamcrest.version>2.1</hamcrest.version> |
| <!-- ==================== --> |
| <!-- Global project version --> |
| |
| <!-- Dependencies projects version --> |
| <nexus.proxy>https://nexus.onap.org</nexus.proxy> |
| <sitePath>/content/sites/site/org/onap/sdc/sdc-tosca/${project.version}</sitePath> |
| <snapshots.path>snapshots</snapshots.path> |
| <releases.path>releases</releases.path> |
| |
| <!-- Sonar properties --> |
| <sonar.language>java</sonar.language> |
| <sonar.coverage.jacoco.xmlReportPaths> |
| ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml |
| </sonar.coverage.jacoco.xmlReportPaths> |
| <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding> |
| <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir> |
| <sonar.sources>.</sonar.sources> |
| <sonar.exclusions>**/scripts/**/*</sonar.exclusions> |
| <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions> |
| <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions> |
| |
| <lombok.version>1.18.20</lombok.version> |
| <!--TESTING--> |
| <mockito.version>4.3.1</mockito.version> |
| <mockitoJupiter.version>${mockito.version}</mockitoJupiter.version> |
| <junit.platform.version>1.8.2</junit.platform.version> |
| <junitJupiter.version>5.8.2</junitJupiter.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>${lombok.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <version>${hamcrest.version}</version> |
| </dependency> |
| <!--JUnit Jupiter Engine to depend on the JUnit5 engine and JUnit 5 API --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <version>${junitJupiter.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-junit-jupiter</artifactId> |
| <version>${mockitoJupiter.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.7.36</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <scope>compile</scope> |
| <version>31.1-jre</version> |
| </dependency> |
| |
| <!-- YAML parser --> |
| <dependency> |
| <groupId>org.yaml</groupId> |
| <artifactId>snakeyaml</artifactId> |
| <version>1.30</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <!-- TEST --> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <version>3.22.0</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <failOnError>false</failOnError> |
| <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| <docletArtifact> |
| <groupId>org.umlgraph</groupId> |
| <artifactId>umlgraph</artifactId> |
| <version>5.6.6</version> |
| </docletArtifact> |
| <additionalparam>-views</additionalparam> |
| <useStandardDocletOptions>true</useStandardDocletOptions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.10.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>3.1.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>3.3.2</version> |
| <configuration/> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.22.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.11.0</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-webdav-jackrabbit</artifactId> |
| <version>3.5.1</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.11.0</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.wagon</groupId> |
| <artifactId>wagon-webdav-jackrabbit</artifactId> |
| <version>3.5.1</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation> |
| <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>0.8.8</version> |
| <executions> |
| <!-- Unit-Tests --> |
| <execution> |
| <id>prepare-agent</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| <configuration> |
| <destFile>${sonar.jacoco.reportPath}</destFile> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>11</source> |
| <target>11</target> |
| <forceJavacCompilerUse>true</forceJavacCompilerUse> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration/> |
| </plugin> |
| <!-- Test --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>${argLine} -Xmx2048m</argLine> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.sonarsource.scanner.maven</groupId> |
| <artifactId>sonar-maven-plugin</artifactId> |
| <version>3.7.0.1746</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.github.sylvainlaurent.maven</groupId> |
| <artifactId>yaml-json-validator-maven-plugin</artifactId> |
| <version>1.0.1</version> |
| <executions> |
| <execution> |
| <id>validate</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>validate</goal> |
| </goals> |
| <configuration> |
| <validationSets> |
| <validationSet> |
| <includes> |
| <include>src/main/resources/**/*.y*ml</include> |
| <include>src/test/resources/**/*.y*ml</include> |
| </includes> |
| </validationSet> |
| <validationSet> |
| <includes> |
| <include>src/main/resources/**/*.json</include> |
| <include>src/test/resources/**/*.json</include> |
| </includes> |
| </validationSet> |
| </validationSets> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <repositories> |
| <repository> |
| <id>central</id> |
| <name>Official Maven repository</name> |
| <url>http://repo2.maven.org/maven2/</url> |
| </repository> |
| <repository> |
| <id>ecomp-releases</id> |
| <name>Release Repository</name> |
| <url>${nexus.proxy}/content/repositories/releases/</url> |
| </repository> |
| <repository> |
| <id>ecomp-snapshots</id> |
| <name>Snapshots Repository</name> |
| <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| </repository> |
| </repositories> |
| |
| <distributionManagement> |
| <repository> |
| <id>ecomp-releases</id> |
| <name>Release Repository</name> |
| <url>${nexus.proxy}/content/repositories/${releases.path}/</url> |
| </repository> |
| <snapshotRepository> |
| <id>ecomp-snapshots</id> |
| <name>Snapshot Repository</name> |
| <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url> |
| </snapshotRepository> |
| <site> |
| <id>ecomp-site</id> |
| <url>dav:${nexus.proxy}${sitePath}</url> |
| </site> |
| </distributionManagement> |
| </project> |