Author: ludovicc-guest Date: 2010-08-10 21:42:57 +0000 (Tue, 10 Aug 2010) New Revision: 12899
Modified: trunk/maven-repo-helper/debian/changelog trunk/maven-repo-helper/src/main/java/org/debian/maven/repo/POMTransformer.java Log: mh_transformpoms: Remove warning about missing parent dependency when no-parent option is already used Modified: trunk/maven-repo-helper/debian/changelog =================================================================== --- trunk/maven-repo-helper/debian/changelog 2010-08-09 19:48:02 UTC (rev 12898) +++ trunk/maven-repo-helper/debian/changelog 2010-08-10 21:42:57 UTC (rev 12899) @@ -1,10 +1,14 @@ -maven-repo-helper (1.3) UNRELEASED; urgency=low +maven-repo-helper (1.2.1) UNRELEASED; urgency=low [ Peter Collingbourne ] * Document the correct order of attributes in rules files - -- Ludovic Claude <[email protected]> Sat, 07 Aug 2010 01:48:57 +0100 + [ Ludovic Claude ] + * mh_transformpoms: Remove warning about missing parent dependency + when no-parent option is already used + -- Ludovic Claude <[email protected]> Tue, 10 Aug 2010 23:18:57 +0200 + maven-repo-helper (1.2) unstable; urgency=low * Fix 'illegal NCName' error when gcj is used to run the mh_* scripts Modified: trunk/maven-repo-helper/src/main/java/org/debian/maven/repo/POMTransformer.java =================================================================== --- trunk/maven-repo-helper/src/main/java/org/debian/maven/repo/POMTransformer.java 2010-08-09 19:48:02 UTC (rev 12898) +++ trunk/maven-repo-helper/src/main/java/org/debian/maven/repo/POMTransformer.java 2010-08-10 21:42:57 UTC (rev 12899) @@ -229,8 +229,10 @@ try { repository.registerPom(targetPom, info); } catch (DependencyNotFoundException e) { - System.err.println("[ERROR] Cannot find parent dependency " + e.getDependency() + - ", use --no-parent option to resolve this issue or install the parent POM in the Maven repository"); + if (!noParent) { + System.err.println("[ERROR] Cannot find parent dependency " + e.getDependency() + + ", use --no-parent option to resolve this issue or install the parent POM in the Maven repository"); + } } } _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

