Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven dependency resolution #19

Closed
ghost opened this issue May 25, 2011 · 8 comments
Closed

Maven dependency resolution #19

ghost opened this issue May 25, 2011 · 8 comments
Labels

Comments

@ghost
Copy link

ghost commented May 25, 2011

Hello,

i'm trying to use GS in my project witch is managed by Maven. I looked the documentation ( http://graphstream-project.org/doc/Tutorials/Create-a-gs-based-Eclipse-project-using-Maven_1.0/ ) . But Maven doesn't resolve dependency cause your libs aren't in the maven central repository. Perhaps the libraries are shared on another (your own ?) Maven repository.
Do you have any Maven PluginRepository URL that contains graphstream libraries ?

Thank you,
Philippe

@gsavin
Copy link
Member

gsavin commented May 25, 2011

Hi philixx,

You are right, GraphStream is not yet in the central repository. It is here actually : https://oss.sonatype.org/content/groups/public/org/graphstream/

I don't know if it is an update problem (central index has not been updated since May 17th) or if I forget to do something... If you have some informations about that .....

@ghost
Copy link
Author

ghost commented May 26, 2011

Hi,

thank you for your answer. i have no informations about the indexing process of maven.

In the mean time i just add this following lines in my pom.xml file:

<project ...>
...
<dependency>
            <artifactId>gs-core</artifactId>
            <groupId>org.graphstream</groupId>
            <version>1.0</version>
            <optional>false</optional>
</dependency>
.....
<repositories>
        <repository>
            <id>flex-mojos-repository</id>
            <url>https://oss.sonatype.org/content/groups/public</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </repository>
    </repositories>
    <pluginRepositories>

        <pluginRepository>
            <id>local</id>
            <url>https://oss.sonatype.org/content/groups/public/</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
        </pluginRepository>
    </pluginRepositories>
....

Philippe

@ghost ghost closed this as completed May 26, 2011
@ghost ghost reopened this May 26, 2011
@ghost ghost closed this as completed May 26, 2011
@gsavin
Copy link
Member

gsavin commented May 26, 2011

Ok, thanks philixx for this temporary fix.
I will warn users and dev when artifacts will be available on central repository.

@ghost
Copy link
Author

ghost commented May 26, 2011

Hi,

i reopen this bug cause it seems that gs-ui artifact isn't deploy on this repository. There is just gs-core and gs-algo. Could you deploy it ?

Thank you,
Philippe

@ghost ghost reopened this May 26, 2011
@gsavin
Copy link
Member

gsavin commented May 26, 2011

Yes. We have some structure problem for gs-ui.
I am doing the artifacts. I warn you when it is up.

@gsavin
Copy link
Member

gsavin commented May 26, 2011

Ok gs-ui is now up into the previous repository.
I will try to see how release them into the central repo.

@gsavin gsavin closed this as completed May 26, 2011
@ghost
Copy link
Author

ghost commented May 26, 2011

ok it's working. But now i need to add org.scala-lang dependency. Perhaps you might add <scope>runtime</scope> on it in gs-gui pom.xml ?

Philippe

@gsavin
Copy link
Member

gsavin commented May 26, 2011

Hum ... my mistake. This "scope" statement should not be here.
I have removed it and released a the fixed artifact. Hope it works ....
Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant