You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ktaeter <ni...@googlemail.com> on 2012/10/02 17:11:09 UTC

how to deploy maven 1 artifact into artifactory

Hi guys, I have the problem that I have to maintain maven 1 and maven 3
projects. Therefore I try to deploy my maven 1 artifacts into artifactory.
In artifactory I created a local repository with the maven 1 repository
layout. When I manually upload a maven 1 artifact (jar) via the gui into the
artifactory, I can download it during my maven 3 install phase. (My maven 3
artifacts have dependencies to the maven 1 old backend code....) Now I want
to deploy my maven 1 artifacts during build time into the artifactory, but I
do not know how. Problem is that maven 1 only allows me to deploy via
scp,sftp or filesystem and I can not successfully run a deploy goal against
the artifactory via scp, sftp or filesystem. (I think Artifactory stores the
artifacts in an own db). Does anyone has/had the same problem??? Does anyone
has an idea for me, please ??? thanks in advance cheers ktaeter 



--
View this message in context: http://maven.40175.n5.nabble.com/how-to-deploy-maven-1-artifact-into-artifactory-tp5724683.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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


Re: how to deploy maven 1 artifact into artifactory

Posted by Ron Wheeler <rw...@artifact-software.com>.
This sounds like a problem that might get better responses in the 
artifactory user list.

Ron

On 03/10/2012 5:41 AM, Ansgar Konermann wrote:
> I'd say the most obvious step should be to migrate your Maven 1 projects to
> Maven 3.
>   Am 03.10.2012 10:11 schrieb "ktaeter" <ni...@googlemail.com>:
>
>> Hi guys, I have the problem that I have to maintain maven 1 and maven 3
>> projects. Therefore I try to deploy my maven 1 artifacts into artifactory.
>> In artifactory I created a local repository with the maven 1 repository
>> layout. When I manually upload a maven 1 artifact (jar) via the gui into
>> the
>> artifactory, I can download it during my maven 3 install phase. (My maven 3
>> artifacts have dependencies to the maven 1 old backend code....) Now I want
>> to deploy my maven 1 artifacts during build time into the artifactory, but
>> I
>> do not know how. Problem is that maven 1 only allows me to deploy via
>> scp,sftp or filesystem and I can not successfully run a deploy goal against
>> the artifactory via scp, sftp or filesystem. (I think Artifactory stores
>> the
>> artifacts in an own db). Does anyone has/had the same problem??? Does
>> anyone
>> has an idea for me, please ??? thanks in advance cheers ktaeter
>>
>>
>>
>> --
>> View this message in context:
>> http://maven.40175.n5.nabble.com/how-to-deploy-maven-1-artifact-into-artifactory-tp5724683.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


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


Re: how to deploy maven 1 artifact into artifactory

Posted by "Lyons, Roy" <Ro...@cmegroup.com>.
I know that in Nexus, you would create a "virtual repository" specifying
the Maven1-to-Maven2 provider, and it would translate the items into a
Maven2 format (which is still in use for Maven3).  You would then want to
create a repository group which would combine the items from that new
virtual repository and the current maven2 hosted repository type for use
in resolving artifacts.  I would go a step further and add any external
repositories (via proxy repository type) to this repository group, and
force resolution through that group with a <mirror> in your settings.xml.

Yes, that was a Nexus-based response -- but I suspect Artifactory has
similar functionality.  Your mileage may vary.



Thanks,

Roy Lyons
Senior Configuration Engineer





On 10/3/12 10:49 AM, "ktaeter" <ni...@googlemail.com> wrote:

>unfortunately I have 500 maven 1 projects to migrate, therefore I have to
>live with maven 1 and maven 3 projects simultaneously for now.
>
>
>
>--
>View this message in context:
>http://maven.40175.n5.nabble.com/how-to-deploy-maven-1-artifact-into-artif
>actory-tp5724683p5724768.html
>Sent from the Maven - Users mailing list archive at Nabble.com.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>


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


Re: how to deploy maven 1 artifact into artifactory

Posted by ktaeter <ni...@googlemail.com>.
unfortunately I have 500 maven 1 projects to migrate, therefore I have to
live with maven 1 and maven 3 projects simultaneously for now.



--
View this message in context: http://maven.40175.n5.nabble.com/how-to-deploy-maven-1-artifact-into-artifactory-tp5724683p5724768.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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


Re: how to deploy maven 1 artifact into artifactory

Posted by Ansgar Konermann <an...@googlemail.com>.
I'd say the most obvious step should be to migrate your Maven 1 projects to
Maven 3.
 Am 03.10.2012 10:11 schrieb "ktaeter" <ni...@googlemail.com>:

> Hi guys, I have the problem that I have to maintain maven 1 and maven 3
> projects. Therefore I try to deploy my maven 1 artifacts into artifactory.
> In artifactory I created a local repository with the maven 1 repository
> layout. When I manually upload a maven 1 artifact (jar) via the gui into
> the
> artifactory, I can download it during my maven 3 install phase. (My maven 3
> artifacts have dependencies to the maven 1 old backend code....) Now I want
> to deploy my maven 1 artifacts during build time into the artifactory, but
> I
> do not know how. Problem is that maven 1 only allows me to deploy via
> scp,sftp or filesystem and I can not successfully run a deploy goal against
> the artifactory via scp, sftp or filesystem. (I think Artifactory stores
> the
> artifacts in an own db). Does anyone has/had the same problem??? Does
> anyone
> has an idea for me, please ??? thanks in advance cheers ktaeter
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/how-to-deploy-maven-1-artifact-into-artifactory-tp5724683.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>