maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Feilpe Vieira Silva <fgau...@gmail.com>
Subject Re: javac: target release 1.1 conflicts with default source release 1.5
Date Fri, 05 Nov 2004 19:23:44 GMT
I got the solution: 

I write a file called "build.properties" at the project root with th
following contents:

maven.compile.memoryInitialSize 128
maven.compile.fork yes
maven.compile.optimize yes
maven.compile.target 1.5


done, no more problems..


On Fri, 5 Nov 2004 11:50:42 -0700, Charles Daniels <cjd4@yahoo.com> wrote:
> > -----Original Message-----
> 
> 
> > From: Christopher L Merrill [mailto:chris@webperformanceinc.com]
> > Sent: Friday, November 05, 2004 11:46 AM
> > To: Maven Users List
> > Subject: Re: javac: target release 1.1 conflicts with default
> > source release 1.5
> >
> > Feilpe Vieira Silva wrote:
> > > how can I fix that problem?
> >
> > I edited the maven-java-plugin-1.4.jar file...
> >
> > Open the the plugin.properties file and change the value of
> > the maven.compile.target property to 1.5.
> >
> > Maybe this isn't the 'best' way to fix it, but it worked for me.
> 
> It's definitely not the best way to fix it.  You can override default
> values for plugin properties by adding the property to your project's
> project.properties file.
> 
> >
> > --
> > --------------------------------------------------------------
> 
> 
> > -----------
> > Chris Merrill                  |  http://www.webperformanceinc.com
> > Web Performance Inc.           |
> > http://www.webperformancemonitoring.net
> >
> > Website Load Testing, Stress Testing, and Performance
> > Monitoring Software
> > --------------------------------------------------------------
> > -----------
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message