Skip to content

ajozwik/mvn2sbt

Repository files navigation

Mvn2Sbt

Build Status Coverage Status Codacy Badge License

=========

Convert maven multi module project (pom.xml files) to sbt project (build.sbt with plugins).

Logback and slf4j are used as reference projects.

Quick start:

  1. Clone mvn2sbt.
  2. Run scala Eff.sc mavenProject, where mavenProject - directory with your maven project to prepare for conversion.
  3. Run sbt ' ; set javaOptions +="[-Dscala.version=2.12.8] [-Dsbt.version=1.2.8]"; converter/run mavenProject [outputDir]'
    • Optional (if outputDir specified): copy /build.sbt to <mavenProject>/build.sbt
    • Optional (if outputDir specified): copy /plugins.sbt to <mavenProject>/project/plugins.sbt
  4. Go to and run sbt compile for test

Note arguments added as [..] are optional.

Supported plugins:

Without parameters ( default configuration)

  • gmaven-plugin
  • maven-thrift-plugin
  • maven-war-plugin
  • cxf-codegen-plugin
  • gwt-maven-plugin
  • testng plugin (as dependency)

Example converters are in package: pl.jozwik.mvn2sbt.pom2sbt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published