Skip to content

Commit

Permalink
Clean up apache#12393
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhenxu94 committed Sep 7, 2024
1 parent 7848399 commit 71fcb22
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 82 deletions.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ Apache 2.0 licenses
The following components are provided under the Apache License. See project link for details.
The text of each license is the standard Apache 2.0 license.

proto files from cilium: https://github.com/cilium/cilium/tree/v1.15.6/api/v1 Apache 2.0
proto files from cncf/udpa: https://github.com/cncf/udpa Apache 2.0
proto files from envoyproxy/data-plane-api: https://github.com/envoyproxy/data-plane-api Apache 2.0
proto files from prometheus/client_model: https://github.com/prometheus/client_model Apache 2.0
Expand Down
1 change: 0 additions & 1 deletion dist-material/release-docs/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ The text of each license is the standard Apache 2.0 license.
https://mvnrepository.com/artifact/org.xerial.snappy/snappy-java/1.1.8.4 Apache-2.0
https://mvnrepository.com/artifact/org.yaml/snakeyaml/2.0 Apache-2.0
https://npmjs.com/package/typescript/v/4.7.4 4.7.4 Apache-2.0
https://github.com/cilium/cilium/tree/v1.15.6/api/v1 Apache-2.0

========================================================================
BSD-2-Clause licenses
Expand Down
3 changes: 0 additions & 3 deletions dist-material/release-docs/LICENSE.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ The text of each license is also included in licenses/LICENSE-[project].txt.
https://npmjs.com/package/{{ .Name }}/v/{{ .Version }} {{ .Version }} {{ .LicenseID }}
{{- end }}
{{- end }}
{{- if eq .LicenseID "Apache-2.0" }}
https://github.com/cilium/cilium/tree/v1.15.6/api/v1 Apache-2.0
{{- end }}
{{ end }}
=======================================================================
The zipkin-lens.jar dependency has more front-end dependencies in it and the front-end dependencies' licenses
Expand Down
5 changes: 5 additions & 0 deletions oap-server-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-api</artifactId>
<version>${grpc.version}</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
})
@ToString(of = {
"address",
"connected"
})
public class CiliumNode {
private final String address;
Expand Down
77 changes: 1 addition & 76 deletions oap-server/server-fetcher-plugin/fetcher-proto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,43 +26,14 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>fetcher-proto</artifactId>
<packaging>jar</packaging>

<properties>
<fbs.sources>${basedir}/src/main/fbs</fbs.sources>
<fbs.generated.sources>${project.build.directory}/generated-sources/fbs/java</fbs.generated.sources>
<fbs.compiler>${project.build.directory}/bin/flatc</fbs.compiler>
<fbs.compiler.artifact.type>tar.gz</fbs.compiler.artifact.type>
</properties>

<dependencies>
<dependency>
<groupId>com.google.flatbuffers</groupId>
<artifactId>flatbuffers-java</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-api</artifactId>
<version>1.63.0</version>
<scope>compile</scope>
</dependency>
</dependencies>

<profiles>
<profile>
<id>windows</id>
<activation>
<os>
<family>Windows</family>
</os>
</activation>
<properties>
<fbs.compiler.artifact.type>zip</fbs.compiler.artifact.type>
</properties>
</profile>
</profiles>

<build>
<extensions>
<extension>
Expand Down Expand Up @@ -113,52 +84,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.github.davidmoten</groupId>
<artifactId>flatbuffers-compiler</artifactId>
<version>1.12.0.1</version>
<type>${fbs.compiler.artifact.type}</type>
<classifier>distribution-${os.detected.name}</classifier>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build-helper-maven-plugin.version}</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${fbs.generated.sources}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public void init(final String file) throws Exception {
init(ResourceUtils.readToStream(file));
}

@SuppressWarnings("unchecked")
public void init(final InputStream inputStream) {
if (initialized) {
return;
Expand Down

0 comments on commit 71fcb22

Please sign in to comment.