| /******************************************************************************* |
| * Copyright (c) 2015 BSI Business Systems Integration AG. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * BSI Business Systems Integration AG - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.scout.maven.plugins.updatesite; |
| |
| import java.io.File; |
| |
| import org.apache.maven.plugin.AbstractMojo; |
| import org.apache.maven.plugins.annotations.Parameter; |
| |
| public abstract class AbstractStagingMojo extends AbstractMojo { |
| |
| /** |
| * The directory where the generated archive file will be put. |
| */ |
| @Parameter(defaultValue = "${project.build.directory}") |
| private String outputDirectory; |
| |
| public String getOutputDirectory() { |
| return outputDirectory; |
| } |
| |
| public void setOutputDirectory(String outputDirectory) { |
| this.outputDirectory = outputDirectory; |
| } |
| |
| public File getStageTargetDir() { |
| return new File(getOutputDirectory(), "stageTarget"); |
| } |
| } |