Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] MANIFEST not working

Regarding Change I94fa432c: Revert "The constructor CmdLineException(String) is deprecated"

So I then though we could set the required version to 2.0.12 in MANIFEST.MF and get rid
of the warnings. I made this change on the commit that was reverted so I expected to
get a ton of compilation errors in Eclipse. That did not happen.

Does Eclipse ignore versions in MANIFEST.MF?

-- robin

diff --git a/org.eclipse.jgit.pgm.test/META-INF/MANIFEST.MF b/org.eclipse.jgit.pgm.test/META-INF/MANIFEST.MF
index a53167a..b0d4a16 100644
--- a/org.eclipse.jgit.pgm.test/META-INF/MANIFEST.MF
+++ b/org.eclipse.jgit.pgm.test/META-INF/MANIFEST.MF
@@ -19,5 +19,5 @@ Import-Package: org.eclipse.jgit.api;version="[2.2.0,2.3.0)",
  org.eclipse.jgit.util.io;version="[2.2.0,2.3.0)",
  org.hamcrest.core;bundle-version="[1.1.0,2.0.0)",
  org.junit;version="[4.4.0,5.0.0)",
- org.kohsuke.args4j;version="[2.0.12,2.1.0)",
- org.kohsuke.args4j.spi;version="[2.0.12,2.1.0)"
+ org.kohsuke.args4j;version="2.0.12",
+ org.kohsuke.args4j.spi;version="[2.0.12,2.0.12]"
diff --git a/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF b/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF
index df026e0..f43ca57 100644
--- a/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF
+++ b/org.eclipse.jgit.pgm/META-INF/MANIFEST.MF
@@ -29,8 +29,8 @@ Import-Package: org.eclipse.jgit.api;version="[2.2.0,2.3.0)",
  org.eclipse.jgit.treewalk.filter;version="[2.2.0,2.3.0)",
  org.eclipse.jgit.util;version="[2.2.0,2.3.0)",
  org.eclipse.jgit.util.io;version="[2.2.0,2.3.0)",
- org.kohsuke.args4j;version="[2.0.12,2.1.0)",
- org.kohsuke.args4j.spi;version="[2.0.12,2.1.0)"
+ org.kohsuke.args4j;version="2.0.12",
+ org.kohsuke.args4j.spi;version="2.0.12"
 Bundle-ActivationPolicy: lazy
 Export-Package: org.eclipse.jgit.pgm;version="2.2.0";
   uses:="org.eclipse.jgit.lib,
diff --git a/org.eclipse.jgit.pgm/pom.xml b/org.eclipse.jgit.pgm/pom.xml
index a889a54..8cc732c 100644
--- a/org.eclipse.jgit.pgm/pom.xml
+++ b/org.eclipse.jgit.pgm/pom.xml
@@ -69,7 +69,7 @@
     <dependency>
       <groupId>args4j</groupId>
       <artifactId>args4j</artifactId>
-      <version>[2.0.12,2.1.0)</version>
+      <version>2.0.12</version>
     </dependency>
 
     <dependency>


Back to the top