Skip to content

Commit

Permalink
Remove deprecated contrib plugins (pantsbuild#9762)
Browse files Browse the repository at this point in the history
Refer to https://groups.google.com/forum/#!topic/pants-devel/ngMZRIJvwHM.

[ci skip-rust-tests]
[ci skip-jvm-tests]
  • Loading branch information
Eric-Arellano authored May 15, 2020
1 parent 7901455 commit 8ea25c2
Show file tree
Hide file tree
Showing 198 changed files with 2 additions and 4,727 deletions.
8 changes: 0 additions & 8 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ files(
files(
name = 'build_tools',
sources = ['BUILD.tools'],
dependencies = [
':scalajs_3rdparty_directory',
],
)

files(
Expand All @@ -31,11 +28,6 @@ files(
sources = ['.isort.cfg'],
)

files(
name = 'scalajs_3rdparty_directory',
sources = ['contrib/scalajs/3rdparty/**/*'],
)

files(
name = 'pants_toml',
sources = ['pants.toml'],
Expand Down
34 changes: 0 additions & 34 deletions BUILD.tools
Original file line number Diff line number Diff line change
@@ -1,29 +1,6 @@
# JVM artifacts that Pants itself depends on.
# http://pantsbuild.github.io/dev_tasks.html#jvm-tool-bootstrapping

target(
name = 'scala-js-cli',
dependencies=[
'contrib/scalajs/3rdparty/jvm/org/scala-js:cli'
],
)

target(
name = 'scala-js-compiler',
dependencies=[
'contrib/scalajs/3rdparty/jvm/org/scala-js:compiler',
'contrib/scalajs/3rdparty/jvm/org/scala-js:library',
],
)

target(
name = 'scala-js-library',
dependencies = [
'contrib/scalajs/3rdparty/jvm/org/scala-js:library',
],
)


# TODO: Attempting to use these targets fails because BootstrapJvmTools.get_alternate_target_roots()
# doesn't descend into dependent target directories and uses the same build_graph it starts with.
# target(
Expand Down Expand Up @@ -84,14 +61,3 @@ jar_library(
url='https://raw.githubusercontent.com/toolchainlabs/binhost/master/java/javac/9+181-r4173-1/javac-9+181-r4173-1.jar'),
],
)

# Runtime dependencies for the Avro Java generated code.
avro_rev = '1.8.2'

jar_library(
name = 'avro-java-runtime',
jars = [
jar(org='org.apache.avro', name='avro', rev=avro_rev),
jar(org='org.apache.avro', name='avro-ipc', rev=avro_rev),
],
)
8 changes: 0 additions & 8 deletions contrib/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,16 @@
target(
name = 'plugins',
dependencies = [
'contrib/avro/src/python/pants/contrib/avro:plugin',
'contrib/awslambda/python/src/python/pants/contrib/awslambda/python:plugin',
'contrib/buildgen/src/python/pants/contrib/buildgen:plugin',
'contrib/buildrefactor/src/python/pants/contrib/buildrefactor:plugin',
'contrib/codeanalysis/src/python/pants/contrib/codeanalysis:plugin',
'contrib/confluence/src/python/pants/contrib/confluence:plugin',
'contrib/cpp/src/python/pants/contrib/cpp:plugin',
'contrib/errorprone/src/python/pants/contrib/errorprone:plugin',
'contrib/findbugs/src/python/pants/contrib/findbugs:plugin',
'contrib/go/src/python/pants/contrib/go:plugin',
'contrib/googlejavaformat/src/python/pants/contrib/googlejavaformat:plugin',
'contrib/jax_ws/src/python/pants/contrib/jax_ws:plugin',
'contrib/mypy/src/python/pants/contrib/mypy:plugin',
'contrib/node/src/python/pants/contrib/node:plugin',
'contrib/python/src/python/pants/contrib/python/checks:plugin',
'contrib/scalajs/src/python/pants/contrib/scalajs:plugin',
'contrib/scrooge/src/python/pants/contrib/scrooge:plugin',
'contrib/thrifty/src/python/pants/contrib/thrifty:plugin',
]
)

Expand Down
7 changes: 0 additions & 7 deletions contrib/avro/BUILD

This file was deleted.

6 changes: 0 additions & 6 deletions contrib/avro/README.md

This file was deleted.

1 change: 0 additions & 1 deletion contrib/avro/src/python/pants/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion contrib/avro/src/python/pants/contrib/__init__.py

This file was deleted.

29 changes: 0 additions & 29 deletions contrib/avro/src/python/pants/contrib/avro/BUILD

This file was deleted.

1 change: 0 additions & 1 deletion contrib/avro/src/python/pants/contrib/avro/__init__.py

This file was deleted.

27 changes: 0 additions & 27 deletions contrib/avro/src/python/pants/contrib/avro/register.py

This file was deleted.

13 changes: 0 additions & 13 deletions contrib/avro/src/python/pants/contrib/avro/target_types.py

This file was deleted.

10 changes: 0 additions & 10 deletions contrib/avro/src/python/pants/contrib/avro/targets/BUILD

This file was deleted.

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions contrib/avro/src/python/pants/contrib/avro/tasks/BUILD

This file was deleted.

This file was deleted.

92 changes: 0 additions & 92 deletions contrib/avro/src/python/pants/contrib/avro/tasks/avro_gen.py

This file was deleted.

12 changes: 0 additions & 12 deletions contrib/avro/tests/avro/org/pantsbuild/contrib/avro/BUILD

This file was deleted.

41 changes: 0 additions & 41 deletions contrib/avro/tests/avro/org/pantsbuild/contrib/avro/simple.avdl

This file was deleted.

9 changes: 0 additions & 9 deletions contrib/avro/tests/avro/org/pantsbuild/contrib/avro/user.avsc

This file was deleted.

Loading

0 comments on commit 8ea25c2

Please sign in to comment.