Skip to content

JSON Schema Maven plugin triggers Maven Project Builder endless #538

@nimo23

Description

@nimo23

Using this plugin has the follwing issue:

Eclipse repeats the Refresh->Rebuild cycle approx. every 10 seconds (by calling Maven Project Builder, triggered by the JSON Schema Maven plugin in the background), even if no files are changed or open—only the project itself is open.

JSON Schema Maven plugin should not poll a Refresh->Rebuild-cycle to the Eclipse project, instead the plugin should be called only at build time.

Reproducer:

eclipse-reproducer.zip

  1. Import the Maven project into Eclipse
  2. go to pom.xml->right click->Maven->Update Project
  3. go to Eclipse Preferences->General->Workspace-> enable Refresh using native hooks or polling
  4. go to Tab Progress
  5. wait approx. 5-15 seconds

then you will see that a refresh and a rebuild happens:

Image
  1. wait another 5-15 seconds, it happens again and again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions