Репозитории ALT
S: | 2.2.1-alt6_66jpp11 |
5.1: | 2.0.7-alt2_9jpp5 |
4.1: | 2.0.4-alt1_10jpp1.7 |
4.0: | 2.0.4-alt1_10jpp1.7.M40 |
Группа :: Разработка/Java
Пакет: maven2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: maven2-plugin-assembly-FileFormatter.patch
Скачать
Скачать
--- maven2-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/format/FileFormatter.java.sav 2010-11-28 16:15:25.000000000 +0100
+++ maven2-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/format/FileFormatter.java 2010-11-28 16:17:43.000000000 +0100
@@ -163,8 +163,12 @@
interpolator.addValueSource( new MapBasedValueSource( filterProperties ) );
interpolator.addValueSource( new ObjectBasedValueSource( configSource.getProject() ) );
- contents = interpolator.interpolate( contents, "project" );
-
+ try {
+ contents = interpolator.interpolate( contents, "project" );
+ } catch(Exception e) {
+ throw new AssemblyFormattingException( "cannot interpolate contents: " + e.getMessage(), e );
+ }
+
return contents;
}