mirror of https://github.com/apache/maven.git
MAVEN-1755 : New maven-model using dom4j as reader.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@454414 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e7594ada3e
commit
5ef703dbac
|
@ -5,16 +5,16 @@
|
|||
<j:set var="sourcesPresent" value="true" />
|
||||
|
||||
<modello:generate model="maven.mdo" type="java" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
||||
<modello:generate model="maven.mdo" type="xpp3-reader" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
||||
<modello:generate model="maven.mdo" type="xpp3-writer" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
||||
<modello:generate model="maven.mdo" type="dom4j-reader" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
||||
<modello:generate model="maven.mdo" type="dom4j-writer" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
||||
|
||||
<!-- Need the original package as well -->
|
||||
<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" />
|
||||
|
||||
<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" />
|
||||
<modello:generate model="target/maven.mdo.m1" type="dom4j-reader" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
||||
<modello:generate model="target/maven.mdo.m1" type="dom4j-writer" packageWithVersion="false" version="3.0.0" targetDirectory="target/generated-sources" />
|
||||
</preGoal>
|
||||
</project>
|
||||
|
||||
|
|
|
@ -1,14 +1,28 @@
|
|||
maven.repo.remote=http://cvs.apache.org/repository,http://www.ibiblio.org/maven
|
||||
maven.repo.list=apache.snapshots
|
||||
maven.repo.apache.snapshots=scp://cvs.apache.org
|
||||
maven.repo.apache.snapshots.directory=/www/cvs.apache.org/repository
|
||||
maven.repo.apache.snapshots.username=${maven.repo.apache.username}
|
||||
maven.repo.apache.snapshots.privatekey=${maven.repo.apache.privatekey}
|
||||
maven.repo.apache.snapshots.passphrase=${maven.repo.apache.passphrase}
|
||||
maven.repo.apache.snapshots.group=maven
|
||||
#=====
|
||||
# Repositories settings
|
||||
#=====
|
||||
|
||||
maven.repo.apache.releases=scp://people.apache.org
|
||||
maven.repo.apache.releases.directory=/www/www.apache.org/dist/java-repository
|
||||
# TODO: remove http://people.apache.org/repo/m1-snapshot-repository/, just there for SNAPSHOTs
|
||||
maven.repo.remote = http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
|
||||
|
||||
# Repository to deploy to
|
||||
maven.repo.list=apache.snapshots
|
||||
|
||||
maven.repo.apache.releases=scp://${pom.distributionSite}
|
||||
maven.repo.apache.releases.directory=${pom.distributionDirectory}
|
||||
maven.repo.apache.releases.group=maven
|
||||
# These must be set elsewhere
|
||||
#maven.repo.apache.releases.username=
|
||||
#maven.repo.apache.releases.privatekey=
|
||||
#maven.repo.apache.releases.passphrase=
|
||||
|
||||
# Repository to deploy snapshots
|
||||
maven.repo.apache.snapshots=scp://people.apache.org
|
||||
maven.repo.apache.snapshots.directory=/www/people.apache.org/repo/m1-snapshot-repository
|
||||
maven.repo.apache.snapshots.username=${maven.repo.apache.releases.username}
|
||||
maven.repo.apache.snapshots.privatekey=${maven.repo.apache.releases.privatekey}
|
||||
maven.repo.apache.snapshots.passphrase=${maven.repo.apache.releases.passphrase}
|
||||
maven.repo.apache.snapshots.group=${maven.repo.apache.releases.group}
|
||||
|
||||
maven.compile.source=1.4
|
||||
maven.compile.target=1.4
|
||||
maven.compile.target=1.4
|
|
@ -4,20 +4,29 @@
|
|||
<name>Maven Model</name>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-model</artifactId>
|
||||
<currentVersion>3.0.1</currentVersion>
|
||||
<currentVersion>3.0.2-SNAPSHOT</currentVersion>
|
||||
<description>Maven Model</description>
|
||||
<shortDescription>Maven Model</shortDescription>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>maven-modello-plugin</artifactId>
|
||||
<version>1.0-alpha-2</version>
|
||||
<version>1.0-alpha-3-SNAPSHOT</version>
|
||||
<type>plugin</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>plexus</groupId>
|
||||
<artifactId>plexus-utils</artifactId>
|
||||
<version>1.0-alpha-3</version>
|
||||
<version>1.0.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven</groupId>
|
||||
<artifactId>dom4j</artifactId>
|
||||
<version>1.7-20060614</version>
|
||||
<url>http://www.dom4j.org/</url>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<defaultGoal>jar</defaultGoal>
|
||||
</build>
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue