views:

33

answers:

2

I am looking for a maven repository that distributes jung2 packages. Unfortunetely I can not find any information on its location.

Update: I have included the cental repository repo1.

 <repository>
  <id>central</id>
  <name>Maven Repository Switchboard</name>
  <layout>default</layout>
  <url>http://repo1.maven.org/maven2&lt;/url&gt;
  <snapshots>
    <enabled>false</enabled>
  </snapshots>
</repository>

But I still get an error: 10/4/10 1:31:57 PM CEST: Missing artifact net.sf.jung:jung2:jar:2.0.1:compile. I use Maven 3.0-SNAPSHOT on Mac osX.

Update2: Declaration of Jung2 dependency:

  <dependency>
                <groupId>net.sf.jung</groupId>
                <artifactId>jung2</artifactId>
                <version>2.0.1</version>
                <type>pom</type>                 
        </dependency>

After adding pom, there is no error message. Unfortunetely maven does not retrieve jars of jung2 modules.

[Solved] I have added also a dependency to jung-graph-impl and I can now use jung2 in my project:

   <dependency>
        <groupId>net.sf.jung</groupId>
            <artifactId>jung-graph-impl</artifactId>
            <version>2.0.1</version>
</dependency>
A: 

Try Maven Repository or Maven Repository Browser.

Boris Pavlović
This is Jung1 ;)
Colin Hebert
@Colin Hebert tx, fixed
Boris Pavlović
+2  A: 

On repo1 :

<dependency>
    <groupId>net.sf.jung</groupId>
    <artifactId>jung2</artifactId>
    <version>2.0.1</version>
</dependency>

Resources :

Colin Hebert
Still getting error: 10 1:26:09 PM CEST: Missing artifact net.sf.jung:jung2:jar:2.0.1:compile . Maven3 has download the jung2 pom but not jar files.
Skarab
@Skarab, add the `<type>pom</type>` to the dependency, it's not a jar ;)
Colin Hebert
I did like that. Now I have nor errors neither jung2-* jars. I am confused...
Skarab