On Jul 2, 2008, at 7:52 PM, Lachlan Deck wrote:
> On 03/07/2008, at 10:06 AM, Pierce T. Wetter III wrote:
>
>>> You don't need Maven. You need some perspective. Here is my
>>> average build.xml file for a project:
>>>
>>> <project name="GVCFoundation" default="build" basedir=".">
>>> <import file="../Ant/common.xml"/>
>>> </project>
>>>
>>> Yes, three (3) lines. Everything else is common and in one place.
>>
>> What if GVCFoundation needs 3 other frameworks built? Presumably
>> maven has some kind of import mechanism as well, so I'm not sure
>> this convinces me.
>
> frameworks/frameworkQuatro/pom.xml
> ...
> <dependencies>
> <dependency>
> <artifactId>frameworkUno</artifactId>
> <groupId>com.yourstuff.frameworks</groupId>
> </dependency>
> <dependency>
> <artifactId>frameworkDos</artifactId>
> <groupId>com.yourstuff.frameworks</groupId>
> </dependency>
> <dependency>
> <artifactId>frameworkTres</artifactId>
> <groupId>com.yourstuff.frameworks</groupId>
> </dependency>
> </dependencies>
> ...
>
>
> And in the parent pom define the other stuff to save you having to
> define the version, scope etc everywhere.
>
> trunk/pom.xml
> ...
> <dependencyManagement>
> <dependencies>
> <dependency>
> <artifactId>frameworkUno</artifactId>
> <groupId>com.yourstuff.frameworks</groupId>
> <version>${pom.version}</version>
> <scope>compile</scope>
> </dependency>
> <dependency>
> <artifactId>frameworkDos</artifactId>
> <groupId>com.yourstuff.frameworks</groupId>
> <version>${pom.version}</version>
> <scope>compile</scope>
> </dependency>
> <dependency>
> <artifactId>frameworkTres</artifactId>
> <groupId>com.yourstuff.frameworks</groupId>
> <version>${pom.version}</version>
> <scope>compile</scope>
> </dependency>
> </dependencies>
> </dependencyMangement>
> ...
What about building the package, deploying, etc?
--Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects
This archive was generated by hypermail 2.0.0 : Wed Jul 02 2008 - 22:58:20 EDT