I actually sent the wrong project, the one I'm trying to generate 
is https://github.com/damianszczepanik/cucumber-reporting

But I'll give it a go on your suggestions

On Friday, April 15, 2016 at 5:41:01 PM UTC+1, Adrien Lecharpentier wrote:
>
> The version of Jenkins-core the plugin depends on is determine by the 
> parent-pom version: 
> https://github.com/jenkinsci/cucumber-reports-plugin/blob/master/pom.xml#L6
>
> However, to generate the `hpi`, you should use the classic `mvn package` 
> rather than calling the `hpi` plugin.
> -- Adrien 
>
> Le ven. 15 avr. 2016 à 18:05, Telmo Cardoso <[email protected] 
> <javascript:>> a écrit :
>
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/e27d78d4-a9dd-426e-ab85-2d7465018d4f%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-dev/e27d78d4-a9dd-426e-ab85-2d7465018d4f%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/f7c5e8d3-7c51-453f-b3f6-29f8813123a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to