From cd4ddec0a0c14db770877eb0211327c57c0cff08 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Wed, 2 Dec 2009 15:17:54 +0100 Subject: Fixed NAR-12 --- .../java/org/apache/maven/plugin/nar/NarLayout.java | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'src/main/java/org/apache/maven/plugin/nar/NarLayout.java') 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 @@ -36,32 +36,42 @@ 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; } -- cgit v1.2.3