简体   繁体   English

需要帮助在Maven中找到xygraph依赖关系

[英]Need help finding xygraph dependency in Maven

I am trying to use the XYGraph in the Nebula visualization tool from eclipse ( http://www.eclipse.org/nebula/widgets/visualization/visualization.php ) to create charts and graphs in my Java application, I am using Maven to manage my dependencies as I will be building the project on a remote machine which can then pull the dependencies as described in the Maven POM. 我正在尝试使用eclipse( http://www.eclipse.org/nebula/widgets/visualization/visualization.php )的Nebula可视化工具中的XYGraph来在Java应用程序中创建图表。管理我的依赖项,因为我将在远程计算机上构建项目,然后可以按照Maven POM中的描述提取依赖项。 My problem is, I can't find the dependency for Nebula ANYWHERE! 我的问题是,我无法在任何地方找到Nebula的依赖项! I tried looking for the repo in repo.eclipse.org, the Maven central repo, even mvnrepository.com.The Nebula website contains a link to the download the P2 repo but no information about an m2 repo. 我尝试在repo.eclipse.org,Maven中央存储库甚至mvnrepository.com中寻找该存储库。Nebula网站包含一个下载P2存储库的链接,但没有有关M2存储库的信息。 I can't find the dependency anywhere and hence can't use it unless I manually import all the jars. 我无法在任何地方找到依赖项,因此除非手动导入所有jar,否则无法使用它。 Is there anyone who knows where I can find the XYGraph library dependency. 有谁知道我在哪里可以找到XYGraph库依赖项。 I tried using all the repositories mentioned in http://wiki.eclipse.org/Services/Nexus but still no luck. 我尝试使用http://wiki.eclipse.org/Services/Nexus中提到的所有存储库,但还是没有运气。 Is there any other way I can get that dependency into my project using Maven. 还有什么其他方法可以使用Maven将这种依赖关系放入我的项目中。 The way I'm trying out different repositories is by changing the content in the following xml tags: 我尝试不同存储库的方式是通过更改以下xml标记中的内容:

    <repository>
        <id>repo.eclipse.org</id>
        <name>Eclipse Nebula Plugin</name>
        <url> https://repo.eclipse.org</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>

and

    <dependency>
        <groupId>org.eclipse.nebula</groupId>
        <artifactId>org.eclipse.nebula.visualization.xygraph</artifactId>
        <version>1.0.0-SNAPSHOT</version>
    </dependency>

Any help is greatly appreciated. 任何帮助是极大的赞赏。 Thank you. 谢谢。

Looks like you need to grab the whole Nebula visualization package. 看起来您需要获取整个Nebula可视化软件包。 There's an example POM file here , but I haven't tested it. 这里有一个例子POM文件在这里 ,但我没有测试它。

If that fails, you can download the JAR and install it in your local repository . 如果失败,则可以下载JAR并将其安装在本地存储库中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM