Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse fixes #10495

Closed
wants to merge 6 commits into from
Closed

Eclipse fixes #10495

wants to merge 6 commits into from

Commits on Apr 9, 2015

  1. Fix "Plugin execution not covered by lifecycle configuration" in Eclipse

    When the project is imported into Eclipse, the build fails with:
    
      "Plugin execution not covered by lifecycle configuration"
    
    for the maven-antrun-plugin.
    
    According to [1] the solution is to enclose all plugins within the
    "pluginManagement" tag in the POM file.
    
    [1] http://stackoverflow.com/a/13733232/381622
    
    Change-Id: I72fd0fd0b885df1100fc178f8cd70361daa83eab
    dpursehouse committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    1a295f0 View commit details
    Browse the repository at this point in the history
  2. Update Eclipse core prefs

    Eclipse Luna overwrites the prefs file, putting all the settings
    in alphabetical order and removing comments. This causes the prefs
    files to be modified in the git workspace.
    
    Update the file with the version generated by Eclipse to prevent it
    from being modified every time.
    
    No settings values are modified by this change.
    
    Change-Id: I9e245b7614ed0bf34314c8c459da81204aab84bc
    dpursehouse committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    c5eaafe View commit details
    Browse the repository at this point in the history
  3. Set encoding to UTF-8 in Eclipse prefs

    Change-Id: I0237d139c2ee8df04fb12901f2ee4484c2ac9e30
    dpursehouse committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    cfa8caf View commit details
    Browse the repository at this point in the history
  4. Fix "Error loading property file" in Eclipse

    Prefix property file paths with "${basedir}/" as described in [1].
    
    [1] http://stackoverflow.com/a/23481166/381622
    
    Change-Id: I3a1b3d813c0358f6aa29c9f81e2913900f9c9728
    dpursehouse committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    00780f0 View commit details
    Browse the repository at this point in the history
  5. Fix duplicate declarations of maven-resources-plugin in pom.xml

    Maven reports the following warning at the beginning of the build:
    
      'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found
      duplicate declaration of plugin org.apache.maven.plugins:maven-resources-plugin
    
      It is highly recommended to fix these problems because they threaten the stability
      of your build.
    
      For this reason, future Maven versions might no longer support building such malformed
      projects.
    
    The maven-resources-plugin is declared three times, each with a different
    <execution> section.
    
    Consolidate the <execution> sections from the duplicate declarations under
    the <executions> section in a single declatation of the plugin.
    
    Change-Id: I16afcc0a36c118098b69379d182e1cd43df0d2be
    dpursehouse committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    5df705b View commit details
    Browse the repository at this point in the history
  6. Fix another instance of "Error loading property file" in Eclipse

    Change-Id: I45c454789886a41ea0cf3b40f7dafe5dd5923d77
    dpursehouse committed Apr 9, 2015
    Configuration menu
    Copy the full SHA
    31f507f View commit details
    Browse the repository at this point in the history