Put Eclipse settings in the root directory.
This enforces that settings are taken into account whichever mean is used to import the project into Eclipse (manual import, m2e, mvn eclipse:eclipse, ...).
This commit is contained in:
parent
7e55354f4a
commit
1954f770a1
|
@ -8,14 +8,15 @@ logs/
|
|||
build/
|
||||
target/
|
||||
|
||||
|
||||
## eclipse ignores (use 'gradle eclipse' to build eclipse projects)
|
||||
## eclipse ignores (use 'mvn eclipse:eclipse' to build eclipse projects)
|
||||
## The only configuration files which are not ignored are .settings since
|
||||
## these files ensure common coding style across Eclipse and IDEA
|
||||
## Other files (.project, .classpath) should be generated through Maven which
|
||||
## will correctly set the classpath based on the declared dependencies.
|
||||
.project
|
||||
.classpath
|
||||
.settings
|
||||
*/.project
|
||||
*/.classpath
|
||||
*/.settings
|
||||
*/eclipse-build
|
||||
|
||||
## netbeans ignores
|
||||
|
|
20
pom.xml
20
pom.xml
|
@ -896,26 +896,6 @@
|
|||
</lifecycleMappingMetadata>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
<configuration>
|
||||
<additionalConfig>
|
||||
<file>
|
||||
<name>.settings/org.eclipse.jdt.core.prefs</name>
|
||||
<location>src/eclipse/dot.settings/org.eclipse.jdt.core.prefs</location>
|
||||
</file>
|
||||
<file>
|
||||
<name>.settings/org.eclipse.jdt.ui.prefs</name>
|
||||
<location>src/eclipse/dot.settings/org.eclipse.jdt.ui.prefs</location>
|
||||
</file>
|
||||
<file>
|
||||
<name>.settings/org.eclipse.core.resources.prefs</name>
|
||||
<location>src/eclipse/dot.settings/org.eclipse.core.resources.prefs</location>
|
||||
</file>
|
||||
</additionalConfig>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
Eclipse configuration files
|
||||
|
||||
You can use them by running
|
||||
mvn eclipse:clean eclipse:eclipse
|
||||
and importing the project into Eclipse (File > Import > Existing Project into
|
||||
workspace) or refreshing it (F5) if you already imported it.
|
Loading…
Reference in New Issue