Re: no main or test directories created when using webapp archetype?

2008-09-28 Thread Wendy Smoak
On Sun, Sep 28, 2008 at 3:05 PM, Rick <[EMAIL PROTECTED]> wrote: > Ok interesting. Thanks Wendy. I didn't think of creating a separate > module for the web-related java classes. Is this a common practice? I > agree in separation of concerns, but that might be a bit much. In > other words a servlet

Re: Cannot run program "env"

2008-09-28 Thread Brett Porter
I believe someone encountered this recently and it was a result of running as the super user which had a very limited environment. You might find more information in the archives. Cheers, Brett 2008/9/29 greeklinux <[EMAIL PROTECTED]>: > > Hello, > > I am using maven, and I setup an CI system on

Re: This file is derived, do you really want to edit it

2008-09-28 Thread Brett Porter
This might be specific to your IDE integration, so you can always ask on their lists. It appears you are editing a file that was in the 'target' directory, so that when the build occurs, clean will delete it losing the change. - Brett 2008/9/29 Mike Oliver <[EMAIL PROTECTED]>: > > What does this

Re: no main or test directories created when using webapp archetype?

2008-09-28 Thread Thor
I agree with Rick, if you have servlets, filters, even actions (struts, webwork, etc.) i think there is no need to separate the code from your web module (if your views depends on it). Nevertheless, separating the code from the views it's a very elegant approach... If the Eclipse workspace wasn't

Re: maven archetype

