安装primefaces all-themes后,`artifactory`服务器上缺少jar [英] jars are missing on `artifactory` server after installing primefaces all-themes

查看:21
本文介绍了安装primefaces all-themes后,`artifactory`服务器上缺少jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试遵循 http://primefaces.org/themes 以使其正常工作.>

所有社区主题都可以在多合一"包中使用.

<依赖><groupId>org.primefaces.themes</groupId><artifactId>所有主题</artifactId><version>1.0.10</version></依赖>

我添加了 primefaces 存储库并运行 artifactory.它说 *.jar 工件丢失.

我可以在本地 Maven 存储库中看到所有主题的目录.但是,所有 jar 都丢失了,并且在 artifactory 服务器上也找不到它们.

解决方案

您必须添加存储库:

<存储库><id>prime-repo</id><name>PrimeFaces Maven 存储库</name><url>http://repository.primefaces.org</url><layout>默认</layout></repository></repositories>

I am trying to follow http://primefaces.org/themes to get it working.

All community themes are also available in "all-in-one" package.

<dependency>  
  <groupId>org.primefaces.themes</groupId>  
  <artifactId>all-themes</artifactId>  
  <version>1.0.10</version>  
</dependency> 

I added primefaces repository and have artifactory running. It says *.jar artifact missing.

I can see directories of all themes on local maven repository. However, all jars are missing and can't find them on artifactory server either.

解决方案

You must add repositories:

<repositories>
    <repository>
        <id>prime-repo</id>
        <name>PrimeFaces Maven Repository</name>
        <url>http://repository.primefaces.org</url>
        <layout>default</layout>
    </repository>
</repositories>

这篇关于安装primefaces all-themes后,`artifactory`服务器上缺少jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