dropins failure workaround for IParser implementations: build configuration issue

Rafer Gluyas rafer.gluyas at gmail.com
Sun Aug 22 00:03:59 UTC 2021


I've been having a look at the mission control codebase - with the
intention of implementing custom parsers (that extend the IParser
interface). However, due to https://bugs.openjdk.java.net/browse/JMC-5994
(ie the dropins folder doesn't work) I haven't made progress.

I've since changed direction a bit to try and prove it is possible to get
this working using another method ~ so I shifted the functionality of the
solution into a external module and tried to get JMC-core to include it
when it is built.

I've included this in the dependencies of
core/org.openjdk.jmc.flightrecorder/pom.xml

                </dependency>
+               <dependency>
+                 <groupId>org.rafe</groupId>
+                 <artifactId>jfrProcessor</artifactId>
+                 <version>0.0.1-SNAPSHOT</version>
+               </dependency>
        </dependencies>

And I have visually verified this by checking the dependency tree - and the
relevant jar is there. However when I do 'mvn package' in the root
directory - the jar is not included.

Can anyone point me in the direction of what I'm missing?


More information about the jmc-dev mailing list