public class PomPropertiesUtil extends Object
pom.properties
file
in META-INF/maven/${groupId}/${artifactId}
.Constructor and Description |
---|
PomPropertiesUtil() |
Modifier and Type | Method and Description |
---|---|
void |
createPomProperties(org.apache.maven.project.MavenProject project,
org.codehaus.plexus.archiver.Archiver archiver,
File customPomPropertiesFile,
File pomPropertiesFile,
boolean forceCreation)
Creates the pom.properties file.
|
void |
createPomProperties(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
org.codehaus.plexus.archiver.Archiver archiver,
File customPomPropertiesFile,
File pomPropertiesFile,
boolean forceCreation)
Deprecated.
|
@Deprecated public void createPomProperties(org.apache.maven.execution.MavenSession session, org.apache.maven.project.MavenProject project, org.codehaus.plexus.archiver.Archiver archiver, File customPomPropertiesFile, File pomPropertiesFile, boolean forceCreation) throws IOException
createPomProperties(MavenProject, Archiver, File, File, boolean)
session
- MavenSession
project
- MavenProject
archiver
- Archiver
customPomPropertiesFile
- optional custom pom properties filepomPropertiesFile
- The pom properties file.forceCreation
- force creation true/falseorg.codehaus.plexus.archiver.ArchiverException
- archiver exception.IOException
- IO exception.public void createPomProperties(org.apache.maven.project.MavenProject project, org.codehaus.plexus.archiver.Archiver archiver, File customPomPropertiesFile, File pomPropertiesFile, boolean forceCreation) throws IOException
project
- MavenProject
archiver
- Archiver
customPomPropertiesFile
- optional custom pom properties filepomPropertiesFile
- The pom properties file.forceCreation
- force creation true/falseorg.codehaus.plexus.archiver.ArchiverException
- archiver exception.IOException
- IO exception.Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.