I don't think it will work with mvn deploy:deploy-file, but it does work
if you use do mvn deploy. 

-----Original Message-----
From: Dirk Olmes [mailto:[EMAIL PROTECTED] 
Sent: Sunday, February 05, 2006 2:17 AM
To: Maven Users List
Subject: Re: [m2] deploy:deploy-file with source?

dan tran wrote:
> http://maven.apache.org/guides/introduction/introduction-to-the-pom.ht
> ml
> 
> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [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