org.apache.maven.archiver
Class PomPropertiesUtil
java.lang.Object
org.apache.maven.archiver.PomPropertiesUtil
public class PomPropertiesUtil
- extends java.lang.Object
This class is responsible for creating the pom.properties
file.
Method Summary |
void |
createPomProperties(org.apache.maven.project.MavenProject project,
org.codehaus.plexus.archiver.Archiver archiver,
java.io.File pomPropertiesFile,
boolean forceCreation)
Creates the pom.properties file. |
private void |
createPropertyFile(java.util.Properties properties,
java.io.File outputFile,
boolean forceCreation)
|
private boolean |
sameContents(java.util.Properties props,
java.io.File file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GENERATED_BY_MAVEN
private static final java.lang.String GENERATED_BY_MAVEN
- See Also:
- Constant Field Values
PomPropertiesUtil
public PomPropertiesUtil()
sameContents
private boolean sameContents(java.util.Properties props,
java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
createPropertyFile
private void createPropertyFile(java.util.Properties properties,
java.io.File outputFile,
boolean forceCreation)
throws java.io.IOException
- Throws:
java.io.IOException
createPomProperties
public void createPomProperties(org.apache.maven.project.MavenProject project,
org.codehaus.plexus.archiver.Archiver archiver,
java.io.File pomPropertiesFile,
boolean forceCreation)
throws org.codehaus.plexus.archiver.ArchiverException,
java.io.IOException
- Creates the pom.properties file.
- Throws:
org.codehaus.plexus.archiver.ArchiverException
java.io.IOException