Hi,

I checked out project 
from https://github.com/jenkinsci/cucumber-reports-plugin and I'm trying to 
generate hpi with command:

mvn hpi:hpi

I getting the error:

[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 2.880 s
[INFO] Finished at: 2016-04-15T15:07:56+01:00
[INFO] Final Memory: 22M/220M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.jenkins-ci.tools:maven-hpi-plugin:1.117:hpi (default-cli) on project 
cucumber-reporting: Failed to determine Jenkins version this plugin depends 
on. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal org.jenkins-ci.tools:maven-hpi-plugin:1.117:hpi (default-cli) on 
project cucumber-reporting: Failed to determine Jenkins version this plugin 
depends on.

I have added dependency

<dependency>
    <groupId>org.jenkins-ci.main</groupId>
    <artifactId>jenkins-war</artifactId>
    <type>war</type>
    <version>1.625.3</version>
</dependency>


And I can see it downloaded on local maven repository


Can anyone point me in the right direction?


P.S. - If I create a new project from scratch I'm able to generate hpi file or 
run it directly to jenkins.



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/e27d78d4-a9dd-426e-ab85-2d7465018d4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to