Re: [graylog2] Graylog build and package

2017-02-04 Thread Jochen Schalanda
Hi Rayees,

the Graylog OS packages (DEB and RPM) are built from this 
repository: https://github.com/Graylog2/fpm-recipes/

Cheers,
Jochen

On Friday, 3 February 2017 20:46:26 UTC+1, Rayees Namathponnan wrote:
>
> 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 
>

-- 
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 graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/4191adfd-e48c-4504-a330-f9b56ed9ef2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [graylog2] Graylog build and package

2017-02-03 Thread Rayees Namathponnan
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)

▽


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  
> wrote:
> 
> Thanks Bill, Will try this
> 
> 
> 
>> On Jan 31, 2017, at 8:38 PM, Bill Murrin > > wrote:
>> 
>> In the Getting Started section of the README on 
>> 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 

[graylog2] Graylog build and package

2017-01-31 Thread Rayees Namathponnan
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 graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/88AA4891-9B57-4751-8877-419178293026%40gmail.com.
For more options, visit https://groups.google.com/d/optout.