maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: WebApp archetype not generating proper directory structure
Date Wed, 05 Aug 2015 20:14:00 GMT
I'm guessing that that archetype does not create an src/main/java folder.
Just create it yourself if you need it. Very often you separate your Java
code into a separate project from your webapp project.

/Anders

On Wed, Aug 5, 2015 at 8:03 PM, Sreyan Chakravarty <sreyan.mailing@gmail.com
> wrote:

> Okay I am using Maven within Eclipse a project which uses Hibernate. I am
> using the maven-archetype-webapp(version 1.0) for the project. I am getting
> the following directory structure for my src folder-:
>
> src
> |---main
>      |----resources
>      |----webapp
>            |----WEB-INF
>            |      |---web.xml
>            |----index.jsp
>
> Where is the src/main/java folder ? As given here (
>
> https://maven.apache.org/plugins-archives/maven-archetype-plugin-1.0-alpha-7/examples/webapp.html
> )
>
> Where are the tests folder ?
>
> Also there is only one archetype relating to webapp present. That too in
> the Internal catalog.
>
> How do I get the correct structure ? What am I doing wrong ?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message