File tree Expand file tree Collapse file tree
src/main/java/org/apache/maven/plugin/eclipse Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1175,6 +1175,11 @@ protected void checkDeprecationsExtras()
11751175 public final void writeConfiguration ( IdeDependency [] deps )
11761176 throws MojoExecutionException
11771177 {
1178+
1179+ // write additional configuration files first to allow merging with eclipse
1180+ // settings generated by other steps (MECLIPSE-641)
1181+ writeAdditionalConfig ();
1182+
11781183 EclipseWriterConfig config = createEclipseWriterConfig ( deps );
11791184
11801185 if ( wtpmanifest && isJavaProject () )
@@ -1227,8 +1232,6 @@ public final void writeConfiguration( IdeDependency[] deps )
12271232 // So the .project file must be written AFTER those have run!
12281233 new EclipseProjectWriter ().init ( getLog (), config ).write ();
12291234
1230- writeAdditionalConfig ();
1231-
12321235 getLog ().info ( Messages .getString ( "EclipsePlugin.wrote" , new Object [] {
12331236 config .getEclipseProjectName (), eclipseProjectDir .getAbsolutePath () } ) );
12341237 }
You can’t perform that action at this time.
0 commit comments