alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Spring Framework example source code file (maven.xml)

This example Spring Framework source code file (maven.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Spring Framework tags/keywords

compile, compile, copy, copy, extra, hack, mock, mock, rmi, rmi, todo

The Spring Framework maven.xml source code

<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}
      <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>

Other Spring Framework examples (source code examples)

Here is a short list of links related to this Spring Framework maven.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.