13.07.2015 Views

Spring JavaConfig Reference Guide - Spring Web Services - Parent ...

Spring JavaConfig Reference Guide - Spring Web Services - Parent ...

Spring JavaConfig Reference Guide - Spring Web Services - Parent ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix C. Maven2 POM configurationsAs mentioned in Chapter 3, Quick start, <strong>JavaConfig</strong> requires only a minimal set of dependencies for basic(non-AOP) configuration scenarios.NotePlease note that this release is not published at the central Maven repository. Instead it is publishedon Amazon's S3 service, like all <strong>Spring</strong> milestones. To use it, add the following repository to yourPOM:spring-milestone<strong>Spring</strong> Milestone Repositoryhttp://s3.amazonaws.com/maven.springframework.org/milestoneC.1. MinimalThis minimal configuration will work for all <strong>JavaConfig</strong> features that do not involve AOP.org.springframework.javaconfigspring-javaconfig1.0.0.m4-SNAPSHOTC.2. AOPIn an effort to keep the number of dependencies required when using <strong>JavaConfig</strong> to a minimum, AOP-relateddependencies are excluded by default. Should you wish to use AOP with <strong>JavaConfig</strong>, modify your Maven2POM configuration to include the following:org.springframework.javaconfigspring-javaconfig1.0.0.m4-SNAPSHOTasmasm2.2.3trueasmasm-commons2.2.3trueaspectjaspectjlib1.5.3true<strong>Spring</strong> <strong>JavaConfig</strong> 29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!