I need to be able to use both, Maven and SBT, on my project to build
it. Got everything working but then I wanted to use a parent pom.
I got my poms organized with a parent pom containing all the
dependencies and a couple of projects using it:
<parent>
<groupId>de.pflanzenmoerder.muncher</groupId>
<artifactId>muncher-parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../muncher-parent/pom.xml</relativePath>
</parent>
Building the projects with maven works as expected.
When using SBT and doing an 'update' I get:
java.io.IOException: Impossible to load parent for file:/Users/jmader/
mavenprojects/cep/muncher-twitter/pom.xml.
Parent=de.pflanzenmoerder.cep#muncher-parent;1.0-SNAPSHOT
at
org.apache.ivy.plugins.parser.m2.PomModuleDescriptorParser.parseDescriptor(PomModuleDescriptorParser.java:
139)
at
org.apache.ivy.plugins.parser.m2.PomModuleDescriptorParser.parseDescriptor(PomModuleDescriptorParser.java:
105)
at sbt.IvySbt$Module.readPom(Ivy.scala:134)
at sbt.IvySbt$Module.x$2(Ivy.scala:102)
at sbt.IvySbt$Module.sbt$IvySbt$Module$$moduleDescriptor(Ivy.scala:
95)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:93)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:93)
at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:85)
at sbt.IvySbt.liftedTree1$1(Ivy.scala:41)
at sbt.IvySbt.action$1(Ivy.scala:41)
at sbt.IvySbt$$anon$1.call(Ivy.scala:50)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:63)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock
$1.apply(Locks.scala:67)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock
$1.apply(Locks.scala:67)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.withFileLock(Locks.scala:67)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:45)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:45)
at xsbt.boot.Locks$.apply(Locks.scala:31)
at sbt.IvySbt.withDefaultLogger(Ivy.scala:50)
at sbt.IvySbt.withIvy(Ivy.scala:82)
at sbt.IvySbt$Module.withModule(Ivy.scala:93)
at sbt.IvyActions$.update(IvyActions.scala:92)
at sbt.IvyTasks$$anonfun$updateTask$1.apply(BasicProjectTypes.scala:
78)
at sbt.IvyTasks$$anonfun$updateTask$1.apply(BasicProjectTypes.scala:
78)
at sbt.IvyTasks$$anonfun$ivyTask$1.apply(BasicProjectTypes.scala:66)
at sbt.IvyTasks$$anonfun$ivyTask$1.apply(BasicProjectTypes.scala:66)
at sbt.TaskManager$Task.invoke(TaskManager.scala:62)
at sbt.impl.RunTask.doRun$1(RunTask.scala:77)
at sbt.impl.RunTask.runTask(RunTask.scala:85)
at sbt.impl.RunTask.run(RunTask.scala:32)
at sbt.impl.RunTask$.apply(RunTask.scala:17)
at sbt.impl.RunTask$.apply(RunTask.scala:16)
at sbt.Project$class.run(Project.scala:98)
at sbt.Project$class.act(Project.scala:129)
at sbt.BasicScalaProject.act(DefaultProject.scala:21)
at sbt.xMain$$anonfun$8.apply(Main.scala:487)
at sbt.xMain$$anonfun$8.apply(Main.scala:487)
at sbt.xMain.withAction(Main.scala:520)
at sbt.xMain.sbt$xMain$$handleAction(Main.scala:487)
at sbt.xMain.handleCommand(Main.scala:477)
at sbt.xMain.processAction(Main.scala:418)
at sbt.xMain.process$1(Main.scala:238)
at sbt.xMain$Continue$1.apply(Main.scala:130)
at sbt.xMain.run$1(Main.scala:134)
at sbt.xMain.processArguments(Main.scala:247)
at sbt.xMain.startProject(Main.scala:105)
at sbt.xMain.run(Main.scala:82)
at sbt.xMain.run0$1(Main.scala:33)
at sbt.xMain.run(Main.scala:40)
at xsbt.boot.Launch$.run(Launch.scala:51)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:40)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:40)
at xsbt.boot.Launch$.launch(Launch.scala:55)
at xsbt.boot.Launch$.explicit(Launch.scala:40)
at xsbt.boot.Launch$.initialized(Launch.scala:36)
at xsbt.boot.Launch$.parsed(Launch.scala:31)
at xsbt.boot.Launch$.configured(Launch.scala:21)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Launch$.apply(Launch.scala:13)
at xsbt.boot.Boot$.runImpl(Boot.scala:24)
at xsbt.boot.Boot$.run(Boot.scala:19)
at xsbt.boot.Boot$.main(Boot.scala:15)
at xsbt.boot.Boot.main(Boot.scala)
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to
simple-b...@googlegroups.com.
To unsubscribe from this group, send email to
simple-build-t...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/simple-build-tool?hl=en.