Skip to content

Commit e955b42

Browse files
committed
Merge pull request #138 from dgolovin/include-sources
Include source features into p2repository
2 parents e47bd8d + aeec6eb commit e955b42

File tree

5 files changed

+57
-2
lines changed
  • angularjs-eclipse-feature/sourceTemplateFeature
  • angularjs-eclipse-jsp-feature/sourceTemplateFeature
  • angularjs-eclipse-php-feature/sourceTemplateFeature
  • org.eclipse.angularjs.repository

5 files changed

+57
-2
lines changed

angularjs-eclipse-feature/sourceTemplateFeature/.gitkeep

Whitespace-only changes.

angularjs-eclipse-jsp-feature/sourceTemplateFeature/.gitkeep

Whitespace-only changes.

angularjs-eclipse-php-feature/sourceTemplateFeature/.gitkeep

Whitespace-only changes.

org.eclipse.angularjs.repository/category.xml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,32 @@
1818
<feature id="angularjs-eclipse-feature" version="0.0.0">
1919
<category name="AngularJS Eclipse Tooling"/>
2020
</feature>
21+
<feature id="angularjs-eclipse-feature.source" version="0.0.0">
22+
<category name="AngularJS Eclipse Tooling Development Resources"/>
23+
</feature>
2124
<feature id="angularjs-eclipse-jsp-feature" version="0.0.0">
2225
<category name="AngularJS support for JSP"/>
26+
</feature>
27+
<feature id="angularjs-eclipse-jsp-feature.source" version="0.0.0">
28+
<category name="AngularJS Eclipse Tooling Development Resources"/>
2329
</feature>
2430
<feature id="angularjs-eclipse-php-feature" version="0.0.0">
2531
<category name="AngularJS support for PHP (PDT)"/>
2632
</feature>
27-
<feature id="org.eclipse.wst.html.webresources.feature">
33+
<feature id="angularjs-eclipse-php-feature.source" version="0.0.0">
34+
<category name="AngularJS Eclipse Tooling Development Resources"/>
35+
</feature>
36+
<feature id="org.eclipse.wst.html.webresources.feature">
2837
<category name="WTP HTML - Web Resources"/>
2938
</feature>
39+
<feature url="features/tern.eclipse.ide.tools.feature.source_0.0.0.jar" id="tern.eclipse.ide.tools.feature.source" version="0.0.0">
40+
<category name="Tern Tooling Development Resources"/>
41+
</feature>
3042
<category-def name="WTP HTML - Web Resources" label="WTP HTML - Web Resources">
3143
<description>
3244
Provides completion, hyperlink, hover inside WTP HTML editor for Web Resources (CSS, JS, Images)
3345
</description>
34-
</category-def>
46+
</category-def>
3547
<category-def name="AngularJS Eclipse Tooling" label="AngularJS Eclipse Tooling">
3648
<description>
3749
Customizes Eclipse WTP HTML editor and JSDT JavaScript Editor with AngularJS features.
@@ -55,4 +67,6 @@
5567
</category-def>
5668
<category-def name="Tern IDE" label="Tern IDE"/>
5769
<category-def name="Tern Tooling" label="Tern Tooling"/>
70+
<category-def name="Tern Tooling Development Resources" label="Tern Tooling Development Resources"/>
71+
<category-def name="AngularJS Eclipse Tooling Development Resources" label="AngularJS Eclipse Tooling Development Resoures"/>
5872
</site>

pom.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,47 @@
7676
</environments>
7777
</configuration>
7878
</plugin>
79+
<plugin>
80+
<groupId>org.eclipse.tycho.extras</groupId>
81+
<artifactId>tycho-source-feature-plugin</artifactId>
82+
<version>${tycho-version}</version>
83+
<executions>
84+
<execution>
85+
<id>source-feature</id>
86+
<phase>package</phase>
87+
<goals>
88+
<goal>source-feature</goal>
89+
</goals>
90+
</execution>
91+
</executions>
92+
</plugin>
93+
<plugin>
94+
<groupId>org.eclipse.tycho</groupId>
95+
<artifactId>tycho-source-plugin</artifactId>
96+
<version>${tycho-version}</version>
97+
<executions>
98+
<execution>
99+
<id>plugin-source</id>
100+
<goals>
101+
<goal>plugin-source</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
<plugin>
107+
<groupId>org.eclipse.tycho</groupId>
108+
<artifactId>tycho-p2-plugin</artifactId>
109+
<version>${tycho-version}</version>
110+
<executions>
111+
<execution>
112+
<id>attached-p2-metadata</id>
113+
<phase>package</phase>
114+
<goals>
115+
<goal>p2-metadata</goal>
116+
</goals>
117+
</execution>
118+
</executions>
119+
</plugin>
79120
<plugin>
80121
<groupId>com.mycila.maven-license-plugin</groupId>
81122
<artifactId>maven-license-plugin</artifactId>

0 commit comments

Comments
 (0)