Maven Theme Download Failing

UI Components for JSF
Post Reply
milstead
Posts: 2
Joined: 21 Apr 2017, 11:44

22 Apr 2017, 08:57

Hi,

I can't download the ui lightness theme in my Netbeans 8.2 project using Maven 3.0.5.
Here is my repositories entry:

Code: Select all

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

Code: Select all

        <dependency>
            <groupId>org.primefaces</groupId>
            <artifactId>primefaces</artifactId>
            <version>5.2</version>
        </dependency>
        <!-- https://mvnrepository.com/artifact/org.primefaces.themes/ui-lightness -->
        <dependency>
            <groupId>org.primefaces.themes</groupId>
            <artifactId>ui-lightness</artifactId>
            <version>1.0.10</version>
        </dependency>
The first one works. The second one fails with the following output:

Code: Select all

cd C:\Users\tim\Documents\cargo-tracker; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_66" cmd /c "\"\"C:\\Program Files\\NetBeans 8.2\\java\\maven\\bin\\mvn.bat\" -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans 8.2\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 install\""
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building cargo-tracker 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.primefaces.org/org/primefaces/themes/ui-lightness/1.0.10/ui-lightness-1.0.10.pom

Downloading: http://repo.maven.apache.org/maven2/org/primefaces/themes/ui-lightness/1.0.10/ui-lightness-1.0.10.pom

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.453s
[INFO] Finished at: Sat Apr 22 18:48:20 NZST 2017
[INFO] Final Memory: 10M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cargo-tracker: Could not resolve dependencies for project net.java:cargo-tracker:war:1.0-SNAPSHOT: Failed to collect dependencies for [javax:javaee-api:jar:7.0 (provided), org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.0 (provided), org.glassfish.jersey.media:jersey-media-moxy:jar:2.0 (provided), org.apache.commons:commons-lang3:jar:3.4 (compile), org.primefaces:primefaces:jar:5.2 (compile), org.primefaces.themes:ui-lightness:jar:1.0.10 (compile), junit:junit:jar:4.12 (test), org.jboss.arquillian.junit:arquillian-junit-container:jar:1.1.10.Final (test), org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven:jar:2.2.0 (test), org.jboss.arquillian.container:arquillian-glassfish-remote-3.1:jar:1.0.0.CR4 (test)]: Failed to read artifact descriptor for org.primefaces.themes:ui-lightness:jar:1.0.10: Could not transfer artifact org.primefaces.themes:ui-lightness:pom:1.0.10 from/to prime-repo (http://repository.primefaces.org): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
I'm guessing the working one comes from the central maven repo and the failing one from the prime faces repo.
I'm also guessing the prime faces repo has an SSL certificate for the old www for URL and hasn't been updated for the new repository dot URL?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 31 guests