Open alexy opened 12 years ago
I think you can do pomToSettings(file("pom.xml").getAbsoluteFile)
. Assuming you're using POMUtil and not ProjectBuilder.
Fails when called from a parent; I guess I need a "base directory of this build.sbt"... :)
Yeah, good luck spelunking in the SBT source to figure that one out.
A simpe workaround for the previous issue is to specify the absolute path to the pom in build.sbt. Then, if this project becomes a child of an enclosing one, the absolute path will apply to it still. How do we do it in SBT so as not to depend on "/home/..."?