Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added semi-hidden sdk feature to the update site

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
  • Loading branch information...
commit e06a5ab253d7de1d2940794cc3534148e427346e 1 parent da6ab7d
@ifedorenko ifedorenko authored
View
16 org.maven.ide.eclipse.site/feature.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.maven.ide.eclipse.site"
+ label="Maven Integration for Eclipse Update Site"
+ version="0.10.2.qualifier"
+ provider-name="Sonatype, Inc.">
+
+ <includes
+ id="org.maven.ide.eclipse.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.maven.ide.eclipse.sdk.feature"
+ version="0.0.0"/>
+
+</feature>
View
22 org.maven.ide.eclipse.site/pom.xml
@@ -17,7 +17,7 @@
</parent>
<artifactId>org.maven.ide.eclipse.site</artifactId>
- <packaging>eclipse-update-site</packaging>
+ <packaging>eclipse-feature</packaging>
<name>Maven Integration for Eclipse Update Site</name>
@@ -27,10 +27,28 @@
<groupId>org.sonatype.tycho</groupId>
<artifactId>maven-osgi-packaging-plugin</artifactId>
<configuration>
+ <deployableFeature>true</deployableFeature>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>tycho-p2-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>categorization</id>
+ <phase>package</phase>
+ <goals>
+ <goal>category-p2-metadata</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
<metadataRepositoryName>Maven Integration for Eclipse</metadataRepositoryName>
<artifactRepositoryName>Maven Integration for Eclipse</artifactRepositoryName>
+ <compressRepository>false</compressRepository>
</configuration>
</plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
@@ -76,7 +94,7 @@
<serverId>forge-releases</serverId>
<repositoryUrl>${m2e.site-compressed}</repositoryUrl>
- <repositoryPath>m2e/${unqualifiedVersion}/N/${buildQualifier}</repositoryPath>
+ <repositoryPath>m2e/${unqualifiedVersion}/N/${unqualifiedVersion}.${buildQualifier}</repositoryPath>
</configuration>
</execution>
</executions>
Please sign in to comment.
Something went wrong with that request. Please try again.