artifacts

How to determine if a Maven artifact is in my repo from command line?

三世轮回 提交于 2019-12-08 22:44:50
问题 I would like to check from command line if a certain coordinate ( groupId.artifactId.version ) can be found in a repository. If it is possible, can it be done with partial coordinates (e.g artifactId.version )? Can I specify the repo? I do not ask for workarounds - I could simply start a file search in my local repo, or enter the artifact in a POM and wait for errors, or install Nexus and search over the UI... It is a convenience thing - once on the CLI, it would be nice to be able to check

jenkins, what does fingerprint artifacts means?

半世苍凉 提交于 2019-12-08 14:58:19
问题 My understanding As far as I understood artifacts up to now, is that it was used to know if my project refers to an unfinished build task's artifacts. Problem I tried reading more (on jenkins site too) but I'm not sure I understand so easily what they do now. I know that when I promote a build, I can fingerprint artifacts. What does it mean then? 回答1: Artifacts - anything produced during the build process. Fingerprinting artifacts - recording the MD5 checksum of selected artifacts. You can

How to handle Maven missing artifact errors?

时光总嘲笑我的痴心妄想 提交于 2019-12-06 22:05:32
I've just recently started doing Java development and I picked up Maven2 for dependency management and project task automation. One peculiar issue I've stumbled upon, that I haven't been able to fully understand, is that for certain artifacts you need to configure exclusions for their dependencies, otherwise you get a Maven Missing artifact groupId:artifactId:version:lifecycle error. I've tried creating a Spring MVC project from the supplied STS Spring project templates and the Maven POM contained exclusions for log4j , which, when removed, would produce an error. So what do I do when I

Error when reading core config file: Unsupported Config Type

霸气de小男生 提交于 2019-12-05 07:58:23
I am trying to pass in the channel configuration transaction artifact to the order-er using the command: peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem But I get an error: 2018-03-17 20:55:21.380 GMT [main] main -> ERRO 001 Fatal error when initializing core config : error when reading core config file: Unsupported Config Type "" What does this error mean? and how can

Adobe BlazeDS 4 artifacts maven repository?

核能气质少年 提交于 2019-12-04 10:52:45
问题 Does anybody know if Adobe has a maven repository to download the latest BlazeDS artifacts from? I only can find the "older" versions of BlazeDS in the central mvn repository. The other option is to deploy the downloaded BlazeDS jar files from the Adobe website into my local repository but it would be nice when Adobe provides the artifacts via a maven repository. 回答1: No, Adobe does not have a maven repository for BlazeDS. This thread can help. You can find BlazeDS 4 in the Spring maven

How to publish builds to Artifactory from GitLab CI?

别等时光非礼了梦想. 提交于 2019-12-03 17:12:47
问题 I am looking for an easy and clean way to publish artefacts build with GitLab CI onto Artifactory. I was able to spot https://gitlab.com/gitlab-org/omnibus/blob/af8af9552966348a15dc1bf488efb29a8ca27111/lib/omnibus/publishers/artifactory_publisher.rb but I wasnt able to find any documentation regarding how I am supposed to configure it to make it work. Note: I am looking for a gitlab_ci.yaml approach, not as in implementing it externally. 回答1: At a basic level, this can be done with the JFrog

When saving bitmap to disk, solid paths show artifacts

♀尐吖头ヾ 提交于 2019-12-03 16:33:38
[Edit: I've made a minimal project to try to narrow down what's going on. The code at the bottom still generates the same artifacts when saved] I have an app that draws simple 2D geometry using Paths. The shapes are all solid colors, sometimes with alpha < 255, and may be decorated with lines. In the View that draws the geometry, there has never been an issue with how things get drawn. However, when I use the same code to draw to a Bitmap, and then save it as either a JPEG (with 100 quality) or PNG, there is always the same artifacting in the solid-colored areas of the output files. It's a

How do I stop Maven 2.x from trying to retrieve non-existent pom.xml files for dependencies every build?

[亡魂溺海] 提交于 2019-12-03 12:02:21
In my project, there are a number of dependencies that are transitively included from other dependencies that do not have pom.xml files available in any of our corporate repositories. These are internal jar-only libraries supported by various teams which have been uploaded into repositories for convenience from non-Maven teams, however these repositories are unfortunately not mine to play with. For these dependencies, Maven insists on trying to retrieve the poms from each of my repository list every time I run a build, or mvn dependency:list . This means maven tries to retrieve 8x pom files

Can Nexus or Artifactory store simple tar.gz artifacts?

心不动则不痛 提交于 2019-12-03 09:35:07
I have cloud servers located in separate data centers across the world. Each data center is separate from the others. I'm looking for an easy way to deploy artifacts to individual clusters of servers (that may be running different versions of software i.e. a dev, test, and production cluster) in each of these regions with ease and consistency. It seems to me that an artifact server is what I need because I could execute an install script on the cloud server, which pulls down the correct software artifact. Now, I work on the operations side. I don't care about doing builds, or managing software

Nexus supports Mass upload of artifacts?

陌路散爱 提交于 2019-12-03 04:55:49
问题 I wanted to know if we can have mass upload of artifacts to the repository in Nexus. 回答1: You can do it in a variety of ways: Use the Nexus artifact upload page (note this only works for multiple artifacts with the same groupId and artifactId). Set up a script, with multiple invocations of the maven-deploy-plugin's deploy-file goal, one for each artifact. If you have access to the file system, you can copy the files directly into [sonatype-work]/storage/[repository-name] . If you do this, set