archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Em DauPhu <emdau...@gmail.com>
Subject Re: upload artifact with bundle
Date Tue, 17 Aug 2010 10:49:08 GMT
I agree, I wasn't sure about the repository scan.
Thank you very much.

On Tue, Aug 17, 2010 at 12:36 PM, Brett Porter <brett@apache.org> wrote:
>
> On 17/08/2010, at 8:06 PM, Em DauPhu wrote:
>
>> Actually I didn't mean to bundle my four elements in one but have them
>> as classifiers like they should (being sources and javadocs).
>> So the feature you gave me seems ok.
>>
>> I'll read that again and see if I need to open an issue, thanks. :)
>>
>> By the way, I was more asking about now, what should I do as a best
>> practice with Archiva.
>> I have a normal Java/Maven project. I deploy it using "mvn deploy" and
>> it works fine. During the packaging, I also package the javadoc and
>> the sources so they are deployed as well with the artifact.
>
> That's definitely the best practice.
>
>> What should I do if I have these 3 jars (classes, sources, javadoc)
>> and the pom and I want to upload them manually to the repository.
>> You told me to put them into the filesystem. Does it mean that Archiva
>> will find them and create the entry in the database and then the html
>> associated ?
>
> Yes, it's not ideal, but if you have to do it manually that's the only option. It will
pick up the changes on the next repository change scan (the default is on the hour).
>
> Cheers,
> Brett
>
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
>
>

Mime
View raw message