I don't honestly understand your question.

For a webapp:
myapp
|--pom.xml
|--target/
|--src
|--|--main
|--|--|--filters/
|--|--|--java/
|--|--|--resources/
|--|--|--|--META-INF/
|--|--|--webapp/
|--|--|--|--WEB-INF/

There's more to it, but that shows webapp, META-INF, and WEB-INF and
should hopefully get you off on the right foot.

Use mvn archetype:create to get a full webapp (war) structure created
for you to fill in.

Wayne

On 10/29/06, jiangshachina <[EMAIL PROTECTED]> wrote:

Web application project has following conventional directory structure.
myapp
  |--pom.xml
  |--LICENSE.txt
  |--README.txt
  |--target/
  |--src
      |--main
          |--java/
          |--myapp
              |--WEB-INF/
      |--test
          |--java/
          |--resources/ 
myapp is src/main/filters/, or src/main/config/, or src/main/assembly/?
I think it must not be src/main/resources/ ^_^

a cup of Java, cheers!
Sha Jiang


Adrian Shum-2 wrote:
>
>
> Please refer to section of Resource filtering for use of src/main/filters.
> It is something ilke 'merging' your resources with some filters.
> You can put environment-specific settings in filters, and depends on
> your profile setting, create 'final' resources from your resources and
> your choice form the filters.
>
> For src/main/assembly, please find for info for Assembly plugin.
> Assembly It is something related to creating a assebly for use of
> real deployment.  Under that directory, definitions of assembly are
> put.
>
> Adrian
>
> -----Original Message-----
> From: jiangshachina [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 27, 2006 7:04 PM
> To: [email protected]
> Subject: Puzzles on Standard Directory Structure?
>
>
>
> Mergere's book "Better Builds with Maven", appendix B.1 "Standard
> Directory
> Structure".
> I don't understand some of directories. For example, src/main/filters and
> src/main/assembly.
> The descriptions in the book, the former is "Standard location for
> resource
> filters", and the latter is "Standard location for assembly filters".
> May  I have less experience on Web/Java EE application development, then I
> can not understand the functions of the directories. Which files should be
> put into src/main/filters or src/main/assembly.
>
> For example, which directory I would put JavaScript files into?
>
> a cup of Java, cheers!
> Sha Jiang
> --
> View this message in context:
>
http://www.nabble.com/Puzzles-on-Standard-Directory-Structure--tf2519880.html#a7028194
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> This email is confidential. If you are not the intended recipient, please
> delete it from your system and notify the sender immediately. Any
> unauthorized use, disclosure, dissemination or copying of this email is
> prohibited. Taifook Securities Group, its group companies and their
> content providers ("Parties") shall not be responsible for the accuracy or
> completeness of this email or its attachment, if any, which could contain
> virus, be corrupted, destroyed, incomplete, intercepted, lost or arrive
> late.   The Parites do not accept liability for any damage caused by this
> email.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context:
http://www.nabble.com/Puzzles-on-Standard-Directory-Structure--tf2519880.html#a7058832
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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