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

Keep getting java.lang.OutOfMemoryError: PermGen space error
copy dependencies transitive and not transitive
jetty-maven-plugin setting buffers sizes
Grails refresh-dependencies doesn't download snapshot dependency from local maven repository
Copy test resources from one submodule to the others
What is an uber jar?
Add jar file to Maven Reactor modules list
JAX-WS with Spring integration with Jetty server
POM for 'log4j:log4j:pom:1.2.15:compile' is invalid
Adding a set of dependencies in maven
Is it possible to get Maven dependencies in a property at run-time?
Maven Repository
Correct way to maintain a company-wide POM
How to do websphere 7 deployment automation using maven?
Deploy war in multiple module project on maven
Bad version number in .class file

Categories

HOME
log4j
jdo
atom-editor
openmp
oracle11g
activiti
ngrx
google-play
tinymce
angular-material
plot
homebrew
google-oauth
dxl
fingerprint
opengl-es-2.0
ios-charts
primary-key
export-to-csv
qt-creator
apache-cayenne
msp430
iron-router
progressive-web-apps
ef-migrations
sms-gateway
emulator
grails3
intentfilter
bootstrap-tour
blazemeter
emgucv
h2db
microsoft-sync-framework
poltergeist
wtx
msys2
facebook-apps
jaxb2
srcset
socialengine
semantic-versioning
google-sites-2016
ghost4j
atl
y86
force-layout
nssegmentedcontrol
appfabric
file-format
mixture-model
ssjs
unobtrusive-validation
sfdc
quadratic-programming
android-mediaprojection
bootstrap-dialog
cubic-spline
scrollable
hibernate-tools
pango
hendrix
colorama
dtexec
boost-preprocessor
r-forge
pillow
spring-mongodb
crosswalk-runtime
quartz-composer
pintos
cubes
url-pattern
google-web-starter-kit
fputcsv
markojs
prettytensor
intel-fortran
t4mvc
pundit
deis
splash
jsonpickle
cdt
flask-cors
mysqltuner
ivyde
web2py-modules
coverflow
gwt-rpc
eventual-consistency
hungarian-algorithm
chronoforms
pygit2
enterprisedb
specification-pattern
mhtml
unc
chuck
bitsharp
gil
multipage
regsvr32
subgurim-maps
appendto
actionview
propagation
gdlib
cxxtest
gallio
xsdobjectgen
phonon
anti-piracy
pascal-fc
.net-1.0

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