Skip to content

zmeggyesi/maven-to-bazel

Repository files navigation

DEPRECATED, SEE Maven Plugin

RETAINED FOR REFERENCE

maven-to-bazel

Maven-Bazel dependency migrator

Assist migrating from Maven to Bazel by reading the pom.xml for dependencies and outputting a formatted set of Maven directives for the WORKSPACE file.

Switches

N.B.: All switches are VM Arguments! Both the pom and the outputFilePrefix options are passed to File constructors, so full paths can be supplied.

  • pom[String]: Location of the POM file for processing.
  • outputFilePrefix[String]: Determines the prefix of the output files. If set, console output is suppressed and directed to the selected files.
  • outputDirectives[String:true|false]: Instructs the Migrator to output the WORKSPACE directives into a file named ${outputFilePrefix}-directives
  • outputReferences[String:true|false]: Instructs the Migrator to output the BUILD directives into a file named ${outputFilePrefix}-references