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

ClassFormatException Invalid byte tag in constant pool 13
Eclipselink Static Weaving and Spring Boot is not Working
How to install local jar with dependencies in maven
Using Kotlin synthetic properties
include package in maven while preparing jar
What is the suitable jmeter-plugins-extras for jmeter 3.0
OSSRH release not replicating to maven central
CAS: Overlay packages
Uploading Android library to Bintray - userOrg parameter is ignored
Nrepl middleware not loading correctly with maven project
Failed to execute goal org.apache.maven.plugins: maven-assembly-plugin (GroupId cannot be empty)
Spotify docker-maven-plugin unauthorized: authentication required public repo
maven integration test runOrder is not working
Maven SNAPSHOT version not loaded from Nexus
NoClassDefFoundError when using cxf-codegen-plugin with maven
Exclude hidden folders to generate archetype

Categories

HOME
testing
hook
mfc
layout
view
analysis
icloud
cross-browser
gitpitch
dacpac
user-input
spring-xd
qt-creator
collectd
vb.net-2010
try-catch
django-admin
google-static-maps
reactcsstransitiongroup
google-cloud-speech
custom-wordpress-pages
autoconf
web-sql
google-search-api
microsoft-r
smb
assistant
jaxb2
kendo-datasource
delicious-api
librato
react-chartjs
binary-data
key-value-observing
galsim
exuberant-ctags
jspresso
google-qpx-express-api
windows-dev-center
bower-install
wixsharp
bitbucket-pipelines
swift3.0.2
uft-api
sqlite2
bootstrapper
tasker
mesos-chronos
ws-security
preconditions
grid.mvc
estimote
executenonquery
dds
powercli
mu
nstextview
media-player
dynamics-sl
phishing
hill-climbing
nessus
rhino-servicebus
goose
ford-fulkerson
jfugue
kendonumerictextbox
srand
prerequisites
collapse
intellij-14
spidermonkey
ionic
method-parameters
cisco-ios
oberon
graph-api-explorer
googlemock
elliptic-curve
srs
typo3-neos
terminal-services
floating-point-precision
runtime.exec
soundtouch
ftps
dataservice
ora-00911
pushbackinputstream
mqx
dmoz
cisco-jtapi
first-responder
propertyeditor
qtkit
window-management
coredump
xtype
rfc1123
ecl
celltable
lpeg
web-architecture
webkit.net
sef
uimenucontroller
swing-app-framework
msdev

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App