Author: kenney Date: Thu Oct 12 08:32:35 2006 New Revision: 463280 URL: http://svn.apache.org/viewvc?view=rev&rev=463280 Log: Updated code to reflect API change in plexus-archiver (IOException isn't thrown anymore)
Modified: maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/utils/AssemblyFileUtils.java Modified: maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/utils/AssemblyFileUtils.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/utils/AssemblyFileUtils.java?view=diff&rev=463280&r1=463279&r2=463280 ============================================================================== --- maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/utils/AssemblyFileUtils.java (original) +++ maven/plugins/trunk/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/utils/AssemblyFileUtils.java Thu Oct 12 08:32:35 2006 @@ -30,7 +30,7 @@ /** * Unpacks the archive file. - * + * * @param source * File to be unpacked. * @param destDir @@ -49,16 +49,12 @@ unArchiver.extract(); } - catch ( IOException e ) - { - throw new ArchiveExpansionException( "Error unpacking file: " + source + "to: " + destDir, e ); - } catch ( ArchiverException e ) { throw new ArchiveExpansionException( "Error unpacking file: " + source + "to: " + destDir, e ); } } - + /** * NOTE: It is the responsibility of the caller to close the source Reader instance. * @param lineEndings This is the result of the getLineEndingChars(..) method in this utility class; the actual @@ -79,7 +75,7 @@ { bufferedSource = new BufferedReader( source ); } - + out = new BufferedWriter( new FileWriter( dest ) ); String line;