-
Notifications
You must be signed in to change notification settings - Fork 218
Allow override surefire plugin group #711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,6 +129,20 @@ under the License. | |
| </dependencies> | ||
|
|
||
| <build> | ||
| <pluginManagement> | ||
| <plugins> | ||
| <plugin> | ||
| <!-- Apache Parent pom, pluginManagement--> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-surefire-plugin</artifactId> | ||
| <configuration> | ||
| <!-- by default, exclude all snapshot targets --> | ||
| <!-- this will be overridden on dedicated profile --> | ||
| <excludedGroups>${testng.generate-java-files},${testng.check-cpp-files},${testng.check-go-files},${testng.check-cpp-historical-files}</excludedGroups> | ||
| </configuration> | ||
| </plugin> | ||
| </plugins> | ||
| </pluginManagement> | ||
| <plugins> | ||
|
|
||
| <plugin> | ||
|
|
@@ -143,7 +157,7 @@ under the License. | |
| <fork>true</fork> | ||
| <release>${java.version}</release> | ||
| <compilerArgs> | ||
| <arg>-J${jvm.options}</arg> <!-- comma separated or separate args --> | ||
| <arg>-J${jvm.options}</arg> <!-- comma separated or separate args --> | ||
| </compilerArgs> | ||
| </configuration> | ||
| </plugin> | ||
|
|
@@ -224,7 +238,7 @@ under the License. | |
| <doclint>all,-missing</doclint> | ||
| <release>${java.version}</release> | ||
| <additionalJOptions> <!-- requires -J prefix --> | ||
| <additionalJoption>-J${jvm.options}</additionalJoption> | ||
| <additionalJoption>-J${jvm.options}</additionalJoption> | ||
| </additionalJOptions> | ||
| </configuration> | ||
| <executions> | ||
|
|
@@ -274,8 +288,6 @@ under the License. | |
| <useManifestOnlyJar>false</useManifestOnlyJar> | ||
| <redirectTestOutputToFile>true</redirectTestOutputToFile> | ||
| <reportsDirectory>${project.build.directory}/test-output/${maven.build.timestamp}</reportsDirectory> | ||
| <excludedGroups>${testng.generate-java-files},${testng.check-cpp-files},${testng.check-go-files}, | ||
| ${testng.check-cpp-historical-files}</excludedGroups> <!-- do not indent --> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had set this up so that an ordinary "mvn test" would not generate the java files and run the tests against the other languages. These are run with specific profiles. Now that we are adding more languages into the mix, I am not clear on what you have in mind.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See #711 (comment). This config would be still applied, but from the This PR is a no change for developer who only runs |
||
| </configuration> | ||
| </plugin> | ||
|
|
||
|
|
@@ -581,7 +593,7 @@ ${testng.check-cpp-historical-files}</excludedGroups> <!-- do not indent --> | |
| </pluginManagement> | ||
| </build> | ||
| </profile> | ||
|
|
||
| <profile> | ||
| <id>check-cpp-historical-files</id> | ||
| <build> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.