Class PomPropertiesUtil

java.lang.Object
org.apache.maven.archiver.PomPropertiesUtil

public class PomPropertiesUtil extends Object
This class is responsible for creating the pom.properties file in META-INF/maven/${groupId}/${artifactId}.
Version:
$Id: $Id
Author:
slachiewicz
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createPomProperties(org.apache.maven.api.Session session, String groupId, String artifactId, String version, org.codehaus.plexus.archiver.Archiver archiver, Path customPomPropertiesFile, Path pomPropertiesFile, boolean forceCreation)
     
    void
    createPomProperties(org.apache.maven.api.Session session, org.apache.maven.api.Project project, org.codehaus.plexus.archiver.Archiver archiver, Path customPomPropertiesFile, Path 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 Details

    • PomPropertiesUtil

      public PomPropertiesUtil()
  • Method Details

    • createPomProperties

      public void createPomProperties(org.apache.maven.api.Session session, org.apache.maven.api.Project project, org.codehaus.plexus.archiver.Archiver archiver, Path customPomPropertiesFile, Path pomPropertiesFile, boolean forceCreation) throws IOException
      Creates the pom.properties file.
      Parameters:
      session - Session
      project - Project
      archiver - Archiver
      customPomPropertiesFile - optional custom pom properties file
      pomPropertiesFile - The pom properties file.
      forceCreation - force creation true/false
      Throws:
      org.codehaus.plexus.archiver.ArchiverException - archiver exception.
      IOException - IO exception.
    • createPomProperties

      public void createPomProperties(org.apache.maven.api.Session session, String groupId, String artifactId, String version, org.codehaus.plexus.archiver.Archiver archiver, Path customPomPropertiesFile, Path pomPropertiesFile, boolean forceCreation) throws IOException
      Throws:
      IOException