[EMAIL PROTECTED] wrote on Monday, August 06, 2007 9:15 AM: > Quoting Klaus Botschen <[EMAIL PROTECTED]>: > >> i can't find the reason why i get such strange entries in the >> classpath file: >> >> <classpathentry kind="var" >> path="M2_REPOant/ant-optional/1.5.1/ant-optional-1.5.1.jar"/> >> <classpathentry kind="var" > path="M2_REPOantlr/antlr/2.7.6/antlr-2.7.6.jar"/> >> <classpathentry kind="var" >> path="M2_REPOaopalliance/aopalliance/1.0/aopalliance-1.0.jar"/> >> <classpathentry kind="var" >> path="M2_REPOasm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar"/> > Hello Klaus, > classpath entries similar to those mentioned above are created by > "maven eclipse:eclipse", the Maven dependencies are mirrored into the > corresponding <classpathentry ....> elements. However, you need to > define the classpath variable "M2_REPO" in the Eclipse Build > preferences, and also in the Eclipse Maven preferences. Both values > should > point to your > local Maven repository (normally located in the hidden directory > ".m2/repository" in your home directory).
No, they are weird, because a slash is missing after M2_REPO: <classpathentry kind="var" path="M2_REPOasm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar"/> vs. <classpathentry kind="var" path="M2_REPO/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar"/> However, I've never seen the eclipse plugin generating wrong paths like this. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
