Skip to content

Commit 9483242

Browse files
committed
Runtime-Based MicroProfile Config Validation for LSP4MP
Fixes #511 Signed-off-by: azerr <[email protected]>
1 parent cf281d1 commit 9483242

File tree

101 files changed

+5113
-1040
lines changed

Some content is hidden

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

101 files changed

+5113
-1040
lines changed

microprofile.jdt/org.eclipse.lsp4mp.jdt.core/META-INF/MANIFEST.MF

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Export-Package: io.quarkus.runtime.util,
2626
org.eclipse.lsp4mp.commons,
2727
org.eclipse.lsp4mp.commons.codeaction,
2828
org.eclipse.lsp4mp.commons.metadata,
29+
org.eclipse.lsp4mp.commons.runtime,
2930
org.eclipse.lsp4mp.jdt.core,
3031
org.eclipse.lsp4mp.jdt.core.java,
3132
org.eclipse.lsp4mp.jdt.core.java.codeaction,
@@ -57,11 +58,17 @@ Export-Package: io.quarkus.runtime.util,
5758
org.eclipse.lsp4mp.jdt.internal.reactivemessaging;x-friends:="org.eclipse.lsp4mp.jdt.test",
5859
org.eclipse.lsp4mp.jdt.internal.reactivemessaging.java;x-friends:="org.eclipse.lsp4mp.jdt.test",
5960
org.eclipse.lsp4mp.jdt.internal.restclient;x-friends:="org.eclipse.lsp4mp.jdt.test"
60-
Bundle-ClassPath: .
61+
Bundle-ClassPath: .,
62+
runtimes/smallrye/commons-logging-jboss-logging-1.0.0.Final.jar,
63+
runtimes/smallrye/jboss-logging-3.6.1.Final.jar,
64+
runtimes/smallrye/jboss-logmanager-3.1.2.Final.jar,
65+
runtimes/smallrye/microprofile-config-api-3.1.jar,
66+
runtimes/smallrye/smallrye-config-3.14.1.jar,
67+
runtimes/smallrye/smallrye-config-common-3.14.1.jar,
68+
runtimes/smallrye/smallrye-config-core-3.14.1.jar
6169
Import-Package: com.google.common.graph,
6270
com.google.gson,
6371
com.google.gson.stream,
6472
io.smallrye.common.constraint,
6573
io.smallrye.common.expression,
66-
io.smallrye.common.function,
67-
org.jboss.logging
74+
io.smallrye.common.function

microprofile.jdt/org.eclipse.lsp4mp.jdt.core/build.properties

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,12 @@ bin.includes = plugin.xml,\
66
plugin.properties,\
77
schema/,\
88
static-properties/,\
9-
about.html
9+
about.html,\
10+
runtimes/smallrye/commons-logging-jboss-logging-1.0.0.Final.jar,\
11+
runtimes/smallrye/jboss-logging-3.6.1.Final.jar,\
12+
runtimes/smallrye/jboss-logmanager-3.1.2.Final.jar,\
13+
runtimes/smallrye/microprofile-config-api-3.1.jar,\
14+
runtimes/smallrye/smallrye-config-3.14.1.jar,\
15+
runtimes/smallrye/smallrye-config-common-3.14.1.jar,\
16+
runtimes/smallrye/smallrye-config-core-3.14.1.jar
1017
src.includes = about.html

microprofile.jdt/org.eclipse.lsp4mp.jdt.core/pom.xml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,92 @@
1212
<packaging>eclipse-plugin</packaging>
1313
<name>MicroProfile JDT LS Extension</name>
1414
<description>MicroProfile JDT LS Extension - Core</description>
15+
16+
<build>
17+
<plugins>
18+
<plugin>
19+
<groupId>org.apache.maven.plugins</groupId>
20+
<artifactId>maven-dependency-plugin</artifactId>
21+
<version>3.9.0</version>
22+
<executions>
23+
<execution>
24+
<id>copy</id>
25+
<goals>
26+
<goal>copy</goal>
27+
</goals>
28+
<phase>generate-resources</phase>
29+
<configuration>
30+
<outputDirectory>runtimes/smallrye</outputDirectory>
31+
<overWriteReleases>false</overWriteReleases>
32+
<overWriteSnapshots>false</overWriteSnapshots>
33+
<overWriteIfNewer>true</overWriteIfNewer>
34+
<artifactItems>
35+
<artifactItem>
36+
<groupId>org.jboss.logging</groupId>
37+
<artifactId>commons-logging-jboss-logging</artifactId>
38+
<version>1.0.0.Final</version>
39+
</artifactItem>
40+
<artifactItem>
41+
<groupId>org.jboss.logging</groupId>
42+
<artifactId>jboss-logging</artifactId>
43+
<version>3.6.1.Final</version>
44+
</artifactItem>
45+
<artifactItem>
46+
<groupId>org.jboss.logmanager</groupId>
47+
<artifactId>jboss-logmanager</artifactId>
48+
<version>3.1.2.Final</version>
49+
</artifactItem>
50+
<artifactItem>
51+
<groupId>org.eclipse.microprofile.config</groupId>
52+
<artifactId>microprofile-config-api</artifactId>
53+
<version>3.1</version>
54+
</artifactItem>
55+
<artifactItem>
56+
<groupId>io.smallrye.config</groupId>
57+
<artifactId>smallrye-config</artifactId>
58+
<version>3.14.1</version>
59+
</artifactItem>
60+
<artifactItem>
61+
<groupId>io.smallrye.config</groupId>
62+
<artifactId>smallrye-config-common</artifactId>
63+
<version>3.14.1</version>
64+
</artifactItem>
65+
<artifactItem>
66+
<groupId>io.smallrye.config</groupId>
67+
<artifactId>smallrye-config-core</artifactId>
68+
<version>3.14.1</version>
69+
</artifactItem>
70+
</artifactItems>
71+
</configuration>
72+
</execution>
73+
</executions>
74+
</plugin>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-clean-plugin</artifactId>
78+
<version>2.4.1</version>
79+
<executions>
80+
<execution>
81+
<id>runtime-clean</id>
82+
<phase>clean</phase>
83+
<goals>
84+
<goal>clean</goal>
85+
</goals>
86+
<configuration>
87+
<filesets>
88+
<fileset>
89+
<directory>
90+
runtimes/smallrye</directory>
91+
<includes>
92+
<include>**/*.jar</include>
93+
</includes>
94+
<followSymlinks>false</followSymlinks>
95+
</fileset>
96+
</filesets>
97+
</configuration>
98+
</execution>
99+
</executions>
100+
</plugin>
101+
</plugins>
102+
</build>
15103
</project>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)