You could define another <distributionManagement> in your children. Otherwise, just hard-code your parent artifactId then reference:
in Parent: M:\public_html\maven\project-parent Then reference your children from your Parent as: ./project-1 ./project-2 --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation Rental: http://tahoe.baselogic.com --- On Tue, Sep 8, 2009 at 8:40 AM, Sam Barnett-Cormack < [email protected]> wrote: > Hi all, > > I'm a bit confused about the deployment paths used by site:deploy. I have > the following in my parent POM: > > <distributionManagement> > <site> > <id>mnementh</id> > <url>file://M:\public_html\maven\${project.artifactId}</url> > </site> > </distributionManagement> > > Now, when the parent POM's site is being generated, it puts it at > M:\public_html\maven\parent-name, which is intended. However, for the > inheritors (which we'll call project-1 and project-2), I get them at > M:\public_html\maven\project-1\project-1 and > M:\public_html\maven\project-2\project-2. This is far from handy, and spoils > my attempts to define the URLs in the parent using > > <url>http://shed.geekworld.co.uk/~sdb/maven/${project.artifactId}<http://shed.geekworld.co.uk/%7Esdb/maven/$%7Bproject.artifactId%7D> > </url> > > I'm confused. Can anyone explain? > > -- > Sam Barnett-Cormack > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
