Could not resolve dependencies for project

I'm new to maven and I'm trying to compile a project into a jar using the pom.xml. I've made some small changes to a plugin, and I'm wanting to compile it for use. However, when trying to compile it using "mvn install" in the directory with "pom.xml" in it, I get the error: http://puu.sh/6Hs2f/92c3a81adb.png

The pom.xml:

<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>

    <groupId>com.minecraftdimensions.bungeesuitespawn</groupId>
    <artifactId>BungeeSuiteSpawn</artifactId>
    <version>0.5</version>
    <packaging>jar</packaging>
    <name>BungeeSuiteSpawn</name>

    <properties>
        <build.number>${BUILD_NUMBER}</build.number>
    </properties>

    <repositories>
        <repository>
            <id>bukkit-repo</id>
            <url>http://repo.bukkit.org/content/groups/public</url>
        </repository>
        <repository>
            <id>vault-repo</id>
            <url>http://ci.herocraftonline.com/plugin/repository/everything</url>
        </repository>
        <repository>
            <id>md-5</id>
            <url>
                http://ci.md-5.net/job/BungeeSuiteTeleports/com.minecraftdimensions.bungeesuiteteleports$BungeeSuiteTeleports/lastBuild/artifact/
            </url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>org.bukkit</groupId>
            <artifactId>bukkit</artifactId>
            <version>1.6.2-R0.1-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>com.minecraftdimensions.bungeesuiteteleports</groupId>
            <artifactId>BungeeSuiteTeleports</artifactId>
            <version>0.50</version>
        </dependency>
    </dependencies>
    <build>
        <finalName>${project.name}</finalName>
        <resources>
            <resource>
                <directory>${project.basedir}/src/main/resources</directory>
                <includes>
                    <include>**</include>
                </includes>
                <filtering>true</filtering>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                    <showDeprecation>true</showDeprecation>
                    <showWarnings>true</showWarnings>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

GitHub project: https://github.com/Nentify/BungeeSuiteSpawn

Answers


minecraftdimensions.bungeesuitespawnartifact not exist on repositoryhttp://repo.bukkit.org/content/groups/public/`.

You can download the jar frm the repository and using the system scope you can create the build. ${basedir} is the directory of your pom.

 <dependency>
        <artifactId>..</artifactId>
        <groupId>..</groupId>
        <scope>system</scope>
        <version>0.5</version> 
        <systemPath>${basedir}/BungeeSuiteTeleports.jar</systemPath>
    </dependency>

Need Your Help