代码之家  ›  专栏  ›  技术社区  ›  bsr

maven:获取依赖关系详细信息(Equinox)

  •  0
  • bsr  · 技术社区  · 14 年前

    初来乍到的马文和春分。在阅读有关OSGi的教程时,我发布了以下命令。

    pax规定

    这导致了以下错误。

     -> Provision bundle [mvn:org.compass-project/compass/2.1.1, at default start level, bundle will be started, bundle will
     be loaded from the cache]
     -> Preparing framework [Equinox 3.6.0]
     -> Downloading bundles...
     -> Equinox 3.6.0 : connecting...
             ___
            /  /
           /  / Oops, there has been a problem!
          /  /
         /__/   URL [mvn:org.eclipse.osgi/org.eclipse.osgi/3.6.0.v20100517] could not be resolved.
        ___
       /__/     Use --log=debug to see details.
    

    似乎Equinox版本在存储库中不可用。所以呢
    1在何处查找具有正确版本的存储库。是否有任何命令或搜索工具??

    mvn install:install-file -DgroupId=<your_group_name>  \
    -DartifactId=<your_artifact_name>  \
    -Dversion=<snapshot>  \
    -Dfile=<path_to_your_jar_file>  \
    -Dpackaging=jar \
    -DgeneratePom=true
    

    如何获取所有这些参数(组id、artifactId等)?

    1 回复  |  直到 14 年前
        1
  •  1
  •   bsr    14 年前

    我可以找到2个资源,我可以得到mvn包。 http://mvnrepository.com/ http://maven.ozacc.com/ . 请评论这是否是正确的地方。我可以从搜索结果中得到工件id等。谢谢

    推荐文章