You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Giovanni Azua <br...@gmail.com> on 2013/05/07 17:36:47 UTC
project mix Java/Scala source folders issue
Hello,
I have a project where I need to mix Java and Scala and therefore included
the Scala plugin as shown below. The project works, it compiles both Java
and Scala and the Scala test is executed and passes fine. The problem is
again the eclipse plugin does not put the Scala sources folder as part of
the eclipse sources, I think that the sources folder issue was solved
already (I found some posts complaining that the source directory had to be
unique and that two source folders Java and Scala would not work) this
issue was dating back to 2008.
This is really a minor issue but interesting to see whether I am taking the
official path here ...
TIA,
Best regards,
Giovanni
Re: project mix Java/Scala source folders issue
Posted by Ben Caradoc-Davies <Be...@csiro.au>.
Benson, I think this might be a question about configuring
maven-scala-plugin and maven-eclipse-plugin.
Giovanni, the last time I experimented with combined Java/Scala Maven
projects (some time ago), I used a combination of these two techniques:
http://scala-tools.org/mvnsites/maven-scala-plugin/usage_java.html
http://scala-tools.org/mvnsites/maven-scala-plugin/faq.html
Kind regards,
Ben.
On 09/05/13 08:33, Benson Margulies wrote:
> This list cannot help you with any eclipse plugins, and there is
> nothing 'shown below'.
>
>
> On Tue, May 7, 2013 at 11:36 AM, Giovanni Azua<br...@gmail.com> wrote:
>> Hello,
>>
>> I have a project where I need to mix Java and Scala and therefore included
>> the Scala plugin as shown below. The project works, it compiles both Java
>> and Scala and the Scala test is executed and passes fine. The problem is
>> again the eclipse plugin does not put the Scala sources folder as part of
>> the eclipse sources, I think that the sources folder issue was solved
>> already (I found some posts complaining that the source directory had to be
>> unique and that two source folders Java and Scala would not work) this
>> issue was dating back to 2008.
>>
>> This is really a minor issue but interesting to see whether I am taking the
>> official path here ...
>>
>> TIA,
>> Best regards,
>> Giovanni
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Ben Caradoc-Davies <Be...@csiro.au>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: project mix Java/Scala source folders issue
Posted by Benson Margulies <bi...@gmail.com>.
This list cannot help you with any eclipse plugins, and there is
nothing 'shown below'.
On Tue, May 7, 2013 at 11:36 AM, Giovanni Azua <br...@gmail.com> wrote:
> Hello,
>
> I have a project where I need to mix Java and Scala and therefore included
> the Scala plugin as shown below. The project works, it compiles both Java
> and Scala and the Scala test is executed and passes fine. The problem is
> again the eclipse plugin does not put the Scala sources folder as part of
> the eclipse sources, I think that the sources folder issue was solved
> already (I found some posts complaining that the source directory had to be
> unique and that two source folders Java and Scala would not work) this
> issue was dating back to 2008.
>
> This is really a minor issue but interesting to see whether I am taking the
> official path here ...
>
> TIA,
> Best regards,
> Giovanni
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org