Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15132

Have Maven projects automatically apply project defined code style, formatting and templates

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • LATER
    • None
    • maven
    • None

      Very often we need to re-import Maven projects, and m2 reconfigures it almost all correctly. Latest Eclipse even auto-shares the git repository, which solved one very annoying and repetitive step, but there is one left:

      most of our projects use a custom formatting rule, code cleanup rules, and templates to generate some common elements like the project specific copyright headers.

      For example Hibernate recommends to download three files from:
      https://community.jboss.org/wiki/ContributingToHibernateUsingEclipse

      these need to be imported in eclipse, and applied to each project.

      Nowadays I need to re-apply these each and every time M2 needs to reconfigure the project; it would be absolutely amazing if I could commit these three files in the project and refer to them from my pom.xml?

      We already have something like that working for checkstyle: m2 detects the need to download a plugin, and applies the custom rules. But that's not enough.

      Benefit:
      not just our own time, but also make life of each and every occasional contributor much easier to get started.

            Unassigned Unassigned
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: