Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jars are missing on `artifactory` server after installing primefaces all-themes

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.

like image 317
hakkican Avatar asked Feb 11 '14 15:02

hakkican


3 Answers

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>
like image 187
milosz889 Avatar answered Oct 23 '22 15:10

milosz889


The http://repository.primefaces.org redirects to secure https://repository.primefaces.org, but the the server's certificate can't be trusted based on Java's default trust store.

You have two options:

  1. Add the "Let's Encrypt Authority X3" CA cert to the /lib/sercurity/cacerts. (The default password is: changeit)
  2. Ignore maven's certificate validation: How to tell Maven to disregard SSL errors (and trusting all certs)?
like image 35
Bukodi László Avatar answered Oct 23 '22 13:10

Bukodi László


Version 1.0.10 does not seem to be available at the moment. You can follow this link to see the latest version: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.primefaces.extensions%22%20AND%20a%3A%22all-themes%22

I had this same issue. I fixed it by changing my dependency in my pom.xml file to:

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

Because version 1.0.8 is the latest version I got what I needed. The only difference between what I have and what you have is the the groupId. After changing your groupId and doing a Maven update it worked fine.

like image 36
level2fast Avatar answered Oct 23 '22 14:10

level2fast