You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "dohadwala, moiz" <do...@emc.com> on 2005/10/08 01:11:58 UTC

Error with deploy:deploy

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-SNAPSHOT.jar
[INFO] [plugin:addPluginArtifactMetadata]
[INFO] [install:install]
[INFO] Installing
E:\Projects\map\maven-test-plugin\target\maven-test-plugin-1.0-SNAPSHOT.jar
to
D:\java\maven\.m2\repository\com\corp\map\maven-test-plugin\1.0-SNAPSHOT\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

Re: Error with deploy:deploy

Posted by Brett Porter <br...@gmail.com>.
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 <do...@emc.com> 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-SNAPSHOT.jar
> [INFO] [plugin:addPluginArtifactMetadata]
> [INFO] [install:install]
> [INFO] Installing
> E:\Projects\map\maven-test-plugin\target\maven-test-plugin-1.0-SNAPSHOT.jar
> to
> D:\java\maven\.m2\repository\com\corp\map\maven-test-plugin\1.0-SNAPSHOT\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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org