In your pom.xml file:

 <plugin>
        <groupId>org.scala-tools</groupId>
        <artifactId>maven-scala-plugin</artifactId>
        <version>2.9</version>
        <executions>
          <execution>
            <goals>
              <goal>compile</goal>
              <goal>testCompile</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <jvmArgs>
            <jvmArg>-Xmx1024m</jvmArg>
          </jvmArgs>
          <scalaVersion>${scala.version}</scalaVersion>
        </configuration>
      </plugin>

<plugin>
        <groupId>org.scala-tools</groupId>
        <artifactId>maven-scala-plugin</artifactId>
        <configuration>
          <jvmArgs>
            <jvmArg>-Xmx1024m</jvmArg>
          </jvmArgs>

          <scalaVersion>${scala.version}</scalaVersion>
        </configuration>
      </plugin>

Scalac doesn't obey MAVEN_OPTS

On Fri, Mar 20, 2009 at 2:35 PM, Charles F. Munat <[email protected]> wrote:

>
> Suddenly, my Lift app won't compile. Maven complains that it is out of
> heap space. I have set Maven with MAVEN_OPTS=-Xmx768M -- which should be
> doubling the heap space. No effect.
>
> I removed all the code I added since the last time it compiled. No effect.
>
> What could possibly be causing this? I'm completely at a loss...
>
> Chas.
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to