<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>ru.entaxy.ion.distribution</groupId>
    <artifactId>entaxy-ion-platform-dist</artifactId>
    <version>1.11.1</version>
  </parent>
  <artifactId>entaxy-ion-platform-with-ui</artifactId>
  <packaging>karaf-assembly</packaging>
  <name>ENTAXY :: DISTRIBUTION :: PLATFORM WITH UI</name>
  <description>ENTAXY :: DISTRIBUTION :: PLATFORM WITH UI</description>
  
  	<dependencies>
		<dependency>
			<groupId>ru.entaxy.esb</groupId>
			<artifactId>ui</artifactId>
			<version>${entaxy.ui.version}</version>
			<classifier>features</classifier>
			<type>xml</type>
			<scope>runtime</scope>
		</dependency>
  	</dependencies>
  
	<build>
		<plugins>
		
			<plugin>
				<groupId>org.apache.karaf.tooling</groupId>
				<artifactId>karaf-maven-plugin</artifactId>
				<executions>
					<execution>
						<id>prepare-assembly</id>
						<phase>compile</phase>
						<goals>
							<goal>assembly</goal>
						</goals>
						<configuration>
							<installedFeatures>
								<!-- @COPY from parent -->								
				                <!-- @backward-compat -->
				                <feature>entaxy-backward-compatibility-modules</feature>								
							</installedFeatures>
							<bootFeatures combine.children="append">
								<feature>entaxy-ui</feature>
							</bootFeatures>
							<sourceDirectory>${project.build.directory}/assembly-resources</sourceDirectory>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
  
  
</project>