2008-09-28 Thread Thor
The only thing I can come up with it's to add each file as a resource on the archetpe.xml of your archetype (wich is a real pain). Or you could try the mvn archetype:create-from-project, it'll generate an archetype from your current project (though, I haven't used it for that kind configuration) h

Re: Question about Change List?

2008-09-28 Thread 陈思淼
That help me a lot, thanks 2008/9/29 Brett Porter <[EMAIL PROTECTED]> > Are you using this plugin already? > > http://maven.apache.org/plugins/maven-changes-plugin/ > > 2008/9/28 陈思淼 <[EMAIL PROTECTED]>: > > We would like to document some change list information about our maven > > project, for e

Re: the meaning of component.xml?

2008-09-28 Thread 陈思淼
I find a document which have some detail description about the component.xml.http://www.sonatype.com/book/reference/public-b ook.htm l (the plugin chapter) thank you all the same. 2008/9/29 supareno <[EMAIL PROTECTED]> > you caould find some infos here: > http://maven.apache.org/plugins/maven-ass

Re: Question about Change List?

2008-09-28 Thread Brett Porter
Are you using this plugin already? http://maven.apache.org/plugins/maven-changes-plugin/ 2008/9/28 陈思淼 <[EMAIL PROTECTED]>: > We would like to document some change list information about our maven > project, for example. level up from 1.2 to 1.3. wo have fix Bug > connection time out in Connecti

Re: no main or test directories created when using webapp archetype?

2008-09-28 Thread Graham Leggett
Rick wrote: (Now if Eclipse supported multi-modules better I wouldn't' mind as much. I wish there was a way I could have a project in eclipse represented by the parent pom and then have all the sub modules beneath it. Back when I used IDEA, I think this was possible. Does NetBeans maybe support

Re: no main or test directories created when using webapp archetype?

2008-09-28 Thread Rick
On Sun, Sep 28, 2008 at 5:11 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > The archetype is encouraging the best practice of putting the Java > code in a separate module. > > If you need the directories, you can create them. If this is > something you need often, you can create your own archetype

Re: no main or test directories created when using webapp archetype?

2008-09-28 Thread Wendy Smoak
On Sun, Sep 28, 2008 at 1:55 PM, Rick <[EMAIL PROTECTED]> wrote: > I'm confused... when I run the maven webapp archetype I only end up > with "resources" and "webapp" directories created.. no java/src/main > or java/src/test ? Shouldn't it make those directories for me? The archetype is encouragin

Re: no main or test directories created when using webapp archetype?

2008-09-28 Thread Rick
I should clarify.. 'main' is created.. just no java directory (or test) is created even when I provide the package declaration with -DpackageName=com.foobar On Sun, Sep 28, 2008 at 4:55 PM, Rick <[EMAIL PROTECTED]> wrote: > I'm confused... when I run the maven webapp archetype I only end up > with

no main or test directories created when using webapp archetype?

2008-09-28 Thread Rick
I'm confused... when I run the maven webapp archetype I only end up with "resources" and "webapp" directories created.. no java/src/main or java/src/test ? Shouldn't it make those directories for me? I tested with the archetype as shown here on the maven2 site: http://maven.apache.org/guides/mini

maven archetype

2008-09-28 Thread Matthias Dorfner
Sorry for that maybe stupid question, but I didn’t find an answer consulting the maven website and google. I created an archetype quickstart skeleton, as well as a dedicated site skeleton with the archetype plugin (with the goals create and generate). What I’m looking for is a skeleton that

Re: [ANN] Maven Reactor Plugin 1.0 Released

2008-09-28 Thread Dan Fabulich
Paul Benedict wrote: Congrats on the plugin. Could you maybe add to the plugin home page why this plugin is required or useful? What common problem is it trying to solve? It would be nice to know that background, because I am grasping to find its purpose. Which plugin home page do you mean? D

Re: the meaning of component.xml?

2008-09-28 Thread supareno
you caould find some infos here: http://maven.apache.org/plugins/maven-assembly-plugin/component.html I've read the source code of maven-dependency-plugin and there is a component.xml, I know this file is for pluxes container to locate load the plugin, can anybody tell me the detail meaning of co

AW: Problems with path in pom (windows)

2008-09-28 Thread Matthias Dorfner
Thx Wendy And Martin, it works fine now using UmlGraph 4.6! Regards, Matthias -Ursprüngliche Nachricht- Von: Martin Gainty [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 28. September 2008 17:11 An: Maven Users List Betreff: RE: Problems with path in pom (windows) Matthias- try deployin

RE: Problems with path in pom (windows)

2008-09-28 Thread Martin Gainty
Matthias- try deploying to repositories which are known to be valid as wendy suggested if your requirment demands you use local repositories I would suggest shying from whitespace characters in folder names and use the 8.3 folder names change C:\Dokumente und Einstellungen\Matty\.m2\repository

Cannot run program "env"

2008-09-28 Thread greeklinux
Hello, I am using maven, and I setup an CI system on a virtual server. When the build process starts, maven fails with the following error: Parsing POMs ERROR: Failed to parse POMs java.io.IOException: Cannot run program "env": java.io.IOException: error=12, Cannot allocate memory at jav

Re: Problems with path in pom (windows)

2008-09-28 Thread Wendy Smoak
On Sun, Sep 28, 2008 at 4:28 AM, Matthias Dorfner <[EMAIL PROTECTED]> wrote: > I tried to integrate umlgraph to my pom. It looks as following: > C:\Dokumente und > Einstellungen\Matty\.m2\repository\UMLGraph-5.1\lib\UmlGraph.jar Most likely the spaces in the path are causing problems

This file is derived, do you really want to edit it

2008-09-28 Thread Mike Oliver
What does this mean? I used subversion to check out a branch of JackRabbit that uses Maven 2 into an Eclipse project. I created a new class from an existing class java source extending from the same abstract class. I ran "mvn install" to build from the pom.xml checked out. It reported an error

RE: no pom file found

2008-09-28 Thread Mike Oliver
Yes thanks, I found that, and installed Maven 2, and "mvn install" did its magic and all is well. Ollie Jeff Jensen wrote: > >> what am I doing wrong. > > Not understanding Maven 1 vs Maven 2! > > Maven 1.1 uses project.xml files. Maven 2.x uses pom.xml files. > > > -Original Message--

Problems with path in pom (windows)

2008-09-28 Thread Matthias Dorfner
Hi everybody, I tried to integrate umlgraph to my pom. It looks as following: ... org.apache.maven.plugins maven-javadoc-plugin gr.spinellis.umlgraph.doclet.UmlGraph C:\Dokumente und Einstellungen\Matty\.m2\reposit

the meaning of component.xml?

2008-09-28 Thread 陈思淼
I've read the source code of maven-dependency-plugin and there is a component.xml, I know this file is for pluxes container to locate load the plugin, can anybody tell me the detail meaning of component.xml, or give a document about the component.xml tags meaning, thanks! > org.codehaus.ple