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
