| package org.apache.maven.plugins.assembly; |
| |
| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| */ |
| |
| import org.apache.maven.archiver.MavenArchiveConfiguration; |
| import org.apache.maven.artifact.repository.ArtifactRepository; |
| import org.apache.maven.execution.MavenSession; |
| import org.apache.maven.project.MavenProject; |
| import org.apache.maven.shared.filtering.MavenReaderFilter; |
| import org.codehaus.plexus.interpolation.fixed.FixedStringSearchInterpolator; |
| |
| import javax.annotation.Nonnull; |
| import java.io.File; |
| import java.util.List; |
| |
| /** |
| * @version $Id$ |
| */ |
| public interface AssemblerConfigurationSource |
| { |
| /** |
| * @return The descriptors. |
| */ |
| String[] getDescriptors(); |
| |
| /** |
| * @return The descriptor references. |
| */ |
| String[] getDescriptorReferences(); |
| |
| /** |
| * @return The descriptor source direcotoy. |
| */ |
| File getDescriptorSourceDirectory(); |
| |
| /** |
| * @return The base directory. |
| */ |
| File getBasedir(); |
| |
| /** |
| * @return The Maven Project. |
| */ |
| MavenProject getProject(); |
| |
| /** |
| * @return The site directory. |
| */ |
| File getSiteDirectory(); |
| |
| /** |
| * @return The final name. |
| */ |
| String getFinalName(); |
| |
| /** |
| * @return append the assembly id. |
| */ |
| boolean isAssemblyIdAppended(); |
| |
| /** |
| * @return Tar long file mode. |
| */ |
| String getTarLongFileMode(); |
| |
| /** |
| * @return The output directory. |
| */ |
| File getOutputDirectory(); |
| |
| /** |
| * @return The working direcotory. |
| */ |
| File getWorkingDirectory(); |
| |
| /** |
| * @return the jar archive configuration. |
| */ |
| MavenArchiveConfiguration getJarArchiveConfiguration(); |
| |
| /** |
| * @return The local repository. |
| */ |
| ArtifactRepository getLocalRepository(); |
| |
| /** |
| * @return The temporary root directory. |
| */ |
| File getTemporaryRootDirectory(); |
| |
| /** |
| * @return The archive base directory. |
| */ |
| File getArchiveBaseDirectory(); |
| |
| /** |
| * @return The filters. |
| */ |
| List<String> getFilters(); |
| |
| /** |
| * @return include the project build filters or not. |
| */ |
| boolean isIncludeProjectBuildFilters(); |
| |
| /** |
| * @return The list of reactor projects. |
| */ |
| List<MavenProject> getReactorProjects(); |
| |
| /** |
| * @return The remote repositories. |
| */ |
| List<ArtifactRepository> getRemoteRepositories(); |
| |
| /** |
| * @return Is this a test run. |
| */ |
| boolean isDryRun(); |
| |
| /** |
| * @return Ignore directory format extensions. |
| */ |
| boolean isIgnoreDirFormatExtensions(); |
| |
| /** |
| * @return Ignore missing descriptor. |
| */ |
| boolean isIgnoreMissingDescriptor(); |
| |
| /** |
| * @return The maven session. |
| */ |
| MavenSession getMavenSession(); |
| |
| /** |
| * @return The archiver configu. |
| */ |
| String getArchiverConfig(); |
| |
| /** |
| * Maven shared filtering utility. |
| * |
| * @ return the maven reader filter |
| */ |
| MavenReaderFilter getMavenReaderFilter(); |
| |
| /** |
| * @return Update only yes/no. |
| */ |
| boolean isUpdateOnly(); |
| |
| /** |
| * @return Use JVM chmod yes/no. |
| */ |
| boolean isUseJvmChmod(); |
| |
| /** |
| * @return Ignore permissions yes/no. |
| */ |
| boolean isIgnorePermissions(); |
| |
| /** |
| * @return The current encoding. |
| */ |
| String getEncoding(); |
| |
| /** |
| * @return The escape string. |
| */ |
| String getEscapeString(); |
| |
| /** |
| * @return The list of delimiters. |
| */ |
| List<String> getDelimiters(); |
| |
| @Nonnull |
| FixedStringSearchInterpolator getRepositoryInterpolator(); |
| |
| /** |
| * Gets an interpolator from environment variables and stuff |
| */ |
| @Nonnull |
| FixedStringSearchInterpolator getCommandLinePropsInterpolator(); |
| |
| /** |
| * Gets an interpolator from environment variables and stuff |
| */ |
| @Nonnull |
| FixedStringSearchInterpolator getEnvInterpolator(); |
| |
| @Nonnull |
| FixedStringSearchInterpolator getMainProjectInterpolator(); |
| } |