Remove dependency on jvm-attach. (#12989)

This dependency was no longer needed after #12481, but remained because
it was used for a (now useless) test. This patch removes the test and
the dependency.
This commit is contained in:
Gian Merlino 2022-08-29 14:18:33 -07:00 committed by GitHub
parent 0460d8a502
commit 9eb20e5e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 52 deletions

View File

@ -276,10 +276,6 @@
dependency are copied as resources. See maven-dependency-plugin configuration and <resources> below. -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gridkit.lab</groupId>
<artifactId>jvm-attach-api</artifactId>
</dependency>
<!-- Extra dependency for http-client -->
<dependency>

View File

@ -1,33 +0,0 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.druid.java.util.metrics;
import org.gridkit.lab.jvm.perfdata.JStatData;
public class GcNameTest
{
public static void main(String[] args)
{
JStatData jStatData = JStatData.connect(SigarUtil.getCurrentProcessId());
System.out.println(jStatData.getAllCounters().get("sun.gc.collector.0.name").getValue());
System.out.println(jStatData.getAllCounters().get("sun.gc.collector.1.name").getValue());
}
}

View File

@ -2160,16 +2160,6 @@ notice: |
---
name: JVM Attach API
license_category: binary
module: java-core
license_name: Apache License version 2.0
version: 1.5
libraries:
- org.gridkit.lab: jvm-attach-api
---
name: Hibernate Validator Engine
license_category: binary
module: java-core

View File

@ -841,11 +841,6 @@
<!-- Uses Netty 4.1.x -->
<version>2.5.3</version>
</dependency>
<dependency>
<groupId>org.gridkit.lab</groupId>
<artifactId>jvm-attach-api</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>