File: maven.xml

package info (click to toggle)
libjxp-java 1.6.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,672 kB
  • sloc: java: 17,216; xml: 374; makefile: 11; sh: 3
file content (51 lines) | stat: -rw-r--r-- 2,369 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<project xmlns:j="jelly:core" 
        xmlns:maven="jelly:maven" 
        xmlns:deploy="deploy" 
        xmlns:ant="jelly:ant">
    <!-- javacc Task in ant use old javacc, too old
    <preGoal name="java:compile">
        <ant:ant target="gen-parser" antfile="maven-ant.xml"/>
    </preGoal>
    -->
    <postGoal name="xdoc:register-reports"> 
        <!--
        <attainGoal name="maven-changes-plugin:deregister"/>
        <attainGoal name="maven-checkstyle-plugin:deregister"/>
        <attainGoal name="maven-developer-activity-plugin:deregister"/> 
        <attainGoal name="maven-file-activity-plugin:deregister"/> 
        <attainGoal name="maven-javadoc-plugin:deregister"/> 
        <attainGoal name="maven-jdepend-plugin:deregister"/> 
        <attainGoal name="maven-junit-report-plugin:deregister"/> 
        <attainGoal name="maven-jxr-plugin:deregister"/> 
        <attainGoal name="maven-license-plugin:deregister"/> 
        <attainGoal name="maven-pmd-plugin:deregister"/> 
        <attainGoal name="maven-tasklist-plugin:deregister"/>         
        -->
        <attainGoal name="maven-linkcheck-plugin:deregister"/> 
        <attainGoal name="maven-checkstyle-plugin:deregister"/>
        <attainGoal name="maven-developer-activity-plugin:deregister"/> 
        <attainGoal name="maven-file-activity-plugin:deregister"/> 
        <attainGoal name="maven-changelog-plugin:deregister"/>
    </postGoal>
    <preGoal name="dist:build-bin">
        <ant:mkdir dir="${maven.dist.bin.assembly.dir}/jars"/>
        <deploy:copy-deps todir="${maven.dist.bin.assembly.dir}/jars"/> 
        <ant:copy todir="${maven.dist.bin.assembly.dir}/docs">
            <fileset dir="target/docs"/>
        </ant:copy>
        <ant:copy todir="${maven.dist.bin.assembly.dir}/samples">
            <fileset dir="samples"/>
        </ant:copy>        
        <ant:copy todir="${maven.dist.bin.assembly.dir}/scripts">
            <fileset dir="src/scripts"/>
        </ant:copy>
        <ant:copy todir="${maven.dist.bin.assembly.dir}">
            <fileset dir="docs"/>
        </ant:copy>
        <ant:chmod dir="${workdir}" perm="755" 
           includes="${maven.dist.bin.assembly.dir}/**/*.sh"/>
    </preGoal>
    <goal name="test">        
        <ant:echo message="${maven.final.name}"/>
    </goal>
</project>