commit | ba86eef0c5a87aa8ff7a00f7ab3c19d0092583cc | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Mon Dec 11 14:24:00 2006 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Mon Dec 11 14:24:00 2006 +0000 |
tree | 7ef3683a88285fa4352d3339b53822b443423b9a | |
parent | 016f53760157b51141a12d32240dd05ce6733bec [diff] |
Fixed a bug in the bundle plugin that was using a relative directory to check for the existence of the resource directory, rather than using the directory of the current pom file. git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@485675 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java b/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java index b7f9ec2..4e28260 100644 --- a/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java +++ b/tools/maven2/maven-bundle-plugin/src/main/java/org/apache/felix/tools/maven2/bundleplugin/BundlePlugin.java
@@ -114,8 +114,8 @@ .getOrganization().getUrl()); } } - - if (new File("src/main/resources").exists()) { + + if (new File(baseDir, "src/main/resources").exists()) { header(properties, Analyzer.INCLUDE_RESOURCE, "src/main/resources/"); }