Thank you! Got it working after executing the maven commands specified on 
that file.

On Tuesday, May 10, 2016 at 2:25:10 AM UTC-7, Jochen Schalanda wrote:
>
> Hi Trisha,
>
> the classes in the org.graylog2.restroutes.generated.routes package are 
> being automatically generated when running Maven (using the Maven Exec 
> plugin). Please take a look at the .travis.yml file on the 1.3 branch (
> https://github.com/Graylog2/graylog2-server/blob/1.3/.travis.yml) to see 
> how Graylog 1.x has been built.
>
> Cheers,
> Jochen
>
> On Monday, 9 May 2016 20:39:28 UTC+2, Trisha Funtanilla wrote:
>>
>> 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/75378175-164e-448a-96b3-9aa1346b16d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to