Giter VIP home page Giter VIP logo

Comments (9)

gorgia avatar gorgia commented on August 12, 2024

Problem still unresolved.
here is my pom

<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>octopus</groupId>
    <artifactId>xxx</artifactId>
    <version>2.0-SNAPSHOT</version>
    <packaging>jar</packaging>

    <name>xxx</name>
    <url>http://maven.apache.org</url>
    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
            </resource>
            <resource>
                <directory>src/main/config</directory>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <repositories>
        <repository>
            <id>gephi-snapshots</id>
            <name>Gephi Snapshots</name>
            <url>http://nexus.gephi.org/nexus/content/repositories/snapshots</url>
        </repository>
        <repository>
            <id>gephi-releases</id>
            <name>Gephi Releases</name>
            <url>http://nexus.gephi.org/nexus/content/repositories/releases</url>
        </repository>
    </repositories>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.5</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.7.5</version>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.4</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-core</artifactId>
            <version>3.6.10.Final</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-entitymanager</artifactId>
            <version>3.6.10.Final</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-c3p0</artifactId>
            <version>4.3.0.Beta3</version>
        </dependency> 
        <dependency>
            <groupId>org.eclipse.persistence</groupId>
            <artifactId>javax.persistence</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>javax.transaction</groupId>
            <artifactId>jta</artifactId>
            <version>1.1</version>
        </dependency>
        <dependency>
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
            <version>1.3.173</version>
        </dependency>
        <dependency>
            <groupId>org.twitter4j</groupId>
            <artifactId>twitter4j-core</artifactId>
            <version>3.0.5</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>commons-configuration</groupId>
            <artifactId>commons-configuration</artifactId>
            <version>1.6</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
            <version>1.6.1</version>
        </dependency>
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.1.3</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.izpack</groupId>
            <artifactId>izpack-standalone-compiler</artifactId>
            <version>4.3.5</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-commons-annotations</artifactId>
            <version>3.2.0.Final</version>
        </dependency>
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.27</version>
        </dependency>  
        <dependency>
            <groupId>org.gephi</groupId>
            <artifactId>gephi-toolkit</artifactId>
            <version>0.9-SNAPSHOT</version>
        </dependency>       
    </dependencies>     
</project>

removing last dependency everything works fine. Leaving it it does:

Downloaded: http://nexus.gephi.org/nexus/content/repositories/snapshots/org/gephi/core-library-wrapper/0.9-SNAPSHOT/maven-metadata.xml (2 KB at 1.7 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.025s
[INFO] Finished at: Tue Dec 10 12:18:34 CET 2013
[INFO] Final Memory: 8M/218M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project xxx: Could not resolve dependencies for project octopus:xxx:jar:2.0-SNAPSHOT: Failed to collect dependencies for [junit:junit:jar:3.8.1 (test), org.slf4j:slf4j-api:jar:1.7.5 (compile), org.slf4j:slf4j-log4j12:jar:1.7.5 (compile), commons-io:commons-io:jar:2.4 (compile), org.hibernate:hibernate-core:jar:3.6.10.Final (compile), org.hibernate:hibernate-entitymanager:jar:3.6.10.Final (compile), org.hibernate:hibernate-c3p0:jar:4.3.0.Beta3 (compile), org.eclipse.persistence:javax.persistence:jar:2.1.0 (compile), javax.transaction:jta:jar:1.1 (compile), com.h2database:h2:jar:1.3.173 (compile), org.twitter4j:twitter4j-core:jar:3.0.5 (compile), commons-configuration:commons-configuration:jar:1.6 (compile), dom4j:dom4j:jar:1.6.1 (compile), commons-logging:commons-logging:jar:1.1.3 (compile), org.codehaus.izpack:izpack-standalone-compiler:jar:4.3.5 (compile), org.hibernate:hibernate-commons-annotations:jar:3.2.0.Final (compile), mysql:mysql-connector-java:jar:5.1.27 (compile), org.gephi:gephi-toolkit:jar:0.9-SNAPSHOT (compile)]: Failed to read artifact descriptor for org.gephi:utils-longtask:jar:0.9-SNAPSHOT: Failure to find org.gephi:gephi-parent:pom:0.9-SNAPSHOT in http://nexus.gephi.org/nexus/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of gephi-snapshots has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

destroying my hopes on using gephi in my application.
Could you please tell me how to resolve this issue?
Thanks.

from gephi-toolkit.

cmdares avatar cmdares commented on August 12, 2024

I found the same problem .
Finally, do you solve? And how to ,thanks!

from gephi-toolkit.

gorgia avatar gorgia commented on August 12, 2024

Sorry I have found no solution, I simply stop using gephi toolkit.

from gephi-toolkit.

eduramiba avatar eduramiba commented on August 12, 2024

Sorry, I can't reproduce this, even with your pom.

What version of maven do you use?

from gephi-toolkit.

acidghost avatar acidghost commented on August 12, 2024

I had the same problem and I resolved by wrapping the dependencies tag into the dependencyManagement tag.

My pom.xml looks like this now:

