Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2391

improve validation of POM elements

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0-alpha-3
    • Component/s: POM
    • Labels:
      None

      Description

      this needs to go beyond basic construction.

      In particular, the group and artifact ID should always be constrained to valid characters.

      Perhaps this could be done via the modello model.

        Issue Links

          Activity

          Hide
          bentmann Benjamin Bentmann added a comment -

          Validation has been strengthened, whatever more can be done should be filled as separate issues.

          Show
          bentmann Benjamin Bentmann added a comment - Validation has been strengthened, whatever more can be done should be filled as separate issues.
          Hide
          brettporter Brett Porter added a comment -

          I believe this should be done via the modello model. It would be worth reusing something for this (particularly in light of JSR 303). commons-validator may be a good alternative for now (not sure using the stuff from xwork is appropriate).

          Show
          brettporter Brett Porter added a comment - I believe this should be done via the modello model. It would be worth reusing something for this (particularly in light of JSR 303). commons-validator may be a good alternative for now (not sure using the stuff from xwork is appropriate).

            People

            • Assignee:
              bentmann Benjamin Bentmann
              Reporter:
              brettporter Brett Porter
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development