Skip to content
langmi edited this page Sep 6, 2011 · 17 revisions

Overview for the project setup.

Maven Configuration

The pom.xml in the root directory contains just a simple parent pom wrapper project to provide a convenient "build all" feature, see Maven Pom project aggregation. Each individual project stands on its own and can be used as such, e.g. there are no maven configurations made in the parent pom.

Specific Build Configurations

For each project i added specific build configurations for the following build plugins:

Dependencies

Each project contains only the needed dependencies and i check regularly for version updates and the dependencies licenses.

Directory Structure

The project follows the maven standard directory layout, only difference so far is a README.md (md for markdown format) and a LICENSE file instead of both files ending with .txt.

Important /resources Directories and Files

Overview:

src/main/resources/log4j/log4.properties
src/main/resources/spring/batch/job/the job.xml files
src/main/resources/spring/batch/setup/job-context.xml
src/main/resources/spring/batch/setup/job-database.xml

src/test/resources/input/ the used input files    
src/test/resources/spring/batch/setup/test/job-test-context.xml

For each project:

  • the log4j.properties is under src/main/resources/log4j/log4j.properties
    • logging level is WARN for all and DEBUG for the source package of the project
    • location might be changed soon to src/test...
  • the Spring Batch infrastructure setup is under src/main/resources/spring/batch/setup/...
    • job-context.xml contains JobRepository, StepScope etc. beans
    • job-database.xml contains the datasource and transactionmanager beans
  • the Spring Batch test infrastructure setup is under src/test/resources/spring/batch/setup/test/...
Clone this wiki locally