[pkg-java] r8704 - trunk/maven-repo-helper/src/main/java/org/debian/maven/repo
Ludovic Claude
ludovicc-guest at alioth.debian.org
Wed Jul 1 11:23:44 UTC 2009
Author: ludovicc-guest
Date: 2009-07-01 11:23:44 +0000 (Wed, 01 Jul 2009)
New Revision: 8704
Modified:
trunk/maven-repo-helper/src/main/java/org/debian/maven/repo/POMCleaner.java
trunk/maven-repo-helper/src/main/java/org/debian/maven/repo/POMTransformer.java
Log:
* Fix POMCleaner args,
* Fix getPomOptions
Modified: trunk/maven-repo-helper/src/main/java/org/debian/maven/repo/POMCleaner.java
===================================================================
--- trunk/maven-repo-helper/src/main/java/org/debian/maven/repo/POMCleaner.java 2009-07-01 11:22:34 UTC (rev 8703)
+++ trunk/maven-repo-helper/src/main/java/org/debian/maven/repo/POMCleaner.java 2009-07-01 11:23:44 UTC (rev 8704)
@@ -189,7 +189,7 @@
} else if (arg.startsWith("-i")) {
publishedRulesFile = new File(arg.substring(2));
} else if (arg.startsWith("--published-rules=")) {
- publishedRulesFile = new File(arg.substring("--rules=".length()));
+ publishedRulesFile = new File(arg.substring("--published-rules=".length()));
}
i = inc(i, args);
}
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 2009-07-01 11:22:34 UTC (rev 8703)
+++ trunk/maven-repo-helper/src/main/java/org/debian/maven/repo/POMTransformer.java 2009-07-01 11:23:44 UTC (rev 8704)
@@ -513,7 +513,7 @@
if (noParent) {
option = "--no-parent";
}
- pomOptions.put(pomFile, option);
+ pomOptions.put(pomFile.getAbsoluteFile(), option);
}
});
More information about the pkg-java-commits
mailing list