Skip to content

Commit

Permalink
Put Eclipse settings in the root directory.
Browse files Browse the repository at this point in the history
This enforces that settings are taken into account whichever mean is used to
import the project into Eclipse (manual import, m2e, mvn eclipse:eclipse, ...).
  • Loading branch information
jpountz committed Jun 26, 2013
1 parent 7e55354 commit 1954f77
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 30 deletions.
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 0 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
6 changes: 0 additions & 6 deletions src/eclipse/README

This file was deleted.

0 comments on commit 1954f77

Please sign in to comment.