<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">

	<groupId>org.caseine</groupId>
	<artifactId>caseine.vpl.tools.parent</artifactId>
	<version>0.0.55</version>
	<modelVersion>4.0.0</modelVersion>
	<packaging>pom</packaging>
	<inceptionYear>2019</inceptionYear>

	<name>VPL Design Tool</name>
	<description>The design tool to build VPLs on the caseine platform for e-learning</description>
	<url>https://moodle.caseine.org</url>

	<developers>
		<developer>
			<name>Yvan Maillot</name>
			<email>yvan.maillot@uha.fr</email>
			<organizationUrl>http://www.uha.fr/</organizationUrl>
		</developer>
		<developer>
			<name>Christophe Saint-Marcel</name>
			<email>christophe.saintmarcel@velossity.fr</email>
			<organizationUrl>http://www.velossity.fr</organizationUrl>
		</developer>
	</developers>

	<licenses>
		<license>
			<name>GNU Lesser General Public License (LGPL), Version 3.0</name>
			<url>http://www.gnu.org/licenses/lgpl.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<modules>
		<module>VPLClient</module>
		<module>Goals</module>
		<module>ReflectUtilities</module>
		<module>Commands</module>
		<module>JavaPackager</module>
		<module>CLI</module>
		<module>Archetype</module>
		<module>CppProducer</module>
		<module>PythonProducer</module>
		<module>FileUtilities</module>
	</modules>

	<dependencies>
		<!-- https://mvnrepository.com/artifact/junit/junit -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.13.2</version>
		</dependency>
		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-engine</artifactId>
			<version>5.6.3</version>
		</dependency>
		<dependency>
			<groupId>org.junit.vintage</groupId>
			<artifactId>junit-vintage-engine</artifactId>
			<version>5.6.3</version>
		</dependency>
	</dependencies>

	<scm>
		<connection>scm:git:https://gricad-gitlab.univ-grenoble-alpes.fr/caseine/vpl_design_plugin.git</connection>
		<url>https://gricad-gitlab.univ-grenoble-alpes.fr/caseine/vpl_design_plugin</url>
		<developerConnection>scm:git:https://gricad-gitlab.univ-grenoble-alpes.fr/caseine/vpl_design_plugin.git</developerConnection>
	  <tag>caseine.vpl.aggregator-0.0.55</tag>
  </scm>

	<distributionManagement>
		<repository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
	</distributionManagement>

	<properties>
		<skip>true</skip>
		<maven.javadoc.skip>${skip}</maven.javadoc.skip>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<build>
		<sourceDirectory>src</sourceDirectory>
		<testSourceDirectory>test</testSourceDirectory>
		<resources>
			<resource>
				<directory>resources</directory>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>org.sonatype.plugins</groupId>
				<artifactId>nexus-staging-maven-plugin</artifactId>
				<version>1.6.13</version>
				<extensions>true</extensions>
				<configuration>
					<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
					<skipNexusStagingDeployMojo>${skip}</skipNexusStagingDeployMojo>
					<serverId>ossrh</serverId>
					<nexusUrl>https://oss.sonatype.org/</nexusUrl>
					<autoReleaseAfterClose>true</autoReleaseAfterClose>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-gpg-plugin</artifactId>
				<version>1.5</version>
				<executions>
					<execution>
						<id>sign-artifacts</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<skip>${skip}</skip>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.10.1</version>
				<configuration>
					<source>17</source>
					<target>17</target>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>3.0.0-M7</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>3.2.1</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>3.4.1</version>
				<configuration>
					<source>17</source>
				</configuration>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5.3</version>
				<configuration>
					<localCheckout>true</localCheckout>
					<pushChanges>false</pushChanges>
					<arguments>-Dskip=${skip}</arguments>
				</configuration>
			</plugin>
		</plugins>
	</build>

</project>
