you are referring to the maven-plugins I think But what about the xml-api thing? To perform an even more fine grained overwriting policy, overlays can be packaged multiple times with different includes/excludes.
Apart from version mismatch issue caused with transitive dependency, there can be version mismatch between project artifacts and artifacts from the platform of deployment, such as Tomcat or another server. After checking everything I could think of and getting nowhere, I checked out the Surefire code and attached a debugger. How to exclude some maven project from sonar analysis (2) NOTE: This property is deprecated since version 4.3 and should not be used anymore. Note: In the scenario above, any other WAR dependency will be applied after the current build since they have not been configured in the element. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Surefire TestNG Group Exclusions not working Hi, I was trying to configure a TestNG group exclusion based on profile and finding the tests weren't being excluded. How Maven applies exclusions. java - test - sonarqube exclusions not working . 21 comments ... With a custom config such that only direct dependencies are included in the manifest, it looks like exclusion rules are working. From the documentation, there is an option to skip module using sonar.skippedModules. New issue Have a question about this project? On Thu, Nov 14, 2013 at 9:29 AM, Stuart McCulloch <[hidden email]> wrote: Sign up. Maven Dependency Exclusion. java - test - sonarqube exclusions not working .
Pick a username Email Address Password Sign up for GitHub.
Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Exclude generated code in ... maven-checkstyle-plugin **/*generated* Edit: The right regular expression was **/generated/*.java. So it's not a simple matter of applying Maven semantics for all exclusions defined in a POM file: exclusions have an impact on dependencies brought in by other modules, both in Maven and in Gradle.