Hallo

thanks a lot for that hint :)
this works.

i am only confused now with the generated pom files for each artifact. when adding the jar's with the .class files an artifact pom is created, when i then add the sources jar (zip) the artifact pom is rewritten

does that matter at all? the only difference is the packaging type in the artifact pom which changes to <packaging>zip</> after the source archive is added.

or would it be a better idea to specify a pom-file when i deploy the files instead of letting maven generate one?


thanks :)
regards
ossi




Wendy Smoak schrieb:
On 5/23/07, ossi petz <[EMAIL PROTECTED]> wrote:


i know how to add a non-free (commercial) jar into a local repository. i
use deploy:deploy-file to achieve this:
...
how can i add the sources to this jar file? (packed in core-2.0.0.zip)

is there some other packaging type? (i havent found the available types)

Try adding -Dclassifier=sources

You might need to deploy it as a jar, I'm not sure if IDEs will find
it as a .zip file.

http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html



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

Reply via email to