-
Notifications
You must be signed in to change notification settings - Fork 116
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
Maven Update Project wipes out Run Configuration #1872
Comments
Hello @SiKing, The only issue i see here is that the testng configuration isn't updated. As a workaround you can disable it in the meantime by launching Eclipse with the JVM system property Another less absolute workaround would be to exclude your tests from surefire/failsafe
|
My issue is that using Maven Update Project wipes my environment settings (and some others) from the Run Configuration. I am sure this started happening only a few months ago. Is this a new feature? The |
Yes it is a new feature in 2.6.2
|
Seems strange for Maven plugin to modify non-Maven files - the run configuration. In our case, environment variables is how we pass passwords into our code. For obvious reasons, we do not want these in the Surefire configuration. |
For a maven plugin yes but for m2e no |
mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart
.this=that
.If you save the run configuration to disk first, it still gets wiped.
I tried all this with a TestNG run configuration, and this problem does not happen in this case.
This started happening after an update a few months back? So I decided to completely reinstall the latest and greatest:
It is still happening there.
The text was updated successfully, but these errors were encountered: