Package org.apache.maven.shared.archiver
Class PomPropertiesUtil
java.lang.Object
org.apache.maven.shared.archiver.PomPropertiesUtil
This class is responsible for creating the
pom.properties
file
in META-INF/maven/${groupId}/${artifactId}
.- Version:
- $Id: $Id
- Author:
- slachiewicz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createPomProperties
(String groupId, String artifactId, String version, org.codehaus.plexus.archiver.Archiver archiver, Path customPomPropertiesFile, Path pomPropertiesFile) void
createPomProperties
(org.apache.maven.api.Project project, org.codehaus.plexus.archiver.Archiver archiver, Path customPomPropertiesFile, Path pomPropertiesFile) Creates the pom.properties file.
-
Constructor Details
-
PomPropertiesUtil
public PomPropertiesUtil()
-
-
Method Details
-
createPomProperties
public void createPomProperties(org.apache.maven.api.Project project, org.codehaus.plexus.archiver.Archiver archiver, Path customPomPropertiesFile, Path pomPropertiesFile) throws IOException Creates the pom.properties file.- Parameters:
project
-Project
archiver
-Archiver
customPomPropertiesFile
- optional custom pom properties filepomPropertiesFile
- The pom properties file.- Throws:
org.codehaus.plexus.archiver.ArchiverException
- archiver exception.IOException
- IO exception.
-
createPomProperties
public void createPomProperties(String groupId, String artifactId, String version, org.codehaus.plexus.archiver.Archiver archiver, Path customPomPropertiesFile, Path pomPropertiesFile) throws IOException - Throws:
IOException
-