How to push external jar into artifactory using maven
Tech-Today

How to push external jar into artifactory using maven


This code assumes that you already have artifactory setup. And your local settings.xml allows you to push external jars into it. To do that you only need to setup your artifactory's username and password. 

Here is the code, it uploads the file javapns_2.2.jar into my artifactory. FYI javapns is an artifact use for apple push notification :-):

mvn install:install-file -DgroupId=com.googlecode.javapns -DartifactId=javapns-jdk16 -Dversion=2.2 -Dfile=JavaPNS_2.2.jar -Dpackaging=jar -DgeneratePom=true




- How To Invoke A Jenkins Build From Assembla On Git Push
This tutorial will try to configure a jenkins job to run when a git push is done on Assembla. This tutorial assumes that your server is running in Ubuntu 12.04.2. Requirements: You must have an assembla account with admin privilege.An external server...

- How To Install A Maven Artifact Into Your Local Repository
For example, you are working on a maven project application that integrates with paypal. You download paypal sdk (jars),  but you don't have any repository manager installed/setup on your local machine. What you can do are: 1.) Include the...

- How To Install Artifactory And Jenkins On Ubuntu 12.04
This page is a summary of commands that need to be executed in order to install and setup artifactory and jenkins on Ubuntu 12.04. Install artifactory 1.) Download the zipped file from artifactory: >wget http://sourceforge.net/projects/artifactory/files/artifactory/2.6.4/artifactory-2.6.4.zip...

- Could Not Resolve Dependencies For Project Com.xxxjar:-snapshot: Failed To Collect Dependencies For
I just have this weird problem using maven + artifactory. I have a project which I first build using maven-compiler 2.3.2, and maven2. It build successfully and I was able to deploy in artifatory 2.5. Eventually I've added several modules and one...

- Enable Maven To Push Artifact To Artifactory
This is done in ubuntu 11.10 Open /home//.m2/settings.xml or create the file if it does not exists.Paste the ff code: <?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...



Tech-Today








.