public class MavenPluginHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
META_INF_PKG |
static String |
META_INF_RESOURCES |
| Constructor and Description |
|---|
MavenPluginHelper(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
List<File> |
computeStalePropertiesSources(List<File> compileSourceRoots,
Set<String> includes,
Set<String> excludes,
File outputDirectory,
int staleMillis) |
List<File> |
computeStaleSources(List<File> compileSourceRoots,
Set<String> includes,
Set<String> excludes,
File outputDirectory,
String inputFileSuffix,
String outputFileSuffix,
int staleMillis) |
static File |
createDefaultManifest(org.apache.maven.project.MavenProject project)
Creates a default manifest file for any Jangaroo-packaged Maven project
|
static void |
extractFileTemplate(File targetDirectory,
File templateFile,
String[] includes,
String[] excludes,
org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager) |
List<File> |
getActionScriptClassPath(boolean includeTestScope) |
static org.apache.maven.artifact.Artifact |
getArtifact(org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.apache.maven.repository.RepositorySystem repositorySystem,
String groupId,
String artifactId,
String version,
String scope,
String type) |
public static final String META_INF_RESOURCES
public static final String META_INF_PKG
public MavenPluginHelper(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.logging.Log log)
@Nonnull public static File createDefaultManifest(org.apache.maven.project.MavenProject project) throws org.codehaus.plexus.archiver.jar.ManifestException, IOException, org.codehaus.plexus.archiver.ArchiverException
project - the Maven project with packaging type "jangaroo-app" or "pkg"org.codehaus.plexus.archiver.jar.ManifestExceptionIOExceptionorg.codehaus.plexus.archiver.ArchiverExceptionpublic List<File> computeStaleSources(List<File> compileSourceRoots, Set<String> includes, Set<String> excludes, File outputDirectory, String inputFileSuffix, String outputFileSuffix, int staleMillis) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic List<File> computeStalePropertiesSources(List<File> compileSourceRoots, Set<String> includes, Set<String> excludes, File outputDirectory, int staleMillis) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic static void extractFileTemplate(File targetDirectory, File templateFile, String[] includes, String[] excludes, org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException@Nullable public static org.apache.maven.artifact.Artifact getArtifact(org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories, org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver, org.apache.maven.repository.RepositorySystem repositorySystem, String groupId, String artifactId, String version, String scope, String type) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2002–2021 CoreMedia AG. All rights reserved.