~ubuntu-branches/ubuntu/precise/commons-csv/precise

« back to all changes in this revision

Viewing changes to maven.xml

  • Committer: Bazaar Package Importer
  • Author(s): Jan-Pascal van Best
  • Date: 2008-09-10 20:58:00 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20080910205800-ohoq6075nafu8n2b
Tags: upstream-0.1-SNAPSHOT+svn678580
ImportĀ upstreamĀ versionĀ 0.1-SNAPSHOT+svn678580

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!--
2
 
   Licensed to the Apache Software Foundation (ASF) under one or more
3
 
   contributor license agreements.  See the NOTICE file distributed with
4
 
   this work for additional information regarding copyright ownership.
5
 
   The ASF licenses this file to You under the Apache License, Version 2.0
6
 
   (the "License"); you may not use this file except in compliance with
7
 
   the License.  You may obtain a copy of the License at
8
 
 
9
 
       http://www.apache.org/licenses/LICENSE-2.0
10
 
 
11
 
   Unless required by applicable law or agreed to in writing, software
12
 
   distributed under the License is distributed on an "AS IS" BASIS,
13
 
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 
   See the License for the specific language governing permissions and
15
 
   limitations under the License.
16
 
-->
17
 
<project default="java:jar"
18
 
  xmlns:ant="jelly:ant"
19
 
  xmlns:j="jelly:core">
20
 
 
21
 
    <!-- ================================================================== -->
22
 
    <!-- Copy into the binary distribution                                  -->
23
 
    <!-- ================================================================== -->
24
 
    <postGoal name="dist:prepare-bin-filesystem">
25
 
 
26
 
        <copy todir="${maven.dist.bin.assembly.dir}">
27
 
            <fileset file='${basedir}/NOTICE.txt'/>
28
 
            <fileset file="${basedir}/RELEASE-NOTES.txt"/>
29
 
        </copy>
30
 
 
31
 
    </postGoal>
32
 
 
33
 
    <!-- ================================================================== -->
34
 
    <!-- Copy into the source distribution                                  -->
35
 
    <!-- ================================================================== -->
36
 
    <postGoal name="dist:prepare-src-filesystem">
37
 
 
38
 
        <!-- Copy the NOTICE -->
39
 
        <copy todir="${maven.dist.src.assembly.dir}">
40
 
            <fileset file='${basedir}/NOTICE.txt'/>
41
 
            <fileset file="${basedir}/checkstyle.xml"/>
42
 
            <fileset file="${basedir}/license-header.txt"/>
43
 
        </copy>
44
 
 
45
 
        <!-- Copy xdoc files -->
46
 
        <copy todir="${maven.dist.src.assembly.dir}/xdocs">
47
 
            <fileset dir="xdocs"/>
48
 
        </copy>
49
 
 
50
 
    </postGoal>
51
 
 
52
 
    <!-- ================================================================== -->
53
 
    <!-- Create MD5 Check Sums                                              -->
54
 
    <!-- ================================================================== -->
55
 
    <postGoal name="dist">
56
 
 
57
 
         <!-- create checksum for jar -->
58
 
         <ant:checksum file="${maven.build.dir}/${maven.final.name}.jar" property="jar.md5"/>
59
 
         <ant:echo message="${jar.md5} *${maven.final.name}.jar" 
60
 
                   file="${maven.build.dir}/${maven.final.name}.jar.md5" />
61
 
 
62
 
         <!-- create checksum for binary zip -->
63
 
         <ant:checksum file="${maven.dist.dir}/${maven.final.name}.zip" property="zip.md5"/>
64
 
         <ant:echo message="${zip.md5} *${maven.final.name}.zip" 
65
 
                   file="${maven.dist.dir}/${maven.final.name}.zip.md5" />
66
 
 
67
 
         <!-- create checksum for binary tar.gz -->
68
 
         <ant:checksum file="${maven.dist.dir}/${maven.final.name}.tar.gz" property="tar.gz.md5"/>
69
 
         <ant:echo message="${tar.gz.md5} *${maven.final.name}.tar.gz" 
70
 
                   file="${maven.dist.dir}/${maven.final.name}.tar.gz.md5" />
71
 
 
72
 
         <!-- create checksum for source zip -->
73
 
         <ant:checksum file="${maven.dist.dir}/${maven.final.name}-src.zip" property="src.zip.md5"/>
74
 
         <ant:echo message="${src.zip.md5} *${maven.final.name}-src.zip" 
75
 
                   file="${maven.dist.dir}/${maven.final.name}-src.zip.md5" />
76
 
 
77
 
         <!-- create checksum for source tar.gz -->
78
 
         <ant:checksum file="${maven.dist.dir}/${maven.final.name}-src.tar.gz" property="src.tar.gz.md5"/>
79
 
         <ant:echo message="${src.tar.gz.md5} *${maven.final.name}-src.tar.gz" 
80
 
                   file="${maven.dist.dir}/${maven.final.name}-src.tar.gz.md5" />
81
 
 
82
 
    </postGoal>
83
 
  
84
 
</project>