gephi / gephi-plugins

Repository for Gephi Plugins maintained by the team. Each plugin has it's branch.
269 stars 620 forks source link

Update Netbeans repository url in order to prevent build error. #227

Closed yossisp closed 2 years ago

yossisp commented 3 years ago

Building plugins inside the repository result in a build error:

Could not resolve dependencies for project MyProject: Failed to collect dependencies at org.gephi:graph-api:jar:0.9.2 -> org.gephi:project-api:jar:0.9.2 -> org.netbeans.api:org-openide-filesystems:jar:RELEASE82: Failed to read artifact descriptor for org.netbeans.api:org-openide-filesystems:jar:RELEASE82: Could not transfer artifact org.netbeans.api:org-openide-filesystems:pom:RELEASE82 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [netbeans (http://bits.netbeans.org/nexus/content/groups/netbeans/, default, releases)]

yossisp commented 3 years ago

The pull request fixes 2 errors:

  1. The error can be seen when cloning this gephi-plugins-bootcamp repo, then running cd modules/DataLaboratoryPluginExample && mvn package. The pull requests fixes this issue
  2. When in gephi-plugin directory (whicc contains modules directory) running mvn package results in the following error: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:unpack-dependencies (unpack) on project gephi-plugins: Execution unpack of goal org.apache.maven.plugins:maven-dependency-plugin:2.10:unpack-dependencies failed.: NullPointerException. Adding <repository> with updated URL to Netbeans repository fixes the error.
eduramiba commented 2 years ago

Thank you for the pull request, merged manually with a different commit.