You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by janne mattila <ja...@gmail.com> on 2009/06/10 16:01:15 UTC
uploading source jar for a dependency?
How can I upload source jar for a dependency?
I have dependency
<dependency>
<groupId>net.java.dev.appframework</groupId>
<artifactId>appframework</artifactId>
<version>1.03</version>
</dependency>
This got retrieved from some public repository, but the associated source
jar is broken (appframework-1.03-sources.jar).
I fixed the broken jar (directory structure inside the jar was borked) but
how can I upload the changed sources jar to archiva?
There's "delete artifact" and "upload artifact" operations in the admin
webapp, but as far as I can tell they only operate on the main jar
(appframework-1.03.jar).
Re: uploading source jar for a dependency?
Posted by janne mattila <ja...@gmail.com>.
Thanks, this worked (after upgrading to archiva 1.2.1...)
On Wed, Jun 10, 2009 at 7:19 PM, Wendy Smoak <ws...@gmail.com> wrote:
> On Wed, Jun 10, 2009 at 7:01 AM, janne
> mattila<ja...@gmail.com> wrote:
>
> > There's "delete artifact" and "upload artifact" operations in the admin
> > webapp, but as far as I can tell they only operate on the main jar
> > (appframework-1.03.jar).
>
> You can upload additional jars alongside the main one by using the
> 'classifier' field on the upload page.
>
> In this case, enter 'sources' into the classifier field.
>
> --
> Wendy
>
Re: uploading source jar for a dependency?
Posted by Wendy Smoak <ws...@gmail.com>.
On Wed, Jun 10, 2009 at 7:01 AM, janne
mattila<ja...@gmail.com> wrote:
> There's "delete artifact" and "upload artifact" operations in the admin
> webapp, but as far as I can tell they only operate on the main jar
> (appframework-1.03.jar).
You can upload additional jars alongside the main one by using the
'classifier' field on the upload page.
In this case, enter 'sources' into the classifier field.
--
Wendy