I also tried to build in eclipse recently and discovered that I also had to
add some of the generated-sources and generated-test-sources directories to
the build path. You can do this by looking at the project in the package
explorer, right-click those folders and then use the "Build Path" menu
item.

- J

On Thu, Feb 5, 2015 at 8:52 AM, Niels Basjes <[email protected]> wrote:

> You must make sure you have Maven support in your Eclipse.
> The pom.xml file contains all Java dependencies for the project.
> The error you showed seems to indicate that these dependencies have not
> been imported.
>
> Niels
>
> On Thu, Jan 22, 2015 at 11:08 PM, Matan Shukry <[email protected]>
> wrote:
>
> > Hi, thought i'll try and contribute some code to avro.
> > I checked out the code
> >
> > svn checkout https://svn.apache.org/repos/asf/avro/trunk/ avro-trunk
> >
> >
> > then added the code to eclipse. However, I am getting compile errors in
> > eclipse, seems as if dependencies aren't working. an example error:
> >
> > "The import org.apache.maven cannot be resolved"
> >
> > if it matters, in file
> >
> >
> /avro-trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/AbstractAvroMojo.java
> >
> > What am I missing here?
> >
>
>
>
> --
> Best regards / Met vriendelijke groeten,
>
> Niels Basjes
>

Reply via email to