Avatar of Rohit Bajaj
Rohit Bajaj
Flag 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
LinuxLinux DistributionsLinux OS DevJavaJava EE

Avatar of undefined
Last Comment
gheist

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
gheist

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Rohit Bajaj

ASKER
But i have set the <release> tag to 2 still its coming null
gheist

Your maven generates wrong SPEC file.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy