Hi Ilya,

Create the structure you'd like to have (don't forget the pom.xml file)
go in the directory containing the pom file.
call mvn archetype:create-from-project.

You will have an archetype created in target/generated-sources/archetype.


Hope this helps.

Raphaël

2008/5/22 Ilya Ermolov <[EMAIL PROTECTED]>:
>
> Hi! Please, help me.
> I need to create directory structure shown below:
>
> project
> +-src
> |  +-org
> |     +-mycompany
> |        +-app.java
> +-test
> |  +-org
> |     +-mycompany
> |        +-apptest.java
> pom.xml
>
> How can i create new archetype having this directory structure and redefine
> source directory from "src/main/java/org/mycompany" to "src/org/mycompany"?
> --
> View this message in context: 
> http://www.nabble.com/Create-non-conventional-archetype-tp17402009p17402009.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to