Hi, You can have a look at the its in some maven plugins (jar plugin [1]) to see how we organize execution of the maven-invoker-plugin. Look at the pom and the profile called integration-tests. But IMHO the maven-invoker-plugin is for maven plugins not for jar artifacts.
-- Olivier |1] https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jar-plugin/ 2008/1/23, David Siefert <[EMAIL PROTECTED]>: > Hi, > > I am trying to get my integration tests to run as part of the main project > build using the maven-invoker-plugin. However it is impossible (at least > without some hacking) to have the IT projects run because of the maven build > lifecycle. > > compile > package <-- JAR created > integration-test <-- invoke maven it projects [FAILS: Cannot load artifact > that was built during package phase] > verify <-- Reports success anyway even though build has failed due to above > artifact issue! > > I could see a possible solution: use ant task to copy the project artifact, > or use a systemPath dependency--however this could be error prone (location > of the artifact). > > Any suggestions? > > Thanks, > > David > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
