Maven – Store Binary File In Nexus Repository

So Nexus can be used to store not only libraries and pom files, but also for the compiled packages, especially I am interested in storing Oracle SOA 12c builds.

mvn deploy:deploy-file -DgroupId=org.apache -DartifactId=activemq-distro -Dversion=5.5.1 -Dfile=apache-activemq-5.5.1-bin.tar.gz -DrepositoryId=unapproved-snapshots -Durl=https://xxx
-Dpackaging=tgz

It ended up uploading

https://xxxx…/org/apache/activemq-distro/5.5.1/activemq-distro-5.5.1.tgz

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s