Thanks for your replies Antonio, i'll take a better approach and refuse the reuse of ant build reuse.
2010/1/28 Antonio Petrelli <antonio.petre...@gmail.com> > 2010/1/28 Licinio Fernández Maurelo <licinio.fernan...@gmail.com>: > > *Step one*: pom calls the ant-target that generates the artifacts > >... > > Step two: maven compiles de webapp including in the classpath some of the > > previous' phase generated jar's. > > Notice that I don't like this approach, since I am a purist. > Anyway, I suggest you to compile only once your code altogether > (libraries and webapp-related code) and then package the jars where > they belong. > It's almost impossible to compile, in maven, putting a local library > in the classpath of the compiler. > > Antonio > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Lici ~Java Developer~