Minor Maven Project Housekeeping (#334)
* Ignore Eclipse build/project artifacts.
* Fix Maven convention: rename src/tests/* to src/test/*
* Update Maven test dir. Remove directory specs for src, test, & rsrc.
${project.basedir} is the default directory. Only add directory
spec if different from convention.
This commit is contained in:
parent
19c0f3220f
commit
e7495011aa
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -7,6 +7,13 @@
|
||||||
*.war
|
*.war
|
||||||
*.ear
|
*.ear
|
||||||
|
|
||||||
|
# =========================
|
||||||
|
# Ignore Eclipse Artifacts
|
||||||
|
# =========================
|
||||||
|
.settings/
|
||||||
|
.classpath
|
||||||
|
.project
|
||||||
|
|
||||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||||
hs_err_pid*
|
hs_err_pid*
|
||||||
|
|
||||||
|
|
|
||||||
8
pom.xml
8
pom.xml
|
|
@ -34,12 +34,12 @@
|
||||||
<build>
|
<build>
|
||||||
|
|
||||||
<!--Maintain existing structure (as much as possible)-->
|
<!--Maintain existing structure (as much as possible)-->
|
||||||
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
<sourceDirectory>src/main/java</sourceDirectory>
|
||||||
<!--currently in same folder as source files...-->
|
<!--currently in same folder as source files...-->
|
||||||
<testSourceDirectory>${project.basedir}/src/tests/java</testSourceDirectory>
|
<testSourceDirectory>src/test/java</testSourceDirectory>
|
||||||
<testResources>
|
<testResources>
|
||||||
<testResource>
|
<testResource>
|
||||||
<directory>${project.basedir}/src/tests/resources</directory>
|
<directory>src/test/resources</directory>
|
||||||
</testResource>
|
</testResource>
|
||||||
</testResources>
|
</testResources>
|
||||||
<finalName>${project.name}</finalName>
|
<finalName>${project.name}</finalName>
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
<resource>
|
<resource>
|
||||||
<!-- Use plugin.yml in root directory-->
|
<!-- Use plugin.yml in root directory-->
|
||||||
<!-- This can also automatically update plugin.yml version from pom, if you use ${project.version} as version number-->
|
<!-- This can also automatically update plugin.yml version from pom, if you use ${project.version} as version number-->
|
||||||
<directory>${project.basedir}/src/main/resources</directory>
|
<directory>src/main/resources</directory>
|
||||||
<filtering>true</filtering>
|
<filtering>true</filtering>
|
||||||
<targetPath>.</targetPath>
|
<targetPath>.</targetPath>
|
||||||
<includes>
|
<includes>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user