View Javadoc

1   package org.apache.maven.plugin.assembly;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *   http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
20   */
21  
22  import org.apache.maven.archiver.MavenArchiveConfiguration;
23  import org.apache.maven.artifact.repository.ArtifactRepository;
24  import org.apache.maven.execution.MavenSession;
25  import org.apache.maven.project.MavenProject;
26  import org.apache.maven.shared.filtering.MavenFileFilter;
27  
28  import java.io.File;
29  import java.util.List;
30  
31  /**
32   * @version $Id: AssemblerConfigurationSource.java 1163853 2011-08-31 22:42:32Z jdcasey $
33   */
34  public interface AssemblerConfigurationSource
35  {
36  
37      String getDescriptor();
38  
39      String getDescriptorId();
40  
41      String[] getDescriptors();
42  
43      String[] getDescriptorReferences();
44  
45      File getDescriptorSourceDirectory();
46  
47      File getBasedir();
48  
49      MavenProject getProject();
50  
51      boolean isSiteIncluded();
52  
53      File getSiteDirectory();
54  
55      String getFinalName();
56  
57      boolean isAssemblyIdAppended();
58  
59      String getClassifier();
60  
61      String getTarLongFileMode();
62  
63      File getOutputDirectory();
64  
65      File getWorkingDirectory();
66  
67      MavenArchiveConfiguration getJarArchiveConfiguration();
68  
69      ArtifactRepository getLocalRepository();
70  
71      File getTemporaryRootDirectory();
72  
73      File getArchiveBaseDirectory();
74  
75      List<String> getFilters();
76  
77      List<MavenProject> getReactorProjects();
78  
79      List<ArtifactRepository> getRemoteRepositories();
80  
81      boolean isDryRun();
82  
83      boolean isIgnoreDirFormatExtensions();
84  
85      boolean isIgnoreMissingDescriptor();
86  
87      MavenSession getMavenSession();
88  
89      String getArchiverConfig();
90  
91      MavenFileFilter getMavenFileFilter();
92  
93      boolean isUpdateOnly();
94  
95      boolean isUseJvmChmod();
96  
97      boolean isIgnorePermissions();
98      
99      String getEncoding();
100 }