Updated to BND 0.0.160 and modified the plugin to be compatible.


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@554719 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/doc/changelog.txt b/bundleplugin/doc/changelog.txt
index e3750aa..b174822 100644
--- a/bundleplugin/doc/changelog.txt
+++ b/bundleplugin/doc/changelog.txt
@@ -17,7 +17,7 @@
 * [2007-05-20] Changed package naming.
 * [2007-05-21] Improved handling of resource copying to copy the plugin's
 resources if specified or the standard Maven-specified resources (FELIX-261).
-* [2007-05-24] Updated to BND version 0.0.145.
 * [2007-06-13] Factored out some common code (FELIX-304).
 * [2007-06-14] Enable output folder to be configured (FELIX-305).
 * [2007-07-05] Added support for overriding project type (FELIX-309).
+* [2007-07-09] Updated to BND version 0.0.160.
diff --git a/bundleplugin/pom.xml b/bundleplugin/pom.xml
index e1ea380..a02eeef 100644
--- a/bundleplugin/pom.xml
+++ b/bundleplugin/pom.xml
@@ -29,6 +29,7 @@
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.felix</groupId>
  <artifactId>maven-bundle-plugin</artifactId>
+ <version>0.9.0-incubator-SNAPSHOT</version>
 
  <packaging>maven-plugin</packaging>
  <name>Maven Bundle Plugin</name>
@@ -36,13 +37,12 @@
   embedding packages from the classpath (wildcarded). Plus a zillion
   other features. See http://www.aqute.biz/php/tools/bnd.php
   </description>
- <version>0.9.0-incubator-SNAPSHOT</version>
  
  <dependencies>
   <dependency>
    <groupId>biz.aQute</groupId>
    <artifactId>bndlib</artifactId>
-   <version>0.0.145</version>
+   <version>0.0.160</version>
   </dependency>
   <dependency>
    <groupId>junit</groupId>
diff --git a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
index 0ebaa65..d98b5da 100644
--- a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
+++ b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
@@ -267,7 +267,7 @@
   ByteArrayOutputStream out = new ByteArrayOutputStream();
   p.store(out, "Generated by org.apache.felix.plugin.bundle");
   jar.putResource(path + "/pom.properties", new EmbeddedResource(out
-    .toByteArray()));
+    .toByteArray(), System.currentTimeMillis()));
  }
  
  /**