In each profile I have the test source directory being specified:
<profile>
<id>mysql-db</id>
<properties>
<test.source.dir>src/integration/java</test.source.dir>
</properties>
which contains the abstract test class loading the Hibernate or the JPA2
configuration file:
@ContextConfiguration(locations = { "classpath:spring-hibernate.xml",
"classpath:spring-hibernate-dao.xml", "classpath:spring-data-source.xml",
"classpath:log4j.xml" })
public abstract class AbstractDaoTest extends
AbstractTransactionalJUnit4SpringContextTests {
}
What I would need is a way to specify spring-hibernate.xml or spring-jpa.xml
in this abstract test class.
--
View this message in context:
http://maven.40175.n5.nabble.com/Multiple-build-arguments-tp5750700p5750701.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]