I already have the artifact and the modules are generated just fine. 
It's just the root-directory that I am not content with!

I noticed that the m2eclipse-plugin does change some archetypes during 
generation... Anybody have an idea hoe it does that, because that is 
what I am looking for!
Can be reproduced with the myfaces-archetype-jsfcomponents --> normal 
Maven generates a directory like your artifactId, m2eclipse generates 
'artifactId-project'...


On 20-10-10 00:04, Larry Shatzer, Jr. wrote:
> See
> http://maven.apache.org/archetype/maven-archetype-plugin/examples/create-multi-module-project.html
>
> (Hint use __artifactId__)
>
> On Tue, Oct 19, 2010 at 2:55 PM, Asmann, Roland
> <[email protected]> wrote:
>  > Hi all,
>  >
>  > I want to create an artifact based on an existing project. Unfortunately
>  > the names for the directories are a little weird (can't change them,
>  > it's naming-convention in my company!).
>  >
>  > I have the following directories:
>  >
>  > <project-name>-app              --> the POM-project
>  >    |-- <project-name>           --> EAR-project
>  >    |-- <project-name>-model     --> JAR-project
>  >    |-- <project-name>-services  --> JAR-project
>  >    \-- <project-name>-web       --> WAR-project
>  >
>  > Now, I would like to have the project-name set as a variable... Only
>  > problem here is that I can't figure out how to (correctly) do this.
>  > When I run 'archetype:create-from-project' in interactive-mode, I can
>  > tell it the artifactId is '<project-name>' instead of
>  > '<project-name>-app', but this will then make a) the directory
>  > '<project-name>' as the root of my project and b) have invalid
>  > references to parent in the modules...
>  >
>  > Can anybody help me out on how to get this working?
>  >
>  > Thanks.
>  >
>  > --
>  > Roland Asmann
>  > Senior Software Engineer
>  >
>  > adesso Austria GmbH
>  > Floridotower 26. Stock              T +43 1 2198790-27
>  > Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
>  > A-1210 Wien                         E [email protected]
>  >                                      www.adesso.at
>  >
>  > -------------------------------------------------------------
>  > >>> business. people. technology. <<<
>  > -------------------------------------------------------------
>  >
>  > ---------------------------------------------------------------------
>  > 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]
>

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock              T +43 1 2198790-27
Floridsdorfer Hauptstr. 1           F +43 1 2198790-927
A-1210 Wien                         E [email protected]
                                      www.adesso.at

-------------------------------------------------------------
             >>> business. people. technology. <<<
-------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to