Hi, I have the same problem and followed exactly the maven2 help. But it seems that Maven2 can't find the test-jar without the install. So the dependency ist not resolved. It works only with an install, and not with the 'package' command.
Is it a bug ? [Sorry for the bad english, i need more practice ;) ] Jim Bethancourt wrote: > > Yup! That did the trick. > > Thanks Jason! > Jim > > On 3/21/07, Jim Bethancourt <[EMAIL PROTECTED]> wrote: >> >> Cool! That looks exactly like what I need. I'll give it a go. ;-) >> >> Thanks, >> Jim >> >> On 3/21/07, Jason van Zyl < [EMAIL PROTECTED]> wrote: >> > >> > >> > On 21 Mar 07, at 3:17 PM 21 Mar 07, Jim Bethancourt wrote: >> > >> > > Hi all, >> > > I'm working on a multi-pom project and would like to inherit from >> > > classes in >> > > the test hierarchy across modules in the project, and I'm listing >> each >> > > module as a dependency in the parent pom as well. I've done several >> > > experiments to see if this is possible and have had no success. >> > > What would >> > > be the appropriate way to enable inheritance of classes in the test >> > > hierarchy across modules during the test-compile phase of a multi-pom >> > > project? Is such a feature available right now for Maven 2, or >> > > should I >> > > submit a JIRA request? >> > >> > I think this is what you're looking for: >> > >> > http://maven.apache.org/guides/mini/guide-attached-tests.html >> > >> > > >> > > Thanks, >> > > Jim >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > > -- View this message in context: http://www.nabble.com/Unit-Test-inheritance-in-a-multi-pom-project--tf3442738s177.html#a9642658 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
