Hi folks. I've been using the Maven Ant plugin a bit, and decided to start a new project from the ground-up using Maven. I also figured I should run through the (fairly excellent) Getting Started guide:

http://maven.apache.org/guides/getting-started/index.html

It mostly works great. But I ran into a small issue and a large one.

The small one was that the first time they introduce "mvn compile", it doesn't work unless you cd to your artifactId directory (my-app in the example). If you do it from the directory above, where you were when you ran mvn archetype:create, it doesn't work.

Then, later, they show a couple more archetype:create examples, one to create a bunch of source for the site, and one to create a webapp (which is what I want to do). These don't work from within "my-app"; they create a second "my-app" inside it. You have to CD up one level to get them to work.

But, worse than that, they don't work because "my-app" already exists! I would like to do both the webapp and site archetypes, but I don't know how to do that. The documentation for the plugin is almost nonexistent.

So, anyone got any ideas? Many thanks in advance...

--
Rick



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

Reply via email to