All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.xp_forge.maven.plugins.xp.SourceMojo Maven / Gradle / Ivy

/**
 * This file is part of the XP-Framework
 *
 * XP-Framework Maven plugin
 * Copyright (c) 2011, XP-Framework Team
 */
package net.xp_forge.maven.plugins.xp;

import net.xp_forge.maven.plugins.xp.SourceNoForkMojo;

/**
 * Pack project sources
 *
 * This goal forks the build lifecycle upto and including the "generate-sources" phase
 *
 * @goal source
 * @execute phase="generate-sources"
 * @requiresDirectInvocation
 * @since 3.2.0
 */
public class SourceMojo extends SourceNoForkMojo {

  /**
   * Get skip setting
   *
   * For a forked lifecycle, this is always false
   *
   * @return boolean
   */
  @Override
  protected boolean isSkip() {
    return false;
  }

  /**
   * Get attach setting
   *
   * For a forked lifecycle, this is always false
   *
   * @return boolean
   */
  @Override
  protected boolean isAttach() {
    return false;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy