Hi,

Can somebody please enlighten me, how I can add build artefacts in an ant-based 
plugin? Can it be somewhere set in the plexus/components.xml?

Currently I'm getting the error: 
[INFO] [deploy:deploy]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The packaging for this project did not assign a file to the build 
artifact
[INFO] ------------------------------------------------------------------------

This is my components.xml:
<component-set>
        <components>
                <component>
                        
<role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
                        <role-hint>tigerstripe-application</role-hint>
                        
<implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
                        <configuration>
                                <phases>
                                        
<generate-sources>ossj.jsr264:maven-tigerstripe-plugin:tigerstripe-generate</generate-sources>-->
                                        
<package>org.apache.maven.plugins:maven-source-plugin:2.0:jar</package>
                                        
<install>org.apache.maven.plugins:maven-install-plugin:install</install>
                                        
<deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
                                </phases>
                        </configuration>
                </component>
                <component>
                        
<role>org.apache.maven.artifact.handler.ArtifactHandler</role>
                        <role-hint>tigerstripe-application</role-hint>
                        
<implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
                        <configuration>
                                <extension>jar</extension>
                                <type>tigerstripe-application</type>
                        </configuration>
                </component>
        </components>
</component-set>


Andreas 

>-----Original Message-----
>From: ext 
>[EMAIL PROTECTED]
>e.org 
>[mailto:[EMAIL PROTECTED]
>en.apache.org] 
>Sent: 28 July, 2006 07:14
>To: [email protected]
>Subject: Re: [m2] The packaging for this project did not 
>assign a file to the build artifact
>
>I just read the archived mail and actually have the same problem:
> 
>http://www.mail-archive.com/[email protected]/msg36680.html
> 
>How to assign the build artefact in a custum plugin, that is 
>based on ant tasks? Is there a more elegant way? 
> 
>For me, there's also an additional tweak. I'd like to assign 
>not what comes out of my plugin, but I'm using the 
>maven-source-plugin in a subsequent step in the lifecycle and 
>want to deploy that.
> 
>Any hints appreciated!
> 
>Andreas Ebbert-Karroum
>  Senior Software Design Engineer - Nokia Networks Services / 
>Middleware
>  phone: +49-211-94123928, fax: +49-211-94123838
>  Heltorfer Straße 1, 40472 Düsseldorf, Germany 
>
>
>________________________________
>
>This message is confidential. If you have received this 
>message in error, please delete it from your system. You 
>should not copy it for any purpose, or disclose its contents 
>to any other person. Internet communications are not secure 
>and therefore Nokia GmbH does not accept legal responsibility 
>for the contents of this message as it has been transmitted 
>over a public network. Thank you. 
>
>Nokia GmbH, Nokia Networks is a German Company. Further 
>information about the Company is available from its principal 
>offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany 
>and from the website at http://www.nokia.com/ 
>________________________________
>
>
>

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

Reply via email to