pivot4j
pivot4j copied to clipboard
Invalid repository prevents pivot4j from being built.
Dear All,
Is it possible that Pentaho Repository needs to be updated like this?
diff --git a/pom.xml b/pom.xml
index f7bc0b7a..2109efc1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -535,7 +535,7 @@ It aims to leverage mature but now discontinued JPivot project's codebase to mak
<repository>
<id>pentaho</id>
<name>Pentaho Repository</name>
- <url>http://repository.pentaho.org/artifactory/repo/</url>
+ <url>https://public.nexus.pentaho.org/content/groups/omni/</url>
</repository>
</repositories>
Otherwise I get:
localhost:pivot4j montoyaedu$ mvn clean package
[INFO] Scanning for projects...
[WARNING] The project org.pivot4j:pivot4j:pom:1.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Pivot4J
[INFO] Pivot4J Core
[INFO] Pivot4J Analytics
[INFO] Pivot4J Pentaho
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Pivot4J 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pivot4j ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ pivot4j ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Pivot4J Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repository.pentaho.org/artifactory/repo/pentaho/mondrian/3.12.0.2-208/mondrian-3.12.0.2-208.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Pivot4J ............................................ SUCCESS [ 0.470 s]
[INFO] Pivot4J Core ....................................... FAILURE [ 1.516 s]
[INFO] Pivot4J Analytics .................................. SKIPPED
[INFO] Pivot4J Pentaho .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.434 s
[INFO] Finished at: 2017-10-11T15:44:21+02:00
[INFO] Final Memory: 18M/256M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project pivot4j-core: Could not resolve dependencies for project org.pivot4j:pivot4j-core:jar:1.0-SNAPSHOT: Failed to collect dependencies at pentaho:mondrian:jar:3.12.0.2-208: Failed to read artifact descriptor for pentaho:mondrian:jar:3.12.0.2-208: Could not transfer artifact pentaho:mondrian:pom:3.12.0.2-208 from/to pentaho (http://repository.pentaho.org/artifactory/repo/): 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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :pivot4j-core
localhost:pivot4j montoyaedu$ vi pom.xml
localhost:pivot4j montoyaedu$ mvn clean package
[INFO] Scanning for projects...
[WARNING] The project org.pivot4j:pivot4j:pom:1.0-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Pivot4J
[INFO] Pivot4J Core
[INFO] Pivot4J Analytics
[INFO] Pivot4J Pentaho
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Pivot4J 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ pivot4j ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ pivot4j ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Pivot4J Core 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repository.pentaho.org/artifactory/repo/pentaho/mondrian/3.12.0.2-208/mondrian-3.12.0.2-208.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Pivot4J ............................................ SUCCESS [ 0.453 s]
[INFO] Pivot4J Core ....................................... FAILURE [ 1.085 s]
[INFO] Pivot4J Analytics .................................. SKIPPED
[INFO] Pivot4J Pentaho .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.942 s
[INFO] Finished at: 2017-10-11T15:52:45+02:00
[INFO] Final Memory: 17M/255M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project pivot4j-core: Could not resolve dependencies for project org.pivot4j:pivot4j-core:jar:1.0-SNAPSHOT: Failed to collect dependencies at pentaho:mondrian:jar:3.12.0.2-208: Failed to read artifact descriptor for pentaho:mondrian:jar:3.12.0.2-208: Could not transfer artifact pentaho:mondrian:pom:3.12.0.2-208 from/to pentaho (https://repository.pentaho.org/artifactory/repo/): 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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :pivot4j-core
Thanks,