How to make repository linked in the dependency graph?

Hi, I have a problem with my repository not linking its dependency (which is public) and instead showing it as greyed out. The dependency mentioned is uploaded to Maven’s Central Repository. I feel like this has something to do with the settings in either of the repositories’ pom.xml file but couldn’t find any github-specific solutions when searching through the web, and that is why I’m posting my question here.

The repository that is being imported is Project2-2-GameInterop , and its pom.xml is accessible here. The repository having the problems with linking is private (since this is an ongoing intergroup project) but its pom.xml is:

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

    <groupId>com.github.hookz.project2-2</groupId>
    <artifactId>Project2-2</artifactId>
    <version>1.0-SNAPSHOT</version>

    <url>https://github.com/Hookz/Project2-2</url>
    <licenses>
        <license>
            <name>The Apache Software License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
        </license>
    </licenses>
    <scm>
        <connection>scm:git:git@github.com/Hookz/Project2-2.git</connection>
        <developerConnection>scm:git:git@github.com/Hookz/Project2-2.git</developerConnection>
        <url>https://github.com/Hookz/Project2-2/tree/${project.scm.tag}</url>
        <tag>master</tag>
    </scm>
    <properties>
        <maven.compiler.target>10</maven.compiler.target>
        <maven.compiler.source>10</maven.compiler.source>
        <java.version>1.10</java.version>
    </properties>
        <dependencies>
            <dependency>
                <groupId>com.github.Hookz</groupId>
                <artifactId>Project2-2-GameInterop</artifactId>
                <version>1.0</version>
            </dependency>
        </dependencies>
</project>

Maven is able to import the dependency correctly, it is just that there is no link in the dependencies list of the private project (picture below).

Any help will be greatly appreciated, even pointing out the dumbness of this question (:

Thank you

1 Like

Hi Hookz,

In general, packages are algorithmically mapped to repositories by our system and automatically assigned to respective packages based on the existence of our supported file formats described here:
https://help.github.com/en/articles/listing-the-packages-that-a-repository-depends-on#supported-languages

If any of them are incorrect, we can redetect or reassign them as appropriate but you would need to write in to GitHub Support with the details: https://support.github.com/

I hope this helps. Please let us know if you need anything else!

1 Like