<?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>nl.bebr</groupId>
        <version>1.5.0</version>
    </parent>

    <artifactId>mapviewer-api</artifactId>
    <name>mapviewer-api</name>
    <packaging>nbm</packaging>
    <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>
        </dependency>
        <dependency>
            <groupId>eu.limetri.api</groupId>
            <artifactId>geo</artifactId>
        </dependency>
        <dependency>
            <groupId>eu.limetri.api</groupId>
            <artifactId>grid</artifactId>
        </dependency>


        <dependency>
            <groupId>nl.cloudfarming.client</groupId>
            <artifactId>lib-common</artifactId>
        </dependency>
        <dependency>
            <groupId>eu.agrosense.client</groupId>
            <artifactId>lib-geotools</artifactId>
        </dependency>
        <dependency>
            <groupId>nl.cloudfarming.client</groupId>
            <artifactId>lib-swingx</artifactId>
        </dependency>
        
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
        </dependency>

        <!-- netbeans dependency -->
		
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-netbeans-modules-settings</artifactId>
        </dependency>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-netbeans-api-visual</artifactId>
        </dependency>
        <dependency>
            <artifactId>org-openide-explorer</artifactId>
            <groupId>org.netbeans.api</groupId>
        </dependency>
        <dependency>
            <artifactId>org-openide-awt</artifactId>
            <groupId>org.netbeans.api</groupId>
        </dependency>
        <dependency>
            <artifactId>org-openide-nodes</artifactId>
            <groupId>org.netbeans.api</groupId>
        </dependency>
        <dependency>
            <artifactId>org-openide-util</artifactId>
            <groupId>org.netbeans.api</groupId>
        </dependency>
        <dependency>
            <artifactId>org-openide-util-lookup</artifactId>
            <groupId>org.netbeans.api</groupId>
        </dependency>
                
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>nbm-maven-plugin</artifactId>
                <configuration>
                    <publicPackages>
                        <publicPackage>nl.bebr.mapviewer.api</publicPackage>
                        <publicPackage>nl.bebr.mapviewer.api.event</publicPackage>
                        <publicPackage>nl.bebr.mapviewer.api.util</publicPackage>
                    </publicPackages>
                </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>
