Hello Martin you can omit relative path if the base is one level higher as this is the default value when the parent is generated.
But you always can use <relativePath>../pom.xml</relativePath> Maybe your problem is that you use only <relativePath>..</relativePath> as you don't use any properties this should work with stable maven 2.0.4 - Daniel > -----Original Message----- > From: Martin Moser [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 03, 2007 3:58 PM > To: users@maven.apache.org > Subject: problem compiling a sub-project of a project > > Hi all, > > I have troubles compiling my sub-projects. > > I have following project-structure: > > -base-project > --sub-project 1 > --- subsub-project 1 of sub-project 1 > --- subsub-project 2 of sub-project 1 > -- sub-project 2 > --- subsubproject 1 of sub-project 2 > > > I want to compile sub-project 1 only. So I changed to the > sub-project1 > directory and called "mvn compile". > > But maven tries to download the pom of the base-project and > this fails, as > this pom is in no repository yet. > The build of the base-project or the jar-build of > subsub-project1 works > fine. > > Did I miss anything to configure? > > > My pom.xml's look like that: > > pom.xml of base-project: > <groupId>testgroup</groupId> > <artifactId>base</artifactId> > <packaging>pom</packaging> > <version>1.99.1</version> > : > <modules> > <module>sub1</module> > <module>sub2</module> > </modules> > > > pom.xml of sub-project 1 in subfolder sub1: > <groupId>testgroup</groupId> > <artifactId>sub1</artifactId> > <packaging>pom</packaging> > <version>1.99.1</version> > : > > <parent> > <groupId>testgroup</groupId> > <artifactId>base</artifactId> > <version>1.99.1</version> > <relativePath>..</relativePath> > </parent> > > <modules> > : > > > > > I appreciate any suggestions! > Thanks in advance! > > Regards, > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]