Setting packaging to java-source did the trick, and classifier is indeed 
useless). Thanks. 

-----Original Message-----
From: Roland Asmann [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 13, 2007 10:27 AM
To: Maven Users List
Subject: Re: [M2] deploy-file with classifier not working

Forgot to mention the most important thing: try packaging=java-source or 
java-sources... I believe it was something like that.


On Friday 13 April 2007 16:19, Siegmann Daniel, NY wrote:
> I'm trying to deploy a 3rd party source jar, by setting the classifier
> when I use deploy:deploy-file, but it is being deployed without the
> classifier. It appears that the classifier is being ignored entirely.
> Probably I am just missing something small and stupid. Anyone see a
> problem:
>
> $M2_HOME/bin/mvn deploy:deploy-file -X "-DgroupId=com.fja.pdfs" \
>         "-DartifactId=pdfs" \
>         "-Dversion=$PDFS_VER" \
>         "-Dpackaging=jar" \
>         "-Dfile=lib/pdfsSrc.jar" \
>         "-Dclassifier=sources" \
>         "-DgeneratePom=false" \
>         "-DrepositoryId=fja-internal-ftp" \
>         "-Durl=ftp://myserver.global.fjh.com";
>
> ...
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-deploy-plugin:2.1:deploy-file' -->
> [DEBUG]   (f) artifactId = pdfs
> [DEBUG]   (f) file =
> d:\projects\PDFSProjects\current\releases\3.2.1\lib\pdfsSrc.jar
> [DEBUG]   (f) generatePom = false
> [DEBUG]   (f) groupId = com.fja.pdfs
> [DEBUG]   (s) localRepository = [local] ->
> file://D:\Profiles\ME\.m2\repository
> [DEBUG]   (f) packaging = jar
> [DEBUG]   (f) repositoryId = fja-internal-ftp
> [DEBUG]   (f) url = ftp://myserver.global.fjh.com
> [DEBUG]   (f) version = 3.2.1.52
> [DEBUG] -- end configuration --
> ...
>
> Thanks,
> --
> Daniel Siegmann
> FJA-US, Inc.
> 512 Seventh Ave., New York, NY  10018
> (212) 840-2618 ext. 139
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: [EMAIL PROTECTED]
Web: www.cfc.at

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