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

	<groupId>com.suncode.plugin</groupId>
	<artifactId>animex.efaktura</artifactId>
	<version>1.1.0</version>
	<packaging>bundle</packaging>

	<dependencies>
		<!-- PlusWorkflow-API -->
		<dependency>
			<groupId>com.suncode</groupId>
			<artifactId>plusworkflow-api</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- CUF -->
		<dependency>
			<groupId>com.suncode</groupId>
			<artifactId>cuf-all</artifactId>
			<type>pom</type>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.suncode</groupId>
			<artifactId>plusworkflow-web</artifactId>
			<classifier>classes</classifier>
			<scope>provided</scope>
		</dependency>
		<!-- Nietranzytywne przez provided plusworkflow-api, a używane wprost w kodzie -->
		<dependency>
			<groupId>jakarta.mail</groupId>
			<artifactId>jakarta.mail-api</artifactId>
			<scope>provided</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<configuration>
					<instructions>
						<!-- Artefakty typu pom (cuf-all, shark) nie są archiwami JAR,
							 więc analizator bnd wywraca się przy próbie ich odczytu -->
						<Embed-Dependency>*;scope=compile|runtime;type=!pom</Embed-Dependency>
					</instructions>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
