jvanzyl 02/03/28 22:15:33
Modified: . build.xml
src/templates/build build-maven.xml
xdocs index.xml
Log:
Adding announcement functionality. I decided to keep this out the the model
for now because the announcements completely vary ... needs some more thought.
Revision Changes Path
1.17 +5 -1 jakarta-turbine-maven/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/build.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- build.xml 26 Mar 2002 14:08:13 -0000 1.16
+++ build.xml 29 Mar 2002 06:15:33 -0000 1.17
@@ -119,7 +119,11 @@
<target name="maven:update-jars">
<ant antfile="${maven.home}/build-maven.xml" target="update-jars"/>
</target>
-
+
+ <target name="maven:announce">
+ <ant antfile="${maven.home}/build-maven.xml" target="announce"/>
+ </target>
+
<!-- maven:end -->
</project>
1.15 +32 -0 jakarta-turbine-maven/src/templates/build/build-maven.xml
Index: build-maven.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build-maven.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- build-maven.xml 27 Mar 2002 08:15:34 -0000 1.14
+++ build-maven.xml 29 Mar 2002 06:15:33 -0000 1.15
@@ -395,4 +395,36 @@
<ant antfile="${maven.home}/build-docs.xml" target="deploy-site"/>
</target>
+ <!-- ================================================================== -->
+ <!-- A N N O U N C E M E N T S -->
+ <!-- ================================================================== -->
+
+ <target
+ name="announce">
+
+ <!-- Need to make sure all these values are set before trying
+ to send an announcement so that we're not spamming
+ people needlessly.
+ -->
+
+ <property file="${src.dir}/announcements/${announcement}.properties"/>
+
+ <echo>
+ from="${announcementFrom}"
+ tolist="${announcementRecipients}"
+ subject="${announcementSubject}"
+ files="${announcementFile}"
+ mailHost="${mailHost}"
+ </echo>
+
+ <mail
+ from="${announcementFrom}"
+ tolist="${announcementRecipients}"
+ subject="${announcementSubject}"
+ files="${announcementFile}"
+ mailHost="${mailHost}"
+ />
+
+ </target>
+
</project>
1.6 +1 -1 jakarta-turbine-maven/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/xdocs/index.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- index.xml 29 Mar 2002 03:35:58 -0000 1.5
+++ index.xml 29 Mar 2002 06:15:33 -0000 1.6
@@ -11,7 +11,7 @@
<section name="Maven">
<p>
- Maven is a project management and project comprehension tool. Maven
+ Maven is a Java project management and project comprehension tool. Maven
is based on the concept of a project object model (POM) in that all the
artifacts produced by Maven are a result of consulting a well defined
model for your project. Builds, documentation, source metrics, and source
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>