Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

asked on

null coming in rpm name

HI,
I am using maven rpm plugin to generate an rpm out of my project like :
 <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>rpm-maven-plugin</artifactId>
                <version>2.0</version>
                <extensions>true</extensions>
                <configuration>
                    <name>flocksnippet</name>
                    <packager>Voodoo</packager>
                    <copyright>2015</copyright>
                    <version>3</version>
                    <group>Application/Collectors</group>
                    <release>2</release>
                    <packager>aad</packager>
                    <classifier>wqeqw</classifier>
                    <detail>sda</detail>
                    <releaseProperty>asdas</releaseProperty>

Open in new window


I tried giving values to all the parameters inside configuration but the rpm that gets generated has the name :
flocksnippet-3-null.x86_64.rpm
Dont know why null is coming in the name..
On sites i read its the realease number which i have specified. But still its coming as null.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rohit Bajaj

ASKER

But i have set the <release> tag to 2 still its coming null
Your maven generates wrong SPEC file.