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 — [scala] Make scala submodules more IDE-friendly · Issue #2763 · pmd/pmd

[scala] Make scala submodules more IDE-friendly #2763

New issue
Copy link
New issue
Copy link
Open
Open
[scala] Make scala submodules more IDE-friendly#2763
Copy link
Labels
an:enhancementAn improvement on existing features / rules

Description

@oowekyala
oowekyala
opened on Sep 6, 2020
Issue body actions

At the moment I can't import the pmd scala modules into Intellij from the pom.xml, and get them to build without some manual configuration (eg, configuring paths to the pmd-scala-common source tree).

It would be nice to make the import work properly, maybe using a profile, or the build-helper-maven-plugin.

I don't whether it works for eclipse users, @adangel ?

Affects PMD Version: Since #2547

Activity

  1. oowekyala
    added
    an:enhancementAn improvement on existing features / rules
    on Sep 6, 2020
  2. adangel commented on Jul 22, 2022

    @adangel
    adangel
    on Jul 22, 2022
    Member
    More actions

    I've updated our guideline (https://github.com/pmd/pmd/wiki/Setup-IDE). For IntelliJ IDEA the scala modules seem to work out of the box. For eclipse, I've added a paragraph to the "Known Issues" - that's a bit of manual project configuration, then it mostly works.

    I'm not closing this issue yet, because it's not really nice yet. The issues arises from the need to cross-compile against different scala versions. Maybe there is a different way to solve this. E.g. moving the code from pmd-scala-common to the "main" version pmd-scala_2.13 and let pmd_scala_2.12 reuse (like now) the code not from pmd-scala-common but fom pmd-scala_2.13 instead. That way we would use pmd-scala_2.13 as the "main" module and mostly ignore pmd-scala_2.12 (which would then be validated during the maven build only).

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

    an:enhancementAn improvement on existing features / rules

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — 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.