hakkican
hakkican

Reputation: 436

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.

Upvotes: 17

Views: 46216

Answers (9)

level2fast
level2fast

Reputation: 31

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.

Upvotes: 2

ScottFree
ScottFree

Reputation: 632

I was getting the error Blocked mirror for repositories: [prime-repo (http://repository.primefaces.org, default, releases+snapshots) and changed my http reference to https, problem solved!

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

Upvotes: 0

Gasfiter
Gasfiter

Reputation: 11

Ubuntu have a problem with certificates, you have to add using this:

apt-get install ca-certificates-java
apt-get install ca-certificates

Upvotes: 0

Chidi Nwachukwu
Chidi Nwachukwu

Reputation: 9

I had this issue a while ago. I simply downloaded the jar file from Maven and placed the jar file in the *.m2\repository\org\primefaces\themes\all-themes\1.0.10 directory. Then on Eclipse I run maven > update.

Upvotes: -1

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)?

Upvotes: 6

wunt
wunt

Reputation: 139

It seems repo is temporary broken, so you have to download it manualy.

  1. Download all dependencies from http://repository.primefaces.org/org/primefaces/themes/

Here is how to do that: How to download HTTP directory with all files and sub-directories as they appear on the online files/folders list?

wget -r -np -nH --cut-dirs=3 -R index.html http://repository.primefaces.org/org/primefaces/themes/
  1. Move it to your ~/.m2/repository/org/primefaces/themes dir
  2. Update local repository index img: NetBeans update index example

Upvotes: -1

SuperChia
SuperChia

Reputation: 141

Try:

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

I have tried with 1.0.10 but failed, 1.0.8 is ok!

Upvotes: 1

milosz889
milosz889

Reputation: 721

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>

Upvotes: 72

Related Questions