Репозитории 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-PropertyUtils.patch
Скачать
Скачать
--- maven2-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/utils/PropertyUtils.java.sav 2010-11-28 16:02:34.000000000 +0100
+++ maven2-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/utils/PropertyUtils.java 2010-11-28 16:06:17.000000000 +0100
@@ -83,7 +83,12 @@
for ( Enumeration n = props.propertyNames(); n.hasMoreElements(); )
{
String key = (String) n.nextElement();
- String value = interpolator.interpolate( props.getProperty( key ), "__properties" );
+ String value = null;
+ try {
+ value = interpolator.interpolate( props.getProperty( key ), "__properties" );
+ } catch(Exception e) {
+ throw new IOException( "cannot interpolate property: " + e.getMessage(), e );
+ }
props.setProperty( key, value );
}