<?xml version="1.0" encoding="UTF-8"?>
<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>org.siani.javafmi</groupId>
	<artifactId>fmu-wrapper</artifactId>
	<name>fmu-wrapper</name>
	<version>2.26.3</version>
	<packaging>jar</packaging>
	<url>https://bitbucket.org/siani/javafmi</url>
	<description>javaFMI is a Java Library for the functional mock-up interface (or FMI). FMI defines a standardized interface to be used in computer simulations. The FMI Standard has beed developed by a large number of software companies and research centers that have worked in a cooperation project under the name of MODELISAR. This library addresses the connection of a java application with a FMU (functional mock-up unit).</description>
	<licenses>
		<license>
			<name>GNU Lesser General Public License v3.0</name>
			<url>https://www.gnu.org/licenses/lgpl-3.0.txt</url>
		</license>
	</licenses>
	<scm>
		<url>https://bitbucket.org/siani/javafmi</url>
	    <connection>scm:git@bitbucket.org:siani/javafmi.git</connection>
	    <developerConnection>scm:git@bitbucket.org:siani/javafmi.git</developerConnection>
	    <tag>fmu-wrapper/2.26.3</tag>
	</scm>

	<developers>
		 <developer>
		      <name>Jose Juan Hernandez</name>
		      <email>josejuanhernandez@siani.es</email>
		      <organization>SIANI</organization>
		      <organizationUrl>http://www.siani.es</organizationUrl>
		</developer>
		 <developer>
		      <name>Jose Evora Gomez</name>
		      <email>jose.evora@siani.es</email>
		      <organization>SIANI</organization>
		      <organizationUrl>http://www.siani.es</organizationUrl>
		</developer>
	</developers>
	<properties>
		<maven.compiler.source>8</maven.compiler.source>
		<maven.compiler.target>8</maven.compiler.target>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<sonar.language>java</sonar.language>
		<sonar.login></sonar.login>
		<sonar.password></sonar.password>
	</properties>

	<build>
		<testSourceDirectory>test</testSourceDirectory>
		<outputDirectory>..\out\production\wrapper</outputDirectory>
		<testOutputDirectory>..\out\test\wrapper</testOutputDirectory>
		<directory>..\out\build/fmu-wrapper</directory>
		<testResources>
			<testResource><directory>test-res</directory></testResource>
			<testResource><directory>..\kernel\test-res</directory></testResource>
		</testResources>
		<plugins>
		    <plugin>
                  <artifactId>maven-clean-plugin</artifactId>
                  <version>3.0.0</version>
                  <configuration>
                    <skip>true</skip>
                  </configuration>
                </plugin><plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>3.2.0</version>
				<configuration>
					<archive>
						<manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
							<addClasspath>true</addClasspath>
							<classpathPrefix>dependency/</classpathPrefix>
						</manifest>
						<manifestSections>
                        </manifestSections>
					</archive>
				</configuration>
			</plugin>
			<plugin>
			    <groupId>org.apache.maven.plugins</groupId>
			    <artifactId>maven-dependency-plugin</artifactId>
			    <version>2.10</version>
			    <executions>
			        <execution>
			            <id>copy-dependencies</id>
			            <phase>package</phase>
			            <goals>
			                <goal>copy-dependencies</goal>
			            </goals>
			            <configuration>
			                <useBaseVersion>false</useBaseVersion>
			                <includeScope>runtime</includeScope>
			                <overWriteReleases>false</overWriteReleases>
			                <overWriteSnapshots>false</overWriteSnapshots>
			                <overWriteIfNewer>true</overWriteIfNewer>
			            </configuration>
			        </execution>
			    </executions>
			</plugin>

			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>build-helper-maven-plugin</artifactId>
				<version>1.9.1</version>
				<executions>
					<execution>
						<id>add-source</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>add-source</goal>
						</goals>
						<configuration>
							<sources>
								<source>src</source>
								<source>..\framework\src</source>
								<source>..\kernel\src</source>
							</sources>
						</configuration>
					</execution>
					<execution>
						<id>add-test-source</id>
						<phase>generate-test-sources</phase>
						<goals>
							<goal>add-test-source</goal>
						</goals>
						<configuration>
							<sources>
							    <source>test</source>
								<source>test-gen</source>
								<source>..\framework\test</source>
								<source>..\kernel\test</source>
							</sources>
						</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>
			 <plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>3.0.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.2.0</version>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
				</plugin>

							<plugin>
								<groupId>org.sonatype.plugins</groupId>
								<artifactId>nexus-staging-maven-plugin</artifactId>
								<version>1.6.8</version>
								<extensions>true</extensions>
								<configuration>
									<serverId>ossrh</serverId>
									<nexusUrl>https://oss.sonatype.org/</nexusUrl>
									<autoReleaseAfterClose>true</autoReleaseAfterClose>
								</configuration>
							</plugin>

		</plugins>
	</build>


	<repositories>

	</repositories>

	<distributionManagement>
		<repository>
			<id>siani-maven</id>
			<name>siani-maven</name>
			<url>https://artifactory.siani.es/artifactory/libs-release-local</url>
		</repository>
	</distributionManagement>

	<dependencies>
		<dependency>
			<groupId>net.java.dev.jna</groupId>
			<artifactId>jna</artifactId>
			<scope>compile</scope>
			<version>4.1.0</version>
		</dependency>
		<dependency>
			<groupId>com.carrotsearch.thirdparty</groupId>
			<artifactId>simple-xml-safe</artifactId>
			<scope>compile</scope>
			<version>2.7.1</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
			<version>4.11</version>
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-all</artifactId>
			<scope>test</scope>
			<version>1.3</version>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-core</artifactId>
			<scope>test</scope>
			<version>1.10.19</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
			<version>4.13</version>
		</dependency>
	</dependencies>
</project>