Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajozwik/mvn2sbt
https://github.com/ajozwik/mvn2sbt
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ajozwik/mvn2sbt
- Owner: ajozwik
- License: apache-2.0
- Created: 2014-05-22T14:24:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-07-07T21:15:13.000Z (over 1 year ago)
- Last Synced: 2023-12-15T10:00:22.897Z (about 1 year ago)
- Language: Scala
- Size: 374 KB
- Stars: 8
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Mvn2Sbt
[![Build Status](https://travis-ci.com/ajozwik/mvn2sbt.svg?branch=master "Build Status")]([https://travis-ci.com/ajozwik/mvn2sbt](https://app.travis-ci.com/ajozwik/mvn2sbt.svg))
[![Coverage Status](https://coveralls.io/repos/ajozwik/mvn2sbt/badge.png)](https://coveralls.io/r/ajozwik/mvn2sbt)
[![Codacy Badge](https://www.codacy.com/project/badge/c2c836104f254cafa3f4c34dc5243400)](https://www.codacy.com)
[![License](http://img.shields.io/:license-Apache%202-red.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt)=========
**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.
1. Run `scala Eff.sc mavenProject`, where mavenProject - directory with your maven project to prepare for conversion.
1. 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
1. 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