You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dirk Olmes <di...@xanthippe.ping.de> on 2006/02/05 08:16:59 UTC

Re: [m2] deploy:deploy-file with source?

dan tran wrote:
> http://maven.apache.org/guides/introduction/introduction-to-the-pom.html
> 
> indicates what maven will zip and deploy the your source if you pass in
> 
> -DperformRelease=true.
> 
> Give it a try.
> 
> -Dan

Still no go :-(
No matter what I put in the pom.xml I have created for the jar,
deploy-file keeps ignoring.

How does my pom.xml have to look like in order to attach sources to a
given jar that I want to deploy-file?

-dirk


> 
> 
> On 1/30/06, dan tran <da...@gmail.com> wrote:
>> sorry, i thougth you already have the source zipped up. Perhaps you can
>> zip it up
>> before package phase.  Also the Deploy plugin ( in svn ) now supports
>> deploy
>> artifact with classifier, but you still need to have the zip source thou
>>
>> -Dan
>>
>>
>> On 1/30/06, Dirk Olmes <di...@xanthippe.ping.de> wrote:
>>> dan tran wrote:
>>>>> I'm currently deploying third party jars into our company's
>>> repository
>>>>> using deploy:deploy-file. I'd like to deploy source jars along with
>>> the
>>>>> binaries so manven's eclipse plugin can pick the source up and I can
>>>>> step through the code in the debugger.
>>>>>
>>>>> Does anyone know how/if that's possible?
>>>> note possible due to http://jira.codehaus.org/browse/MDEPLOY-19
>>>>
>>>> try build-helper-maven-plugin at mojo.codehaus.org as alternative
>>> I'm not sure I understand the benefit of the build-helper plugin. I
>>> created my own pom for the third party jar and add-source to it. Now I
>>> can create a source:jar but deploy-file keeps ignoring the generated
>>> source jar.
>>>
>>> I also tried to attach-artifact the source jar, to no avail ...
>>>
>>> -dirk


-- 
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org