maven2sbt

A tool to convert pom.xml into build.sbt

MIT License

Stars
13

Bot releases are visible (Hide)

maven2sbt - v1.5.0 Latest Release

Published by kevin-lee over 1 year ago

1.5.0 - 2023-07-12

Bug Fix

  • Fix: Issue with Unsupported scope (#339)

Improvement

  • Exclude should not have Scala binary version suffix (#327)

    The old exclusions look like

    exclude("group-id", "artifact-id_${props.scalaBinaryVersion}")
    
    excludeAll(
      ExclusionRule(organization = "group-id", name = "artifact-id_${props.scalaBinaryVersion}"),
      ExclusionRule(organization = "group-id2", name = "artifact-id2"),
    )
    

    It is now done like these instead.

    excludeAll("group-id" %% "artifact-id")
    
    excludeAll(
      "group-id" %% "artifact-id",
      "group-id2" % "artifact-id2",
    )
    

    It is much cleaner this way.

  • Make GlobalSettings.empty constant (#285)

    Make GlobalSettings.empty constant.
    GlobalSettings.empty is currently def so it creates a new instance of an empty GlobalSettings whenever GlobalSettings.empty is called. However, GlobalSettings is immutable so there can be only one instance used for any required empty GlobalSettings.

Internal Housekeeping

  • Upgrade libraries: cats-effect, effectie, logger-f and extras (#334)
    • cats-effect to 3.4.8
    • effectie to 2.0.0-beta9
    • logger-f to 2.0.0-beta12
    • extras to 0.38.0
  • Upgrade libraries (#332)
    • cats-effect to 3.4.7
    • effectie to 2.0.0-beta6
    • logger-f to 2.0.0-beta9
    • extras to 0.31.0
  • Add syntax for Render (#325)
  • Upgrade cats-effect to 3.4.4 (#318)
  • Upgrade GraalVM to 22.3.0 (#316)
  • Bump Scala 2 and libraries (#311)
    • 2.12.17
    • 2.13.10
  • Upgrade GraalVM to 22.2.0 and JVM to 17 (#308)
  • Remove sbt-extras (#306)
  • Upgrade sbt-extras script (#304)
  • Set up WartRemover for Scala 3 (#294)
  • Move all sub-projects to modules dir (#291)
  • Use extras-cats (#277)
  • Upgrade Scala 3 to 3.0.1 and Effectie to 1.14.0 (#275)
maven2sbt - v1.4.0

Published by kevin-lee over 3 years ago

1.4.0 - 2021-06-09

Done

  • Support Scala 3.0.0 (#262)
  • Publish directly to Maven Central (#254)
  • Support Scala 3.0.0-RC2 and Scala 3.0.0-RC3 (#249)
maven2sbt - v1.3.0

Published by kevin-lee over 3 years ago

1.3.0 - 2021-03-24

Done

  • Support Scala 3.0.0-RC1 (#208)
  • Build with GraalVM (#214)
  • Release GraalVM Native Image for macOS and Linux (#218)
  • Add installation script for GraalVM Native Image for macOS (#223)
  • Add installation script for GraalVM Native Image for Ubuntu and Debian Linux (#225)
  • Change GitHub Actions for better GraalVM support (#227)
  • Add GraalVM Native Image build for Windows (#229)
  • Increase the column length of help descriptions from 80 to 100 (#238)
  • Stop uploading the jar files, the Debian package and the tarball file to GitHub Release (#240)
maven2sbt - v1.2.0

Published by kevin-lee over 3 years ago

1.2.0 - 2021-03-09

Done

  • Add support Maven's <dependencyManagement> (#185)
  • Support Scala dependency with scalaBinaryVersion (#187)
  • Use libs for libraryDependencies when it's found in libs (#190)
  • Add libs name param (--libs-name) (#191)
  • Add Scala binary version param (--scala-binary-version-name | -b) (#192)
  • Support getting groupId from <parent> element if no groupId is found in pom.xml (#197)
maven2sbt - v1.1.1

Published by kevin-lee almost 4 years ago

1.1.1 - 2021-01-01 🎉

Fixed

  • Add missing info in --props-name (#175)
maven2sbt - v1.1.0

Published by kevin-lee almost 4 years ago

1.1.0 - 2020-12-29

Done

  • Add props name param (--props-name) (#167)

Fixed

  • Fix - possible reserved sbt words used as property names (e.g. scalaVersion, version, etc.) (#147)
  • Fixed missing id and name handling for a repository (#148)
  • Fix - Handle properties in properties, dependencies and repositories properly (#149)
  • ExclusionRule is set with the incorrect named parameter (#158)
  • String interpolation is broken (#168)
  • Some String values are not rendered with props properly (#170)
maven2sbt - v1.0.0

Published by kevin-lee about 4 years ago

1.0.0 - 2020-09-07

Done

  • Use newtype instead of value class (#132)
  • Deprecate render methods no longer in use (#130)
  • Use Effectie (#108)
  • Maven2Sbt should return modeled data instead of String (#95)

Fixed

  • Variables from maven properties are double-quoted (#126)
  • Maven property name with hyphens is not converted to Scala variable name properly (#125)
  • Maven2Sbt is not referentially transparent (#91)
maven2sbt - v0.4.0

Published by kevin-lee almost 5 years ago

0.4.0 - 2020-01-01 🎉🎊

Done

  • Change the name of CLI executable to maven2sbt (#71)
  • Use Cats and Tagless-final in core (#72)
  • Make core's Maven2Sbt referentially transparent (#75)
  • Stop supporting Scala 2.10 (#78)
  • Use Cats Effect in cli (#80)
maven2sbt - v0.3.0

Published by kevin-lee almost 5 years ago

0.3.0 - 2019-12-15

Done

Add subcommands to CLI for different output types (#65)

maven2sbt - v0.2.0

Published by kevin-lee almost 5 years ago

0.2.0 - 2019-12-10

Done

  • Add output file (#46)
  • Add installation script (#48)
  • Add option to overwrite output file (#53)
  • Add proper error handling (#54)
  • Add build from InputStream (#55)
  • Change CLI options (#61)
maven2sbt - v0.1.0

Published by kevin-lee almost 5 years ago

0.1.0 - 2019-12-08

Done

  • Create a pom.xml to build.sbt converter (#1)
  • Support exclusion (#3)
  • Clean up the code (#4)
  • Generate multi-project style build.sbt (#5)
  • Provide proper CLI (#9)
  • Remove hard-coded values and make them customizable (#25)
  • Create sub-projects for core and CLI (#27)
  • Rename package (#29)
  • Set up GitHub Actions to release both core lib and cli app (#34)

Fixed

  • Fix multiple GitHub Release issue (#37)
Package Rankings
Top 35.48% on Repo1.maven.org
Badges
Extracted from project README
Hits Hits Build Status Release Status Maven Central Latest version