zynxhealth / z-mon

a jenkins build monitor plugin
33 stars 24 forks source link

Problem in installing z-mon #9

Open vivekrsinha opened 6 years ago

vivekrsinha commented 6 years ago

Hi, I followed the mentioned steps and the process was stuck on while building the hpi snapshots. [INFO] Building Z-Mon Feedback Panel 1.596.2-SNAPSHOT [INFO] --------------------------------[ hpi ]--------------------------------- Downloading from jenkins-releases: http://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/1.625.3/jenkins-war-1.625.3.executable-war Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/1.625.3/jenkins-war-1.625.3.executable-war Downloading from central: https://repo.maven.apache.org/maven2/org/jenkins-ci/main/jenkins-war/1.625.3/jenkins-war-1.625.3.executable-war [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.472 s [INFO] Finished at: 2018-06-08T17:53:01+05:30 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project z-mon: Could not resolve dependencies for project org.jenkins-ci.plugins:z-mon:hpi:1.596.2-SNAPSHOT: Could not find artifact org.jenkins-ci.main:jenkins-war:executable-war:1.625.3 in jenkins-releases (http://repo.jenkins-ci.org/releases/) -> [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

After going through the repository it was found that the "/jenkins-war-1.625.3.executable-war" is not present in http://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/1.625.3/ instead jenkins-war-1.625.3.war file is present.

How to resolve the above dependencies? Where the changes needs to be made to resolve above errror?

Can somebody help me?

SteveMoyer commented 6 years ago

I would try updating the version of the maven-hpi-plugin on line 71 of the pom.xml

On Fri, Jun 8, 2018 at 5:51 AM vivekrsinha notifications@github.com wrote:

Hi, I followed the mentioned steps and the process was stuck on while building the hpi snapshots. [INFO] Building Z-Mon Feedback Panel 1.596.2-SNAPSHOT [INFO] --------------------------------[ hpi ]--------------------------------- Downloading from jenkins-releases: http://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/1.625.3/jenkins-war-1.625.3.executable-war Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/1.625.3/jenkins-war-1.625.3.executable-war Downloading from central: https://repo.maven.apache.org/maven2/org/jenkins-ci/main/jenkins-war/1.625.3/jenkins-war-1.625.3.executable-war [INFO]

[INFO] BUILD FAILURE [INFO]

[INFO] Total time: 4.472 s [INFO] Finished at: 2018-06-08T17:53:01+05:30 [INFO]

[ERROR] Failed to execute goal on project z-mon: Could not resolve dependencies for project org.jenkins-ci.plugins:z-mon:hpi:1.596.2-SNAPSHOT: Could not find artifact org.jenkins-ci.main:jenkins-war:executable-war:1.625.3 in jenkins-releases ( http://repo.jenkins-ci.org/releases/) -> [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

After going through the repository it was found that the "/jenkins-war-1.625.3.executable-war" is not present in http://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/1.625.3/ instead jenkins-war-1.625.3.war file is present.

How to resolve the above dependencies? Where the changes needs to be made to resolve above errror?

Can somebody help me?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zynxhealth/z-mon/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQRkxUelVxVhwKqPv8TaXmb88TEFAkHks5t6nNEgaJpZM4UgEf8 .