diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-12-02 15:17:54 +0100 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-12-02 15:17:54 +0100 |
commit | cd4ddec0a0c14db770877eb0211327c57c0cff08 (patch) | |
tree | a7154f8e6af733823218e38e7ad251d356bdb4d4 /src/main/java/org/apache/maven/plugin/nar/NarLayout.java | |
parent | 9faec425225fcb21d7227aace994188d98989236 (diff) | |
download | maven-nar-plugin-cd4ddec0a0c14db770877eb0211327c57c0cff08.tar.gz maven-nar-plugin-cd4ddec0a0c14db770877eb0211327c57c0cff08.tar.bz2 maven-nar-plugin-cd4ddec0a0c14db770877eb0211327c57c0cff08.tar.xz maven-nar-plugin-cd4ddec0a0c14db770877eb0211327c57c0cff08.zip |
Fixed NAR-12
Diffstat (limited to 'src/main/java/org/apache/maven/plugin/nar/NarLayout.java')
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/NarLayout.java | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/NarLayout.java b/src/main/java/org/apache/maven/plugin/nar/NarLayout.java index 062bec9..cdb4ba7 100644 --- a/src/main/java/org/apache/maven/plugin/nar/NarLayout.java +++ b/src/main/java/org/apache/maven/plugin/nar/NarLayout.java @@ -37,31 +37,41 @@ import org.codehaus.plexus.archiver.manager.ArchiverManager; public interface NarLayout { /** + * Specifies where all the "no architecture" specific files are stored + */ + File getNoArchDirectory( File baseDir ) + throws MojoExecutionException, MojoFailureException; + + /** * Specifies where libraries are stored * * @return - * @throws MojoExecutionException, MojoFailureException + * @throws MojoExecutionException, MojoFailureException */ - File getLibDirectory( File baseDir, String aol, String type ) throws MojoExecutionException, MojoFailureException; + File getLibDirectory( File baseDir, String aol, String type ) + throws MojoExecutionException, MojoFailureException; /** * Specifies where includes are stored * * @return */ - File getIncludeDirectory( File targetDirectory ) throws MojoExecutionException, MojoFailureException; + File getIncludeDirectory( File baseDir ) + throws MojoExecutionException, MojoFailureException; /** * Specifies where binaries are stored * * @return */ - File getBinDirectory( File baseDir, String aol ) throws MojoExecutionException, MojoFailureException; + File getBinDirectory( File baseDir, String aol ) + throws MojoExecutionException, MojoFailureException; /** * Called to attach nars to main jar file. This method needs to produce all the attached nar files and set NarInfo * accordingly. */ - void attachNars( File baseDir, ArchiverManager archiverManager, MavenProjectHelper projectHelper, MavenProject project, NarInfo narInfo ) + void attachNars( File baseDir, ArchiverManager archiverManager, MavenProjectHelper projectHelper, + MavenProject project, NarInfo narInfo ) throws MojoExecutionException, MojoFailureException; } |