<?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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<artifactId>mapviewer</artifactId>
		<groupId>eu.limetri.client</groupId>
		<version>1.0</version>
	</parent>

	<artifactId>mapviewer-api</artifactId>
	<packaging>jar</packaging>
	<name>mapviewer-api</name>
	<description>AgroSense mapviewer api module, contains all interfaces and classes needed to communicate with the mapviewer.</description>

        <dependencies>

            <dependency>
                <groupId>nl.cloudfarming.eventbus</groupId>
                <artifactId>cloudfarming-eventbus</artifactId>
                <exclusions>
                    <exclusion>
                        <groupId>org.netbeans.api</groupId>
                        <artifactId>org-openide-util</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.netbeans.api</groupId>
                        <artifactId>org-openide-modules</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.netbeans.api</groupId>
                        <artifactId>org-openide-util-lookup</artifactId>
                    </exclusion> 
                </exclusions>
                <type>jar</type>
            </dependency>

            <dependency>
                <groupId>nl.cloudfarming.client</groupId>
                <artifactId>lib-swingx</artifactId>
                <type>jar</type>
            </dependency>

            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
            </dependency>

            <dependency>
                <groupId>nl.cloudfarming.client</groupId>
                <artifactId>lib-common</artifactId>
                <type>jar</type>
            </dependency>

            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-all</artifactId>
            </dependency>

            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-netbeans-modules-settings</artifactId>
                <type>jar</type>
            </dependency>

            <dependency>
                <groupId>nl.cloudfarming.client</groupId>
                <artifactId>lib-geotools</artifactId>
                <type>jar</type>
            </dependency>

            <!-- netbeans dependency -->
		
            <dependency>
                <groupId>org.netbeans.api</groupId>
                <artifactId>org-netbeans-api-visual</artifactId>
                <type>jar</type>
            </dependency>

        </dependencies>

	<build>
		<plugins>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<!-- to have the jar plugin pickup the nbm generated manifest -->
					<useDefaultManifestFile>true</useDefaultManifestFile>
				</configuration>
			</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.codehaus.mojo</groupId>
										<artifactId>nbm-maven-plugin</artifactId>
										<versionRange>[3.10,)</versionRange>
										<goals>
											<goal>manifest</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore />
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>
</project>
