Hello,
I have to work with mavon now and have the first problem. I have created a
maven project with the ceclipse plugin myMavan and i want to build a jar
file.
When i type maven jar in the console i get following errormessage:
D:\tga\workspace\Veron-Commons>maven jar
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2
build:start:
java:prepare-filesystem:
java:compile:
[echo] Compiling to D:\tga\workspace\Veron-Commons/target/classes
[echo]
==========================================================
NOTE: Targetting JVM 1.4, classes
will not run on earlier JVMs
==========================================================
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...... C:\Dokumente und
Einstellungen\esn568y\.maven\cache\maven-jar-plugin-
1.7\plugin.jelly
Element... ant:fail
Line...... 53
Column.... -1
You must define currentVersion in your POM.
Total time : 3 seconds
Finished at : Freitag, 21. Oktober 2005 15:50:12 CEST
I have written nothing into the project.properties and didn't change any
other config file.
So what did i wrong? Where do i have to define the pom?
Thanks for helping and regards
toni