- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我是新手,在我的 eclipse 和 JFrog Artifactory 中使用 maven m2e 插件
。
按照说明,我下载了 JFrog Artifactory war 并使用 Tomcat 8 Windows 安装程序服务部署了它。我正在使用 Windows 8.1 64 位操作系统。
一旦通过 tomcat 部署了 artifactory,我通过 artifactory 中的 Deploy 选项将我的项目所需的一些 jar 添加到 ext-release-local 和 maven-clean,其他此类 jar 到 plugins-relase-local。
然后我生成了 settings.xml 文件并将其复制到 .m2
文件。我的 settings.xml
文件包含
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>libs-release</name>
<url>http://localhost:8082/artifactory/libs-release</url>
</repository>
<repository>
<snapshots/>
<id>snapshots</id>
<name>libs-snapshot</name>
<url>http://localhost:8082/artifactory/libs-snapshot</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<name>plugins-release</name>
<url>http://localhost:8082/artifactory/plugins-release</url>
</pluginRepository>
<pluginRepository>
<snapshots/>
<id>snapshots</id>
<name>plugins-snapshot</name>
<url>http://localhost:8082/artifactory/plugins-snapshot</url>
</pluginRepository>
</pluginRepositories>
<id>artifactory</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>artifactory</activeProfile>
</activeProfiles>
</settings>
然后,当我尝试clean install -X -e
项目时,出现以下异常。
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Failure to find org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 in http://localhost:8082/artifactory/plugins-release was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1
如何将 Artifactory 与 Maven 集成。
主要目标只是第一次从中央存储库获取 jar 和其他依赖项,所有其他时间都应该从本地存储库获取 jar。
如何部署 jar 包。示例:在单个部署过程中部署 spring 4.X 的所有 jar。
解释维护存储库等的正确方法的任何指南或适当的文档或经验法则,
如何更改 Artifactory 的管理员用户名和密码。使用用户定义的角色在 Artifactory 中创建多个用户。等等,
更多非常简单的最佳实践/教程,说明如何使用 Maven 配置和使用 Artifactory
Artifactory 网络用户界面的另一个问题是它经常死机,当我使用任务管理器中的 tomcat 服务检查它时,tomcat 死机并显示“正在停止...”。并最终在浏览器中出现连接重置错误。我无法通过 tomcat 配置器立即停止服务。 tomcat 停止和重新启动所花费的时间太长。有什么正确使用 tomcat deploy 的线索吗?
谢谢
最佳答案
您的 Artifactory 应该使用最常见的 Artifact 和插件来代理外部存储库。例如。 maven-clean-plugin
应该可以毫无问题地解决。如果 Artifactory 在代理后面,您应该在管理屏幕中配置它 as described in the User Guide .
我通常建议仔细阅读它,它应该可以回答所有提到的问题。
关于卡住——如果你将 war 部署到现有的 Tomcat 安装中而没有配置它的 JVM 参数,你看到的卡住是完整的 GC 周期——你正在耗尽内存。这给我们带来了to the User Guide again .
关于java - JFrog Artifact 要做的基本设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23260726/
例如,如果运行 1 正在等待批准并触发运行 2,则应拒绝运行 1。 最佳答案 “待批准”状态具体来自 Approval Gates功能。 虽然您不能在触发新运行时明确拒绝“待批准”步骤,但您可以通过在
是 the registry JFrog 产品组合的支点还是某些附加功能?无论哪种方式,该功能都非常有趣,但了解细节会很好。 最佳答案 简而言之,JFrog Container Registry 是
我正在尝试使用 CLI for Jfrog Artifactory 从 Bamboo CI 上传 Artifactory 我需要上传 .p2 插件,我有两个选择: 上传 .zip 并将其部署为 Bun
我们正在使用 JFrog artifactory 4.1.0。从他们的文档(https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+
jfrog-cli 中的错误:尝试加密您的密码时收到以下错误 最佳答案 config 命令尝试使用不正确的 URL 加密您的 Artifactory 密码。通常,当用户提供 JFrog 平台 URL
我正在尝试从 jfrog artifactory 的存储库列表中删除工件(超过 6 个月)。我正在创建一个如下所示的规范文件,并使用我要使用 jfrog cli 删除的规范。我的查询是有什么方法可以在
我有一个Java应用程序,它使用一个名为com.abc.XYZLogging的自定义库。 该库依赖于org.springframework:spring-context:4.3.7.RELEASE和o
我为gradle创建了默认存储库,并将jar发布到其中。在JAR说明页面上没有看到带有依赖项声明的代码片段。怎么了? 最佳答案 如果您使用的是右上角的“部署”选项。我发现您需要在“依赖声明”显示之前定
我正在使用JFrog作为Docker注册表。 如果我尝试手动拉出图像,则可以正常工作,但是当我通过在helm chart和helm install命令中进行尝试来进行相同操作时,会抛出错误: Erro
你能帮我使用 JFrog Artifactory 证书功能吗? (管理员 -> 证书)。 我想为 Maven 存储库添加证书 ( https://plugins.jenkins.io/reposito
我目前正尝试在 Artifactory 中查询与核心项目相关的特定 Artifactory 。所有 Artifactory 都将以项目标签为前缀。示例:“proj1-core”。我使用 Artifac
我在 Ubuntu 上运行它。当我尝试运行时:npm install -g jfrog-cli-go 我明白了: 当我尝试使用 curl 运行它的其他选项时,它给人的感觉就像它成功但是当我尝试运行时
有人可以解释一下 JFrog Artifactory 中这 3 种类型的本地、远程和虚拟存储库是什么。 ,我没有从 JFrog Artifactory 文档中清楚地了解它。 https://www.j
当我下载,解压缩并启动artifactory.sh时,看到以下错误 2020-02-26T21:32:50.496Z [jfac ] [ERROR] [c1b4de79a3f11666] [.j.a.
我手动将FGE-0.3.zip部署(单击Web上的按钮)到lib-release,而没有pom文件。由于某种原因,我检查了Suppress POM Consistency Checks的lib-sna
我为 gradle 创建了默认存储库并将 jar 发布到其中。我在 JAR 描述页面上没有看到带有依赖声明的片段。 我只添加了一个本地存储库。我错过了什么? 最佳答案 您的文件似乎没有按照 Maven
将图像推送到JFrog人工项目docker注册表后,我想通过REST API获取图像大小,是否为此使用任何API? 最佳答案 您可以使用Artifactory REST API查询Artifactor
在 Jfrog Artifactory 中,我创建了一个只读用户并尝试访问远程 NPM 包,该包是 NodeJS 存储库的一部分。例如npm install @angular/material 并且软
在 Jfrog Artifactory 中,我创建了一个只读用户并尝试访问远程 NPM 包,该包是 NodeJS 存储库的一部分。例如npm install @angular/material 并且软
我有一个关于 Jfrog Artifactory 的问题。 我不知道它是做什么用的。你能用实际的方式给我解释一下吗? 提前致谢! 最佳答案 来自 artifactory 的标签描述: Artifact
我是一名优秀的程序员,十分优秀!