Hi allan

I tried to use install:install-file like this:

mvn install:install-file -DgeneratePom=true -Dpackaging=jar -DgroupId=myGroupId 
-Dversion=myVersion -DartifactId=myArtifactId -Dclassifier=sources 
-Dfile=myArtifactId-myVersion-sources.jar

but it didn't install my sources.jar correctly - the binary jar file was simply 
replaces. It looks to me like the classifier option is not really supported ..

Thanks
Simon


-----Ursprüngliche Nachricht-----
Von: Allan Ramirez [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 24. August 2006 02:48
An: Maven Users List
Betreff: Re: installing sources to local repository by means of install
plugin


Hi Simon,

classifier is also supported for the install:install-file goal, so it 
should do the same with the deploy:deploy-file goal.

allan

Gunzenreiner Simon wrote:
> Hi all
>
> I am missing documentation about how to install sources packed by the source 
> plugin into the local repository. I want to avoid file copying because I 
> assume I should be able to do it with the install plugin. I assume that the 
> "sources" postfix is a dependency classifier, so I was hoping to be able to 
> use a "classifier" argument to the install:install-file plugin, as it is 
> possible with the deploy:deploy-file plugin.
>
> Any hints appreciatet,
> Simon
>
>
>   

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