summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMatthias Sohn2013-09-01 17:41:09 (EDT)
committer Matthias Sohn2013-09-01 17:41:09 (EDT)
commitd55d28d8eaa2f1db7610d833b1c77c01026d251f (patch)
tree62e60cc760f327147f6c5c1b485a315a8783f367
parentc57b90fd71ba2c2049df1cb008a1be1b6f7fd1ce (diff)
downloadorg.eclipse.tycho.extras-d55d28d8eaa2f1db7610d833b1c77c01026d251f.zip
org.eclipse.tycho.extras-d55d28d8eaa2f1db7610d833b1c77c01026d251f.tar.gz
org.eclipse.tycho.extras-d55d28d8eaa2f1db7610d833b1c77c01026d251f.tar.bz2
Allow to use pack200a and pack200b also for packaging type jarrefs/changes/27/16027/1
JGit bundles are built with plain Maven without using Tycho since we also need to publish Maven artifacts which isn't supported by Tycho. We would like to use pack200a and pack200b to create pack200 archives for the JGit bundles, see [1]. Enable this by allowing packaging type jar. [1] https://git.eclipse.org/r/#/c/15921/11/pom.xml,unified Change-Id: I4e75ba35f4a7ef55aef0b837089ace2c67cc0b1c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
-rw-r--r--pack200/tycho-pack200a-plugin/src/main/java/org/eclipse/tycho/extras/pack200/mojo/Pack200NormalizeMojo.java2
-rw-r--r--pack200/tycho-pack200b-plugin/src/main/java/org/eclipse/tycho/extras/pack200/mojo/Pack200PackMojo.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/pack200/tycho-pack200a-plugin/src/main/java/org/eclipse/tycho/extras/pack200/mojo/Pack200NormalizeMojo.java b/pack200/tycho-pack200a-plugin/src/main/java/org/eclipse/tycho/extras/pack200/mojo/Pack200NormalizeMojo.java
index bdd7b4b..315fd27 100644
--- a/pack200/tycho-pack200a-plugin/src/main/java/org/eclipse/tycho/extras/pack200/mojo/Pack200NormalizeMojo.java
+++ b/pack200/tycho-pack200a-plugin/src/main/java/org/eclipse/tycho/extras/pack200/mojo/Pack200NormalizeMojo.java
@@ -57,7 +57,7 @@ public class Pack200NormalizeMojo extends AbstractMojo {
*
* @parameter
*/
- private List<String> supportedProjectTypes = Arrays.asList("eclipse-plugin", "eclipse-test-plugin");
+ private List<String> supportedProjectTypes = Arrays.asList("eclipse-plugin", "eclipse-test-plugin", "jar");
/** @parameter expression="${plugin.artifacts}" */
private List<Artifact> pluginArtifacts;
diff --git a/pack200/tycho-pack200b-plugin/src/main/java/org/eclipse/tycho/extras/pack200/mojo/Pack200PackMojo.java b/pack200/tycho-pack200b-plugin/src/main/java/org/eclipse/tycho/extras/pack200/mojo/Pack200PackMojo.java
index 9b32aa4..ac60cd6 100644
--- a/pack200/tycho-pack200b-plugin/src/main/java/org/eclipse/tycho/extras/pack200/mojo/Pack200PackMojo.java
+++ b/pack200/tycho-pack200b-plugin/src/main/java/org/eclipse/tycho/extras/pack200/mojo/Pack200PackMojo.java
@@ -50,7 +50,7 @@ public class Pack200PackMojo extends AbstractMojo {
*
* @parameter
*/
- private List<String> supportedProjectTypes = Arrays.asList("eclipse-plugin", "eclipse-test-plugin");
+ private List<String> supportedProjectTypes = Arrays.asList("eclipse-plugin", "eclipse-test-plugin", "jar");
/** @parameter expression="${plugin.artifacts}" */
private List<Artifact> pluginArtifacts;