<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>external-features-customized</artifactId>
    <version>1.12.1</version>
  </parent>
  <groupId>org.apache.activemq</groupId>
  <artifactId>artemis-features</artifactId>
  <version>2.19.0-ENTAXY</version>
  <packaging>pom</packaging>
  
  <build>
  	<plugins>
		<plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
              <execution>
                <id>add-artemis-config-to-assembled-features-list</id>
                <phase>process-resources</phase>
                <goals>
                  <goal>run</goal>
                </goals>
                <configuration>
                  <skip>false</skip>
                  <target>
					<echo file="${project.basedir}/../${assembly-project}/generated/list" append="true">
${project.groupId}/${project.artifactId}/${project.version}/xml/artemis.entaxy,					
					</echo>					
                  </target>
                </configuration>
              </execution>
            </executions>
		</plugin>

		  		<plugin>
		
			        <groupId>org.codehaus.mojo</groupId>
			        <artifactId>build-helper-maven-plugin</artifactId>
			        <version>${build-helper-maven-plugin.version}</version>
			        
					<executions>
						<execution>
							<id>attach-customized-artemis-config</id>
					        <goals>
								<goal>attach-artifact</goal>
							</goals>
							<phase>prepare-package</phase>
				            <configuration>
				                <artifacts>
				                    <artifact>
				                        <file>
				                        	src/config/artemis.entaxy.xml
				                        </file>
				                        <type>xml</type>
				                        <classifier>artemis.entaxy</classifier>
				                    </artifact>
				                </artifacts>
				            </configuration>
						</execution>
					</executions>
		
		  		</plugin>

		
  	</plugins>
  </build>
		   
</project>
