No problem... Are these two configured/setup/located differently?
-----Original Message----- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: 10 July 2006 17:12 To: Maven Users List Subject: Re: Super POM Also, as an aside (sorry, I'm a stickler for correct terms!), there is a difference between a super POM and a parent POM. The SuperPOM is the global default for the whole Maven POM structure, and conceptually, the POM from which all POMs inherit. A parent is just any POM that is interited from. Eric On 7/10/06, Marc L. Veary <[EMAIL PROTECTED]> wrote: > > Hey Everyone, > > Done it - Really appreaciate the help! > > Kind regards, > -- > Viz > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > ben short > Sent: 10 July 2006 14:19 > To: Maven Users List > Subject: Re: Super POM > > > Viz > > Heres one I have setup... > > <?xml version="1.0" encoding="UTF-8"?> > > > <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.company</groupId> > <artifactId>company</artifactId> > <version>1</version> > <packaging>pom</packaging> > <name>Nexus Alpha Ltd</name> > <description> > </description> > <organization> > <name>Company Name</name> > <url>http://www.company.com/</url> > </organization> > <url>http://www.company.com/</url> > <distributionManagement> > <repository> > <id>internal-released</id> > <url>scp://192.168.6.194/var/mvn/internal-released</url> > </repository> > <snapshotRepository> > <id>internal-snapshot</id> > <url>scp://192.168.6.194/var/mvn/internal-snapshot</url> > </snapshotRepository> > </distributionManagement> > </project> > > Now I have release this to my internal repo, but i guess you could > just install it to your local repo. > > Also you could have a project that has modules. like the following dir > structure > > myproject > myproject/pom.xml > myproject/module1/pom.xml > myproject/module2/pom.xml > > the top level pom would contain your global settings and the modules > element > > <modules> > <module>module1</module> > <module>module2</module> > </modules> > > > Im still new to maven 2 also but i hope this gives you some ideas. > > Ben > > > > > > On 7/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I'm new to Maven and am struggling to create a super pom. I am involved > in > > a project which has a number of sub projects and would like to have a > super > > pom for the general configs, which are inherited by the sub > projects. The > > problem is that I can create a super pom by hand, but when I reference > it > > using <parent/> the sub project goes of to the repo to download... I > just > > wanted a super pom that I could use to set project wide configs. > > > > I tried various params with mvn archetype:create but no luck. > > > > Could someone please point me in the right direction. > > > > Many thanks in advance. > > -- > > Viz > > > > > > --------------------------------------------------------------------- > > 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] > > > --------------------------------------------------------------------- > 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]