I have java class files and property files in the same directory.
src/main/java/com/berlin/Test.class
src/main/java/com/berlin/Test.properties
With t
First you should place your resources into src/main/resources/com/berlin/Test.properties and your java source files into src/main/java/com/berlin/Test.java...Never put compiled classes into src/ folder... furthermore you should remove the configuration:
${project.artifactId}
src
test
src
**
**/*.java
from your pom, cause you don't need it and furthermore it's wrong (Convention over configuration paradigm!). Take a look at the default folder layout in maven.
The Maven Way is to put the source files (*.java) into src/main/java, the resources src/main/resources. The unit test classes src/test/java and src/test/resources after compiling it will be put into target/classes or for the tests target/test-classes.