Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Question on new archetype creation

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




Back to the top