I had this issue when I migrated from intellij idea 4 to 5.
Maven 2 is actually doing the best thing ... it can.
4 calls its jdk by default java version1.5.0_08 and 5 calls it by
default 1.5. So maven2 takes (if you don't override it with
configurationjdkName...) java version1.5.0_08 in 4 and
Fair enough, but the message does say:
jdkName is not set, using [java version1.5.0_08] as default.
Even when it uses 1.5, which is confusing. How does maven know
which version of idea I am using?
On 10/12/06, Geoffrey De Smet [EMAIL PROTECTED] wrote:
I had this issue when I migrated from
Hello,
When I followed the tutorial at
http://maven.apache.org/guides/getting-started/index.html, after I ran
mvn idea:idea and opened the project in idea, the project jdk was not
set. Is there something I can do in maven to have the project jdk
said.
Maven says this:
jdkName is not set, using [java version1.5.0_08] as default.
But then if you look at the .ipr that it generates, you see this:
component name=ProjectRootManager version=2
assert-keyword=true jdk-15=true project-jdk-name=1.5 /
So I renamed by jdk to 1.5 in IDEA and it works