maven


Maven install-file confusion: “could not find goal 'install-file'”


This error looks like nonsense: Could not find goal 'install-‌​file' in plugin org.apache.maven.plugins:maven-install-plugin:2.5.2 among available goals install, help, install-file
The command I'm entering is:
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-‌​file -Dfile=mypackage.jar
Arg! I copy/pasted that command from elsewhere on StackOverflow and the hyphen-dash in install-file had been replaced by a similar looking character.
After manually replacing the hyphen-dash, the command worked fine.

Related Links

My shared (Gradle) library is not being read correctly…Artifactory Maven Pom file not publishing exclusions is suspected cause
How do I get readyapi (formerly soapui) to respect the values I specify in pom.xml?
maven ant run plugin - killing process that was spawned
Exception in thread “main” java.lang.InternalError while executing maven commands
Getting No manifest attribute, in t.jar file
mule maven application on tomcat
Jenkins Integration with Automic for Pipeline Script
Nexus doesn't download the complete artifact content from the Central repository
How to implement auto-incrementing build number in maven project?
How to include particular file from a folder in maven install target directory?
SonarQube fails to connect to database with error “cannot load jdbc driver class 'com.mysql.jdbc.driver'”
How to prevent maven releasing a SNAPSHOT bom file?
Why is maven downloading the same artifact multiple times?
test-verify goal doesn't work with maven-soapui-extension-plugin
Double artifact resolution in Maven/Assembly plugin
What exactly is thread-count parameter in maven

Categories

HOME
ibm-bluemix
compiler-construction
zeromq
path-finding
lodash
session
syntax
octobercms
android-4.4-kitkat
rsyslog
rubygems
frameworks
sqlite3
v8
azure-media-services
directx
node-notifier
adfs
medical
gitpitch
ssl-client-authentication
circular-dependency
msp430
carthage
dosgi
highlight.js
apache-metamodel
samoa
crystal-reports-2008
amazonsellercentral
jasonette
microsoft-r
autosys
greendao
web-api-testing
minitab
ejabberd-module
saas
atlassian-crucible
libuv
webkitspeechrecognition
bluestacks
media-queries
titanium-mobile
avcapturesession
ios5
appfabric
stacked
dosbox
lto
abstract-class
occlusion
sql-server-agent
keydown
websphere-mq-fte
wso2carbon
celery-task
svmlight
nstextview
brightcove
spring-mongodb
django-scheduler
gnome-shell-extensions
angular-strap
log4c
plottable.js
gstreamer-0.10
contact-list
superstack
rvest
nessus
separator
collapse
python-3.2
wyam
ionic
sailfish-os
fluid-dynamics
jsonpickle
phpthumb
yorick
valuechangelistener
poller
viadeo
dataservice
yui-compressor
limejs
selected
nsnetservice
manchester-syntax
datawindow
multipage
errai
postgresql-performance
bigcouch
libc++
ecl
blitz++
nintendo-ds
eqatec
multiple-languages
django-notification

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App