Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
bug fix: replacing '-', '_' with '.' in component version when creati…
Browse files Browse the repository at this point in the history
…ng an OSGi bundle for that component
  • Loading branch information
this committed Jun 10, 2016
1 parent 9049896 commit 50c4dbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private Bundle getBundle(String componentName, String componentVersion, Componen
}

private String getBundleVersion(String componentVersion) {
return componentVersion.replace("-SNAPSHOT", ".SNAPSHOT");
return componentVersion.replace('-', '.').replace('_', '.'); // There shouldn't be any '-' or '_' in version
}

private List<String> getImports(ComponentReference componentReference) {
Expand Down

0 comments on commit 50c4dbb

Please sign in to comment.