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-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to deploy maven 1 artifact into artifactory
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 niko.ma...@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-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to deploy maven 1 artifact into artifactory
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 niko.ma...@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-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to deploy maven 1 artifact into artifactory
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-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to deploy maven 1 artifact into artifactory
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 niko.ma...@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-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org