oracle / coherence-visualvm

The Coherence-VisualVM Plugin provides management and monitoring of a single Coherence cluster using the VisualVM management utility.
Other
11 stars 9 forks source link

Cannot build the latest plugin #83

Closed jplaroche-telus closed 5 months ago

jplaroche-telus commented 5 months ago

Describe the bug Cannot build the plugin

To Reproduce Steps to reproduce the behaviour: mvn clean install -DskipTest

Error in maven

[INFO] Scanning for projects... [INFO] [INFO] ---< com.oracle.coherence.plugin.visualvm:coherence-visualvm-plugin >--- [INFO] Building Coherence VisualVM Plugin Core 1.7.0-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ nbm ]--------------------------------- [WARNING] The POM for org.graalvm.visualvm.modules:org-graalvm-visualvm-modules-tracer:jar:2.1 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.274 s [INFO] Finished at: 2024-03-21T20:11:56Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project coherence-visualvm-plugin: Could not resolve dependencies for project com.oracle.coherence.plugin.visualvm:coherence-visualvm-plugin:nbm:1.7.0-SNAPSHOT: The following artifacts could not be resolved: org.graalvm.visualvm.modules:org-graalvm-visualvm-modules-tracer:jar:2.1 (absent): org.graalvm.visualvm.modules:org-graalvm-visualvm-modules-tracer:jar:2.1 was not found in https://oss.sonatype.org/content/groups/staging/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of ossrh-staging has elapsed or updates are forced -> [Help 1]

tmiddlet2666 commented 5 months ago

hi @jplaroche-telus With the addition of the new tracer support in the upcoming release, we need a new dependency which is not yet in maven. As a workaround, run the following to install this prior to building:

scripts/install-tracer-library.sh 

Once the dep is available this step will no longer be needed. Let me know how you go. Regards Tim

jplaroche-telus commented 5 months ago

Np, built older 1.5.0 tag and now able to use the plugin in VisualVM

tmiddlet2666 commented 5 months ago

Ok, you can build with main and just run the script above to install the dep.

tmiddlet2666 commented 5 months ago

@jplaroche-telus

The tracer has been added to maven, so you should be able to checkout main and pull the latest abd buuild with JDK11 and will work. Let me know if any issues.

jplaroche-telus commented 5 months ago

Thank you, much appreciated

On Wed, Apr 3, 2024 at 10:47 PM Tim Middleton @.***> wrote:

@jplaroche-telus https://github.com/jplaroche-telus

The tracer has been added to maven, so you should be able to checkout main and pull the latest abd buuild with JDK11 and will work. Let me know if any issues.

— Reply to this email directly, view it on GitHub https://github.com/oracle/coherence-visualvm/issues/83#issuecomment-2036067379, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZUUQJDF5S6JHIXTTPJAWTY3S5M7AVCNFSM6AAAAABFCEF47GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZWGA3DOMZXHE . You are receiving this because you were mentioned.Message ID: @.***>