nexus

Uploading war file to Nexus using jenkins job

我们两清 提交于 2019-12-13 08:31:48
问题 I have a zip file which contains version like this xxx_1.2.3.zip now i created one jenkins job which will run and upload the zip in nexus using build.xml . My question is i want to unzip and find the war file and want to upload zip and war file to nexus .i am able to do using below code but it is not storing the war file with its original name artifact id and group id.Zip contains yyy.war .when i stores to nexus it should upload like yyy_1.2.3.war.But is is storing as xxx-jenkins build number

Nexus Ivy Maven : Second Level Dependencies Ignores Transitive

 ̄綄美尐妖づ 提交于 2019-12-13 06:59:29
问题 1.) I have a Project1 with this ivy dependency : <dependency org="xalan" name="serializer" rev="2.7.1" transitive="false" conf="compile->default" /> This project brings serializer.jar (just only this jar, OK! ) 2.) In a second one Project (Proyect2) i put the next dependency : <dependency org="com.net" name="Project1" rev="latest.integration" conf="default->default;compile->compile;runtime->runtime" transitive="true"> </dependency> This "Project 2" brings : Project 1 Serializer.jar xml-apis

Nexus and Maven: Access to the Maven Central Repo?

浪子不回头ぞ 提交于 2019-12-13 06:24:41
问题 I've got some trouble using Nexus and Maven. When I try to build projects with Maven using the Nexus, Maven is not able to find any artifact. I added this to the Maven Settings: <mirror> <id>nexus</id> <url>http://localhost:6060/nexus/content/groups/public</url> <mirrorOf>central</mirrorOf> </mirror> to connect Maven with the Nexus. The Maven central repo is also defined in the Nexus settings 回答1: Based on the documentation of Nexus you should configure the settings.xml file like the

What do Berkshelf-api and Chef Supermarket do differently than traditional artifact repositories?

好久不见. 提交于 2019-12-13 04:48:18
问题 I am familiar with artifact repositories such as Artifactory, Maven & Nexus. What do Berkshelf-API / Chef Supermarket do differently than the above Artifact Repositories? On first glance it appears they are duplicating features in already existing artifact repositories (immutability, transitive dependency resolution, etc). Clarification: This is not an opinion-based question, I am seeking the technical reasons why Berkshelf-API / Chef Supermarket are used for Chef Cookbooks instead of other

Free artifactory or nexus service url without password, for using in intellij idea

旧时模样 提交于 2019-12-13 02:07:39
问题 Intelliji Idea shiped with 3 free online repository in settings -> maven -> artifactory or nexus service url http://oss.sonatype.org/service/local/ http://repo.jfrog.org/artifactory/api/ https://repository.jboss.org/nexus/service/local/ all this repos are unavialable (404 error or password protected). Can you give more free artifactory or nexus service url without password protect? IDEA has no settings for password on repo URL. 回答1: IDEA uses the REST services to get listings of all the

docker cp the content of a folder

Deadly 提交于 2019-12-12 23:35:11
问题 I try to copy the content of a folder (on my server) to my container: docker cp sonatype-work-backup/* nexus:/sonatype-work/ So I want the content of sonatype-work in my /sonatype-work/ of nexus. But it doesn't work with the * and without the star it's copying the directory sonatype-work-backup inside my sonatype-work directory. I can't perform mv after that. 回答1: you could just mount that directory in your container at run docker run -v /sonatype-work-backup:/mnt --name nexus nexus-image

Is it possible to deploy artifacts from local folder in Sonatype Nexus Repository Manager 3.x

妖精的绣舞 提交于 2019-12-12 22:31:38
问题 I use Sonatype Nexus Repository Manager 3.5.2 and want to add artifacts to nexus blob store from local folder ( where nexus is lockated ). I couldn't find solution in Nexus documentation and tryed to find in the Net - unsuccessfully . Is it possible and how to do this ( maybe Nexus has some plugin )? thx for any help ..... Update: I have found a solution -> see Answers. 回答1: I have found a temporary solution (I checked Nexus documentation and did not found paragraph about it) => I have shared

How to share Maven archetypes?

房东的猫 提交于 2019-12-12 22:01:56
问题 I've created a Maven archetype which I want to share within my company. To do so, I deployed it to our Nexus server and it can be used from there, but it is somewhat inconvenient since it seems not to be in the catalog of known archetyps on other machines. The workaround is to use it like this: mvn archetype:generate -DarchetypeCatalog=http://nexus/content/repositories/releases/ Would it be possible to use maven without explicitly giving the archtype catalog? I want to use this internal

Does Nexus 3 support container image signing?

馋奶兔 提交于 2019-12-12 20:05:34
问题 Does Nexus 3 private docker registry support container image signing? The RHEL documentation here suggests not, but I'd like confirmation. 回答1: In the sense that Nexus supports the v2 Registry API, it should be able to handle signed images. I don't believe Nexus supplies a Notary service though which is where most of the signing operations occur and image/key information is stored. The Nexus docco mentions nothing about signing. You can delegate trust for your Nexus repo to a local Notary

Nexus credentials in Jenkins with sbt

眉间皱痕 提交于 2019-12-12 17:26:48
问题 I'm trying to make a nexus job to publish a jar to nexus. I'm using sbt with scala, and I have a configuration file with the required credentials in it. I'm having trouble when I run sbt publish , it's giving me unauthorized errors. I need to be able to link my credentials to my sbt build. I'm trying set the target of my configurations to ~/.ivy2/.credentials but it doesn't seem to be working. Does anyone have any advice on how to fix this? Thanks. 回答1: You can put all your credential files