Package org.apache.maven.archiver
Class PomPropertiesUtil
- java.lang.Object
-
- org.apache.maven.archiver.PomPropertiesUtil
-
public class PomPropertiesUtil extends Object
This class is responsible for creating thepom.properties
file inMETA-INF/maven/${groupId}/${artifactId}
.
-
-
Constructor Summary
Constructors Constructor Description PomPropertiesUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createPomProperties(MavenSession session, MavenProject project, Archiver archiver, File customPomPropertiesFile, File pomPropertiesFile, boolean forceCreation)
Creates the pom.properties file.
-
-
-
Method Detail
-
createPomProperties
public void createPomProperties(MavenSession session, MavenProject project, Archiver archiver, File customPomPropertiesFile, File pomPropertiesFile, boolean forceCreation) throws IOException
Creates the pom.properties file.- Parameters:
session
-MavenSession
project
-MavenProject
archiver
-Archiver
customPomPropertiesFile
- optional custom pom properties filepomPropertiesFile
- The pom properties file.forceCreation
- force creation true/false- Throws:
ArchiverException
- archiver exception.IOException
- IO exception.
-
-