Replies: 7 comments 5 replies
-
It depends a bit about used m2e version, java installation, so in general you can "assume unchanged" them in git, or look if it makes sense to have these settings and commit them along with your PR.
We try to fix them when one comes along but in general don't worry about them (much) not sure if they are even suppressible as some refer to the build config of maven, where we need to still cleanup things after some larger refactorings.. |
Beta Was this translation helpful? Give feedback.
-
Ed, one of the main problems for the modification state is that if you have some Java version problem or maven dependency resolution issue during the very first (automatically triggered) build, then m2e will modify the .classpath files wrongly, basically removing the parts that don't resolve etc. For the m2e.prefs, I believe those should be checked in, but there are different opinions by others here, AFAIK. You already see much less warnings than some weeks ago, trust me. :) But I still have trouble finding solutions for some of them. |
Beta Was this translation helpful? Give feedback.
-
I think we should enhance M2E to generate all the |
Beta Was this translation helpful? Give feedback.
-
Do you have any idea what this would fail? I'd like to be able to do the whole build locally...
|
Beta Was this translation helpful? Give feedback.
-
I ran what you suggested and that worked... Yeah, one step forward. I'd like to make changes to org.eclipse.tycho.gpg.SignRepositoryArtifactsMojo and of course I'd like to test them locally to verify the changes are correct and to refine the implementation details. Best would be to be able to run it under debug control. Is there such a test that I've overlooked? And a way to debug too? I read about how to run tests in the CONTRIBUTING.md but no tests run for and neither of m2 launches work. Copying and pasting console text is not nice because of the ANSI characters. It looks pretty though. I think this needs to work before I can run a test... I feel a bit lost when nothing seems to just work. Probably there are many things that should be obvious that are to me a mystery... |
Beta Was this translation helpful? Give feedback.
-
You can disable color output in the run config of m2e. The usual way for running/debugging I uses is the following:
|
Beta Was this translation helpful? Give feedback.
-
@laeubi Thanks! I got it working and am happily debugging now!! |
Beta Was this translation helpful? Give feedback.
-
Is it normal/expected that the initial clone has changes?
How are warnings managed for the project? We just don't worry about them? Should we change preferences to ignore ones we don't care about?
Beta Was this translation helpful? Give feedback.
All reactions