Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "When you type mvn clean install
, Maven will execute all the phases in the default lifecycle up to and including the install
phase."
A block of code is set as follows:
<project> [...] <build> [...] <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> </plugins> [...] </build> [...] </project>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
<project> [...] <build> [...] <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> </plugins> [...] </build> [...] </project>
Any command-line input or output is written as follows:
$ mvn install:install
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Click on the Add button in the Role Management section and select Repo: All Maven Repositories (Full Control), as shown in the upcoming screenshot."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.