<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>tigase</groupId>
		<artifactId>tigase-licence</artifactId>
		<version>1.2.2-SNAPSHOT</version>
	</parent>

	<artifactId>licence-lib</artifactId>
	<packaging>bundle</packaging>

	<properties>
		<verbose-log>false</verbose-log>
		<bundle-export-package>tigase.licence</bundle-export-package>
	</properties>

	<name>Licence Library</name>

    <profiles>
        <profile>
            <id>dev</id>
            <properties>
                <maven.javadoc.skip>true</maven.javadoc.skip>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.github.wvengen</groupId>
                        <artifactId>proguard-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>proguard-package</id>
                                <phase>none</phase>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>

    </profiles>

	<build>
		<plugins>
			<plugin>
				<groupId>com.github.wvengen</groupId>
				<artifactId>proguard-maven-plugin</artifactId>
				<executions>
					<execution>
						<id>Proguard</id>
						<phase>package</phase>
					</execution>
				</executions>
			</plugin>
		</plugins>
		<resources>
			<resource>
				<directory>src/main/resources</directory>
				<targetPath>certs</targetPath>
				<includes>
					<include>keystore-letsencrypt</include>
				</includes>
			</resource>
		</resources>
	</build>

	<dependencies>
        <dependency>
            <groupId>tigase</groupId>
            <artifactId>tigase-utils</artifactId>
            <version>3.5.0</version>
        </dependency>
		<dependency>
			<groupId>tigase</groupId>
			<artifactId>tigase-stats-collector-provider</artifactId>
			<version>1.2.1</version>
		</dependency>
	</dependencies>
</project>

