A project I have requires a sub-project to be built and included as a dependency in the top level project. However, if I include the project in the POM, maven tries to load the sub-project from the repository first. I want the repository check to be skipped. So I need to not include it as a dependency in the POM but as a goal in the top level project and have the result (another jar) of calling the sub-project goal with the reactor be added as an artifact to the top level project so that it can be included by the war plugin and added to the classpath so that other dependent code is built. The only way I can find to do this is to call the subproject goal with the reactor and then manually add the result using pom.addDependency. But I am not sure how to 'create' a dependency object from scratch. If anyone has other alternatives please let me know. THanks.
ToddC --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
