forked from cbeams/spring-framework-2.5.x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
maven.xml
55 lines (45 loc) · 1.45 KB
/
maven.xml
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
52
53
54
55
<project
xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:ant="jelly:ant"
>
<!--
| Hack to get the Mock source tree included
-->
<preGoal name="java:compile">
<ant:path id="maven.compile.src.set">
<ant:pathelement location="${pom.build.sourceDirectory}" />
<ant:pathelement location="${mock.dir}" />
</ant:path>
</preGoal>
<postGoal name="java:compile">
<!-- Compile RMI stubs -->
<rmic base="${maven.build.dest}" classname="org.springframework.remoting.rmi.RmiInvocationWrapper"/>
<copy todir="${maven.build.dest}">
<fileset dir="${pom.build.sourceDirectory}">
<include name="**/*.xml"/>
<include name="**/*.dtd"/>
</fileset>
</copy>
</postGoal>
<postGoal name="test:compile">
<echo>Copying test files from ${pom.build.unitTestSourceDirectory}</echo>
<copy todir="${maven.test.dest}">
<fileset dir="${pom.build.unitTestSourceDirectory}">
<include name="**/*.xml"/>
<include name="**/*.properties"/>
</fileset>
</copy>
</postGoal>
<!--
| Copy the additional jars to the distribution binary directory
-->
<preGoal name="dist:prepare-bin-filesystem">
<!-- TODO -->
</preGoal>
<goal name="preparedocs" description="Extra preparation for the documentation">
</goal>
<preGoal name="site">
<attainGoal name="sdocbook"/>
</preGoal>
</project>