On Sat, Feb 21, 2009 at 6:48 AM, John Wooten <jwoo...@shoulderscorp.com> wrote:
> I have the following file structure:
>
> /Deep6MasterPOM
>        pom.xml
> /Foundation
>        pom.xml
>
> I have a local maven repository in ~woo/.m2/repository, of course.
>
> I'm trying to put a few common things into the Deep6MasterPOM like the
> JDepends plugin for later components of the entire Deep6 build to use.
> Right now, I have the Deep6MasterPOM/pom.xml as
> --------------
> <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.areteq</groupId>
>  <artifactId>Deep6MasterPOM</artifactId>
>  <packaging>pom</packaging>
>  <modules>
>    <module>../Foundation</module>
>  </modules>

I would not expect to see modules in a master pom.  Typically you have
an organization-wide master pom that sets defaults at a high level.
It has a separate release cycle, and no modules.

>  <version>0.0.1-SNAPSHOT</version>

So the version of Deep6MasterPOM is 0.0.1-SNAPSHOT...

> and the /Foundation/pom.xml as
...
>  <parent>
>    <groupId>com.areteq</groupId>
>    <artifactId>Deep6MasterPOM</artifactId>
>    <version>1</version>
>    <relativePath>../Deep6MasterPOM/pom.xml</relativePath>
>  </parent>

...but you're trying to use version 1, which probably hasn't been released yet.

> How do I make it keep my stuff local, and use the master only for the jars,
> etc. that it needs?

Use 'mvn install' to put it in your local repository, and use the
correct version number.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to