<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.elmakers.mine.bukkit</groupId>
        <artifactId>Magic-parent</artifactId>
        <version>11.0</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>MagicAPI</artifactId>

    <name>Magic API</name>
    <url>http://mine.elmakers.com</url>

    <dependencies>
        <dependency>
            <groupId>org.spigotmc</groupId>
            <artifactId>spigot-api</artifactId>
            <version>${bukkit.version}</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.revapi</groupId>
                <artifactId>revapi-maven-plugin</artifactId>
                <version>0.14.3</version>
                <configuration>
                    <oldArtifacts>
                        <oldArtifact>com.elmakers.mine.bukkit:MagicAPI:7.6</oldArtifact>
                    </oldArtifacts>
                    <checkDependencies>false</checkDependencies>
                    <resolveProvidedDependencies>false</resolveProvidedDependencies>
                    <analysisConfigurationFiles>
                        <configurationFile>
                            <path>revapi.json</path>
                            <roots>
                                <root>base</root>
                                <root>6.9+</root>
                                <root>7.6+</root>
                            </roots>
                        </configurationFile>
                    </analysisConfigurationFiles>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>org.revapi</groupId>
                        <artifactId>revapi-java</artifactId>
                        <version>0.24.2</version>
                    </dependency>
                </dependencies>
                <executions>
                    <execution>
                        <id>check</id>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <repositories>
        <repository>
            <id>elMakers</id>
            <url>https://maven.elmakers.com/repository/</url>
        </repository>

        <repository>
            <id>spigot-repo</id>
            <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
        </repository>
    </repositories>
</project>
