问题标签 [nexus]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
linux - gwt-maven-plugin 在获取 gwt-dev 工件时附加“-linux”
我一直在努力让 gwt-maven-plugin 为我工作。希望有人可以帮助我。
我正在使用 gwt-maven-plugin 1.2 并试图让它与 gwt 2.1.0.M3 一起工作。我们有一个 nexus repo 在工作,我把最新的 gwt jar 放在那里。尝试下载 gwt-dev jar 时插件失败。
gwt-dev jar 位于2.1.0.M3/gwt-dev-2.1.0.M3.jar
插件尝试下载 2.1.0.M3/gwt-dev-2.1.0.M3-linux.jar。
对于 gwt-dev,我的 pom 上没有任何依赖项,插件负责处理。如何阻止它向其附加“-linux”?我知道我可以在我的 repo 中更改 jar 的名称,或者在我的本地机器上手动设置它,但我想弄清楚如何让它在 nexus 上工作,因为我们有几个开发人员在这方面工作同时。
谢谢!
repository - 可以将二进制文件放在 nexus 存储库中吗?
在我的工作中,所有开发都使用 Java 技术,我们使用 Nexus 来管理我们的 Maven 存储库。但是对于一个新项目,构建需要 dll 和 exe 工件。是否可以将这些 Windows 二进制文件放入 Nexus 存储库?是否有一些插件可以使这更简单?我想做的事疯了吗?
repository - 从 Nexus 存储库中删除工件
我部署了一些工件,并复制粘贴了这些工件的错误名称。我记得手动播放存储库内容会带来问题。
处理这些情况的推荐方法是什么?
编辑:
我认为无法通过 Web 界面从托管存储库中删除工件。现在我看到在“浏览存储”部分我可以删除工件目录,这是我猜的推荐方式。
testing - Missing maven dependency using nexus setup
I am trying to build a maven project to test out some testing software - Arquillian.
I setup nexus and added the jboss repositories to the bottom of the public group.
When i run mvn test
i get this error:
I checked the java.net maven 2 repository and it is definately there.
However when i navigate to my local nexus public group, it is not there.
How can i solve this problem? And what is the cause of this problem? I am in way over my head with this, as I am more accustomed to using ant+ivy.
The full output from mvn is here.
maven-2 - 如何使 Sonatype 的 Nexus 存储库与 SpringSource 的 EBR 一起使用
我正在寻找添加 SpringSource EBR(企业捆绑存储库:http://www.springsource.com/repository/)到 Nexus 作为代理。我这样做的主要原因是 SpringSource OSGi 支持各种著名的 OSS 项目(例如:Velocity、AspectJ...),使它们易于包含在 OSGi 运行时中。
无论如何,它与 Nexus 如何“查看” EBR 的方式存在一些问题,因为即使我可以远程浏览存储库,它也没有被代理和正确索引。作为提示,我观察到的是,Nexus 没有看到其他 Maven 存储库(例如:Central、google ...)公开的直接 Maven 组(例如:org/...),而是一个单独的外部或发布文件夹/root 是在远程导航时插入的。
下面是我感兴趣的 SpringSource EBR 存储库:
如果此存储库直接指定到 Maven 项目pom.xml中,一切都很好,但不是通过 Nexus。
maven-2 - 使用 Nexus 存储库配置 Grails 插件
我正在寻找更长的时间,但没有任何解决方案。
我的问题:
我用 Maven 和我自己的 Nexus Repo 配置了我的 Grails 项目 (1.2.4)。这似乎运作良好。但是我也可以将我正在使用的 Grails 插件也放到 Nexus Repo 中吗?目前,插件依赖关系通过 Grails 插件存储库解决。
有任何想法吗?
带着敬意
费边
maven-2 - Maven POM 的 Tomcat Nexus URL 映射
我在 Tomcat 上运行 Maven 存储库管理器 Nexus。当我设置我的 pom 文件时,我的存储库 URL 看起来都像http://myhost/nexus/repo-name
. 我想从 URL 中取出“nexus”这个词。我们目前正在从旧的存储库管理器过渡,现在我们需要更新所有 URL。但是,如果我们有一个通用的存储库 URL,例如http://myhost/maven-repo/repo-name
,那么该 URL 将独立于存储库管理器。
我怎样才能在Tomcat上设置这样的东西?我需要设置主机名别名吗?或者有没有更简单的方法来做到这一点?
谢谢,杰夫
scala - 如何让 sbt 使用本地 Maven 代理存储库(Nexus)?
我有一个 sbt (Scala) 项目,该项目目前从网络上提取工件。我们希望转向可以缓存工件的企业标准化 Nexus 存储库。从 Nexus 文档中,我了解如何为 Maven 项目执行此操作。但是 sbt 显然使用了不同的方法。(我知道 Ivy 以某种方式参与其中,但我从未使用过它,也不明白它是如何工作的。)
我如何告诉 sbt 和/或底层 Ivy 使用公司 Nexus 存储库系统来处理所有依赖项?我想要使用某种项目级配置文件的答案,以便我们的源存储库的新克隆将自动使用代理。(即,在点目录中处理每个用户的配置文件是不可行的。)
谢谢!
version-control - 您如何确保使用诸如 nexus 或 artifactory 之类的工件存储库的可重复构建与将库检查到源代码控制中?
在我评估过的所有工件存储库中,我必须看看如何维护我的存储库,以便我可以归档旧的东西,这样我就不用查看树中的数千个工件,同时仍然能够拥有旧软件的可重复构建。
无法重命名/移动/存档旧工件意味着它们会闲逛,并且 repo 变得不守规矩且难以维护。
当然我是新手,所以也许有人可以指出我正确的方向,但这对我来说似乎是一个很大的差距。
maven-2 - MAVEN / Eclipse TargetPlatform
We are building an Eclipse RCP plugin that is based on an Eclipse target platform (also developed internally in our company, by a different department). We would like to compile the plugin using MAVEN2 (we also use NEXUS for repository management).
The target platform consists of about 130 JARs (most of them org.eclipse.*). One way to perform the build would be to add 130 references into the tag of the POM file. Not only is this a lot of effort, but the target platform occasionally changes, so a new target platform would mean a lot of modifications.
Is there a better way to deal with a lot of dependencies in MAVEN?