<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.1.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
    <modelVersion>4.1.0</modelVersion>

    <groupId>org.apache.maven.tests</groupId>
    <artifactId>classic-sources-explicit-legacy-test</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>

    <build>
        <sources>
            <!-- Classic (non-modular) source - no module attribute -->
            <source>
                <scope>main</scope>
                <lang>java</lang>
                <directory>src/main/java</directory>
            </source>
            <source>
                <scope>test</scope>
                <lang>java</lang>
                <directory>src/test/java</directory>
            </source>
        </sources>
        <!-- Explicit legacy directories that conflict with <sources> - should trigger ERROR (AC9) -->
        <sourceDirectory>src/legacy/main/java</sourceDirectory>
        <testSourceDirectory>src/legacy/test/java</testSourceDirectory>
    </build>
</project>
