Changed readonly outputDirectory to ampFinalDir

Fixes Issue 146


git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@704 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
rgauss 2013-10-23 14:18:27 +00:00
parent 7b1d3cca7c
commit 3f2b3e8dc5

View File

@ -1,12 +1,7 @@
package org.alfresco.maven.plugin;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Set;
import org.alfresco.maven.plugin.archiver.AmpArchiver;
@ -79,13 +74,12 @@ public class AmpMojo extends AbstractMojo {
protected boolean includeDependencies;
/**
* Directory the build produces the AMP file in
* Directory of the final generated AMP
*
* @parameter default-value="${project.build.directory}"
* @parameter property="maven.alfresco.ampFinalDir" default-value="${project.build.directory}"
* @required
* @readonly
*/
protected File outputDirectory;
protected File ampFinalDir;
/**
* (Read Only) Directory containing the classes and resource files that should be packaged into the JAR.
@ -157,7 +151,7 @@ public class AmpMojo extends AbstractMojo {
"jar");
File ampFile = getFile(
this.outputDirectory,
this.ampFinalDir,
this.ampFinalName,
this.classifier,
"amp"