[fedora-java] Help needed - errors while building rpm from srpm

Edmon Begoli ebegoli at gmail.com
Tue Sep 21 12:53:39 UTC 2010


Guido,

Would you point me to the link/location where I can download the most
recent working version
of maven-release-plugin that I can use for building my package(s).

Thank you,
Edmon

On Fri, Sep 17, 2010 at 9:42 AM, Guido Grazioli
<guido.grazioli at gmail.com> wrote:
> 2010/9/17 Edmon Begoli <ebegoli at gmail.com>:
>> Hi,
>>
>> I used commons-codec as well as previous version of the htmlunit to
>> create a new .spec file.
>>
>> I did SRPM build on FC13.
>>
>> Here are the issues I encountered:
>>
>> 1. My package POM file requires maven-release-plugin. On F13 I could
>> not find any maven plugin that has to do with
>>    maven and release (sudo yum search maven | grep release)
>
> Hello Edmon, i packaged maven-release but it's sitting only in F-14
> (a pre-2.0 svn snapshot) and rawhide (release tagged 2.0) right now.
> It contains both maven-release-manager and maven-release-plugin
>
>>
>> 2. When I build the srpm (rpmbuild -bs --clean htmlunit.spec) I get
>> srpm built but when I try to build rpm or to install rpm
>>   I get this:
>>
>> $ rpmbuild --ba --clean SPECS/htmlunit.spec
>
> The logs doesnt tell that much, try invoking mvn-jpp with the -X flag to get
> the exception.
>
> Your specfile needs some work beside the failing build:
> - URL should be the webpage of the project
> - Source should point to the actual download url:
> Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
> - you should Require: java
> - groupId in %add_to_maven_depmap is net.sourceforge.htmlunit
> - verrel in changelog is 2.7-1 not 1:2.7
>
>
> cheers,
> Guido
> --
> Guido Grazioli <guido.grazioli at gmail.com>
> Via Parri 11 48011 - Alfonsine (RA)
> Mobile: +39 347 1017202 (10-18)
> Key FP = 7040 F398 0DED A737 7337  DAE1 12DC A698 5E81 2278
> Linked in: http://www.linkedin.com/in/guidograzioli
>


More information about the java-devel mailing list