mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \ -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
If there's a pom-file as well, you can install it with the following command:
mvn install:install-file -Dfile=<path-to-file> -DpomFile=<path-to-pomfile>
With version 2.5 of the maven-install-plugin it gets even better. If the JAR was built by Apache Maven, it'll contain a pom.xml in a subfolder of the META-INF directory, which will be read by default. In that case, all you need to do is:
mvn install:install-file -Dfile=<path-to-file>
相关推荐
Oracle Solaris 11.3 Quick Start Guide to Installing-6
Oracle Solaris 11.1 Quick Start Guide to Installing Oracle Solaris11.1-8
The Comprehensive Guide to Installing Rational Software Architect v. 8.0 2011
Oracle Solaris 11.2 (Accessible) Quick Start Guide to Installing Oracle Solaris 11.2-4
一份比较详细的RTAI Linux的安装说明
eCos RedBoot guide-A guide for installing and using RedBootdebug and bootstrap firmware.eCos操作系统redboot源码详细说明及使用移植说明
The Definitive Guide to MongoDB: A complete guide to dealing with Big Data using MongoDB The Definitive Guide to MongoDB, Third Edition, is updated for MongoDB 3 and includes all of the latest ...
Step By Step guide for installing Oracle RAC 11gR2 on Linux
Microsoft Windows 2000 Scripting Guide - Installing Software on a Remote Computer
Coverage of 100% of all exam objectives in this Study Guide means you’ll be ready for: Comparing and contrasting the use of networking services and applications Installing and configuring network ...
This bestselling guide makes it easy, with a detailed roadmap to installing, configuring, and integrating this open source software into your existing phone system. Ideal for Linux administrators, ...
If you use Linux in your day-to-day work, this popular pocket guide is the perfect on-the-job reference. The third edition features new commands for processing image files and audio files, running and...
Beyond Spreadsheets with R shows you how to take raw data and transform it for use in computations, tables, graphs, and more. You’ll build on simple programming techniques like loops and conditionals...
The Definitive Guide to Windows Installer Introduction Chapter 1 - Installations Past, Present, and Future Chapter 2 - Building an Msi File: Visual Studio and Orca Chapter 3 - ...
Guidelines to installing ITSM 7.0 patche005
Guide to Operating Systems By 作者: Greg Tomsho ISBN-10 书号: 1305107640 ISBN-13 书号: 9781305107649 Edition 版本: 5 Released: 2016-08-30 pages 页数: (688 ) $199.95 Discover the latest information ...
Using the Camera via 3rd-Party Apps Working Directly with the Camera Media Routes Supporting External Displays Google Cast and Chromecast The “Ten-Foot UI” Putting the TVs All Together: Decktastic ...
70-410 Training Guide Installing and Configuring Windows Server 2012 安装与配置Windows Server 2012 官方认证材料
Using the Camera via 3rd-Party Apps Working Directly with the Camera Media Routes Supporting External Displays Google Cast and Chromecast The “Ten-Foot UI” Putting the TVs All Together: Decktastic ...