Skip to content

Commit e74ebe8

Browse files
committed
Refactor plugins - Create Core and UI plugins for base and LSP functionality. Fixes #143
Signed-off-by: Rastislav Wagner <rawagner@redhat.com>
1 parent 6fb8ca3 commit e74ebe8

File tree

98 files changed

+1339
-441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1339
-441
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
###############################################################################
2+
# Copyright (c) 2017 Red Hat, Inc. and others.
3+
# All rights reserved. This program and the accompanying materials
4+
# are made available under the terms of the Eclipse Public License v1.0
5+
# which accompanies this distribution, and is available at
6+
# http://www.eclipse.org/legal/epl-v10.html
7+
#
8+
# Contributors:
9+
# Red Hat, Inc. - Initial implementation.
10+
##############################################################################
11+
# feature.properties
12+
# contains externalized strings for feature.xml
13+
# "%foo" in feature.xml corresponds to the key "foo" in this file
14+
# java.io.Properties file (ISO 8859-1 with "\" escapes)
15+
# This file should be translated.
16+
17+
# "featureName" property - name of the feature
18+
featureName=Fabric8Analytics Integration (Technology Preview)
19+
20+
# "providerName" property - name of the company that provides the feature
21+
providerName=JBoss by Red Hat
22+
23+
# "description" property - description of the feature
24+
description=Fabric8Analytics Integration Feature (Technology Preview)
25+
26+
# "copyright" property - text of the "Feature Update Copyright"
27+
copyright=Copyright (c) 2017 Red Hat, Inc. and others.\nAll rights reserved. This program and the accompanying materials\n
28+
are made available under the terms of the Eclipse Public License v1.0\n\
29+
which accompanies this distribution, and is available at\n\
30+
http\://www.eclipse.org/legal/epl-v10.html\n\
31+
\n\
32+
Contributors\:\n\
33+
Red Hat, Inc. - Initial implementation.\n
34+
############### end of copyright property ####################################
35+
36+
licenseURL=license.html

features/com.redhat.fabric8analytics.lsp.eclipse.feature/feature.xml renamed to features/com.redhat.fabric8analytics.eclipse.feature/feature.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<feature
3-
id="com.redhat.fabric8analytics.lsp.eclipse.feature"
3+
id="com.redhat.fabric8analytics.eclipse.feature"
44
label="%featureName"
55
version="0.0.1.qualifier"
66
provider-name="%providerName"
77
license-feature="org.jboss.tools.foundation.license.feature"
88
license-feature-version="0.0.0"
9-
plugin="com.redhat.fabric8analytics.lsp.eclipse">
9+
plugin="com.redhat.fabric8analytics.eclipse">
1010

1111
<description url="https://access.redhat.com/documentation/en/red-hat-jboss-developer-studio/">
1212
%description
@@ -20,7 +20,7 @@
2020
%license
2121
</license>
2222

23-
<plugin id="com.redhat.fabric8analytics.lsp.eclipse.core" download-size="0" install-size="0" version="0.0.0"/>
24-
<plugin id="com.redhat.fabric8analytics.lsp.eclipse.ui" download-size="0" install-size="0" version="0.0.0"/>
23+
<plugin id="com.redhat.fabric8analytics.eclipse.core" download-size="0" install-size="0" version="0.0.0"/>
24+
<plugin id="com.redhat.fabric8analytics.eclipse.ui" download-size="0" install-size="0" version="0.0.0"/>
2525

2626
</feature>
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<project
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
3+
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>com.redhat.fabric8analytics.eclipse</groupId>
7+
<artifactId>features</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
</parent>
10+
<groupId>com.redhat.fabric8analytics.eclipse</groupId>
11+
<artifactId>com.redhat.fabric8analytics.eclipse.feature</artifactId>
12+
<packaging>eclipse-feature</packaging>
13+
14+
<build>
15+
<plugins>
16+
<plugin>
17+
<groupId>org.eclipse.tycho.extras</groupId>
18+
<artifactId>tycho-source-feature-plugin</artifactId>
19+
<version>${tychoExtrasVersion}</version>
20+
<executions>
21+
<execution>
22+
<id>source-feature</id>
23+
<phase>package</phase>
24+
<goals>
25+
<goal>source-feature</goal>
26+
</goals>
27+
</execution>
28+
</executions>
29+
<!-- optional excludes -->
30+
<!-- <configuration>
31+
<excludes>
32+
<plugin id="sourcefeature.bundle.nosource"/>
33+
<feature id="sourcefeature.feature.nosource"/>
34+
</excludes>
35+
</configuration>
36+
--> </plugin>
37+
<plugin>
38+
<groupId>org.eclipse.tycho</groupId>
39+
<artifactId>tycho-p2-plugin</artifactId>
40+
<version>${tychoVersion}</version>
41+
<executions>
42+
<execution>
43+
<id>attached-p2-metadata</id>
44+
<phase>package</phase>
45+
<goals>
46+
<goal>p2-metadata</goal>
47+
</goals>
48+
</execution>
49+
</executions>
50+
</plugin>
51+
</plugins>
52+
</build>
53+
</project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/bin/
2+
/.settings/
3+
/.project
4+
/.classpath
5+
target/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
bin.includes = feature.xml,\
2+
feature.properties
3+
src.includes = feature.xml,\
4+
feature.properties,\
5+
build.properties
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<feature
3+
id="com.redhat.fabric8analytics.eclipse.lsp.feature"
4+
label="%featureName"
5+
version="0.0.1.qualifier"
6+
provider-name="%providerName"
7+
license-feature="org.jboss.tools.foundation.license.feature"
8+
license-feature-version="0.0.0"
9+
plugin="com.redhat.fabric8analytics.eclipse.lsp">
10+
11+
<description url="https://access.redhat.com/documentation/en/red-hat-jboss-developer-studio/">
12+
%description
13+
</description>
14+
15+
<copyright>
16+
%copyright
17+
</copyright>
18+
19+
<license url="%licenseURL">
20+
%license
21+
</license>
22+
23+
<plugin id="com.redhat.fabric8analytics.eclipse.core" download-size="0" install-size="0" version="0.0.0"/>
24+
<plugin id="com.redhat.fabric8analytics.eclipse.ui" download-size="0" install-size="0" version="0.0.0"/>
25+
<plugin id="com.redhat.fabric8analytics.eclipse.lsp.core" download-size="0" install-size="0" version="0.0.0"/>
26+
<plugin id="com.redhat.fabric8analytics.eclipse.lsp.ui" download-size="0" install-size="0" version="0.0.0"/>
27+
28+
</feature>

0 commit comments

Comments
 (0)