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 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 "<configuration><jdkName>...") "java version1.5.0_08" in 4 and "1.5" in 5. The fun starts when you've migrated from idea 4 to 5: you could be in 5 with a name of "java version1.5.0_08", because that name was imported from 4. Not sure what happens in the new idea 6 though, I would expect it to behave like 5. Paul Barry wrote, On 2006-10-11 10:20 PM: > 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 now. But that > message should porbably be changed to read: > > jdkName is not set, using [1.5] as default. > > > > On 10/11/06, Paul Barry <[EMAIL PROTECTED]> wrote: >> 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. >> -- With kind regards, Geoffrey De Smet --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
