<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.suncode</groupId>
		<artifactId>plusworkflow-plugin-parent</artifactId>
		<version>4.3.50</version>
	</parent>

	<groupId>com.suncode.plugin</groupId>
	<artifactId>otl-plugin</artifactId>
	<version>1.1.0</version>
	<packaging>bundle</packaging>

	<dependencies>
		<!-- provided: interfejsy PWFL z hosta, nie z osadzonego JAR (component-import / OSGi). -->
		<dependency>
			<groupId>com.suncode</groupId>
			<artifactId>plusworkflow-api</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.suncode</groupId>
			<artifactId>cuf-core</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>com.suncode.plugin</groupId>
			<artifactId>pzmodule</artifactId>
			<version>4.2.12</version>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>com.suncode</groupId>
			<artifactId>plusworkflow-core</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>com.suncode</groupId>
			<artifactId>plusworkflow-old-core</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>*</groupId>
					<artifactId>*</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
	</dependencies>

	<!-- Wykluczenie pakietów JDK niewidocznych dla OSGi na Javie 17 (nadpisanie z parenta). -->
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<configuration>
					<instructions>
						<Import-Package>!java.awt.peer,!java.rmi.activation,*</Import-Package>
					</instructions>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>