Please upgrade to the artifact 1.6 plugin. I will update the download page.

A second beta will be out soon to address this.

- Brett

On 9/2/05, Michael McCrann <[EMAIL PROTECTED]> wrote:
> 
> Any ideas with this problem.
> 
> I am trying to use the artifact plugin (Maven 1.1 beta). I have a simple 
> goal in my project's maven.xml:
> 
> <goal name="toRepository" >
> 
> <artifact:deploy
> 
> artifact="${maven.build.dir}/transact.war"
> type="war"
> project="${pom}"
> />
> 
> </goal>
> 
> I have setup the repository in the build.properties. When I run this I 
> get:
> 
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-1
> 
> build:start:
> 
> toRepository:
> [echo] Deploying...
> 
> BUILD FAILED
> java.lang.NoSuchMethodError: 
> org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(
> PomRewriter.java:124)
> at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.java
> :57)
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleDeploy
> (DefaultArtifactDeployer.java:1
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(
> DefaultArtifactDeployer.java:102)
> at org.apache.maven.artifact.deployer.DeployBean.deploy(DeployBean.java
> :142)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java
> :180)
> at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java
> :102)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79)
> at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java
> :102)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(
> MavenGoalTag.java:78)
> at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
> (MavenGoalTag.java:109)
> at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java
> :693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> File...... c:\maven_local\cache\maven-artifact-plugin-1.5.2\plugin.jelly
> Element... artifact:artifact-deploy
> Line...... 90
> Column.... -1
> org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V
> Total time : 3 seconds
> Finished at : Friday, 2 September 2005 10:50:24
> 
> 
> NOTICE
> This e-mail and any attachments are confidential and may contain copyright 
> material of Macquarie Bank or third parties. If you are not the intended 
> recipient of this email you should not read, print, re-transmit, store or 
> act in reliance on this e-mail or any attachments, and should destroy all 
> copies of them. Macquarie Bank does not guarantee the integrity of any 
> emails or any attached files. The views or opinions expressed are the 
> author's own and may not reflect the views or opinions of Macquarie Bank.
> 
> 
>

Reply via email to