Shiro
  1. Shiro
  2. SHIRO-335

Build with Maven 3 generates a multitude of warnings.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      We see multiple warnings like this: (one for each module)

      [WARNING] Some problems were encountered while building the effective model for org.apache.shiro:shiro-core:bundle:1.2.0-SNAPSHOT
      [WARNING] The expression $

      {scm.url}

      is deprecated. Please use $

      {project.scm.url}

      instead.

      And then we also see:

      [WARNING] Some problems were encountered while building the effective model for org.apache.shiro:shiro-features:pom:1.2.0-SNAPSHOT
      [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 74, column 21

      and

      [WARNING] Some problems were encountered while building the effective model for org.apache.shiro.samples:samples-spring:war:1.2.0-SNAPSHOT
      [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:dependency-maven-plugin is missing. @ line 72, column 21

      These are simple things that should be fixable with some minor pom updates and shouldn't break compatibility with Maven 2.

        Activity

        Hide
        Jared Bunting added a comment -

        Note, this is with maven 3.0.3.

        Show
        Jared Bunting added a comment - Note, this is with maven 3.0.3.
        Hide
        Jared Bunting added a comment -

        I have committed a fix for this and am satisfied with the results. Tested with both Maven 3.0.3 and Maven 2.2.1. I want to leave this open for a day or two to make sure that there are no objections to what I've done.

        Show
        Jared Bunting added a comment - I have committed a fix for this and am satisfied with the results. Tested with both Maven 3.0.3 and Maven 2.2.1. I want to leave this open for a day or two to make sure that there are no objections to what I've done.
        Hide
        Les Hazlewood added a comment -

        Ah - thanks for this. Those were annoying! I have no objections to resolution.

        Show
        Les Hazlewood added a comment - Ah - thanks for this. Those were annoying! I have no objections to resolution.
        Hide
        Les Hazlewood added a comment -

        Resolving to prep for the 1.2 release. If you think this should be reopened, please feel free to do so.

        Show
        Les Hazlewood added a comment - Resolving to prep for the 1.2 release. If you think this should be reopened, please feel free to do so.
        Hide
        Les Hazlewood added a comment -

        Closing with the 1.2.0 release.

        Show
        Les Hazlewood added a comment - Closing with the 1.2.0 release.

          People

          • Assignee:
            Jared Bunting
            Reporter:
            Jared Bunting
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development