Class PomPropertiesUtil


  • public class PomPropertiesUtil
    extends java.lang.Object
    This class is responsible for creating the pom.properties file.
    Version:
    $Id$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createPomProperties​(MavenSession session, MavenProject project, Archiver archiver, java.io.File customPomPropertiesFile, java.io.File pomPropertiesFile, boolean forceCreation)
      Creates the pom.properties file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PomPropertiesUtil

        public PomPropertiesUtil()
    • Method Detail

      • createPomProperties

        public void createPomProperties​(MavenSession session,
                                        MavenProject project,
                                        Archiver archiver,
                                        java.io.File customPomPropertiesFile,
                                        java.io.File pomPropertiesFile,
                                        boolean forceCreation)
                                 throws java.io.IOException
        Creates the pom.properties file.
        Parameters:
        session - MavenSession
        project - MavenProject
        archiver - Archiver
        customPomPropertiesFile - optional custom pom properties file
        pomPropertiesFile - The pom properties file.
        forceCreation - force creation true/false
        Throws:
        ArchiverException - archiver exception.
        java.io.IOException - IO exception.