add maven 1.x build

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163254 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2004-12-17 13:09:54 +00:00
parent 64196260bc
commit a893bb4498
2 changed files with 38 additions and 0 deletions

15
maven-model/maven.xml Normal file
View File

@ -0,0 +1,15 @@
<project xmlns:modello="modello" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" xmlns:j="jelly:core">
<preGoal name="java:compile">
<ant:copy tofile="target/maven.mdo.m1" file="maven.mdo" />
<ant:replace file="target/maven.mdo.m1" token="org.apache.maven.model" value="org.apache.maven.project" />
<ant:path id="modello.sources" location="target/generated-sources" />
<maven:addPath id="maven.compile.src.set" refid="modello.sources" />
<j:set var="sourcesPresent" value="true" />
<modello:generate model="target/maven.mdo.m1" type="java" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
<modello:generate model="target/maven.mdo.m1" type="xpp3-reader" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
<modello:generate model="target/maven.mdo.m1" type="xpp3-writer" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
</preGoal>
</project>

23
maven-model/project.xml Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<name>Maven Model</name>
<groupId>maven</groupId>
<artifactId>maven-model</artifactId>
<currentVersion>3.0.0-SNAPSHOT</currentVersion>
<description>Maven Model</description>
<shortDescription>Maven Model</shortDescription>
<dependencies>
<dependency>
<groupId>maven</groupId>
<artifactId>maven-modello-plugin</artifactId>
<version>0.9-SNAPSHOT</version>
<type>plugin</type>
</dependency>
<dependency>
<groupId>plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.0-alpha-1-SNAPSHOT</version>
</dependency>
</dependencies>
</project>