<parent>
<groupId>org.onap.multicloud.framework</groupId>
<artifactId>multicloud-framework</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.onap.multicloud.framework</groupId>
<artifactId>multicloud-framework-artifactbroker</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.2-SNAPSHOT</version>
<packaging>pom</packaging>
<name>multicloud-framework-artifactbroker</name>
<description>artifact broker</description>
<version.logback>1.2.3</version.logback>
<policy.common.version>1.3.4</policy.common.version>
<policy.engine.version>1.3.5</policy.engine.version>
+ <sonar.language>java</sonar.language>
+ <sonar.coverage.jacoco.xmlReportPaths>
+ ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+ </sonar.coverage.jacoco.xmlReportPaths>
</properties>
<modules>
<module>model</module>
<goal>prepare-agent</goal>
</goals>
<configuration>
- <destFile>${sonar.jacoco.reportPath}</destFile>
+ <destFile>${sonar.coverage.jacoco.xmlReportPaths}</destFile>
<append>true</append>
</configuration>
</execution>
<goal>report</goal>
</goals>
<configuration>
- <dataFile>${sonar.jacoco.reportPath}</dataFile>
+ <dataFile>${sonar.coverage.jacoco.xmlReportPaths}</dataFile>
</configuration>
</execution>
</executions>
<goal>prepare-agent</goal>
</goals>
<configuration>
- <destFile>${sonar.jacoco.reportPath}</destFile>
+ <destFile>${sonar.coverage.jacoco.xmlReportPaths}</destFile>
</configuration>
</execution>
<execution>
<goal>report</goal>
</goals>
<configuration>
- <dataFile>${sonar.jacoco.reportPath}</dataFile>
+ <dataFile>${sonar.coverage.jacoco.xmlReportPaths}</dataFile>
</configuration>
</execution>
</executions>
</plugins>
</pluginManagement>
</build>
- <profiles>
- <profile>
- <id>docker</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>3.1.0</version>
- <executions>
- <execution>
- <id>copy-resources</id>
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.basedir}/docker_target</outputDirectory>
- <resources>
- <resource>
- <directory>${project.basedir}/docker</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.6</version>
- <executions>
- <execution>
- <phase>install</phase>
- <inherited>false</inherited>
- <configuration>
- <target>
- <exec executable="docker">
- <arg value="build"/>
- <arg value="-t"/>
- <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/framework:${project.version}"/>
- <arg value="docker_target"/>
- </exec>
- <exec executable="docker">
- <arg value="tag"/>
- <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/framework:${project.version}"/>
- <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/framework:latest"/>
- </exec>
- <exec executable="docker">
- <arg value="push"/>
- <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/framework:${project.version}"/>
- </exec>
- <exec executable="docker">
- <arg value="push"/>
- <arg value="${CONTAINER_PUSH_REGISTRY}/onap/multicloud/framework:latest"/>
- </exec>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- </profile>
- </profiles>
</project>