<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.andromda</groupId>
        <artifactId>andromda</artifactId>
        <version>3.4</version>
    </parent>
    <groupId>org.andromda.maven.plugins</groupId>
    <artifactId>andromda-maven-plugins</artifactId>
    <packaging>pom</packaging>
    <name>AndroMDA Maven Plugins</name>
    <description>
        The AndroMDA Maven plugins
    </description>
    <issueManagement>
        <system>jira</system>
        <url>http://www.andromda.org/jira/browse/MAVEN</url>
    </issueManagement>
    <scm>
        <connection>scm:svn:http://andromda.svn.sourceforge.net/svnroot/andromda/trunk/maven</connection>
        <developerConnection>scm:svn:https://andromda.svn.sourceforge.net/svnroot/andromda/trunk/maven</developerConnection>
        <url>http://andromda.svn.sourceforge.net/</url>
    </scm>
    <dependencyManagement>
        <dependencies>
            <!-- Maven dependencies -->
            <dependency>
                <groupId>org.apache.maven</groupId>
                <artifactId>maven-plugin-api</artifactId>
                <version>${maven.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.maven</groupId>
                <artifactId>maven-core</artifactId>
                <version>${maven.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.maven</groupId>
                <artifactId>maven-artifact</artifactId>
                <version>${maven.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.maven</groupId>
                <artifactId>maven-project</artifactId>
                <version>${maven.version}</version>
                <!--version>3.0-alpha-2</version-->
            </dependency>
            <dependency>
                <groupId>org.apache.maven</groupId>
                <artifactId>maven-settings</artifactId>
                <version>${maven.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.maven</groupId>
                <artifactId>maven-model</artifactId>
                <version>${maven.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.maven</groupId>
                <artifactId>maven-archiver</artifactId>
                <version>2.5</version>
            </dependency>
            <dependency>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.6</version>
            </dependency>
            <dependency>
                <groupId>org.apache.maven.shared</groupId>
                <artifactId>maven-filtering</artifactId>
                <version>1.1</version>
            </dependency>
            <!-- XML Runtime dependencies changed from provided -->
            <dependency>
                <groupId>xalan</groupId>
                <artifactId>xalan</artifactId>
                <version>2.7.1</version>
                <scope>runtime</scope>
            </dependency>
            <dependency>
                <groupId>xerces</groupId>
                <artifactId>xercesImpl</artifactId>
                <version>2.10.0</version>
                <scope>runtime</scope>
            </dependency>
            <dependency>
                <groupId>xml-apis</groupId>
                <artifactId>xml-apis</artifactId>
                <version>2.0.2</version>
                <scope>runtime</scope>
            </dependency>
            <!-- Avoid NoClassDefFoundError: org/w3c/dom/ElementTraversal during log4j initialization-->
            <dependency>
                <groupId>org.apache.xmlgraphics</groupId>
                <artifactId>batik-ext</artifactId>
                <version>1.7</version>
                <scope>runtime</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <!-- Fix 'The following plugins do not have their version specified:' from versions plugin, even though
                    it duplicates the configuration in the parent pom -->
                    <artifactId>maven-plugin-plugin</artifactId>
                    <version>${maven-plugin-plugin.version}</version>
                    <executions>
                        <execution>
                            <id>exec-plugin-doc</id>
                            <phase>generate-sources</phase>
                            <goals>
                                <!-- NoClassDefFoundError: org/andromda/maven/plugin/configuration/AbstractConfigurationMojo -->
                                <!--goal>xdoc</goal-->
                                <goal>helpmojo</goal>
                            </goals>
                        </execution>
                    </executions>
                    <!-- Fix m3 api issue. See http://maven.40175.n5.nabble.com/Maven-Plugin-Tools-2-5-Released-td326250.html -->
                    <dependencies>
                        <dependency>
                            <groupId>org.apache.maven.plugin-tools</groupId>
                            <artifactId>maven-plugin-tools-ant</artifactId>
                            <version>2.9</version>
                        </dependency>
                    </dependencies>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-plugin-plugin</artifactId>
                <version>${maven-plugin-plugin.version}</version>
            </plugin>
        </plugins>
    </reporting>
    <properties>
        <!-- v3.0: org.apache.maven.plugin.PluginParameterException: The parameters 'modelArchivePattern', 'replaceExtensions', 'modelFilePattern', 'replacementExtensions' 
        for goal org.andromda.maven.plugins:andromda-model-archiver-plugin:3.4:xml.zip -->
        <maven-plugin-plugin.version>2.9</maven-plugin-plugin.version>
    </properties>
    <modules>
        <module>andromda</module>
        <module>andromdapp</module>
        <module>andromdanetapp</module>
        <module>model-archiver</module>
        <module>bootstrap</module>
        <module>bootstrap-install</module>
        <module>cartridge</module>
        <module>translation-library</module>
        <module>configuration</module>
        <module>site</module>
        <module>beautifier</module>
    </modules>
</project>
