<?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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>xyz.tcheeric</groupId>
        <artifactId>wallet-plugin</artifactId>
        <version>0.24.0</version>
    </parent>

    <artifactId>wallet-core</artifactId>
    <packaging>pom</packaging>
    <name>Wallet Core</name>
    <description>Parent module for wallet core modules (base, observability, cashu, nostr, app)</description>

    <modules>
        <module>wallet-core-base</module>
        <module>wallet-core-observability</module>
        <module>wallet-core-cashu</module>
        <module>wallet-core-nostr</module>
        <module>wallet-core-app</module>
    </modules>

    <build>
        <plugins>
            <!-- Maven Enforcer Plugin: basic dependency checks -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <version>3.4.1</version>
                <executions>
                    <execution>
                        <id>enforce-module-dependencies</id>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                        <configuration>
                            <rules>
                                <!-- Enforce dependency convergence -->
                                <dependencyConvergence/>
                            </rules>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
