Maven compile with jdk1.5

i was compiling my source code with Maven2 it failed because maven was using -source 1.3 so after few googling i ended up with the following solution: (source)

<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0</version>
<configuration>
<source>1.5 </source>
<target>1.5 </target>
</configuration>
</plugin>
</plugins>
</build>

now its working quite fine… 🙂

Advertisements

4 responses to “Maven compile with jdk1.5

  1. Great…:d

    What’s wrong, your last 2 post there i wrote 2 comments but it was not published. What’s the problem?

  2. Why don’t you share your daily life with us?

  3. nothing to share actually… 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

my tweets

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

October 2006
S S M T W T F
« Sep   Nov »
 123456
78910111213
14151617181920
21222324252627
28293031  

Flickr Photos

RSS my shared links on google reader

  • An error has occurred; the feed is probably down. Try again later.
%d bloggers like this: