You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2004/04/22 04:42:26 UTC
cvs commit: avalon/composition .cvsignore index.ent maven.xml project.properties project.xml
mcconnell 2004/04/21 19:42:26
Added: composition .cvsignore index.ent maven.xml
project.properties project.xml
Log:
Add a group project defintion.
Revision Changes Path
1.1 avalon/composition/.cvsignore
Index: .cvsignore
===================================================================
maven.log
velocity.log
build.properties
target
1.1 avalon/composition/index.ent
Index: index.ent
===================================================================
<!ENTITY % versions SYSTEM "../versioning/versions.ent"> %versions;
1.1 avalon/composition/maven.xml
Index: maven.xml
===================================================================
<project default="avalon:build" xmlns:maven="jelly:maven" xmlns:j="jelly:core" xmlns:util="jelly:util" xmlns:ant="jelly:ant">
<!--
==============================================================================
structural properties
==============================================================================
-->
<goal name="avalon:clean" prereqs="clean">
<maven:reactor
basedir="${basedir}"
includes="*/project.xml"
excludes="project.xml"
goals="clean"
banner="Cleaning:"
ignoreFailures="true"/>
</goal>
<goal name="avalon:build">
<maven:reactor basedir="${basedir}"
includes="*/project.xml"
excludes="project.xml"
goals="jar:install"
banner="Building:"
ignoreFailures="false"
postProcessing="true" />
<ant:copy todir="${maven.build.dir}/jars">
<j:forEach var="child" items="${reactorProjects}">
<ant:fileset dir="${child.file.parentFile}/target">
<ant:include name="${child.artifactId}-${child.currentVersion}.jar"/>
</ant:fileset>
</j:forEach>
</ant:copy>
<j:forEach var="child" items="${reactorProjects}">
<j:set var="path"
value="${child.artifactId}-${child.currentVersion}.jar"/>
<checksum file="${maven.build.dir}/jars/${path}" fileext=".md5"/>
<j:if test="${maven_gpg_exe != null}">
<ant:exec executable="${maven_gpg_exe}">
<ant:arg value="-a"/>
<ant:arg value="--yes"/>
<ant:arg value="-b"/>
<ant:arg value="${maven.build.dir}/jars/${path}"/>
</ant:exec>
</j:if>
</j:forEach>
</goal>
<goal name="avalon:dist" prereqs="avalon:build,avalon:site,xdist"/>
<goal name="avalon:site" prereqs="avalon:build,xsite"/>
<goal name="xsite" prereqs="xavalon:css-copy,license,xjavadoc,site"/>
<goal name="xavalon:css-copy">
<ant:mkdir dir="${maven.build.dir}/docs/style"/>
<ant:copy toDir="${maven.build.dir}/docs/style">
<fileset dir="${avalon.buildsystem}/site">
<include name="maven.css"/>
<include name="tigris.css"/>
</fileset>
</ant:copy>
</goal>
<goal name="xjavadoc">
<maven:reactor basedir="${basedir}"
includes="*/project.xml"
excludes="**/target/**,/project.xml"
banner="Site Prep:"
ignoreFailures="false"
postProcessing="true" />
<ant:path id="template.classpath">
<j:forEach var="child" items="${reactorProjects}">
<j:set var="deps" value="${child.dependencies}"/>
<j:forEach var="dep" items="${deps}">
<ant:pathelement
path="${maven.repo.local}/${dep.getArtifactDirectory()}/jars/${dep.getArtifact()}"/>
</j:forEach>
</j:forEach>
</ant:path>
<mkdir dir="${basedir}/target/docs/api" />
<property name="copyright"
value="Copyright &copy; ${year} ${pom.organization.name}. All Rights Reserved." />
<property name="title" value="${pom.name} ${pom.currentVersion} API"/>
<javadoc destdir="${basedir}/target/docs/api"
doctitle="<h1>Avalon Meta</h1>"
noindex="false" author="true" use="true"
windowtitle="${title}"
bottom="${copyright}"
additionalparam="-breakiterator -J-Xmx128m "
packagenames="*,org.*">
<classpath>
<path refid="template.classpath"/>
</classpath>
<j:forEach var="packageGroup" items="${pom.packageGroups}">
<group title="${packageGroup.title}" packages="${packageGroup.packages}"/>
</j:forEach>
<sourcepath path="${basedir}/api/src/java"/>
<sourcepath path="${basedir}/spi/src/java"/>
<sourcepath path="${basedir}/impl/src/java"/>
<link href="${sun.j2se.link}" />
<link href="${avalon.framework.link}" />
<link href="${ant.link}" />
<link href="${qdox.link}" />
</javadoc>
</goal>
<goal
name="xdist:prepare-bin-filesystem"
description="Builds the jar files.">
<ant:delete dir="${maven.dist.bin.assembly.dir}"/>
<ant:mkdir dir="${maven.dist.bin.assembly.dir}"/>
<ant:echo>
+-------------------------------------------------------+
| C R E A T I N G B I N A R Y D I S T R I B U T I O N |
+-------------------------------------------------------+
</ant:echo>
<ant:copy todir="${maven.dist.bin.assembly.dir}">
<ant:fileset dir=".">
<ant:include name="README.txt"/>
<ant:include name="LICENSE*"/>
</ant:fileset>
</ant:copy>
<!-- Copy Jars -->
<ant:copy todir="${maven.dist.bin.assembly.dir}">
<ant:fileset dir="${maven.build.dir}">
<ant:include name="jars/**"/>
<ant:include name="docs/**"/>
</ant:fileset>
</ant:copy>
</goal>
<goal
name="xdist:prepare-src-filesystem"
description="Builds the source distribution file system.">
<ant:delete dir="${maven.dist.src.assembly.dir}" />
<ant:mkdir dir="${maven.dist.src.assembly.dir}" />
<ant:echo>
+-------------------------------------------------------+
| C R E A T I N G S O U R C E D I S T R I B U T I O N |
+-------------------------------------------------------+
</ant:echo>
<ant:copy todir="${maven.dist.src.assembly.dir}">
<ant:fileset dir=".">
<ant:include name="README.txt"/>
<ant:include name="LICENSE*"/>
<ant:include name="project.properties"/>
<ant:include name="maven.xml"/>
<ant:include name="project.xml"/>
</ant:fileset>
</ant:copy>
<!-- Copy Source -->
<ant:copy todir="${maven.dist.src.assembly.dir}">
<ant:fileset dir="${basedir}">
<include name="api/**"/>
<include name="spi/**"/>
<include name="impl/**"/>
<include name="tools/**"/>
<include name="site/**"/>
<exclude name="**/target/**"/>
<exclude name="**/*.log"/>
</ant:fileset>
</ant:copy>
</goal>
<goal name="xdist"
prereqs="xdist:build"
description="Build a complete distribution.">
</goal>
<goal
name="xdist:build"
prereqs="xdist:build-bin,xdist:build-src"
description="Build a complete distribution.">
</goal>
<goal
name="xdist:build-setup"
description="Set up directories for a distribution build">
<ant:delete dir="${maven.dist.dir}"/>
<ant:mkdir dir="${maven.dist.dir}"/>
<j:choose>
<j:when test="${avalon.snapshot}">
<maven:snapshot project="${pom}"/>
<j:set var="timestamp" value="${snapshotSignature.substring(12,20)}"/>
<j:set var="build.name" value="${maven.final.name}-${timestamp}"/>
</j:when>
<j:otherwise>
<j:set var="build.name" value="${maven.final.name}"/>
</j:otherwise>
</j:choose>
<echo>Packaging: ${build.name}</echo>
</goal>
<goal
name="xdist:build-bin"
prereqs="xdist:build-setup,xdist:prepare-bin-filesystem"
description="Build the binary distribution.">
<!-- Create a tar.gz file -->
<ant:tar longfile="gnu" tarfile="${maven.dist.dir}/${build.name}-bin.tar">
<ant:tarfileset dir="${maven.dist.bin.archive.dir}"/>
</ant:tar>
<ant:gzip
zipfile="${maven.dist.dir}/${build.name}-bin.tar.gz"
src="${maven.dist.dir}/${build.name}-bin.tar"
/>
<ant:delete file="${maven.dist.dir}/${build.name}-bin.tar"/>
<checksum file="${maven.dist.dir}/${build.name}-bin.tar.gz" fileext=".md5" />
<j:if test="${maven_gpg_exe != null}">
<ant:exec executable="${maven_gpg_exe}">
<ant:arg value="-a"/>
<ant:arg value="-b"/>
<ant:arg value="${maven.dist.dir}/${build.name}-bin.tar.gz"/>
</ant:exec>
</j:if>
<!-- Create a zip file -->
<ant:zip zipfile="${maven.dist.dir}/${build.name}-bin.zip">
<ant:zipfileset dir="${maven.dist.bin.archive.dir}"/>
</ant:zip>
<checksum file="${maven.dist.dir}/${build.name}-bin.zip" fileext=".md5" />
<j:if test="${maven_gpg_exe != null}">
<ant:exec executable="${maven_gpg_exe}">
<ant:arg value="-a"/>
<ant:arg value="-b"/>
<ant:arg value="${maven.dist.dir}/${build.name}-bin.zip"/>
</ant:exec>
</j:if>
</goal>
<goal
name="xdist:build-src"
prereqs="xdist:build-setup,xdist:prepare-src-filesystem"
description="Build the source distribution.">
<!-- Create a tar.gz file -->
<ant:tar longfile="gnu" tarfile="${maven.dist.dir}/${build.name}-src.tar">
<ant:tarfileset dir="${maven.dist.src.archive.dir}"/>
</ant:tar>
<ant:gzip
zipfile="${maven.dist.dir}/${build.name}-src.tar.gz"
src="${maven.dist.dir}/${build.name}-src.tar"
/>
<ant:delete file="${maven.dist.dir}/${build.name}-src.tar"/>
<checksum file="${maven.dist.dir}/${build.name}-src.tar.gz" fileext=".md5" />
<j:if test="${maven_gpg_exe != null}">
<ant:exec executable="${maven_gpg_exe}">
<ant:arg value="-a"/>
<ant:arg value="-b"/>
<ant:arg value="${maven.dist.dir}/${build.name}-src.tar.gz"/>
</ant:exec>
</j:if>
<!-- Create a zip file -->
<ant:zip zipfile="${maven.dist.dir}/${build.name}-src.zip">
<ant:zipfileset dir="${maven.dist.src.archive.dir}"/>
</ant:zip>
<checksum file="${maven.dist.dir}/${build.name}-src.zip" fileext=".md5" />
<j:if test="${maven_gpg_exe != null}">
<ant:exec executable="${maven_gpg_exe}">
<ant:arg value="-a"/>
<ant:arg value="-b"/>
<ant:arg value="${maven.dist.dir}/${build.name}-src.zip"/>
</ant:exec>
</j:if>
</goal>
</project>
1.1 avalon/composition/project.properties
Index: project.properties
===================================================================
# Copyright 2001-2004 The Apache Software Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# The Avalon Build System location.
avalon.buildsystem = ${basedir}/../buildsystem
# Repositories used.
maven.repo.remote = http://www.apache.org/dist/avalon,http://www.ibiblio.org/maven
# Junit needs to fork the JVM.
maven.junit.fork = yes
#
# Banner background and foreground colors.
#
maven.ui.banner.background = #fff
maven.ui.banner.foreground = #000
maven.xdoc.poweredby.image=
# Styles & License
maven.xdoc.jsl = file:///${avalon.buildsystem}/site/site.jsl
maven.license.licenseFile = ${avalon.buildsystem}/site/LICENSE.txt
maven.javadoc.stylesheet = ${avalon.buildsystem}/site/stylesheet.css
#
# doc sources
#
maven.docs.src = ${basedir}/site/xdocs
#
# Declaration of the remote links to assign on javadoc generation.
# Link declarations can be overriden in the user's build.properties
# file.
qdox.link = http://qdox.codehaus.org/apidocs/
sun.j2se.link = http://java.sun.com/j2se/1.4/docs/api/
avalon.framework.link = http://avalon.apache.org/framework/api/
maven.javadoc.links = ${sun.j2se.link},${qdox.link},${avalon.framework.link}
1.1 avalon/composition/project.xml
Index: project.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE project [
<!ENTITY % index SYSTEM "file:index.ent"> %index;
]>
<!--
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project>
<groupId>&avalon-composition-id;</groupId>
<name>Avalon Meta</name>
<inceptionYear>2000</inceptionYear>
<organization>
<name>The Apache Software Foundation</name>
<url>http://avalon.apache.org/</url>
<logo>http://avalon.apache.org/images/apache-avalon-logo.png</logo>
</organization>
<package>org.apache.avalon.meta</package>
<url>http://avalon.apache.org/meta</url>
<issueTrackingUrl>http://nagoya.apache.org/</issueTrackingUrl>
<siteAddress>avalon.apache.org/composition</siteAddress>
<siteDirectory>/site/avalon/composition/</siteDirectory>
<distributionDirectory></distributionDirectory>
<repository>
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:avalon/composition</connection>
<url>http://cvs.apache.org/viewcvs/avalon/composition/</url>
</repository>
<mailingLists>
<mailingList>
<name>Avalon Dev List</name>
<subscribe>dev-subscribe@avalon.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@avalon.apache.org</unsubscribe>
<archive>http://nagoya.apache.org/eyebrowse/SummarizeList?listName=dev@avalon.apache.org</archive>
</mailingList>
<mailingList>
<name>Avalon User List</name>
<subscribe>users-subscribe@avalon.apache.org</subscribe>
<unsubscribe>users-unsubscribe@avalon.apache.org</unsubscribe>
<archive>http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@avalon.apache.org</archive>
</mailingList>
</mailingLists>
<build>
<nagEmailAddress>dev@avalon.apache.org</nagEmailAddress>
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory>
<integrationUnitTestSourceDirectory/>
<aspectSourceDirectory/>
<unitTest>
<includes>
<include>**/*TestCase*</include>
</includes>
<excludes>
<exclude>**/Abstract*</exclude>
</excludes>
<resources>
<resource>
<directory>${basedir}/src/test</directory>
<includes>
<include>**/*.dtd</include>
<include>**/*.properties</include>
<include>**/*.xinfo</include>
<include>**/*.xtype</include>
<include>**/*.xprofile</include>
<include>**/*.xconfig</include>
<include>**/*.xml</include>
<include>**/*.xservice</include>
<include>**/*.mf</include>
<include>**/*.jar</include>
</includes>
</resource>
<resource>
<directory>${maven.conf.dir}</directory>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
<resource>
<directory>${basedir}/src/test/conf</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</unitTest>
<integrationUnitTestPatterns></integrationUnitTestPatterns>
<resources>
<resource>
<directory>${basedir}/src/java</directory>
<includes>
<include>**/*.dtd</include>
<include>**/*.properties</include>
<include>**/*.xinfo</include>
<include>**/*.xtype</include>
<include>**/*.xprofile</include>
<include>**/*.xconfig</include>
<include>**/*.xml</include>
<include>**/*.xservice</include>
</includes>
</resource>
<resource>
<directory>${basedir}/../</directory>
<includes>
<include>LICENSE.txt</include>
</includes>
</resource>
<resource>
<directory>${maven.conf.dir}</directory>
<targetPath>BLOCK-INF</targetPath>
<includes>
<include>block.xml</include>
</includes>
</resource>
</resources>
<jars></jars>
</build>
<reports>
<report>maven-changelog-plugin</report>
<report>maven-file-activity-plugin</report>
<report>maven-developer-activity-plugin</report>
</reports>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org