Download E-books Introducing Maven PDF

org. apache. maven. plugins maven-javadoc-plugin 2. 10. 1 seventy one CHAPTER 7 N DOCUMENTATION AND REPORTING Now that you've the Javadoc plug-in configured, let’s run mvn fresh web site to generate the Javadoc. After the command effectively runs, you will see the apidocs folder created lower than gswm /target/site. Double-click the index. html dossier below apidocs, and you'll be capable of browse the Javadoc. determine 7-8 indicates the Javadoc generated for the gswm undertaking. determine 7-8. Generated Javadoc web page producing Unit attempt studies Test-driven improvement has develop into the norm in organizations this day. Unit checks supply quick suggestions to builders and make allowance them to construct caliber code. contemplating how vital exams are, Maven executes all the assessments for every construct. Any try mess ups lead to a failed construct. Maven deals the Surefire plug-in that gives a uniform interface for working assessments created by way of frameworks resembling JUnit or TestNG. It additionally generates execution leads to quite a few codecs resembling XML and HTML. those released effects permit builders to discover and attach damaged assessments quick. The Surefire plug-in is configured within the similar manner because the Javadoc plug-in within the reporting component to the pom dossier. directory 7-5 exhibits the Surefire plug-in configuration. directory 7-5. The pom. xml Snippet with Surefire Plug-in

Rated 4.35 of 5 – based on 5 votes

About the Author