On Mon, 2003-06-16 at 15:06, David Liles wrote: > I just configured Maven and am having trouble understanding the structure and > getting my project to run.
Welcome! > The documentation states that all projects must have a project.xml file. I've > modified an example file but now how do I execute it, what is the call statement I > should use? > How do I get Maven to compile my source code? I have tried using the physical path, > relative path, everything.... so far I've had no luck. I get a message that states > there was no source code found. maven java:compile should do it. Probably you have a error in your project.xml? Try maven pom:validate to check this. > Also, when I call maven site:deploy I get and error stating that I need to provide > a username in order to deploy the project. The username can be placed in the > build.property file.... but where does the build.property file need to be located? In your home directory, under unix it's $HOME, under W32 something like c:\docs+settings\myName\.... (AFAIK it's mentioned in the doc as well) > Finally, do I need to place all of my project source code in the maven folder > structure now? Put your sources underneath the location specified by <sourceDirectory> in your project.xml. "src/java" is the default value. The default maven folder stuc works well for me ;-) -- Martin Skopp Riege Software International GmbH Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com This email is intended to be viewed with a nonproportional font. Public Key on http://www.keyserver.net, Key-ID: 3D4027B5 Fingerprint: 1970 C78D 9A1D 99FA 5CE4 5C0D 29E6 6A95 3D40 27B5 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
