<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.github.frtu.governance</groupId>
        <artifactId>master-pom</artifactId>
        <version>1.0.2</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>libraries-pom</artifactId>
    <packaging>pom</packaging>

    <name>Libraries</name>
    <description>Libraries</description>

    <modules>
        <module>library-dot</module>
        <module>library-spring-reflection</module>
        <module>library-generators</module>
        <!-- SHOULD BE RENAMED library-avro-serdes-->
        <module>library-serdes</module>
        <module>library-kafka</module>
        <module>library-utils</module>
    </modules>

    <properties>
        <java.version>1.8</java.version>
        <!--===========================-->
        <avro.version>1.8.2</avro.version>
        <!--===========================-->
    </properties>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.github.frtu.governance</groupId>
                <artifactId>library-dot</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.github.frtu.governance</groupId>
                <artifactId>library-serdes</artifactId>
                <version>${project.version}</version>
            </dependency>
            <dependency>
                <groupId>com.github.frtu.governance</groupId>
                <artifactId>library-kafka</artifactId>
                <version>${project.version}</version>
            </dependency>
            <!--Internal domain dependencies -->
            <dependency>
                <groupId>com.github.frtu.archetype</groupId>
                <artifactId>base-pom</artifactId>
                <version>${project.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <plugins>
            <!-- JDK version -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                </configuration>
            </plugin>
            <!-- Generate Javadocs -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <version>3.0.0-M1</version>
                <configuration>
                    <author>Frederic TU</author>
                    <encoding>${project.build.sourceEncoding}</encoding>
                    <show>private</show>
                    <nohelp>true</nohelp>
                </configuration>
                <executions>
                    <execution>
                        <id>attach-javadocs</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>