Continuing on a theme, my directory layout looks like this:

com/acme/proj/
        MyApp.java, resources/, webapp/

i.e. the webapp directory is also in with the source code - therefore I would like to persuade the war plugin of this. I added the following section to my pom:

    <build>
            <sourceDirectory>.</sourceDirectory>
   ...
           <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.0-beta-1-SNAPSHOT</version>
                <configuration>
<warSourceDirectory>${sourceDirectory}/ webapppppppppp/</warSourceDirectory>
                </configuration>
            </plugin>

Running m2 install resulted in a failure as it was still looking in the wrong place. In fact it wasn't even looking for my misspelled webappppppppp directory, which leads me to believe it isn't taking any notice of the variable.

Have I specified the configuration correctly??

Is there a GUI for these POMs because I sure hate fiddling with them!!!!!!!!

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

Reply via email to