-
Notifications
You must be signed in to change notification settings - Fork 118
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
Allow Test to be skipped when pom specifies maven.test.skip=true #1263
Conversation
@RoiSoleil can you probably elaborate a bit more about the context (and probably also adding a testcase to verify this)? |
When debugging a very big project, compiling tests can take a lot of time. Being able to disable this can save time to debug more rapidly. I will add a test for my code. |
bbfd34b
to
cc38286
Compare
@laeubi is that ok for you ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine and all tests succeed, maybe @HannesWell or @mickaelistria like to review also.
Yes, I would ike to review this, probably tomorrow. |
Is it OK ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delayed reply.
In general I think the change makes sense, but I think the way how it is implemented should be more general (which would make it simpler).
Please see the comments below.
org.eclipse.m2e.jdt.tests/src/org/eclipse/m2e/jdt/tests/JavaConfigurationTest.java
Show resolved
Hide resolved
org.eclipse.m2e.jdt.tests/src/org/eclipse/m2e/jdt/tests/JavaConfigurationTest.java
Outdated
Show resolved
Hide resolved
org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/MavenClasspathHelpers.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update. This looks very good now, I especially appreciate the addition of even more test cases.
Just one remark regarding the conversion of boolean values below.
If that is applied this is IMO ready.
org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
Outdated
Show resolved
Hide resolved
org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
Outdated
Show resolved
Hide resolved
Besides the code change, I think this should be mentioned in M2E's RELEASE_NOTES. |
@HannesWell it should be ok now ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now. 👍🏽
Thank you for this contribution.
I have rephrased the Release-Notes entry a bit and will commit this with your change.
Thank you, it's nice to see eclipse moving forward ;) |
Fix : #1262