When you run a Maven command from the command line, you can use the "-X" option to run Maven in debug mode to print the debug logs in the console output. For example, you can run tests with the command "mvn test" or you can do it in debug mode with "mvn -X test".
In the case you are working in Anypoint Studio, you run the project through the GUI and therefore you don't have the option to add the "-X" at first sight.
Below you will find the instructions to add the "-X" option to the mvn command.
Additional Note: If you want to save the Maven debug log from the Console output, you need to increase the Console buffer size to get all the logs:
001115585

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.