author wrote:
I use this command, but it is not work.

C:\>mvn -s C:\work\repository\set
tings.xml
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO]

You must specify at least one goal. Try 'mvn install' to build or 'mvn -?'
for o
ptions
See http://maven.apache.org for more information.



Your error is not related to settings.xml.

Your error is "You must specify at least one goal.".

try

  C:\mvn -s C:\work\repository\settings.xml install

Then, please read one of the excellent free online reference guides for Maven such as "Maven: The Definitive Guide" to better understand the command line options and the syntax of goals and phases.

Good luck.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to