Skip to content

Commit d3975fb

Browse files
committed
Convert Eclipse Java project to Eclipse maven project.
1 parent 30a4e63 commit d3975fb

5 files changed

+29
-10
lines changed

.classpath

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="src" path="src/main/java"/>
4-
<classpathentry kind="src" path="src/main/resources"/>
5-
<classpathentry kind="src" path="src/test/java"/>
6-
<classpathentry kind="src" path="src/test/resources"/>
7-
<classpathentry exported="true" kind="lib" path="lib/jna.jar"/>
8-
<classpathentry exported="true" kind="lib" path="lib/platform.jar"/>
9-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
10-
<classpathentry kind="output" path="bin"/>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
4+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
5+
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
6+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
7+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
8+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
9+
<classpathentry kind="output" path="target/classes"/>
1110
</classpath>

.project

+6
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@
1010
<arguments>
1111
</arguments>
1212
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
1318
</buildSpec>
1419
<natures>
20+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
1521
<nature>org.eclipse.jdt.core.javanature</nature>
1622
</natures>
1723
</projectDescription>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Sat Feb 04 11:59:32 GMT 2012
2+
eclipse.preferences.version=1
3+
encoding//src/main/java=UTF-8
4+
encoding//src/main/resources=UTF-8
5+
encoding//src/test/java=UTF-8
6+
encoding//src/test/resources=UTF-8

.settings/org.eclipse.jdt.core.prefs

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
#Wed Dec 15 08:10:07 GMT 2010
1+
#Sat Feb 04 11:59:32 GMT 2012
22
eclipse.preferences.version=1
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
4+
org.eclipse.jdt.core.compiler.compliance=1.6
35
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
46
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
57
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
@@ -14,7 +16,7 @@ org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
1416
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
1517
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
1618
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
17-
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
19+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
1820
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
1921
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
2022
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
@@ -65,3 +67,4 @@ org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disa
6567
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
6668
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
6769
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
70+
org.eclipse.jdt.core.compiler.source=1.6

.settings/org.eclipse.m2e.core.prefs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#Sat Feb 04 11:59:29 GMT 2012
2+
activeProfiles=
3+
eclipse.preferences.version=1
4+
resolveWorkspaceProjects=true
5+
version=1

0 commit comments

Comments
 (0)