<!-- Copyright © 2016 Agro-Know, Deutsches Forschungszentrum für Künstliche 
	Intelligenz, iMinds, Institut für Angewandte Informatik e. V. an der Universität 
	Leipzig, Istituto Superiore Mario Boella, Tilde, Vistatec, WRIPL (http://freme-project.eu) 
	Licensed under the Apache License, Version 2.0 (the "License"); you may not 
	use this file except in compliance with the License. You may obtain a copy 
	of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
	by applicable law or agreed to in writing, software distributed under the 
	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
	OF ANY KIND, either express or implied. See the License for the specific 
	language governing permissions and limitations under the License. -->
<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">
	<modelVersion>4.0.0</modelVersion>
	<groupId>eu.freme-project</groupId>
	<artifactId>freme-parent</artifactId>
	<version>1.2</version>
	<packaging>pom</packaging>
	<inceptionYear>2016</inceptionYear>

	<description>FREME is an open framework of e-services for multilingual and semantic enrichment of digital content</description>
	<url>https://github.com/freme-project</url>

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

	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>1.2.8.RELEASE</version>
		<relativePath />
	</parent>

	<properties>
		<jena.version>2.11.2</jena.version>
		<license.useMissingFile>true</license.useMissingFile>
	</properties>


	<developers>
		<developer>
			<name>Jan Nehring</name>
			<email>jan.nehring@dfki.de</email>
			<organization>DFKI</organization>
			<organizationUrl>http://www.dfki.de</organizationUrl>
		</developer>
	</developers>

	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter</artifactId>
			<exclusions>
				<exclusion>
					<groupId>org.springframework.boot</groupId>
					<artifactId>spring-boot-starter-logging</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-log4j</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax.interceptor</groupId>
			<artifactId>javax.interceptor-api</artifactId>
			<version>1.2</version>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>

			<!-- this plugin can be used to add and update the file license headers -->
			<plugin>
				<groupId>com.mycila</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<version>2.3</version>
				<configuration>
					<header>https://raw.githubusercontent.com/mycila/license-maven-plugin/master/license-maven-plugin/src/main/resources/com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
					<properties>
						<owner>
							<!-- IMPORTANT: Keep this (_no_) indentation! So the copyright information 
								will be well formatted in all file headers. -->
							Agro-Know, Deutsches Forschungszentrum für Künstliche
							Intelligenz, iMinds,
							Institut für Angewandte Informatik e. V. an
							der Universität Leipzig,
							Istituto Superiore Mario Boella, Tilde,
							Vistatec, WRIPL
						</owner>
						<email>http://freme-project.eu</email>
					</properties>
					<excludes>
						<exclude>**/README</exclude>
						<exclude>src/test/resources/**</exclude>
						<exclude>src/main/resources/**</exclude>
						<exclude>logs/**</exclude>
						<exclude>changelog.txt</exclude>
						<exclude>LICENSE</exclude>
						<exclude>LICENSE-3RD-PARTY</exclude>
					</excludes>
				</configuration>
			</plugin>

			<!-- provides an alternative to the MavenApacheLicenseUtil by Arne Binder 
				and also to the com.mycila:license-maven-plugin -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<version>1.9</version>
				<configuration>
					<!-- configuration for goal (aggregate-)add-third-party -->
					<fileTemplate>/org/codehaus/mojo/license/third-party-file-groupByLicense.ftl</fileTemplate>
					<outputDirectory>${basedir}</outputDirectory>
					<licenseMerges>
						<licenseMerge>The Apache Software License, Version 2.0|Apache
							License, Version 2.0|Apache Public License 2.0|Apache License
							Version 2.0|Apache License 2.0|Apache License, version 2.0|Apache
							2|AL 2.0|ASL, version 2</licenseMerge>
						<licenseMerge>Apache License|ASL|Apache-style license</licenseMerge>
						<licenseMerge>The MIT License|MIT|MIT License|MIT License (MIT)</licenseMerge>
						<licenseMerge>Eclipse Distribution License (EDL), Version
							1.0|Eclipse Public License (EPL)</licenseMerge>
						<licenseMerge>Eclipse Public License (EPL), Version 1.0|Eclipse
							Public License 1.0|Eclipse Public License - v 1.0|EPL|</licenseMerge>
						<licenseMerge>GNU Lesser General Public License (LGPL)|GNU Lesser
							General Public License|GNU LESSER GENERAL PUBLIC LICENSE|LGPL</licenseMerge>
						<licenseMerge>GNU Lesser General Public License (LGPL), Version
							2.1|GNU Lesser General Public License 2.1|LGPL 2.1|LGPL, v2.1 or
							later|LGPL, version 2.1|The GNU Lesser General Public License,
							Version 2.1</licenseMerge>
						<licenseMerge>The (New) BSD License|The BSD License|New BSD
							License|Revised BSD License|BSD 3-Clause License|New BSD
							license|BSD 3-clause|BSD 3-Clause|The BSD 3-Clause License|The
							New BSD License</licenseMerge>
						<licenseMerge>BSD License|BSD|BSD style|BSD style license|Berkeley
							Software Distribution (BSD) License</licenseMerge>
						<licenseMerge>COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)
							Version 1.0|CDDL, v1.0</licenseMerge>
						<licenseMerge>Mozilla Public License 1.1 (MPL 1.1)|MPL 1.1</licenseMerge>
					</licenseMerges>

					<!-- configuration for goal update-file-header -->
					<licenseName>apache_v2</licenseName>
					<copyrightOwners>
						<!-- IMPORTANT: Keep this (_no_) indentation! So the copyright information 
							will be well formatted in all file headers. -->
						Agro-Know, Deutsches Forschungszentrum für Künstliche Intelligenz,
						iMinds, Institut für Angewandte Informatik e. V. an der
						Universität Leipzig,
						Istituto Superiore Mario Boella, Tilde,
						Vistatec, WRIPL
					</copyrightOwners>
					<roots>
						<root>${basedir}</root>
					</roots>
					<excludes>
						<exclude>**/README</exclude>
						<exclude>src/test/resources/**</exclude>
						<exclude>src/main/resources/**</exclude>
						<exclude>logs/**</exclude>
						<exclude>changelog.txt</exclude>
						<exclude>LICENSE</exclude>
						<exclude>LICENSE-3RD-PARTY</exclude>
					</excludes>

				</configuration>
			</plugin>

			<plugin>
				<groupId>org.sonatype.plugins</groupId>
				<artifactId>nexus-staging-maven-plugin</artifactId>
				<version>1.6.3</version>
				<extensions>true</extensions>
				<configuration>
					<serverId>ossrh</serverId>
					<nexusUrl>https://oss.sonatype.org/</nexusUrl>
					<autoReleaseAfterClose>true</autoReleaseAfterClose>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5.3</version>
				<configuration>
					<releaseProfiles>release</releaseProfiles>
				</configuration>
			</plugin>
		</plugins>
	</build>



	<profiles>
		<profile>
			<id>release</id>
			<build>
				<plugins>
					<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-javadoc-plugin</artifactId>
						<version>2.9.1</version>
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
								<configuration>
									<additionalparam>-Xdoclint:none</additionalparam>
								</configuration>
							</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>
								<phase>verify</phase>
								<goals>
									<goal>jar-no-fork</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>


	<dependencyManagement>
		<dependencies>
			<!-- freme common -->
			<dependency>
				<groupId>eu.freme-project</groupId>
				<artifactId>common</artifactId>
				<version>1.0</version>
			</dependency>

			<!-- basic services - freme cloud -->
			<!--<dependency> <groupId>eu.freme-project.bservices.cloud</groupId> <artifactId>cloud-parent</artifactId> 
				<version>0.1-SNAPSHOT</version> </dependency> <dependency> <groupId>eu.freme-project.bservices.cloud</groupId> 
				<artifactId>eureka-client</artifactId> <version>0.1-SNAPSHOT</version> </dependency> 
				<dependency> <groupId>eu.freme-project.bservices.cloud</groupId> <artifactId>eureka-server</artifactId> 
				<version>0.1-SNAPSHOT</version> </dependency> <dependency> <groupId>eu.freme-project.bservices.cloud</groupId> 
				<artifactId>load-balancer</artifactId> <version>0.1-SNAPSHOT</version> </dependency> -->
			<!-- basic services - controllers -->
			<dependency>
				<groupId>eu.freme-project.bservices.controllers</groupId>
				<artifactId>nif-converter</artifactId>
				<version>1.1</version>
			</dependency>
			<dependency>
				<groupId>eu.freme-project.bservices.controllers</groupId>
				<artifactId>pipelines</artifactId>
				<version>1.1</version>
			</dependency>
			<dependency>
				<artifactId>sparql-converters</artifactId>
				<groupId>eu.freme-project.bservices.controllers</groupId>
				<version>1.1</version>
			</dependency>
			<dependency>
				<groupId>eu.freme-project.bservices.controllers</groupId>
				<artifactId>users</artifactId>
				<version>1.1</version>
			</dependency>
			<dependency>
				<groupId>eu.freme-project.bservices.controllers</groupId>
				<artifactId>xslt-converter</artifactId>
				<version>1.1</version>
			</dependency>

			<!-- basic services - filters -->
			<dependency>
				<artifactId>cors-filter</artifactId>
				<groupId>eu.freme-project.bservices.filters</groupId>
				<version>1.1</version>
			</dependency>
			<dependency>
				<artifactId>internationalization-filter</artifactId>
				<version>1.1</version>
				<groupId>eu.freme-project.bservices.filters</groupId>
			</dependency>
			<dependency>
				<groupId>eu.freme-project.bservices.filters</groupId>
				<artifactId>logging</artifactId>
				<version>1.1</version>
			</dependency>
			<dependency>
				<groupId>eu.freme-project.bservices.filters</groupId>
				<artifactId>postprocessing</artifactId>
				<version>1.1</version>
			</dependency>
			<dependency>
				<artifactId>proxy-filter</artifactId>
				<groupId>eu.freme-project.bservices.filters</groupId>
				<version>1.1</version>
			</dependency>
			<dependency>
				<artifactId>rate-limiter</artifactId>
				<groupId>eu.freme-project.bservices.filters</groupId>
				<version>1.1</version>
			</dependency>

			<!-- other basic services -->
			<dependency>
				<version>1.1</version>
				<groupId>eu.freme-project.bservices</groupId>
				<artifactId>internationalization</artifactId>
			</dependency>
			<dependency>
				<artifactId>package-maker</artifactId>
				<version>1.1</version>
				<groupId>eu.freme-project.bservices</groupId>
			</dependency>
			<dependency>
				<artifactId>test-helper</artifactId>
				<version>1.1</version>
				<groupId>eu.freme-project.bservices</groupId>
			</dependency>
			<dependency>
				<groupId>eu.freme-project.bservices.filters</groupId>
				<artifactId>urlsupport-filter</artifactId>
				<version>1.1</version>
			</dependency>

			<!-- basic services from freme-examples repo -->
                        <dependency>
                                <groupId>eu.freme-project</groupId>
                                <artifactId>e-capitalization</artifactId>
                                <version>1.0</version>
                        </dependency>

			<!-- FREME e-services -->
			<dependency>
				<version>1.0</version>
				<artifactId>tilde-services</artifactId>
				<groupId>eu.freme-project.e-services</groupId>
			</dependency>
			<dependency>
				<version>1.0</version>
				<groupId>eu.freme-project.e-services</groupId>
				<artifactId>e-link</artifactId>
			</dependency>
			<dependency>
				<artifactId>dbpedia-spotlight</artifactId>
				<version>1.0</version>
				<groupId>eu.freme-project.e-services</groupId>
			</dependency>
			<dependency>
				<artifactId>publishing</artifactId>
				<version>1.0</version>
				<groupId>eu.freme-project.e-services</groupId>
			</dependency>
			<dependency>
				<groupId>eu.freme-project.e-services</groupId>
				<artifactId>freme-ner</artifactId>
				<version>1.1-SNAPSHOT</version>
			</dependency>
			<dependency>
				<groupId>eu.freme-project.bservices.filters</groupId>
				<artifactId>tika-filter</artifactId>
				<version>1.0</version>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<scm>
		<connection>scm:git:git@github.com:freme-project/freme-parent.git</connection>
		<url>scm:git:git@github.com/freme-project:freme-parent.git</url>
		<developerConnection>scm:git:git@github.com:freme-project/freme-parent.git</developerConnection>
		<tag>freme-parent-1.2</tag>
	</scm>

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

	<repositories>
		<repository>
			<id>ossrh-snapshots</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
			<releases>
				<enabled>false</enabled>
			</releases>
		</repository>
	</repositories>

</project>
