artifactory

Maven: Trying to Deploy with credentials in settings.xml file

你离开我真会死。 提交于 2019-12-31 09:12:20
问题 This seemed to be working last week and now it doesn't. We use Artifactory as our Maven repository. I am deploying a jar and pom using the deploy:deploy-file goal Our Artifactory repository requires authentication to deploy. I can deploy to the repository by embedding my credentials in the server URL on the command line: $ mvn deploy:deploy-file \ -Durl=http://deployer:swordfish@repo.veggiecorp.com/artifactory/ext-release-local \ -Dfile=crypto.jar \ -DpomFile=pom.xml \ -Did=VeggieCorp yadda..

Maven: Trying to Deploy with credentials in settings.xml file

微笑、不失礼 提交于 2019-12-31 09:11:11
问题 This seemed to be working last week and now it doesn't. We use Artifactory as our Maven repository. I am deploying a jar and pom using the deploy:deploy-file goal Our Artifactory repository requires authentication to deploy. I can deploy to the repository by embedding my credentials in the server URL on the command line: $ mvn deploy:deploy-file \ -Durl=http://deployer:swordfish@repo.veggiecorp.com/artifactory/ext-release-local \ -Dfile=crypto.jar \ -DpomFile=pom.xml \ -Did=VeggieCorp yadda..

Multiple deployments in maven

二次信任 提交于 2019-12-30 04:30:11
问题 We have a internal artifactory repository. At the moment all snapshots will be deployed there. We also want to have a different server with a web interface, and want to copy the to it the created artifacts. For our builds we use Hudson, but the post-build action "Deploy artifacts to Maven repository" together with scp doesn't work. So there is the question of doing it in some other elegant way. Why isn't maven able to have several distribution repositories? Any ideas? The nicest thing would

Maven Internal Repository, Is it Really This Hard?

萝らか妹 提交于 2019-12-29 15:06:34
问题 I have several projects which use Maven and I would like to run an internal repository on my work network. I have several libraries which are from third parties and cannot be released into the wild, as well as a few libraries of our own which need to be available within the network (including to our TeamCity CI Server) but cannot be deployed outside the network. After a bit of research, I found three main recommendations on how to accomplish this: Archiva, Artifactory, and Nexus. I have tried

Maven Internal Repository, Is it Really This Hard?

我的梦境 提交于 2019-12-29 15:00:34
问题 I have several projects which use Maven and I would like to run an internal repository on my work network. I have several libraries which are from third parties and cannot be released into the wild, as well as a few libraries of our own which need to be available within the network (including to our TeamCity CI Server) but cannot be deployed outside the network. After a bit of research, I found three main recommendations on how to accomplish this: Archiva, Artifactory, and Nexus. I have tried

Artifactory not deleting Unique Snapshots

倖福魔咒の 提交于 2019-12-29 07:42:08
问题 We have an Artifactory server that is using 220Gb - with the libs-snapshots-local repository utilising 98% of that storage. When we looked at the configuration for the repository we noted that Maven snapshot behaviour was set to: unique and that the Max Unique Snapshots value was 0 . We changed the Max Unique Snapshots value to 5. This seems to work when we are still working on the Snapshot, however if we no longer deploy to the snapshot (a release has been made) then it doesn't delete any of

Artifactory not deleting Unique Snapshots

最后都变了- 提交于 2019-12-29 07:41:40
问题 We have an Artifactory server that is using 220Gb - with the libs-snapshots-local repository utilising 98% of that storage. When we looked at the configuration for the repository we noted that Maven snapshot behaviour was set to: unique and that the Max Unique Snapshots value was 0 . We changed the Max Unique Snapshots value to 5. This seems to work when we are still working on the Snapshot, however if we no longer deploy to the snapshot (a release has been made) then it doesn't delete any of

What's wrong with this Ivy changingPattern / SNAPSHOT configuration?

拟墨画扇 提交于 2019-12-28 04:10:37
问题 I can't get Ivy to update cache when snapshot dependencies are updated. The resolver (to has the following settings: <url name="xxx" m2compatible="false" checkmodified="true" changingMatcher="regexp" changingPattern=".*-SNAPSHOT.*"> An example artifact filename (in Artifactory) is: my-jar-1.999-SNAPSHOT.jar A detailed Ant log of resolve includes: [NOT REQUIRED] com.myorg#my-module;1.999-SNAPSHOT!my-jar.jar There is no POM on the artifact. The resolver is underneath a chain resolver; they both

nothing published to artifactory using gradle artifactory plugin

假如想象 提交于 2019-12-25 08:42:29
问题 I followed the solution given here: upload artifact to artifactory using gradle, but it is not working for me. Here is my code: apply plugin: 'artifactory' apply plugin: 'maven-publish' /* Specify the repositories to be used for downloading artifacts */ repositories { maven { url = "${artifactory_contextUrl}/repo" } } /* Define the repository (in artifactory) where artifactoryPublish task should publish */ artifactory { contextUrl = "${artifactory_contextUrl}" publish { repository { repoKey =

Deploying project JAR to artifactory programmatically

梦想与她 提交于 2019-12-25 03:58:12
问题 Deploy programatically created KIE-Drools-Artifact to Maven repository has come closest to what I'm trying to do. I have artifactory set up as a remote repository for a project, and what I want to do is deploy snapshot releases to the libs-shapshot-local repository from one project so that they can be accessed via others. As for my code, I'm working with Drools/java and I am able to create a JAR file and deploy it to the local .m2 repository from inside the program(thanks to the above