I am still not clear on this. 

I am building a plugin but not generating any other files myself. The
pom.xml specifies the maven-plugin packaging. The plugin installs fine in
the local repo and I an use it using the fully qualfied groupId:artifactId
syntax from the command line. So whhy is the deploy:deploy goal failing when
it used to work before? My pomx.xml hasn't chagned.


-Moiz 

-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 07, 2005 4:15 PM
To: Maven Users List
Subject: Re: Error with deploy:deploy

Packaging plugins are required to call project.getArtifact().setFile(
fileYouGenerated ) to properly work in the reactor.

As a side note, please don't build from SVN unless you intend to patch the
Maven core or need to use a feature specifically introduced in the last
couple of days. We have weekly betas so that the releases can be used for
testing.

- Brett

On 10/8/05, dohadwala, moiz <[EMAIL PROTECTED]> wrote:
> I updated maven from svn today.
>
> Now, when I try deploy:deploy after running clean:clean and install, I 
> get the following error:
>
>
> [INFO] Searching repository for plugin with prefix: 'deploy'.
> [INFO]
> ----------------------------------------------------------------------
> ------
> [INFO] Building Maven test Plugin
> [INFO]    task-segment: [deploy:deploy]
> [INFO]
> ----------------------------------------------------------------------
> ------
> [INFO] [deploy:deploy]
> [INFO]
> ----------------------------------------------------------------------
> ------
> [INFO] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> ------ [INFO] Reason: The packaging for this project did not assign a 
> file to the build artifact [INFO]
> ----------------------------------------------------------------------
> ------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Oct 07 16:06:47 PDT 2005 [INFO] Final Memory: 
> 1M/2M [INFO]
> ----------------------------------------------------------------------
> ------
>
> Here are the last few lines from the install command:
> [INFO] [jar:jar]
> [INFO] Building jar:
> E:\Projects\map\maven-test-plugin\target\maven-test-plugin-1.0-SNAPSHO
> T.jar [INFO] [plugin:addPluginArtifactMetadata]
> [INFO] [install:install]
> [INFO] Installing
> E:\Projects\map\maven-test-plugin\target\maven-test-plugin-1.0-SNAPSHO
> T.jar
> to
> D:\java\maven\.m2\repository\com\corp\map\maven-test-plugin\1.0-SNAPSH
> OT\mav
> en-test-plugin-1.0-SNAPSHOT.jar
> [INFO] [plugin:updateRegistry]
> [INFO]
> ----------------------------------------------------------------------
> ------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ----------------------------------------------------------------------
> ------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Fri Oct 07 16:06:40 PDT 2005 [INFO] Final Memory: 
> 6M/13M [INFO]
> ----------------------------------------------------------------------
> ------
>
>
> Am I missing something in pom.xml? It used to work with beta-2.
>
> -Moiz
>
>

---------------------------------------------------------------------
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]

Reply via email to