You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jens Zastrow <je...@dai-labor.de> on 2005/05/11 18:28:38 UTC

java:jar-resources vs. test:test-resources

Why there is the following difference?!

 

java:jar-resources gets called AFTER java:compile. 

test:test-resources gets called BEFORE test:compile.

 

i have some test:compile-postgoals with create resources which need to be in the test-classes/ before test:test.

calling the test:test-resources BEFORE the test:compile postgoals does not have the chance to copy these resources.

 

Bug or Feature?!

Jens Zastrow

DAI-Labor - Technische Universität Berlin

Sekretariat GOR 1-1, Franklinstraße 28/29, 10587 Berlin

Fon: +49 30 314 77777

Fax: +49 30 314 21799

jens.zastrow@dai-labor.de <ma...@dai-labor.de> 

http://www.dai-labor.de

 


Re: java:jar-resources vs. test:test-resources

Posted by Brett Porter <br...@apache.org>.
Jens Zastrow wrote:

>Why there is the following difference?!
>
>  
>
No idea. They should both be after, IMO.

> 
>
>
>i have some test:compile-postgoals with create resources which need to be in the test-classes/ before test:test.
>
>calling the test:test-resources BEFORE the test:compile postgoals does not have the chance to copy these resources.
>
>  
>
Sorry, I don't understand. You have a postGoal on test:compile and it is
not run before test:test?

This is more a question for the users list.

Cheers,
Brett


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org