deploying a snapshot with a specific classifier

View: New views
3 Messages — Rating Filter:   Alert me  

deploying a snapshot with a specific classifier

by Frank Wilson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

I want to deploy the jar commons-exec-1.0.0-20080905.033237-1.jar so that it is available on the following repo URL.

 

http://localhost:8081/artifactory/repo/org/apache/commons/commons-exec/1.0.0-SNAPSHOT/commons-exec-1.0.0-20080905.033237-1.jar

 

However, whichever way I do this, Artifactory either refuses to serve artifact or it replaces the classifier (20080905.033237-1) with the current date.

 

Please could somebody tell me how to serve this artifact properly.

 

Thanks,

 

Frank Wilson


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: deploying a snapshot with a specific classifier

by Yossi Shaul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
It's an issue with the maven deployer which recognizes the unique snapshot version simply as SNAPSHOT.
As a workaround you can import this file to the repository using the repository import (Admin -> Import&Export - > Repositories). Create a temp dir and copy the file to it keeping the maven directory layout.
For example: /tmp-repo/org/apache/commons/commons-exec/1.0.0-SNAPSHOT/commons-exec-1.0.0-20080905.033237-1.jar, then select the /tmp-repo as the directory to import and the repository you wish to import it to.

Yossi Shaul


From: Frank Wilson <frank.wilson@...>
To: artifactory-users@...
Sent: Wed, November 4, 2009 5:44:20 PM
Subject: [Artifactory-users] deploying a snapshot with a specific classifier

I want to deploy the jar commons-exec-1.0.0-20080905.033237-1.jar so that it is available on the following repo URL.

 

http://localhost:8081/artifactory/repo/org/apache/commons/commons-exec/1.0.0-SNAPSHOT/commons-exec-1.0.0-20080905.033237-1.jar

 

However, whichever way I do this, Artifactory either refuses to serve artifact or it replaces the classifier (20080905.033237-1) with the current date.

 

Please could somebody tell me how to serve this artifact properly.

 

Thanks,

 

Frank Wilson



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: deploying a snapshot with a specific classifier

by Yoav Landman-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One more thing that you can do is upload the file to the desired
target location using REST.

With curl:
curl -X PUT -f -u user:password --data-binary
@commons-exec-1.0.0-20080905.033237-1.jar \
http://localhost:8081/artifactory/repo/org/apache/commons/commons-exec/1.0.0-SNAPSHOT/commons-exec-1.0.0-20080905.033237-1.jar

Yoav

On Thu, Nov 5, 2009 at 12:58 AM, Yossi Shaul <yossis_acsp@...> wrote:

> It's an issue with the maven deployer which recognizes the unique snapshot
> version simply as SNAPSHOT.
> As a workaround you can import this file to the repository using the
> repository import (Admin -> Import&Export - > Repositories). Create a temp
> dir and copy the file to it keeping the maven directory layout.
> For example:
> /tmp-repo/org/apache/commons/commons-exec/1.0.0-SNAPSHOT/commons-exec-1.0.0-20080905.033237-1.jar,
> then select the /tmp-repo as the directory to import and the repository you
> wish to import it to.
>
> Yossi Shaul
>
> ________________________________
> From: Frank Wilson <frank.wilson@...>
> To: artifactory-users@...
> Sent: Wed, November 4, 2009 5:44:20 PM
> Subject: [Artifactory-users] deploying a snapshot with a specific classifier
>
> I want to deploy the jar commons-exec-1.0.0-20080905.033237-1.jar so that it
> is available on the following repo URL.
>
>
>
> http://localhost:8081/artifactory/repo/org/apache/commons/commons-exec/1.0.0-SNAPSHOT/commons-exec-1.0.0-20080905.033237-1.jar
>
>
>
> However, whichever way I do this, Artifactory either refuses to serve
> artifact or it replaces the classifier (20080905.033237-1) with the current
> date.
>
>
>
> Please could somebody tell me how to serve this artifact properly.
>
>
>
> Thanks,
>
>
>
> Frank Wilson
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Artifactory-users mailing list
> Artifactory-users@...
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users