facebook

Imported Maven Projects Do Not Build

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #301800 Reply

    When I import a Maven project, neither “Build All”, “Build Project”, “Clean…” or “Build Automatically” will build the “install” goal. The only way I can get that (or any other goal, for that matter) to build is to right-click the “pom.xml” file and trigger a Maven build of the desired goal. This is totally unacceptable.

    How can I get MyEclipse to treat Maven projects like ANT projects (in that they build when resources are changed OR cleaned)?

    #301835 Reply

    You can add this to your project:
    1. Open project proprties. Open Builders page.
    2. Click New… Select “Maven Build”
    3. Configure the build settings as you need. Notice the “Refresh” page – you might want to synchronize MyEclipse workbench state with file system state.

    #301843 Reply

    I had tried that but the project just kept building and building and building, over and over again. It would complete the build then in 5 -10 seconds started building again and again; I was making NO changes to the project but it just kept building.

    #301844 Reply

    Ok, I see the problem. I was wrong – step 3 (Refresh tab) should be omitted. I will open a problem report so we solve the problem.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Imported Maven Projects Do Not Build

You must be logged in to post in the forum log in