Create new project from external model - Maven

Hi.

I was pleased to see that the 7.0M2 release should support importing Maven projects, but I can't make it work.

I'm currently working on a project that uses Maven 1.1. When running the "New Project Wizard" to create a new IntelliJ project based on the maven project, no projects are shown in the "Select Maven projects to import". Have anyone else got this problem, or does this feature only support Maven 2?

André

5 comments
Comment actions Permalink

Andre M.Bonkowski wrote:

the maven project, no projects are shown in the "Select Maven
projects to import". Have anyone else got this problem, or does this
feature only support Maven 2?


Maven 2 I'm afraid.

0
Comment actions Permalink

I am using Maven 2.0 and have the same problem.

0
Comment actions Permalink

What are the restrictions/requirements for this to work? Yesterday I was able to setup my maven project. Today I was doing other things and had to clean up my local repository. When I tried to go back into my maven project nothing was found.

This project has a parent pom that was removed from my local repository. I tried many times to recreate the project but Idea could not find anything. This was confusing as I had no problems yesterday. Once I tried to repopulate my local repository the maven project started working again.

It might be nice to have some hints as to why projects are not being found when creating or re-opening maven projects.

What I learned, is that before Idea can find the projects, I have to have built it at least once manually.

0
Comment actions Permalink

I was unable to get it to work for 7348, but it worked for 7346.

0
Comment actions Permalink

What kind of problem do you exactly have?

0

Please sign in to leave a comment.