Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-45

does not detect version for plugin configured in profiles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.0-alpha-4
    • Standard Rules
    • None

    Description

      Here is my POM.xml :

      ...
      <profiles>
      <profile>
      <id>cxf</id>
      <activation>
      <activeByDefault>true</activeByDefault>
      </activation>
      <build>
      <plugins>
      <plugin>
      <groupId>org.apache.cxf</groupId>
      <artifactId>cxf-codegen-plugin</artifactId>
      <version>2.05.-incubator</version>
      ...

      [WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequirePluginVersions failed with message:
      Some plugins are missing valid versions:(LATEST RELEASE are not allowed )
      org.apache.cxf:cxf-codegen-plugin. The version currently in use is 2.0.5-incubator

      Attachments

        Activity

          People

            ndeloof nicolas de loof
            ndeloof nicolas de loof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: