Please forgiven my ignorance.  I'm new to both Atrifactory (running 2.6.6)
and Maven, and I need a little guidance.  I'm confused on how to use
Artifactory (OSS edition) for both my libraries and 3rd party libraries.
Currently, my projects (libraries and web apps) are Netbeans Ant based, but
I'm in the process of converting them to Maven (maybe I should go Ivy, but
whatever).  So, some of my web apps and libraries I'd like to add to
Artifactory, but only if Artifactory can be used as a Maven repo.  Then, I
need to add third party libraries because they aren't in Maven central, yet.

I'd like to break this out into a few issues.

First, is Artifactory meant to replace, or proxy, Maven Central?  So, I'm
under the impression that I configure my development Maven settings.xml to
point to my Artifactory instance and it will act as a central for my
projects and a proxy to Maven Central.  Is that correct?  If that is the
case, how to I configure both the Artifactory server (which has maven
installed) and my development machine?

Second, as of now, LibreOffice is not in Maven Central.  There is an open
task at LibreOffice, but I'd like to set up my own local Maven repo to make
these available for now.  I found the page to upload jar artifacts, which
I've added each jar one at a time.  But how can I package multiple jars to
use the multi-artifact upload feature?  I'd like them to act as a single
unit of artifacts.

Third, since I'm using Netbeans Ant based projects with Jenkins, how can I
publish my libraries to Artifactory?  I was able to configure Jenkins to
publish the artifacts, and the project build tree is created, but no
artifacts are published?  My Jenkins job settings are as follows:

[X] Ant/Ivy-Artifactory Integration
[X] Capture and publish build info
[X] Publish artifacts to Artifactory
[X] Use Maven compatible patterns

Ivy pattern: [organisation]/[module]/ivy-[revision].xml
Artifact pattern:
[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
Include Patterns: dist/*.jar
Exclude Patterns: dist/javadoc

Again, I can see my project in Artifactory with the following details, but
no artifacts are published.  I checked the logs and can't find an error.
BTW, I'm running Artifactory in Glassfish 3.1.2.2.

General Build Info:
Name: my-lib
 Number: 89
 Type: Ivy
 Agent: Jenkins/1.504
 Build Agent: Ivy/2.0.0
 Started: 2013-03-20T16:00:44.959-0400
 Duration: 4.6 seconds
 Principal: jmanko
 Artifactory Principal: jenkins-deployment
 URL: http://jenkins/job/my-lib/89/

Any help would be greatly appreciated.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to