null coming in rpm name

Rohit Bajaj
Rohit Bajaj used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015
Commented:
that is "release" attribute - e.g. number of build you do.

Author

Commented:
But i have set the <release> tag to 2 still its coming null
Top Expert 2015

Commented:
Your maven generates wrong SPEC file.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial