summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2019-01-05 17:20:27 -0800
committerGeorge Fraser <george@fivetran.com>2019-01-05 17:20:27 -0800
commit9369e3f09dd64beba7e8e10973cbdd565f8c544a (patch)
treec25ca4bf46827a411541964be4f8474582a883b0 /pom.xml
parentec011d2dfa3f510f763561e94f50f1f509981f46 (diff)
downloadjava-language-server-9369e3f09dd64beba7e8e10973cbdd565f8c544a.zip
VisualVM config
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index bc2e6fe..aab5256 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,6 +68,24 @@
</annotationProcessorPaths>
</configuration>
</plugin>
+ <!-- Generate target/cp.txt so visualVmConfig() in extension.ts can read it -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.9</version>
+ <executions>
+ <execution>
+ <id>build-classpath</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>build-classpath</goal>
+ </goals>
+ <configuration>
+ <outputFile>${project.build.directory}/cp.txt</outputFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>