Git Product home page Git Product logo

Comments (9)

ajithprasadanand avatar ajithprasadanand commented on August 16, 2024
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <version>1.10</version>
            <executions>
                <execution>
                    <id>add-source</id>
                    <phase>generate-sources</phase>
                    <goals>
                        <goal>add-source</goal>
                    </goals>
                    <configuration>
                        <sources>
                            <source>src/main/scala</source>
                             <!-- Missing generated-sources -->    
			<source>${project.build.directory}/generated-sources</source> 
                      </sources>
                    </configuration>
                </execution>

from kafka-streams-examples.

mjsax avatar mjsax commented on August 16, 2024

@ajithprasadanand Thanks for reporting this issue. It's a little unclear to me what the problem is. What are you trying to do? What is the error (full output) you get? What branch are you referring to?

from kafka-streams-examples.

ajithprasadanand avatar ajithprasadanand commented on August 16, 2024

@mjsax Sorry for the late reply. I am trying to "Maven build/install" the app from within eclipse. The errors are "compilation errors" on all the classes which imports Avro generated sources. I am referring to the Master.

from kafka-streams-examples.

mjsax avatar mjsax commented on August 16, 2024

Eclipse cannot handle this plugin. However, it should be sufficient to do a mvn package on command line a single time to generate the required AVRO class files. Afterwards, Eclipse should be able to pick up those files.

from kafka-streams-examples.

ajithprasadanand avatar ajithprasadanand commented on August 16, 2024

@mjsax Thanks for your reply. Correct me please if I am wrong.The mvn compiled classes were already present in generated-sources but the IDE was not picking it. I had to add the following line in the pom:
${project.build.directory}/generated-sources

<plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>1.10</version>
                <executions>
                    <execution>
                        <id>add-source</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>add-source</goal>
                        </goals>
                        <configuration>
                            <sources>
                                <source>src/main/scala</source>
				<source>${project.build.directory}/generated-sources</source>
                            </sources>
                        </configuration>
                    </execution>

Thanks for your time.

from kafka-streams-examples.

mjsax avatar mjsax commented on August 16, 2024

I see. Did not look into the details -- just remember from the past that there was an issue like this. If the change fixes the Eclipse setup, it would be great if you could contribute a PR :) Might be best to open a PR against 3.3.0-post branch and we can merge it into all other branches from there.

from kafka-streams-examples.

ajithprasadanand avatar ajithprasadanand commented on August 16, 2024

from kafka-streams-examples.

mjsax avatar mjsax commented on August 16, 2024

PR: #99

from kafka-streams-examples.

mjsax avatar mjsax commented on August 16, 2024

Fixed via #102

from kafka-streams-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.