Ok i found something which will add the generated classes to the build
location, so now if you use any of the generated classes in your
implementation you wont see the objects underlined in red.

            
           <plugin>                 
                <groupId>org.codehaus.mojo</groupId>                 
                <artifactId>build-helper-maven-plugin</artifactId>              
   
                <executions>                     
                    <execution>                         
                        <id>add-source</id>                         
                        <phase>generate-sources</phase>                         
                        <goals>                             
                            <goal>add-source</goal>                         
                        </goals>                         
                        <configuration>                             
                            <sources>                                 
                               
<source>${basedir}/target/generated/src/main/java</source>                      
       
                            </sources>                         
                        </configuration>                     
                    </execution>                 
                </executions>             
            </plugin> 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-example-builds-in-net-bean-but-java-class-source-shows-error-tp5757912p5757913.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to