Thank you for your helpful answers.
I now have the solution. I'm gonna use the generated-sources directory(I
don't have any plugin yet for the generation tool)

Regards,
Fred

2007/1/15, Ian Springer <[EMAIL PROTECTED]>:

http://maven.apache.org/guides/introduction/introduction-to-the-standard
-directory-layout.html

Sp, assuming you're checking in the UML-generated sources and
descriptors, your layout might look something like:

- src/main/java
- src/main/descriptors
- target/classes

To invoke your custom generator, you'll want to use either the antrun
plugin or a custom plugin for the generation tool (if one exists). The
generated classes you could generate to target/classes, along with the
the main classes.

| -----Original Message-----
| From: Fred Foucart [mailto:[EMAIL PROTECTED]
| Sent: Monday, January 15, 2007 10:57 AM
| To: Maven Users List
| Subject: Re: Standard directory layout
|
| Maven 2.
| Is there any particular specification about that ?
|
|
| 2007/1/15, Ian Springer <[EMAIL PROTECTED]>:
| >
| > Are you using Maven 1 or Maven 2?
| >
| > | -----Original Message-----
| > | From: Fred Foucart [mailto:[EMAIL PROTECTED]
| > | Sent: Monday, January 15, 2007 5:47 AM
| > | To: users@maven.apache.org
| > | Subject: Standard directory layout
| > |
| > | Hello everybody,
| > |
| > | I need to define a specific Maven layout for the following
| > | application:
| > |
| > | The code is generated from an Uml modelling tool.
| > | It generates sources and xml files. The XML files are
| needed for the
| > | next tool that we are going to use.
| > |
| > | Our actual directory layout is like this:
| > |
| > | -project
| > |     -src(generated sources)
| > |     -descriptors(XML files)
| > |
| > | The next step is to use an another tool that generates specific
| > | sources in order to obtain the final classes(For persistence for
| > | example). This code is generated from "src"
| > | and "descriptors"
| > |
| > | The directory layout is now like this:
| > |
| > | -project
| > |      -src
| > |      -fwk-impl(generated sources for the specific tool)
| > |      -descriptors
| > |      -classes (Binary code from src and fwk-impl)
| > |
| > | My aim is to use the standard Maven layout. My main question is
| > | where to put the "descriptors" and the "fwk-impl" directories ?
| > |
| > | Thank you for your help.
| > |
| >
| >
| ---------------------------------------------------------------------
| > To unsubscribe, e-mail: [EMAIL PROTECTED]
| > For additional commands, e-mail: [EMAIL PROTECTED]
| >
| >
|

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


Reply via email to