[SOLVED] RE: Attaching javadoc to a non-maven artefact
Thanks, the -Dclassifier worked. I tried the other suggestion of copying the jars to the maven repo, but it failed a checksum on downloading -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 06 February 2008 16:03 To: Maven Users List Subject: RE: Attaching javadoc to a non-maven artefact Use the -Dclassifier option of deploy:deploy-file [1]. As far as I know it's just another classifier of the same artifact. Hth, Nick Stolwijk [1] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.htm l#classifier -Original Message- From: Richard Chamberlain [mailto:[EMAIL PROTECTED] Sent: Wed 2/6/2008 4:51 PM To: Maven Users List Subject: Attaching javadoc to a non-maven artefact Hey all, I've got a non maven artefact that i've added to my company repository with mvn deploy:deploy-file. However i also have the javadoc and would like to add it to the repo. mvn deploy:deploy-file seems to only handle one file, so i'm at a loss as to how to get the javadoc in the repo. Thanks, Rich - 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]
Attaching javadoc to a non-maven artefact
Hey all, I've got a non maven artefact that i've added to my company repository with mvn deploy:deploy-file. However i also have the javadoc and would like to add it to the repo. mvn deploy:deploy-file seems to only handle one file, so i'm at a loss as to how to get the javadoc in the repo. Thanks, Rich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attaching javadoc to a non-maven artefact
Richard Chamberlain [EMAIL PROTECTED] schrieb: Hey all, I've got a non maven artefact that i've added to my company repository with mvn deploy:deploy-file. However i also have the javadoc and would like to add it to the repo. mvn deploy:deploy-file seems to only handle one file, so i'm at a loss as to how to get the javadoc in the repo. Just copy it there, using scp or whatever works for your system. Using deploy-file is important for the binary code jar, in order to create the right meta-data files. But AFAIK there is no additional meta-data needed for associated files like javadoc or source. Regards, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Attaching javadoc to a non-maven artefact
Use the -Dclassifier option of deploy:deploy-file [1]. As far as I know it's just another classifier of the same artifact. Hth, Nick Stolwijk [1] http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html#classifier -Original Message- From: Richard Chamberlain [mailto:[EMAIL PROTECTED] Sent: Wed 2/6/2008 4:51 PM To: Maven Users List Subject: Attaching javadoc to a non-maven artefact Hey all, I've got a non maven artefact that i've added to my company repository with mvn deploy:deploy-file. However i also have the javadoc and would like to add it to the repo. mvn deploy:deploy-file seems to only handle one file, so i'm at a loss as to how to get the javadoc in the repo. Thanks, Rich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]