<?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>it.uniba.di.itps</groupId>
    <artifactId>sna-thesis-project</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>

    <repositories>
        <repository>
            <id>tilab</id>
            <url>http://jade.tilab.com/maven/</url>
        </repository>
        <repository>
            <id>gephi-snapshots</id>
            <name>Gephi Snapshots</name>
            <url>http://nexus.gephi.org/nexus/content/repositories/snapshots/</url>
        </repository>
        <repository>
            <id>gephi-releases</id>
            <name>Gephi Releases</name>
            <url>http://nexus.gephi.org/nexus/content/repositories/releases/</url>
        </repository>
    </repositories>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.tilab.jade</groupId>
                <artifactId>jade</artifactId>
                <version>4.3.2</version>
            </dependency>
            <dependency>
                <groupId>org.gephi</groupId>
                <artifactId>gephi-toolkit</artifactId>
                <version>0.9-SNAPSHOT</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>

from gephi-toolkit.

andralungu avatar andralungu commented on August 12, 2024

Hi, I simply cloned the main repo and executed mvn clean install on it. Nevertheless, I get the following error:

[ERROR] Failed to execute goal on project gephi-toolkit: Could not resolve dependencies for project org.gephi:gephi-toolkit:jar:0.9-SNAPSHOT: Failed to collect dependencies for [org.netbeans.api:org-netbeans-modules-nbjunit:jar:RELEASE721 (test), org.netbeans.modules:org-netbeans-modules-masterfs:jar:RELEASE721 (compile), org.netbeans.modules:org-netbeans-core-startup:jar:RELEASE721 (compile), org.netbeans.modules:org-netbeans-core:jar:RELEASE721 (compile), org.gephi:utils-longtask:jar:0.9-SNAPSHOT (compile), org.gephi:project-api:jar:0.9-SNAPSHOT (compile), org.gephi:io-exporter-api:jar:0.9-SNAPSHOT (compile), org.gephi:graph-api:jar:0.9-SNAPSHOT (compile), org.gephi:data-attributes-api:jar:0.9-SNAPSHOT (compile), org.gephi:preview-api:jar:0.9-SNAPSHOT (compile), org.gephi:io-exporter-preview:jar:0.9-SNAPSHOT (compile), org.gephi:dynamic-api:jar:0.9-SNAPSHOT (compile), org.gephi:utils:jar:0.9-SNAPSHOT (compile), org.gephi:datalab-api:jar:0.9-SNAPSHOT (compile), org.gephi:visualization-api:jar:0.9-SNAPSHOT (compile), org.gephi:preview-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:db-drivers:jar:0.9-SNAPSHOT (compile), org.gephi:io-importer-api:jar:0.9-SNAPSHOT (compile), org.gephi:io-processor-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:ranking-api:jar:0.9-SNAPSHOT (compile), org.gephi:ranking-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:spigot-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:statistics-api:jar:0.9-SNAPSHOT (compile), org.gephi:statistics-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:timeline:jar:0.9-SNAPSHOT (compile), org.gephi:algorithms-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:utils-collection:jar:0.9-SNAPSHOT (compile), org.gephi:mostrecentfiles-api:jar:0.9-SNAPSHOT (compile), org.gephi:layout-api:jar:0.9-SNAPSHOT (compile), org.gephi:io-generator-api:jar:0.9-SNAPSHOT (compile), org.gephi:io-generator-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:io-exporter-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:filters-api:jar:0.9-SNAPSHOT (compile), org.gephi:clustering-api:jar:0.9-SNAPSHOT (compile), org.gephi:ui-propertyeditor:jar:0.9-SNAPSHOT (compile), org.gephi:layout-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:partition-api:jar:0.9-SNAPSHOT (compile), org.gephi:graph-dhns:jar:0.9-SNAPSHOT (compile), org.gephi:attributes:jar:0.9-SNAPSHOT (compile), org.gephi:io-importer-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:filters-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:filters-impl:jar:0.9-SNAPSHOT (compile), org.gephi:dynamic-impl:jar:0.9-SNAPSHOT (compile), org.gephi:partition-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:clustering-plugin:jar:0.9-SNAPSHOT (compile), org.gephi:core-library-wrapper:jar:0.9-SNAPSHOT (compile)]: Failed to read artifact descriptor for org.gephi:utils-longtask:jar:0.9-SNAPSHOT: Failure to find org.gephi:gephi-parent:pom:0.9-SNAPSHOT in http://bits.netbeans.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of netbeans has elapsed or updates are forced -> [Help 1]

Am I doing something wrong?
Thanks!

from gephi-toolkit.

mbastian avatar mbastian commented on August 12, 2024

Hi, do you still have this issue? We've just moved the location of artifacts from our private Nexus server to Sonatype (oss.sonatype.org) and it should be working fine for everyone.

Here is a pom example:

<?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>org.gephi</groupId>
    <artifactId>toolkit-example</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>

    <repositories>
        <repository>
            <id>oss-sonatype</id>
            <name>oss-sonatype</name>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>org.gephi</groupId>
            <artifactId>gephi-toolkit</artifactId>
            <version>0.9-SNAPSHOT</version>
        </dependency>
    </dependencies>
</project>

from gephi-toolkit.

tomlue avatar tomlue commented on August 12, 2024

I am still getting this issue when using
org.gephi
toolkit-example
1.0-SNAPSHOT
jar
The module cannot be found at the sonatype repositories.

from gephi-toolkit.

eduramiba avatar eduramiba commented on August 12, 2024

Closing old issue.

from gephi-toolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.