<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>
		<groupId>com.jadaptive</groupId>
		<artifactId>nodal-vpn</artifactId>
		<relativePath>..</relativePath>
		<version>0.5.0-SNAPSHOT</version>
	</parent>

	<artifactId>nodal-vpn-server</artifactId>
	<name>JADAPTIVE Nodal VPN Server</name>

	<properties>
		<plugin.id>nodal-vpn-server</plugin.id>
		<plugin.class>com.jadaptive.plugins.nodal.vpnserver.VPNPlugin</plugin.class>
		<plugin.version>${project.version}</plugin.version>
		<plugin.provider>LogonBox Limited</plugin.provider>
		<plugin.projectUrl>https://github.com/Nodal-VPN/nodal-vpn/nodal-vpn-server</plugin.projectUrl>
		<plugin.dependencies>jadaptive-jaul,jadaptive-branding,jadaptive-licensing,jadaptive-dashboard,jadaptive-alert-centre,jadaptive-ssh-server,jadaptive-ssh-synergy,jadaptive-amcharts</plugin.dependencies>
		
		<nodal-core.version>1.0.0</nodal-core.version>
	</properties>

	<dependencies>
		<dependency>
			<groupId>com.jadaptive</groupId>
			<artifactId>jadaptive-api</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.jadaptive</groupId>
			<artifactId>jadaptive-licensing</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.jadaptive</groupId>
			<artifactId>jadaptive-amcharts</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.jadaptive</groupId>
			<artifactId>jadaptive-dashboard</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.jadaptive</groupId>
			<artifactId>jadaptive-branding</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.jadaptive</groupId>
			<artifactId>jadaptive-jaul</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.jadaptive</groupId>
			<artifactId>jadaptive-alert-centre</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.jadaptive</groupId>
			<artifactId>jadaptive-ssh-server</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.jadaptive</groupId>
			<artifactId>jadaptive-ssh-synergy</artifactId>
			<version>${project.version}</version>
			<scope>provided</scope>
		</dependency>

		<!--
		https://mvnrepository.com/artifact/com.github.jgonian/commons-ip-math -->
		<dependency>
			<groupId>com.github.jgonian</groupId>
			<artifactId>commons-ip-math</artifactId>
			<version>2.0-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>com.jadaptive</groupId>
			<artifactId>nodal-core-lib</artifactId>
		</dependency>
        <dependency>
            <groupId>com.jadaptive</groupId>
            <artifactId>nodal-core-remote-controller</artifactId>
        </dependency>
        <dependency>
            <groupId>com.github.hypfvieh</groupId>
            <artifactId>dbus-java-transport-native-unixsocket</artifactId>
        </dependency>
	</dependencies>
	
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>com.jadaptive</groupId>
				<artifactId>nodal-core-lib</artifactId>
				<version>${nodal-core.version}</version>
				<exclusions>
					<exclusion>
						<groupId>org.slf4j</groupId>
						<artifactId>slf4j-api</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<dependency>
				<groupId>com.jadaptive</groupId>
				<artifactId>nodal-core-remote-controller</artifactId>
				<version>${nodal-core.version}</version>
			</dependency>
			<dependency>
				<groupId>com.jadaptive</groupId>
				<artifactId>nodal-core-macos</artifactId>
				<version>${nodal-core.version}</version>
			</dependency>
			<dependency>
				<groupId>com.jadaptive</groupId>
				<artifactId>nodal-core-linux</artifactId>
				<version>${nodal-core.version}</version>
				<exclusions>
					<exclusion>
						<groupId>org.slf4j</groupId>
						<artifactId>slf4j-api</artifactId>
					</exclusion>
				</exclusions>
			</dependency>
			<dependency>
				<groupId>com.jadaptive</groupId>
				<artifactId>nodal-core-windows</artifactId>
				<version>${nodal-core.version}</version>
			</dependency>
            <dependency>
                <groupId>com.github.hypfvieh</groupId>
                <artifactId>dbus-java-transport-native-unixsocket</artifactId>
                <version>5.1.0</version>
				<exclusions>
					<exclusion>
						<groupId>org.slf4j</groupId>
						<artifactId>slf4j-api</artifactId>
					</exclusion>
				</exclusions>
            </dependency>
		</dependencies>
	</dependencyManagement>

	<build>
		<plugins>
			<plugin>
				<groupId>com.sshtools</groupId>
				<artifactId>pf4j-plugin-generator</artifactId>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>build-helper-maven-plugin</artifactId>
				<configuration>
					<skipAttach>false</skipAttach>
				</configuration>
			</plugin>
		</plugins>
	</build>

    <profiles>
        <profile>
            <id>windows</id>
            <activation>
                <os>
                    <family>windows</family>
                </os>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>com.jadaptive</groupId>
                    <artifactId>nodal-core-windows</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>linux</id>
            <activation>
                <os>
                    <family>linux</family>
                </os>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>com.jadaptive</groupId>
                    <artifactId>nodal-core-linux</artifactId>
                </dependency>
            </dependencies>
        </profile>
        <profile>
            <id>macos</id>
            <activation>
                <os>
                    <family>mac</family>
                </os>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>com.jadaptive</groupId>
                    <artifactId>nodal-core-macos</artifactId>
                </dependency>
            </dependencies>
        </profile>
    </profiles>

	<repositories>
		
		<repository>
			<id>sshtools-releases</id>
			<name>sshtools-releases</name>
			<url>https://artifactory.jadaptive.com/opensource-releases</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>sshtools-snapshots</id>
			<name>sshtools-snapshots</name>
			<url>https://artifactory.jadaptive.com/opensource-snapshots</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
		
		<repository>
			<id>ext-snapshots</id>
			<name>snapshots-releases</name>
			<url>https://artifactory.jadaptive.com/ext-snapshots-local</url>
            <snapshots/>
            <releases>
                <enabled>false</enabled>
            </releases>
		</repository>
	</repositories>
</project>
