<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>foundation.cmo.service</groupId>
	<artifactId>foundation-cmo-api-mls-parent</artifactId>
	<version>0.0.2</version>
	<packaging>pom</packaging>

	<name>${project.groupId}:${project.artifactId}</name>
	
	<description>Personal API MLS</description>
	<url>https://github.com/m4rc310RCP/foundation-cmo-api-mls-starter</url>

	<modules>
		<module>foundation-cmo-api-mls-starter</module>
		<module>foundation-cmo-api-mls-libs</module>
		<module>foundation-cmo-api-mls-autoconfigure</module>
		<module>foundation-cmo-api-mls-graphql</module>
		<module>foundation-cmo-api-mls-ean</module>
		<module>foundation-cmo-api-mls-weather</module>
		<module>foundation-cmo-api-mls-geo</module>
	</modules>

	<developers>
		<developer>
			<id>m4rc310</id>
			<name>Marcelo Lopes</name>
			<email>marcelo.utfpr@me.com</email>
			<organization>CMO Foundation</organization>
			<organizationUrl>https://cmo.foundation</organizationUrl>
		</developer>
	</developers>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<maven.compiler.target>1.8</maven.compiler.target>
		<maven.compiler.source>1.8</maven.compiler.source>
		<java.version>1.8</java.version>
		<spqr.version>0.12.1</spqr.version>
		<spring-boot.version>2.7.13</spring-boot.version>
		<fastjson.version>1.2.24</fastjson.version>
		<spqr.utils.version>0.0.7</spqr.utils.version>
	</properties>

	<licenses>
		<license>
			<name>The Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<scm>
		<connection>
			scm:git:git://github.com/m4rc310RCP/foundation-cmo-api-mls-starter.git</connection>
		<developerConnection>
			scm:git:ssh://git://github.com/m4rc310RCP/foundation-cmo-api-mls-starter.git</developerConnection>
		<url>https://github.com/m4rc310RCP/foundation-cmo-api-mls-starter</url>
	</scm>


	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-dependencies</artifactId>
				<version>${spring-boot.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>

			<dependency>
				<groupId>foundation.cmo.service</groupId>
				<artifactId>foundation-cmo-api-mls-libs</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>foundation.cmo.service</groupId>
				<artifactId>foundation-cmo-api-mls-autoconfigure</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>foundation.cmo.service</groupId>
				<artifactId>foundation-cmo-api-mls-starter</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>foundation.cmo.service</groupId>
				<artifactId>foundation-cmo-api-mls-graphql</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>foundation.cmo.service</groupId>
				<artifactId>foundation-cmo-api-mls-ean</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>foundation.cmo.service</groupId>
				<artifactId>foundation-cmo-api-mls-weather</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>foundation.cmo.service</groupId>
				<artifactId>foundation-cmo-api-mls-geo</artifactId>
				<version>${project.version}</version>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>
				https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</snapshotRepository>
	</distributionManagement>
	<build>
		<plugins>
			<plugin>
				<groupId>org.sonatype.plugins</groupId>
				<artifactId>nexus-staging-maven-plugin</artifactId>
				<version>1.6.13</version>
				<extensions>true</extensions>
				<configuration>
					<serverId>ossrh</serverId>
					<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
					<autoReleaseAfterClose>true</autoReleaseAfterClose>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<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>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-gpg-plugin</artifactId>
				<version>3.1.0</version>
				<executions>
					<execution>
						<id>sign-artifacts</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
						<configuration>
							<keyname>${gpg.keyname}</keyname>
							<passphraseServerId>${gpg.keyname}</passphraseServerId>
						</configuration>
					</execution>
				</executions>
			</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>-->
			<!--			</plugin>-->
		</plugins>
		<pluginManagement>
			<plugins>
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
				<plugin>
					<groupId>org.eclipse.m2e</groupId>
					<artifactId>lifecycle-mapping</artifactId>
					<version>1.0.0</version>
					<configuration>
						<lifecycleMappingMetadata>
							<pluginExecutions>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>
											org.apache.maven.plugins
										</groupId>
										<artifactId>
											maven-compiler-plugin
										</artifactId>
										<versionRange>
											[3.10.1,)
										</versionRange>
										<goals>
											<goal>compile</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore></ignore>
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

</project>