Thanks for the responses. ok, I updated to 1.0. I also, changed the name from maven.xml to project.xml and this seems to have worked, which is it supposed to be? Now I'm faced with classpath issues. I tried using this approach, but it doesn't seem to work.
<?xml version="1.0"?> <project default="jar:jar" xmlns:j="jelly:core" xmlns:u="jelly:util"> <pomVersion>3</pomVersion> <groupId>medamerica</groupId> <artifactId>ltc</artifactId> <name>medamerica</name> <currentVersion>1</currentVersion> <j:set var="jarDirBase" value="C:/Program Files/WebSphere/Studio40/lib/CompileTimeClasses"/> <j:set var="jarDir1" value="${jarDirBase}/AppServerV3"/> <build> <sourceDirectory>MedAmerica_Working</sourceDirectory> <dependencies> <dependency> <jar>${jarDir1}/servlet.jar</jar> </dependency> </dependencies> </build> </project> Quoting Emmanuel Venisse <[EMAIL PROTECTED]>: > What is your directory structure? > > You know that you can upgrade your Maven to 1.0. 1.0RC3 is an very old > version. > > Emmanuel > > ----- Original Message ----- > From: "Ben Anderson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, September 17, 2004 2:24 PM > Subject: stupid newbie > > > > After perusing through maven's website for the thousandth time I've > decided now > > is the time for me to switch from ant. Unfortunately, I've been unable to > > crawl so far, let alone walk. I don't know if I'm not understanding the > > documentation or if it's just lacking. I also have searched through the > > mail-archive (although my preferred marc.theaimsgroup.com does not have > this > > list?) > > > > My initial build should be simple. I just want to compile and jar up some > > source files - that should be simple, right? > > > > Here's my pom: > > <?xml version="1.0"?> > > <project default="jar:jar"> > > <pomVersion>3</pomVersion> > > <groupId>medamerica</groupId> > > <artifactId>ltc</artifactId> > > <name>medamerica</name> > > <currentVersion>1</currentVersion> > > > > <build> > > <sourceDirectory>MedAmerica_Working</sourceDirectory> > > </build> > > > > </project> > > > > so, then I run: > > > > $ maven jar:jar > > __ __ > > | \/ |__ _Apache__ ___ > > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > > |_| |_\__,_|\_/\___|_||_| v. 1.0-rc3 > > > > > <pomVersion>3</pomVersion><groupId>medamerica</groupId><artifactId>ltc</arti > factId><name>medamerica</name><currentVersion>1</currentVersion><build><sour > ceDirectory>MedAmerica_Working</sourceDirectory></build>build:start: > > > > java:prepare-filesystem: > > > > java:compile: > > [echo] Compiling to d:\vss\src/target/classes > > [echo] No java source files to compile. > > resources or todir was null > > > > java:jar-resources: > > > > test:prepare-filesystem: > > > > test:test-resources: > > > > test:compile: > > [echo] No test source files to compile. > > > > test:test: > > [echo] No tests to run. > > > > BUILD FAILED > > File...... D:\Documents and > > Settings\banderso\.maven\plugins\maven-jar-plugin-1.5\plugin.jelly > > Element... ant:fail > > Line...... 42 > > Column.... 19 > > You must define currentVersion in your POM. > > Total time: 3 seconds > > Finished at: Fri Sep 17 08:19:21 EDT 2004 > > > > I'm running this from cygwin, so I can cut and paste, but I get the same > output > > from regular DOS prompt. Sorry, for the simplicity of this question. If > you > > can at least point me in the right direction to learning... > > TIA, > > Ben Anderson > > > > > > --------------------------------------------------------------------- > > 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]