I tired to create rpm with > mvn rpm:rpm -X build it failed with below error
I am not seeing any spec file also no instruction to create RPM in main
POM.xml, someone please help to understand how the RPM works here ????
[INFO] Reactor Summary:
[INFO]
[INFO] Graylog Parent POM ................................. FAILURE [ 0.338 s]
[INFO] Graylog Project Parent POM ......................... SKIPPED
[INFO] AutoValue JavaBean extension ....................... SKIPPED
[INFO] Graylog ............................................ SKIPPED
[INFO] integration-tests .................................. SKIPPED
[INFO] Graylog Plugin Parent POM .......................... SKIPPED
[INFO] Graylog Plugin with Web support Parent POM ......... SKIPPED
[INFO] graylog-plugin-archetype ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.363 s
[INFO] Finished at: 2017-02-03T11:43:40-08:00
[INFO] Final Memory: 19M/212M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm
(default-cli) on project graylog-parent: The parameters 'group' for goal
org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm are missing or invalid -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm (default-cli) on project
graylog-parent: The parameters 'group' for goal
org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm are missing or invalid
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
▽
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
▽
<profiles>
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginParameterException: The parameters
'group' for goal org.codehaus.mojo:rpm-maven-plugin:2.1.5:rpm are missing or
invalid
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.populatePluginFields(DefaultMavenPluginManager.java:641)
at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:594)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
> On Jan 31, 2017, at 8:40 PM, Rayees Namathponnan <[email protected]>
> wrote:
>
> Thanks Bill, Will try this
>
>
>
>> On Jan 31, 2017, at 8:38 PM, Bill Murrin <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> In the Getting Started section of the README on
>> https://github.com/Graylog2/graylog-plugin-map-widget
>> <https://github.com/Graylog2/graylog-plugin-map-widget>, it says the
>> following:
>>
>> Getting started
>>
>> This project is using Maven 3 and requires Java 7 or higher.
>>
>> Clone this repository.
>> Run mvn package to build a JAR file.
>> Optional: Run mvn jdeb:jdeb and mvn rpm:rpm to create a DEB and RPM package
>> respectively.
>> Copy generated JAR file in target directory to your Graylog plugin directory.
>> Restart the Graylog.
>>
>> Hope that is what you are looking for.
>> -Bill
>>
>> On Tuesday, January 31, 2017 at 8:47:36 AM UTC-10, Rayees Namathponnan wrote:
>> Hi All,
>>
>> Is there doc with steps to do both build and RPM packing ?
>>
>> Regards,
>> Rayees
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Graylog Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected]
>> <mailto:[email protected]>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/graylog2/51a8e96a-7334-4e0a-83e3-2762414946c2%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/graylog2/51a8e96a-7334-4e0a-83e3-2762414946c2%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> For more options, visit https://groups.google.com/d/optout
>> <https://groups.google.com/d/optout>.
>
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" 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/graylog2/DE2F542D-BC0A-4AA6-B364-F7E73D642539%40gmail.com.
For more options, visit https://groups.google.com/d/optout.