artifactory

"Missing artifact" errors with company repository

I setup a company maven repository using artifactory. I deployed a project of us into the repository. If I now specify a dependency to that artifact, it doesn't get retrieved. Which it should, because I declared this in my settings.xml: <mirrors> <mirror> <id>company-internal</id> <name>company repository</name> <url>http:...

Multiple deployments in maven

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 t...

Artifactory: Auto-generate archetype catalog?

Is there a way to have Artifactory automatically generate the archetype-catalog.xml file for a repository? At the moment, I maintain it by hand and publish it via HTTP PUT. While this is doable for our small internal repository, it would be nice to do this automatically, and I was rather surprised it doesn't seem to happen out of the box...

How to configure Artifactory using PostgreSQL instead of MySQL?

How would one configure PostgreSQL instead of MySQL to run artifactory? ...

How do I find the latest version of an artifact from a maven repository

As part of an automated deployment I need a script to download the latest version of an artifact from our internal repository. Ideally this script will be with ant or a unix shell script. So for example: I have myArtifact.war and it has versions 1.0 , 1.1 and 2.0 - I need the script given the correct group id and artifact id to retrie...

How to stop Maven/Artifactory from keeping Snapshots with timestamps

Hi, Due to disk space considerations I'd like to only ever keep one version of any snapshot in my repository. Rather than keeping multiple versions with timestamp suffixes e.g. ecommerce-2.3-20090806.145007-1.ear How can I set this up? Is this a build setting or repository (Artifactory) setting Thanks! ...

Accessing an Artifactory/Maven Repo that requires basic-auth

I have an Artifactory repo that sits behind basic authentication. How would I configure the settings.xml to allow access? <mirrors> <mirror> <id>artifactory</id> <mirrorOf>*</mirrorOf> <url>https://myserver.example.com/artifactory/repo&lt;/url&gt; <name>Artifactory</name> </mirror> </mirrors> <servers> <!-- This server con...

How to debug HTTP Proxy problems with artifactory?

I have an artifactory within a corporate network. I configured a http proxy for each remote repository. It doesn't work. How could I possibly find out why it doesn't work? Are there any log settings which I could tweak? Using the same proxy within Firefox works just fine. ...

Can Nexus/Artifactory store a copy of an internet Maven artifact?

I would like to have Nexus (or Artifactory, we're not decided yet) store a copy of an artifact when it is downloaded from a public repository on the internet (like Maven Central). Basically, if you don't have the jar in your local repo and the repo manager doesn't have it either, I want to ask the repo manager for the jar, have it send ...

maven2 - how to list all resources repository url from pom file

I'm looking for something like this: List<URL> urls = ListURLFromPOM.("c:\pom.xml"); .. http://repo1.maven.org/maven2/org/apache/ibatis/ibatis-core/3.0/ibatis-core-3.0.jar http://repo1.maven.org/maven2/org/apache/camel/camel-activemq/1.1.0/camel-activemq-1.1.0.jar ... ...

Error in the build of project with gradle from Hudson and its deployment in artifactory !!

I just add the hudson-artifactory plugin and everything run marvelously!!! with maven but when I tried to buikld the project with gradle ("I added th gradle plugin to hudson") i have this error FAILURE: Build failed with an exception. * Where: Initialization script 'C:\Documents and Settings\qqqqqqqqqqqq.hudson\jobs\skiiiii...

Open source ALM software stack

I was looking at open source ALM tools and discovered an interesting project called jabox. Jabox is a new project designed to support Maven builds and new projects are setup with pre-configured POMs supporting the following suite of tools: What makes Jabox unique is that it contains embedded editions of the following tools: Subve...

How do you ensure repeatable builds with an artifact repository like nexus or artifactory vs. checking libs into source control?

In all of the artifact repository's that I've evaluated I have to see how I can maintain my repository in such a way that I can archive old stuff so I'm not looking at thousands of artifacts in the tree while still being able to have repeatable builds of old software. Not being able to rename/move/archive old artifacts means that they h...

Need presentation materials for convincing a customer to use Maven

My customer needs a more organized inventory of all 3rd-party libraries (such as JAR files) that are used in production for their projects. I am involved with a number of their Java-based projects. Their inventory has not been consistently maintained in the past and the time has come to account for all the libraries that are currently be...