Scalac --optimised and maven buidl

Dear all,I am building a maven project containing both Scala and Java classes. Which setting should I add to make the scalac optimise java bytecode?
Best RegardsEdmondo

Re: Scalac --optimised and maven buidl

scalac only generates bytecode for SClaa files.   You can set the arguments to scalac using the "args" setting of the plugin:
http://scala-tools.org/mvnsites/maven-scala-plugin/compile-mojo.html#args
Something like:  

      <plugin>
        <groupId>org.scala-tools</groupId>
        <artifactId>maven-scala-plugin</artifactId>
        <configuration>
          <args>
            <arg>-optimise</arg>

          </args>
        </configuration>
      </plugin>

On Mon, Jan 23, 2012 at 3:04 AM, Edmondo Porcu <edmondo [dot] porcu [at] gmail [dot] com> wrote:
Dear all,I am building a maven project containing both Scala and Java classes. Which setting should I add to make the scalac optimise java bytecode?
Best Regards Edmondo

Copyright © 2013 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland