In the Pom.xml under build element there are several elements allowing you
to change source directory and testSource directory.
Go wild :)

On Monday, November 18, 2013, Russell Bateman wrote:

> I'm a not-too-savvy Maven user. What I would like to do, and it probably
> violates some sacred religious Maven principle, is alter subdirectory
> structure to imitate a non-Maven Eclipse project. Please see the
> illustration below.
>
> Is it Maven that imposes the extra, traditional substructure or a function
> of the archetype that can be modified (if only I knew how)?
>
> Many thanks for comments.
>
>
> ~/dev/maven $tree
> .
> `--helloworld
>     +-- pom.xml
>     `--src
>         +--main
>         |   `--java
>         |       `--com
>         |           `--fun
>         |               `-- App.java
>         `--test
>             `--java
>                 `--com
>                     `--fun
>                         `-- AppTest.java
>
> should become
>
> ~/dev/maven $tree
> .
> `--helloworld
>     +-- pom.xml
>     +--src
>     |   `-- com
>     |       `-- fun
>     |           `-- App.java
>     `-- test
>         `--com
>             `--fun
>                 `-- AppTest.java
>
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to