This is a real problem for us. We have multiple projects with dependencies between them, so we need to be able to publish from one project where it can be picked up by another project. But I can not be publishing to the team's repository for work-in-progress, because I am making breaking changes. I've seen other people posting with similar problems, but I haven't found any resolution.--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
The best thing I can recomend is to use unique version numbers, and bump bar when foo has an internal "release" change. You can even automate this bump based on a jenkins build. I think you'll have a far smother experience all around in the team if instead of just "publish to nexus a -SNAPSHOT" you think: "Publish an integration release", and automate that.
As far as getting sbt to recognize/use snapshots, it's definitely not the best way to go.
You want to look into using "latest.integration" as your version instead of -SNAPSHOT. I think this should work better with publish-local, but maybe Mark can chime in with more details.
I'd also recommend reading about Ivy's version usage:
Something I noticed was that the builds set sbtVersion := "0.12.3".
That is really a read-only setting (not enforced) because sbt is
already loaded by the time the build file is parsed. Set
`sbt.version=0.12.3` in project/build.properties. (Otherwise, the
default is to use the same version as the launcher.)
However, it sounds like the problem might be new (in the sense of
unknown, not recently introduced). I am unfortunately unable to look
at this for another week, but if your linked builds are reproducible
for me, I will evaluate it. That workflow should be supported.
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool.