Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.8
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Maven 3.0.2.
-
Number of attachments :
Description
Steps to reproduce:
1. Install a directory-shaped bundle (e.g. org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222) to a remote repository:
mvn eclipse:to-maven -DeclipseDir=eclipse -DdeployTo=central::default::<url>
2. Delete the bundle from the local eclipse/plugins directory.
3. Now get back the plugin from the Maven repository:
mvn eclipse:install-plugins -DeclipseDir=eclipse
Normally, one should end up with a directory (because Eclipse-BundleShape: dir was specifed in the bundle's manifest, and thus the generated pom has a <eclipse.unpack>true</eclipse.unpack> property), but a .jar file is created instead.
This seems to be a compatibility with Maven 3 issue - I can't reproduce it on Maven 2.2.1.