Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Multiple test resources - files not copy in output directory

$
0
0

Im using intellij 12.0.4 (community) and i try EAP 12.1, i got the same wrong behavior.

 

I try to setup my java project with multiple test resources directory, im using the maven convention

 

src/main/java => target/classes

src/main/resources => target/classes

 

 

src/test/java => target/test-classes

src/test/resources => target/test-classes

src/it/java => target/test-classes

src/it/resources => target/test-classes

 

The project is well setup by defining the directory as a source folder or test folder (look at the picture attached)

 

When i do build => Compile module 'xxx-core'

 

target/test-classes folder contains the compilation of the src/test/java and src/it/java, and only the files in src/test/resources. Im missing all the files (xml, properties) in the src/it/resources directory.

 

The content of the folder src/it/resources is never copy in the target/test-classes folder.

 

What i am doing wrong ???

 

PS: if i declared only one folder (src/it/resources) as test folder it doesnt work either. I dont want to put the files in src/test/resources.

 

I google and search everywhere i found nothing, it is a bug ???


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>