Marco Tedone wrote:

Stephen, what I've just added my package structure under
/extension/impl/src/java


However, when I launch "maven" from the merlin folder I got the following
errors:


<snip>


BUILD FAILED


Obviously I'm missing something with the path. I was expecting, though, that
by running the standard "maven" build, everything should be in place...

Could you help, plz?


First off - it looks like you have added your extension directory inside the
merlin directory - which is definately *not* a good thing to do! You should
locate this somewhere independent of the merlin source tree. Once you have
got your package out of the merlin tree you need to do the following:


1. add a project.xml file into the api directory and another in the impl
  directory.
2. make sure these two project.xml files contain the correct dependencies
  for each subproject (the errors you posted are a result of not including
  an avalon-framework-api dependency - take a look at the hello example
  project.xml for details)
3. once you get both the api amd impl suprojects building nicely you may
  want to put in place a parent project.xml and play around with the
  things you can do with a parent maven.xml to automate the build of
  both your api and impl subprojects (but worry about this later)

Information about project.xml and maven.xml files is available on the
Maven site - http://maven.apache.org

Cheers, Steve.



Marco




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to