Hi all,
I got it to work!
The solution was very simple: I was using maven 1.0 beta 10 instead of
1.0rc1...
Sorry for bothering you.
Have a good weekend (and also a happy Hanukkah!)
Amnon

-----Original Message-----
From: Amnon Khen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 18, 2003 21:28
To: '[EMAIL PROTECTED]'
Subject: getting artifact:deploy to work

Hi all,
Does anybody have an idea how to get the artifact plugin to work?
I have the following namespace definition on my maven.xml:
xmlns:artifact="artifact"
I have the following goal:
<goal name="test-artifact-plugin">
            <artifact:deploy artifact="${installshield.final.exe}"
type="exe" project="${pom}"/>
</goal>
I configured the properties as instructed in the plugin page on the maven
website.
But nothing works. I get this error message:
BUILD FAILED
File...... file:/m:/buildcps_Pecan-3.50_release/PECAN/PecanSDK/
Element... artifact:deploy
Line...... 213
Column.... 87
java.lang.reflect.InvocationTargetException
com.werken.werkz.UnattainableGoalException: Unable to obtain goal
[test-artifact-plugin] -- file:/m:
/buildcps_Pecan-3.50_release/PECAN/PecanSDK/:213:87: <artifact:deploy> null
...followed by a huge stack trace.
It's probably a newbie question... What am I doing wrong?
I see the plugin unpacked in my ${maven.plugin.unpacked.dir}.
Thanks for your help,
            Amnon
 
______________________________________________________________________
Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 
Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815
mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  /
http://www.cash-u.com <http://www.cash-u.com/> 
Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 
Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK /
Tel: +44 20 8323 8066
Asia-Pacific -  47A Duxton Road, Singapore 089511 / Tel: +65 67322440
______________________________________________________________________
This e-mail message and its attachments are for the sole use of the intended
recipient(s), may contain confidential and/or privileged information and are
to  be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the  sender by reply and destroy all
copies of the original message and its attachments.
______________________________________________________________________
 

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

Reply via email to