Hi,
Just a thought, maybe you could just have a solution.being not really Maven
related.
Use a placeholder in your spring ctx files to use differently named files
with with a given prefix corresponding to the one given on the command line
?

Cheers
Le 14 mars 2013 09:03, "Stephane-3" <[email protected]> a écrit :

> 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]
>
>

Reply via email to