Adopt snakeyaml 1.25-snapshot version
Remove no longer needed workaround for https://bitbucket.org/asomov/snakeyaml/issues/441/need-a-way-to-discover-anchored-nodes-in
This commit is contained in:
@@ -18,6 +18,12 @@
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Yaml -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
<artifactId>commons-yaml</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<!-- spring boot -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
@@ -30,12 +36,6 @@
|
||||
<artifactId>commons-language-server</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<!-- Yaml -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
<artifactId>commons-yaml</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<!-- Test harness -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
|
||||
<project xmlns="https://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>commons-yaml</artifactId>
|
||||
@@ -13,6 +14,10 @@
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.yaml</groupId>
|
||||
<artifactId>snakeyaml</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
<artifactId>commons-util</artifactId>
|
||||
@@ -23,10 +28,6 @@
|
||||
<artifactId>commons-language-server</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.yaml</groupId>
|
||||
<artifactId>snakeyaml</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.inject</groupId>
|
||||
<artifactId>javax.inject</artifactId>
|
||||
|
||||
@@ -40,13 +40,11 @@ public class YamlFileAST {
|
||||
|
||||
private static final List<NodeRef<?>> NO_CHILDREN = Collections.emptyList();
|
||||
private final List<Node> nodes;
|
||||
private final Set<Node> anchoredNodes;
|
||||
private final IDocument doc;
|
||||
|
||||
public YamlFileAST(IDocument doc, List<Node> nodes, Set<Node> anchoredNodes) {
|
||||
public YamlFileAST(IDocument doc, List<Node> nodes) {
|
||||
this.doc = doc;
|
||||
this.nodes = nodes;
|
||||
this.anchoredNodes = anchoredNodes;
|
||||
}
|
||||
|
||||
public List<NodeRef<?>> findPath(int offset) {
|
||||
@@ -173,7 +171,7 @@ public class YamlFileAST {
|
||||
public boolean isAnchored(NodeTuple entry) {
|
||||
if (entry!=null) {
|
||||
Node v = entry.getValueNode();
|
||||
return v!=null && anchoredNodes.contains(v);
|
||||
return v!=null && v.getAnchor()!=null;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -11,22 +11,11 @@
|
||||
|
||||
package org.springframework.ide.vscode.commons.yaml.ast;
|
||||
|
||||
import java.io.Reader;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
import java.util.function.BiConsumer;
|
||||
|
||||
import org.springframework.ide.vscode.commons.util.text.IDocument;
|
||||
import org.springframework.ide.vscode.commons.yaml.util.AnchorTrackingComposer;
|
||||
import org.yaml.snakeyaml.composer.Composer;
|
||||
import org.yaml.snakeyaml.Yaml;
|
||||
import org.yaml.snakeyaml.nodes.Node;
|
||||
import org.yaml.snakeyaml.parser.ParserImpl;
|
||||
import org.yaml.snakeyaml.reader.StreamReader;
|
||||
import org.yaml.snakeyaml.resolver.Resolver;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
|
||||
import javolution.io.CharSequenceReader;
|
||||
|
||||
@@ -39,33 +28,8 @@ public class YamlParser implements YamlASTProvider {
|
||||
public YamlFileAST getAST(IDocument doc) throws Exception {
|
||||
CharSequenceReader reader = new CharSequenceReader();
|
||||
reader.setInput(doc.get());
|
||||
ImmutableSet.Builder<Node> anchoredNodes = ImmutableSet.builder();
|
||||
ImmutableList<Node> nodes = composeAll(reader, (a, n) -> anchoredNodes.add(n));
|
||||
return new YamlFileAST(doc, nodes, anchoredNodes.build());
|
||||
Iterable<Node> nodes = new Yaml().composeAll(reader);
|
||||
return new YamlFileAST(doc, ImmutableList.copyOf(nodes));
|
||||
}
|
||||
|
||||
private ImmutableList<Node> composeAll(Reader yaml, BiConsumer<String, Node> anchorListener) {
|
||||
Resolver resolver = new Resolver();
|
||||
AnchorTrackingComposer composer = new AnchorTrackingComposer(new ParserImpl(new StreamReader(yaml)), resolver, anchorListener);
|
||||
ImmutableList.Builder<Node> nodes = ImmutableList.builder();
|
||||
while (composer.checkNode()) {
|
||||
nodes.add(composer.getNode());
|
||||
}
|
||||
return nodes.build();
|
||||
}
|
||||
|
||||
private static class NodeIterable implements Iterable<Node> {
|
||||
private Iterator<Node> iterator;
|
||||
|
||||
public NodeIterable(Iterator<Node> iterator) {
|
||||
this.iterator = iterator;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<Node> iterator() {
|
||||
return iterator;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,233 +0,0 @@
|
||||
package org.springframework.ide.vscode.commons.yaml.util;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.function.BiConsumer;
|
||||
|
||||
import org.yaml.snakeyaml.events.AliasEvent;
|
||||
import org.yaml.snakeyaml.events.Event;
|
||||
import org.yaml.snakeyaml.events.MappingStartEvent;
|
||||
import org.yaml.snakeyaml.events.NodeEvent;
|
||||
import org.yaml.snakeyaml.events.ScalarEvent;
|
||||
import org.yaml.snakeyaml.events.SequenceStartEvent;
|
||||
import org.yaml.snakeyaml.nodes.MappingNode;
|
||||
import org.yaml.snakeyaml.nodes.Node;
|
||||
import org.yaml.snakeyaml.nodes.NodeId;
|
||||
import org.yaml.snakeyaml.nodes.NodeTuple;
|
||||
import org.yaml.snakeyaml.nodes.ScalarNode;
|
||||
import org.yaml.snakeyaml.nodes.SequenceNode;
|
||||
import org.yaml.snakeyaml.nodes.Tag;
|
||||
import org.yaml.snakeyaml.parser.Parser;
|
||||
import org.yaml.snakeyaml.resolver.Resolver;
|
||||
|
||||
/**
|
||||
* Creates a node graph from parser events.
|
||||
* <p>
|
||||
* Corresponds to the 'Compose' step as described in chapter 3.1 of the
|
||||
* <a href="http://yaml.org/spec/1.1/">YAML Specification</a>.
|
||||
* </p>
|
||||
*/
|
||||
public class AnchorTrackingComposer {
|
||||
protected final Parser parser;
|
||||
private final Resolver resolver;
|
||||
private final Map<String, Node> _anchors;
|
||||
private final Set<Node> recursiveNodes;
|
||||
private BiConsumer<String, Node> anchorListener;
|
||||
|
||||
public AnchorTrackingComposer(Parser parser, Resolver resolver, BiConsumer<String, Node> anchorListener) {
|
||||
this.parser = parser;
|
||||
this.resolver = resolver;
|
||||
this._anchors = new HashMap<String, Node>();
|
||||
this.recursiveNodes = new HashSet<Node>();
|
||||
this.anchorListener = anchorListener;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if further documents are available.
|
||||
*
|
||||
* @return <code>true</code> if there is at least one more document.
|
||||
*/
|
||||
public boolean checkNode() {
|
||||
// Drop the STREAM-START event.
|
||||
if (parser.checkEvent(Event.ID.StreamStart)) {
|
||||
parser.getEvent();
|
||||
}
|
||||
// If there are more documents available?
|
||||
return !parser.checkEvent(Event.ID.StreamEnd);
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads and composes the next document.
|
||||
*
|
||||
* @return The root node of the document or <code>null</code> if no more
|
||||
* documents are available.
|
||||
*/
|
||||
public Node getNode() {
|
||||
// Drop the DOCUMENT-START event.
|
||||
parser.getEvent();
|
||||
// Compose the root node.
|
||||
Node node = composeNode(null);
|
||||
// Drop the DOCUMENT-END event.
|
||||
parser.getEvent();
|
||||
this._anchors.clear();
|
||||
recursiveNodes.clear();
|
||||
return node;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads a document from a source that contains only one document.
|
||||
* <p>
|
||||
* If the stream contains more than one document an exception is thrown.
|
||||
* </p>
|
||||
*
|
||||
* @return The root node of the document or <code>null</code> if no document
|
||||
* is available.
|
||||
*/
|
||||
public Node getSingleNode() {
|
||||
// Drop the STREAM-START event.
|
||||
parser.getEvent();
|
||||
// Compose a document if the stream is not empty.
|
||||
Node document = null;
|
||||
if (!parser.checkEvent(Event.ID.StreamEnd)) {
|
||||
document = getNode();
|
||||
}
|
||||
// Ensure that the stream contains no more documents.
|
||||
if (!parser.checkEvent(Event.ID.StreamEnd)) {
|
||||
Event event = parser.getEvent();
|
||||
throw new ComposerException("expected a single document in the stream",
|
||||
document.getStartMark(), "but found another document", event.getStartMark());
|
||||
}
|
||||
// Drop the STREAM-END event.
|
||||
parser.getEvent();
|
||||
return document;
|
||||
}
|
||||
|
||||
private Node composeNode(Node parent) {
|
||||
if (parent != null) recursiveNodes.add(parent);
|
||||
final Node node;
|
||||
if (parser.checkEvent(Event.ID.Alias)) {
|
||||
AliasEvent event = (AliasEvent) parser.getEvent();
|
||||
String anchor = event.getAnchor();
|
||||
if (!_anchors.containsKey(anchor)) {
|
||||
throw new ComposerException(null, null, "found undefined alias " + anchor,
|
||||
event.getStartMark());
|
||||
}
|
||||
node = _anchors.get(anchor);
|
||||
if (recursiveNodes.remove(node)) {
|
||||
node.setTwoStepsConstruction(true);
|
||||
}
|
||||
} else {
|
||||
NodeEvent event = (NodeEvent) parser.peekEvent();
|
||||
String anchor = event.getAnchor();
|
||||
// the check for duplicate anchors has been removed (issue 174)
|
||||
if (parser.checkEvent(Event.ID.Scalar)) {
|
||||
node = composeScalarNode(anchor);
|
||||
} else if (parser.checkEvent(Event.ID.SequenceStart)) {
|
||||
node = composeSequenceNode(anchor);
|
||||
} else {
|
||||
node = composeMappingNode(anchor);
|
||||
}
|
||||
}
|
||||
recursiveNodes.remove(parent);
|
||||
return node;
|
||||
}
|
||||
|
||||
protected Node composeScalarNode(String anchor) {
|
||||
ScalarEvent ev = (ScalarEvent) parser.getEvent();
|
||||
String tag = ev.getTag();
|
||||
boolean resolved = false;
|
||||
Tag nodeTag;
|
||||
if (tag == null || tag.equals("!")) {
|
||||
nodeTag = resolver.resolve(NodeId.scalar, ev.getValue(),
|
||||
ev.getImplicit().canOmitTagInPlainScalar());
|
||||
resolved = true;
|
||||
} else {
|
||||
nodeTag = new Tag(tag);
|
||||
}
|
||||
Node node = new ScalarNode(nodeTag, resolved, ev.getValue(), ev.getStartMark(),
|
||||
ev.getEndMark(), ev.getScalarStyle());
|
||||
if (anchor != null) {
|
||||
anchors_put(anchor, node);
|
||||
}
|
||||
return node;
|
||||
}
|
||||
|
||||
protected void anchors_put(String anchor, Node node) {
|
||||
_anchors.put(anchor, node);
|
||||
if (anchorListener!=null) {
|
||||
anchorListener.accept(anchor, node);
|
||||
}
|
||||
}
|
||||
|
||||
protected Node composeSequenceNode(String anchor) {
|
||||
SequenceStartEvent startEvent = (SequenceStartEvent) parser.getEvent();
|
||||
String tag = startEvent.getTag();
|
||||
Tag nodeTag;
|
||||
boolean resolved = false;
|
||||
if (tag == null || tag.equals("!")) {
|
||||
nodeTag = resolver.resolve(NodeId.sequence, null, startEvent.getImplicit());
|
||||
resolved = true;
|
||||
} else {
|
||||
nodeTag = new Tag(tag);
|
||||
}
|
||||
final ArrayList<Node> children = new ArrayList<Node>();
|
||||
SequenceNode node = new SequenceNode(nodeTag, resolved, children, startEvent.getStartMark(),
|
||||
null, startEvent.getFlowStyle());
|
||||
if (anchor != null) {
|
||||
anchors_put(anchor, node);
|
||||
}
|
||||
while (!parser.checkEvent(Event.ID.SequenceEnd)) {
|
||||
children.add(composeNode(node));
|
||||
}
|
||||
Event endEvent = parser.getEvent();
|
||||
node.setEndMark(endEvent.getEndMark());
|
||||
return node;
|
||||
}
|
||||
|
||||
protected Node composeMappingNode(String anchor) {
|
||||
MappingStartEvent startEvent = (MappingStartEvent) parser.getEvent();
|
||||
String tag = startEvent.getTag();
|
||||
Tag nodeTag;
|
||||
boolean resolved = false;
|
||||
if (tag == null || tag.equals("!")) {
|
||||
nodeTag = resolver.resolve(NodeId.mapping, null, startEvent.getImplicit());
|
||||
resolved = true;
|
||||
} else {
|
||||
nodeTag = new Tag(tag);
|
||||
}
|
||||
|
||||
final List<NodeTuple> children = new ArrayList<NodeTuple>();
|
||||
MappingNode node = new MappingNode(nodeTag, resolved, children, startEvent.getStartMark(),
|
||||
null, startEvent.getFlowStyle());
|
||||
if (anchor != null) {
|
||||
anchors_put(anchor, node);
|
||||
}
|
||||
while (!parser.checkEvent(Event.ID.MappingEnd)) {
|
||||
composeMappingChildren(children, node);
|
||||
}
|
||||
Event endEvent = parser.getEvent();
|
||||
node.setEndMark(endEvent.getEndMark());
|
||||
return node;
|
||||
}
|
||||
|
||||
protected void composeMappingChildren(List<NodeTuple> children, MappingNode node) {
|
||||
Node itemKey = composeKeyNode(node);
|
||||
if (itemKey.getTag().equals(Tag.MERGE)) {
|
||||
node.setMerged(true);
|
||||
}
|
||||
Node itemValue = composeValueNode(node);
|
||||
children.add(new NodeTuple(itemKey, itemValue));
|
||||
}
|
||||
|
||||
protected Node composeKeyNode(MappingNode node) {
|
||||
return composeNode(node);
|
||||
}
|
||||
|
||||
protected Node composeValueNode(MappingNode node) {
|
||||
return composeNode(node);
|
||||
}
|
||||
}
|
||||
@@ -17,6 +17,18 @@
|
||||
<relativePath></relativePath>
|
||||
</parent>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- override spring boot managed dependency to more recent. This can be removed
|
||||
once spring-boot adopts a newer version -->
|
||||
<dependency>
|
||||
<groupId>org.yaml</groupId>
|
||||
<artifactId>snakeyaml</artifactId>
|
||||
<version>1.25-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<modules>
|
||||
<module>commons-language-server</module>
|
||||
<module>commons-lsp-extensions</module>
|
||||
|
||||
@@ -1,7 +1,20 @@
|
||||
<factorypath>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/yaml/snakeyaml/1.25-SNAPSHOT/snakeyaml-1.25-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/javolution/javolution-core-java/6.0.0/javolution-core-java-6.0.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/io/projectreactor/reactor-core/3.2.8.RELEASE/reactor-core-3.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/reactivestreams/reactive-streams/1.0.2/reactive-streams-1.0.2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/cglib/cglib/3.2.7/cglib-3.2.7.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/ow2/asm/asm/6.2/asm-6.2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ant/ant/1.10.3/ant-1.10.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ant/ant-launcher/1.10.3/ant-launcher-1.10.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/com/kotcrab/remark/remark/1.0.0/remark-1.0.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/jsoup/jsoup/1.9.2/jsoup-1.9.2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot/2.2.0.M2/spring-boot-2.2.0.M2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/javax/inject/javax.inject/1/javax.inject-1.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/guava/guava/19.0/guava-19.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-actuator/2.2.0.M2/spring-boot-starter-actuator-2.2.0.M2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter/2.2.0.M2/spring-boot-starter-2.2.0.M2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot/2.2.0.M2/spring-boot-2.2.0.M2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-autoconfigure/2.2.0.M2/spring-boot-autoconfigure-2.2.0.M2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-logging/2.2.0.M2/spring-boot-starter-logging-2.2.0.M2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
@@ -20,19 +33,6 @@
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/io/micrometer/micrometer-core/1.1.4/micrometer-core-1.1.4.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/hdrhistogram/HdrHistogram/2.1.9/HdrHistogram-2.1.9.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/io/projectreactor/reactor-core/3.2.8.RELEASE/reactor-core-3.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/reactivestreams/reactive-streams/1.0.2/reactive-streams-1.0.2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/javolution/javolution-core-java/6.0.0/javolution-core-java-6.0.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/cglib/cglib/3.2.7/cglib-3.2.7.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/ow2/asm/asm/6.2/asm-6.2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ant/ant/1.10.3/ant-1.10.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ant/ant-launcher/1.10.3/ant-launcher-1.10.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/com/kotcrab/remark/remark/1.0.0/remark-1.0.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/jsoup/jsoup/1.9.2/jsoup-1.9.2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/yaml/snakeyaml/1.24/snakeyaml-1.24.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/javax/inject/javax.inject/1/javax.inject-1.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/guava/guava/19.0/guava-19.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/kohsuke/github-api/1.90/github-api-1.90.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/commons-lang/commons-lang/2.6/commons-lang-2.6.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/commons-codec/commons-codec/1.12/commons-codec-1.12.jar" enabled="true" runInBatchMode="false"/>
|
||||
|
||||
@@ -26,6 +26,12 @@
|
||||
</distributionManagement>
|
||||
|
||||
<dependencies>
|
||||
<!-- Yaml -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
<artifactId>commons-yaml</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<!-- spring boot -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
@@ -38,12 +44,6 @@
|
||||
<artifactId>language-server-starter</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<!-- Yaml -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
<artifactId>commons-yaml</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<!-- github client -->
|
||||
<dependency>
|
||||
<groupId>org.kohsuke</groupId>
|
||||
|
||||
@@ -35,6 +35,12 @@
|
||||
</distributionManagement>
|
||||
|
||||
<dependencies>
|
||||
<!-- Yaml -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
<artifactId>commons-yaml</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<!-- spring boot -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
@@ -47,12 +53,6 @@
|
||||
<artifactId>commons-language-server</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<!-- Yaml -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
<artifactId>commons-yaml</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<!-- CF -->
|
||||
<dependency>
|
||||
<groupId>io.projectreactor</groupId>
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
<factorypath>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/yaml/snakeyaml/1.25-SNAPSHOT/snakeyaml-1.25-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/javolution/javolution-core-java/6.0.0/javolution-core-java-6.0.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/cglib/cglib/3.2.7/cglib-3.2.7.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ant/ant/1.10.3/ant-1.10.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ant/ant-launcher/1.10.3/ant-launcher-1.10.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/com/kotcrab/remark/remark/1.0.0/remark-1.0.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/jsoup/jsoup/1.9.2/jsoup-1.9.2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/javax/inject/javax.inject/1/javax.inject-1.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/guava/guava/19.0/guava-19.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter/2.2.0.M2/spring-boot-starter-2.2.0.M2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-autoconfigure/2.2.0.M2/spring-boot-autoconfigure-2.2.0.M2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-starter-logging/2.2.0.M2/spring-boot-starter-logging-2.2.0.M2.jar" enabled="true" runInBatchMode="false"/>
|
||||
@@ -10,13 +19,6 @@
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/jakarta/annotation/jakarta.annotation-api/1.3.4/jakarta.annotation-api-1.3.4.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/boot/spring-boot-configuration-processor/2.2.0.M2/spring-boot-configuration-processor-2.2.0.M2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/ide/eclipse/org.json/1.0/org.json-1.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/javolution/javolution-core-java/6.0.0/javolution-core-java-6.0.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/cglib/cglib/3.2.7/cglib-3.2.7.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ant/ant/1.10.3/ant-1.10.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ant/ant-launcher/1.10.3/ant-launcher-1.10.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/com/kotcrab/remark/remark/1.0.0/remark-1.0.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/jsoup/jsoup/1.9.2/jsoup-1.9.2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/guava/guava/19.0/guava-19.0.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/antlr/antlr4-runtime/4.5.3/antlr4-runtime-4.5.3.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/maven/maven-core/3.3.9/maven-core-3.3.9.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/maven/maven-model/3.3.9/maven-model-3.3.9.jar" enabled="true" runInBatchMode="false"/>
|
||||
@@ -67,8 +69,6 @@
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-expression/5.2.0.M1/spring-expression-5.2.0.M1.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/io/projectreactor/reactor-core/3.2.8.RELEASE/reactor-core-3.2.8.RELEASE.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/reactivestreams/reactive-streams/1.0.2/reactive-streams-1.0.2.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/yaml/snakeyaml/1.24/snakeyaml-1.24.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/javax/inject/javax.inject/1/javax.inject-1.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/org/json/json/20160810/json-20160810.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="VARJAR" id="M2_REPO/commons-codec/commons-codec/1.12/commons-codec-1.12.jar" enabled="true" runInBatchMode="false"/>
|
||||
<factorypathentry kind="EXTJAR" id="/usr/lib/jvm/java-8-oracle/jre/../lib/tools.jar" enabled="true" runInBatchMode="false"/>
|
||||
|
||||
@@ -34,6 +34,11 @@
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
<artifactId>commons-yaml</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<!-- spring boot -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
@@ -72,11 +77,6 @@
|
||||
<artifactId>commons-language-server</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
<artifactId>commons-yaml</artifactId>
|
||||
<version>${dependencies.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.ide.vscode</groupId>
|
||||
<artifactId>commons-boot-app-cli</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user