Not in 2.0.4

Eric Redmond pravi:
Yeah, I submitted a patch to fix that 4 months ago (
http://jira.codehaus.org/browse/ARCHETYPE-14), and its apparently being
fixed in the next recent version? I really don't know.

Eric

On 4/16/06, Borut Bolčina <[EMAIL PROTECTED]> wrote:
Hello,

I am having the same problem. What is the point of having an archetype
maven-archetype-site, if it can only be run on non-existing project? Is
there a parameter to force creation of site subdirectory within existing
project?

The solution is to manualy copy generated site to existing project or
http://maven.apache.org/guides/mini/guide-site.html.

It would be nice if archetype-site would also create

resources/
         +- css/
         |  +- site.css
         |
         +- images/
            +- pic1.jpg


Regards,
Borut

Laurie Harper pravi:
I just started getting a project set up with M2 and I've run into a
problem following along with the current Getting Started Guide [1].
I'm sure I must be missing something obvious, but I'm not sure what...

[tmp] $ mvn -version
Maven version: 2.0.2
[tmp] $ mvn archetype:create -DgroupId=com.mycompany.app
-DartifactId=my-app
...
[INFO]

----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]

----------------------------------------------------------------------------
...
[tmp] $ mvn archetype:create -DgroupId=com.mycompany.app
-DartifactId=my-app -DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-site
...
[INFO]

----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]

----------------------------------------------------------------------------
[INFO] my-app already exists - please run from a clean directory
[INFO]

-------------------------------------------------------------------------
...

I tried running the site archetype from the my-app directory created
by the base archetype, but that just resulted in a nested
my-app/my-app... I also tried running the archetypes in the opposite
order, but got the same error. Any help appreciated ;-)

L.

[1] http://maven.apache.org/guides/getting-started/index.html
--
Laurie Harper
Open Source advocate, Java geek: http://www.holoweb.net/laurie
Founder, Zotech Software: http://www.zotechsoftware.com/




---------------------------------------------------------------------
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]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to