GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Allow to set-up MapStruct for Java projects through the plug-in · Issue #6 · mapstruct/mapstruct-eclipse

Allow to set-up MapStruct for Java projects through the plug-in #6

New issue
Copy link
New issue
Copy link
Open
Open
Allow to set-up MapStruct for Java projects through the plug-in#6
Copy link

Description

@gunnarmorling
gunnarmorling
opened on Jan 22, 2015
Issue body actions

When working with a Maven project for which MapStruct is enabled (e.g. through via maven-processor-plugin), upon import of the project M2E will automatically configure the Eclipse project to run the MapStruct annotation processor.

But for plain "Java Project"s it'd be nice if the plug-in could be used to set up MapStruct. It could like this:

  • Under "Project Properties" have an entry "MapStruct"
  • On that page have a check box "Enable MapStruct for this project"; When checked this should register the annotation processor (AFAIK there is an extension point through which APs can be registered)
  • Allow to specify the processor options through check boxes as well
  • Optionally, have a global preferences pane which can be used to configure default values for the processor options which would be overridden by project-scoped settings

@larswetzer WDYT, would that make sense?

Activity

  1. wetzer commented on Jan 23, 2015

    @wetzer
    wetzer
    on Jan 23, 2015
    Member
    More actions

    Very good idea! I think the features you've listed here can be realized using the Eclipse concept of Project Natures. A MapStruct Project Nature could be linked with the annotation processor.

  2. gunnarmorling commented on Mar 12, 2015

    @gunnarmorling
    gunnarmorling
    on Mar 12, 2015
    MemberAuthor
    More actions

    E.g. this user in https://groups.google.com/forum/#!topic/mapstruct-users/0b-WOfgbLpE would benefit from this feature I guess :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.