<?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>
	<parent>
		<groupId>net.wetheinter</groupId>
		<artifactId>xapi-core-parent</artifactId>
		<version>0.5</version>
	</parent>

	<groupId>net.wetheinter</groupId>
	<artifactId>xapi-core-api</artifactId>
	<version>0.5</version>
	<packaging>jar</packaging>
	<name>XApi - Core Interfaces and Annotations</name>
	<url>WeTheInter.net</url>
	<description>
	This module contains only interfaces, annotations and static service classes used throughout XApi. </description>

	<dependencies>

		<dependency>
			<groupId>net.wetheinter</groupId>
			<artifactId>xapi-dev-source</artifactId>
		</dependency>
		<dependency>
			<groupId>javax.inject</groupId>
			<artifactId>javax.inject</artifactId>
			<version>1</version>
		</dependency>
		<!-- Testing dependencies -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
    <!--
           <plugin>
             <groupId>net.wetheinter</groupId>
             <artifactId>xapi-maven-plugin</artifactId>
             <version>0.5.1-SNAPSHOT</version>
             <executions>
               <execution>
                <id>annogen</id>
                <phase>generate-sources</phase>
                <goals>
                  <goal>annogen</goal>
                </goals>
                <inherited>false</inherited>
                <configuration>
                </configuration>
              </execution>
             </executions>
           </plugin>-->
           <plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<executions>
					<execution>
						<id>compile-processors</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>compile</goal>
						</goals>
						<configuration>
							<includes>
								<include>xapi/dev/processor/*</include>
							</includes>
							<proc>none</proc>
							<inherited>false</inherited>
							<compilerReuseStrategy>alwaysNew</compilerReuseStrategy>
						</configuration>
					</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>net.wetheinter</groupId>
										<artifactId>xapi-maven-plugin</artifactId>
										<versionRange>[0.3,)</versionRange>
										<goals>
											<goal>annogen</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore />
									</action>
								</pluginExecution>
								<pluginExecution>
									<pluginExecutionFilter>
									  <groupId>org.apache.maven.plugin</groupId>
										<artifactId>maven-compiler-plugin</artifactId>
										<versionRange>[3.0,)</versionRange>
										<goals>
											<goal>compile</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<execute>
											<runOnConfiguration>true</runOnConfiguration>
											<runOnIncremental>true</runOnIncremental>
										</execute>
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

</project>
