Maven
  1. Maven
  2. MNG-2391

improve validation of POM elements

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0-alpha-3
    • Component/s: POM
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      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
          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
          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).
          Hide
          Benjamin Bentmann added a comment -

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: