maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitko2 <nit...@gmail.com>
Subject Re: Install artifact
Date Mon, 19 Dec 2005 14:35:31 GMT
Wim, thank you for your answer.
It's strange that I have to write code for such trivial functionality.





Wim Deblauwe wrote:
> See
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.htmlunder
> "specifying a new packaging".
> 
> You need to do this:
> 
> project.getArtifact().setFile( new File( "target/myFile-2.0.jar" ) );
> 
> regards,
> 
> Wim
> 
> 
> 
> 2005/12/19, Nitko2 <nitko2@gmail.com>:
> 
>>Hi.
>>
>>Can someone tell me how InstallMojo knows what artifact should be
>>installed? Or even better, how can
>>I tell InstallMojo what file is result of my build process, and therefor
>>should be installed?
>>
>>
>>Thanks, Filip
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message