Is there an answer to this questions, yet? On Saturday, December 31, 2011 2:00:08 PM UTC-6, Mark D wrote: > > Hi, > > I have a Java (Spring MVC) project that relies on multiple maven pom > files like this > > parent pom----| > |------core pom > | > |------web pom > | > |---- other pom > > where my web pom is the one that I want to push to heroku and it > identifies the parent and a dependency on the core > > The parent pom has something like this: > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// > www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>com.kn</groupId> > <artifactId>kn</artifactId> > <packaging>pom</packaging> > <version>0.1.BUILD-SNAPSHOT</version> > <name>kn</name> > <properties> > ............. > </properties> > <modules> > <module>kncore</module> > <module>knmail</module> > <module>knweb</module> > </modules> > <repositories>.... > > My web pom has something like this: > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// > www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>com.kn.web</groupId> > <artifactId>knweb</artifactId> > <packaging>war</packaging> > <version>0.1.1.BUILD-SNAPSHOT</version> > <name>knweb</name> > > <parent> > <groupId>com.kn</groupId> > <artifactId>kn</artifactId> > <version>0.1.0.BUILD-SNAPSHOT</version> > </parent> > <properties> > ........... > </properties> > <repositories> > ........ > </repositories> > <dependencies> > ......... > <dependency> > <groupId>com.kn.core</groupId> > <artifactId>kncore</artifactId> > <version>0.1.0.BUILD-SNAPSHOT</version> > </dependency> > </dependencies> > > when I push the knweb project then I get this error: > > [ERROR] Non-resolvable parent POM: Failure to find > com.kn:kn:pom:0.1.0.BUILD-SNAPSHOT in > http://maven.springframework.org/release > was cached in the local repository, resolution will not be reattempted > until the update interval of spring-maven-release has elapsed or > updates are forced and 'parent.relativePath' points at wrong local POM > @ line 11, column 10 -> [Help 2] > > > How do I get Heroku to work with multi-module maven projects? > > thanks, > > Mark >
-- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en
