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]