mirror of
https://github.com/Alfresco/alfresco-sdk.git
synced 2025-05-19 17:15:24 +00:00
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:
parent
7b1d3cca7c
commit
3f2b3e8dc5
@ -1,12 +1,7 @@
|
|||||||
package org.alfresco.maven.plugin;
|
package org.alfresco.maven.plugin;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileNotFoundException;
|
|
||||||
import java.io.FileReader;
|
|
||||||
import java.io.FileWriter;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.PrintWriter;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import org.alfresco.maven.plugin.archiver.AmpArchiver;
|
import org.alfresco.maven.plugin.archiver.AmpArchiver;
|
||||||
@ -79,13 +74,12 @@ public class AmpMojo extends AbstractMojo {
|
|||||||
protected boolean includeDependencies;
|
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
|
* @required
|
||||||
* @readonly
|
|
||||||
*/
|
*/
|
||||||
protected File outputDirectory;
|
protected File ampFinalDir;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* (Read Only) Directory containing the classes and resource files that should be packaged into the JAR.
|
* (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");
|
"jar");
|
||||||
|
|
||||||
File ampFile = getFile(
|
File ampFile = getFile(
|
||||||
this.outputDirectory,
|
this.ampFinalDir,
|
||||||
this.ampFinalName,
|
this.ampFinalName,
|
||||||
this.classifier,
|
this.classifier,
|
||||||
"amp"
|
"amp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user