<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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>net.ihe.gazelle</groupId> <artifactId>gazelle-objects-checker</artifactId> <name>Gazelle Objects Checker</name> <version>3.0.4-SNAPSHOT</version> <packaging>pom</packaging> <organization> <name>IHE-Europe</name> <url>https://ihe-europe.net/</url> </organization> <description>This the parent module that contains all GOC modules</description> <issueManagement> <system>JIRA</system> <url>https://gazelle.ihe.net/jira/projects/GOC</url> </issueManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <git.user.name>gitlab-ci</git.user.name> <git.user.token>changeit</git.user.token> <git.project.url>https://${git.user.name}:${git.user.token}@gitlab.inria.fr/gazelle/library/gazelle-objects-checker.git</git.project.url> <maven.release.plugin.version>2.5.3</maven.release.plugin.version> <nexus.staging.maven.plugin.version>1.6.8</nexus.staging.maven.plugin.version> <sonar.maven.plugin>3.5.0.1254</sonar.maven.plugin> <jacoco.version>0.8.7</jacoco.version> </properties> <scm> <connection>scm:git:${git.project.url}</connection> <developerConnection>scm:git:${git.project.url}</developerConnection> <url>${git.project.url}</url> <tag>HEAD</tag> </scm> <repositories> <repository> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>true</enabled> </snapshots> <id>IHE</id> <name>IHE Public Maven Repository Group</name> <url>https://gazelle.ihe.net/nexus/content/groups/public/</url> <layout>default</layout> </repository> </repositories> <distributionManagement> <repository> <id>nexus-releases</id> <url>https://gazelle.ihe.net/nexus/content/repositories/releases</url> </repository> <snapshotRepository> <id>nexus-snapshots</id> <url>https://gazelle.ihe.net/nexus/content/repositories/snapshots/</url> </snapshotRepository> </distributionManagement> <modules> <module>archetype/generated-validator</module> <module>hl7templates/gocmodel-jar</module> <module>hl7templates/hl7templates-model-jar</module> <module>hl7templates/hl7templates-api-jar</module> <module>hl7templates/hl7templates-generator-jar</module> <module>hl7templates/hl7templates-packager-jar</module> <module>hl7templates/goc-tests</module> </modules> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>11</source> <target>11</target> <annotationProcessors> <annotationProcessor> net.ihe.gazelle.goctests.definitions.application.processors.CoverageProcessor </annotationProcessor> </annotationProcessors> </configuration> <dependencies> <dependency> <groupId>org.glassfish.jaxb</groupId> <artifactId>jaxb-runtime</artifactId> <version>2.3.1</version> <scope>runtime</scope> </dependency> </dependencies> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <executions> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>post-unit-test</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>${maven.release.plugin.version}</version> <configuration> <tagNameFormat>@{project.version}</tagNameFormat> <autoVersionSubmodules>true</autoVersionSubmodules> <releaseProfiles>release</releaseProfiles> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>dev</id> <activation> <activeByDefault>true</activeByDefault> </activation> </profile> <profile> <id>sonar</id> <build> <plugins> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>${sonar.maven.plugin}</version> <executions> <execution> <phase>verify</phase> <goals> <goal>sonar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${nexus.staging.maven.plugin.version}</version> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> <configuration> <serverId>nexus-releases</serverId> <nexusUrl>https://gazelle.ihe.net/nexus</nexusUrl> <skipStaging>true</skipStaging> </configuration> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>3.2.0</version> <executions> <execution> <id>copy-resources</id> <phase>package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${basedir}/target/</outputDirectory> <resources> <resource> <directory>${basedir}/hl7templates/hl7templates-packager-jar/target</directory> <includes> <include>**/*.jar</include> <include>**/*.sh</include> </includes> </resource> </resources> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>