What version of install plugin you are using? Im not sure if this feature is already released. Try to build the install plugin from source.

allan

Gunzenreiner Simon wrote:
Hi Jochen

sorry for bugging you but I also tried it out without the generatePom=true option, and it always 
turns my "myArtifactId-myVersion-sources.jar" into "myArtifactId-myVersion.jar" 
once I import it into the repository as described below (without generatePom) ...

Simon

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


Gunzenreiner Simon wrote:

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

Classifier works, believe me. I'd guess that the "generatePom=true" is a problem.


Jochen


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



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

Reply via email to