Maven 2 depencies in classpath

Hi,

I have downloaded IntelliJ 6.0.4 trial version, and trying to set up Maven 2 for a project. All Maven goals are running properly, however I cannot get maven dependencies in class path. i.e. in the code all the classes from dependencies are marked RED. Please tell me, if I am missing anything in the setup?

Thanks

2 comments
Comment actions Permalink

If you get the Maven Reloaded plugin, it will analyze your POM files and set any dependencies into the classpath automatically.

0
Comment actions Permalink

Hi,

I have downloaded IntelliJ 6.0.4 trial version, and trying to set up
Maven 2 for a project. All Maven goals are running properly, however I
cannot get maven dependencies in class path. i.e. in the code all the
classes from dependencies are marked RED. Please tell me, if I am
missing anything in the setup?


You'll have to use "mvn idea:idea" to generate your project. Alternatively,
there is a Maven Reloaded plugin, which does much of the same, but I haven't
used it lately.


Thanks



0

Please sign in to leave a comment.