Dear all,
I am running a mvn package over a complex project, which includes  tests 
written using TestNG and Spring AbstractTestNGSpringContexts.

When I run these tests inside my IDE (IDEA) everything works fine, but when I 
run through mvn package the @ContextConfiguration annotation is not processed 
and therefore @Autowired properties in my test classes fails to resolve.

What could be the reason for that?Do you have any suggestion?

Best Regards


[cid:[email protected]]

Edmondo PORCU
Associate - Financial software architect
[email protected]<mailto:[email protected]>

Avenue de Rhodanie 48
1007 Lausanne
Switzerland

Dir
Fax

+41 (0) 21 560 30 82
+41 (0) 21 617 71 55

The information in this email is confidential and may be legally privileged. If 
you are not the intended recipient, you must not read, use or disseminate the 
information. Although this email and any attachments are believed to be free of 
any virus or other defect that might affect any computer system into which it 
is received and opened, it is the responsibility of the recipient to ensure 
that it is virus free and no responsibility is accepted by the Gottex Group of 
Companies for any loss or damage arising in any way from its use.

Reply via email to