Comments (7)
2.9.1 is binary compatible, so you should be able to directly use the
existing artifact. Let me know if you have issues.
On Mar 14, 2012 2:25 PM, "Gregg Carrier" <
[email protected]>
wrote:
Hey Josh -
Any plans to cross-build against 2.9.1-1. We're on that version of Scala
due to some Java interop issues with 2.9.1 I built the Git plugin
internally and we can use that, but I didn't know if it might be useful to
others to have an official binary. Thanks!
Reply to this email directly or view it on GitHub:
https://github.com/sbt/sbt-git-plugin/issues/12
from sbt-git.
right, but SBT doesn't want to resolve it in 2.9.1-1 based projects. Is there a way to force SBT to use the 2.9.1 version? Thanks.
from sbt-git.
Are you using it as a library or a plugin? If it's a plugin, it can use the SBT version, which is locked down to 2.9.1
.
If you're using it a user-level-plugin, you should use ~/.sbt/plugins/plugins.sbt
not ~/.sbt/plugins.sbt
. Can you show me your build setup and the error message?
from sbt-git.
I have the following in ~/.sbt/plugins/plugins.sbt (the docs say use ~/.sbt/plugins.sbt):
resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
resolvers += "jgit-repo" at "http://download.eclipse.org/jgit/maven"
addSbtPlugin("com.jsuereth" % "sbt-git-plugin" % "0.4")
That gives me:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.jsuereth#sbt-git-plugin;0.5-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.jsuereth:sbt-git-plugin:0.5-SNAPSHOT (sbtVersion=0.11.2, scalaVersion=2.9.1-1)
from sbt-git.
You have a dependency on the git plugin 0.5-SNAPSHOT hiding somewhere (look
at the error message).
I'll update the docs ASAP! Thanks for the catch. I'm probably causing
this issue with terrible documentation.
from sbt-git.
Ah, OK - that's the version I built and deployed locally, so that was in my in-house plugin with that reference. I pulled that out and now the ~/.sbt/plugins/plugins.sbt approach seems to work. So I think in this case, the original original problem was specifying the plugin in ~/.sbt/plugins.sbt.
Thanks for clarifying the behavior difference in those two files.
from sbt-git.
No problem. I myself used to be confused, hence the bad documentation!
from sbt-git.
Related Issues (20)
- sbt-git seems abandoned HOT 6
- Volunteer needed to add CI using GitHub Actions
- Volunteer needed to add publishing via sbt-ci-release
- Drop sbt 0.13 from the crossbuild HOT 7
- gitRemoteRepo is not defined
- Multiple labeled tags leads to NumberFormatException during project load HOT 3
- Wrong output in generated `scmInfo` HOT 2
- Allow different tag patterns for multi-module projects using git describe
- Move to com.github.sbt? HOT 9
- Enable Scala Steward in this repo HOT 2
- Rename `master` to `main`
- Update repo secrets for Sonatype org change HOT 2
- Require Java 11 HOT 5
- Plan next release HOT 13
- Change package to `com.github.sbt.git`? HOT 6
- Typo in README: `gitTagToVersionNumberSetting`
- No version after 1.0.0 works HOT 2
- sbt-git v2.0.1: wrong version value returned
- sbt-git v2.0.1 disables all ouput from git commands to sbt logs HOT 5
- sbt-git v2.0.1: version number from "git describe" is not correct
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-git.