Hello,
I cloned the Graylog source code from Github, and I'm trying to make
customizations to it. I made some customizations on the filters, and now
I'm trying to add the rest apis. I'm working off of branch 1.3, and I was
able to import the subfolders as Maven projects on Eclipse except for
graylog2-rest-client. It imported correctly, but I see a bunch of errors on
a lot of the classes. A lot of them have "import
org.graylog2.restroutes.generated.routes;" but I don't see this package on
the source code at all. I also see some lines on the pom.xml (see below)
that might be referring to it, but I'm not really sure. My question is how
do I resolve this dependency? I've tried running mvn compile and generate
sources, and both ran without errors, but the issue wasn't fixed.
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<id>GenerateSources</id>
<goals>
<goal>java</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<sourceRoot>
${project.build.directory}/generated-sources</sourceRoot>
<arguments>
<argument>
${project.build.directory}/generated-sources</argument>
</arguments>
<classpathScope>compile</classpathScope>
<includePluginDependencies>true</
includePluginDependencies>
<mainClass>
org.graylog2.restroutes.GenerateRoutes</mainClass>
</configuration>
</execution>
</executions>
--
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/65b526af-ac67-4718-9145-1a89736996d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.