-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exactly how to use this plugin #2
Comments
Hi @dunnololda Sorry for the inconvenient. The plugin is still young, and may have some bugs. About your situation, you can type Thanks. |
Hi shivawu! Then I create plugins.sbt file in it and add the plugin definition to this file: Then here is the sbt output:
So where are all the dependencies?) Sbt version: 0.12.3 |
I've fixed the bug(it's very stupid, shame on me) and released another version. However, there're some other problems in your project, like your artifact id has properties in it, which is not considered yet by this plugin right now. I'll fix this maybe tomorrow, there're still some testing work to do. |
In my another project where artifactId has no properties included, version 0.1.1 works fine (compilation works). Although, "show library-dependencies" shows only scala:
Is it correct? In my dependencies list I also have casbah, akka and serveral other libraries. In scala-cli sbt fails to start: Is it because of artifactId with properties? If you can fix it pls do, as this way to compile scala libraries for many scala versions is very convenient (and compatible with sbt's %%). |
|
@dunnololda I've released a 0.1.2, try it out! |
Hi!
Please, provide more info on how to use your plugin. I did what it says in Usage section for single module maven projects but with no luck.
I add
addSbtPlugin("com.github.shivawu" % "sbt-maven-plugin" % "0.1.0")
to project/plugins.sbt
Then I run sbt and it print:
$ sbt
[info] Loading project definition from /mypath/myproject/project
[info] Updating {file:/hmypath/myproject/project/}default-e07e35...
[info] Resolving org.scala-sbt#precompiled-2_10_0;0.12.2 ...
[info] Done updating.
[info] Loading [pom.xml]
[success] POM definition loaded
[info] Set current project to default-3d2470 (in build file:/mypath/myprject/)
Then I type update:
Then I type compile:
So compilation fails and it seems it cannot resolve dependencies. Also I don't know how to access artifactId, version and other maven stuff from sbt. Maybe I should also add something to build.sbt or any other place?
The text was updated successfully, but these errors were encountered: