java.lang.RuntimeException: Aborting release: unstaged modified files

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via playframework.com by Unknown author

Add guice to the dependencies.

libraryDependencies += guice

Solutions on the web

via GitHub by lrytz
, 8 months ago
Error tarballing /home/jenkins/workspace/scala-2.12.x-release-package-unix/target/universal-docs/scala-docs-2.12.2-bin-3fadf69.tgz. Exit code: 2
via GitHub by SethTisue
, 6 months ago
Missing files for publishing: /home/jenkins/workspace/scala-2.12.x-integrate-community-build/target-0.9.7-RC1/project-builds/scalacheck-20876ac490f394ffc550b0748cdc950adc0ffa63/jvm/target/scala-2.12/scalacheck-0.1-dbuildx20876ac490f394ffc550b0748cdc950adc0ffa63-sources.jar
via GitHub by Christewart
, 2 years ago
Aborting release. Working directory is dirty.
via GitHub by naderghanbari
, 2 years ago
Problems with NPM resolution. Aborting build.
java.lang.RuntimeException: Aborting release: unstaged modified files
at scala.sys.package$.error(package.scala:27)
at sbtrelease.ReleaseStateTransformations$$anonfun$initialVcsChecks$1.apply(ReleaseExtra.scala:131)
at sbtrelease.ReleaseStateTransformations$$anonfun$initialVcsChecks$1.apply(ReleaseExtra.scala:126)
at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30)
at sbt.Command$.process(Command.scala:93)
at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96)
at sbt.State$$anon$1.process(State.scala:184)
at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)

Users with the same issue

Once, 10 months ago
9 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 10 months ago
92 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.