<?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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.glassfish.l10n</groupId>
        <artifactId>l10n</artifactId>
        <version>10.0-SNAPSHOT</version>
    </parent>
    <artifactId>kernel-l10n</artifactId>
    <packaging>hk2-jar</packaging>
    <name>GlassFish core.kernel Localization modules</name>  
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <configuration>
                            <tasks>
                                <echo message="Syncing English resource files"/>
                                <sync todir="src/main/resources">
                                    <fileset dir="../../../core/kernel/src/main/java">
                                        <includesfile name="l10n.include"/>
                                        <excludesfile name="l10n.exclude"/>
                                    </fileset>
                                </sync>
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
