Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2961

Eliminate Maven build warnings "build.plugins.plugin.version ... is missing" in archetypes

    Details

      Description

      The following Maven build warnings need to be eliminated by specifying a <version>> element (for the maven-deploy-plugin, maven-install-plugin, and maven-release-plugin) in the pom.xml descriptors for the Liferay Faces archetypes:

      [INFO] Scanning for projects...
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for com.liferay.faces.archetype:com.liferay.faces.archetype.bridge.ext.parent:pom:2.0.0-SNAPSHOT
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 21, column 12
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-install-plugin is missing. @ line 27, column 12
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for com.liferay.faces.archetype:com.liferay.faces.archetype.bridge.ext.parent:pom:3.0.0-SNAPSHOT
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 21, column 12
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-install-plugin is missing. @ line 27, column 12
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for com.liferay.faces.archetype:com.liferay.faces.archetype.bridge.ext.parent:pom:4.0.0-SNAPSHOT
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 22, column 12
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-install-plugin is missing. @ line 28, column 12
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for com.liferay.faces.archetype:com.liferay.faces.archetype.bridge.ext.parent:pom:5.0.0-SNAPSHOT
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 22, column 12
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-install-plugin is missing. @ line 28, column 12
      [WARNING] 
      [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
      [WARNING] 
      [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
      [WARNING] 
      

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: