Advertisement
Guest User

Log

a guest
May 24th, 2014
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.03 KB | None | 0 0
  1. $ mvn initialize -P -built
  2. Unable to parse command line options: Missing argument for option: P
  3.  
  4. usage: mvn [options] [<goal(s)>] [<phase(s)>]
  5.  
  6. Options:
  7. -am,--also-make If project list is specified, also
  8. build projects required by the
  9. list
  10. -amd,--also-make-dependents If project list is specified, also
  11. build projects that depend on
  12. projects on the list
  13. -B,--batch-mode Run in non-interactive (batch)
  14. mode
  15. -b,--builder <arg> The id of the build strategy to
  16. use.
  17. -C,--strict-checksums Fail the build if checksums don't
  18. match
  19. -c,--lax-checksums Warn if checksums don't match
  20. -cpu,--check-plugin-updates Ineffective, only kept for
  21. backward compatibility
  22. -D,--define <arg> Define a system property
  23. -e,--errors Produce execution error messages
  24. -emp,--encrypt-master-password <arg> Encrypt master security password
  25. -ep,--encrypt-password <arg> Encrypt server password
  26. -f,--file <arg> Force the use of an alternate POM
  27. file (or directory with pom.xml).
  28. -fae,--fail-at-end Only fail the build afterwards;
  29. allow all non-impacted builds to
  30. continue
  31. -ff,--fail-fast Stop at first failure in
  32. reactorized builds
  33. -fn,--fail-never NEVER fail the build, regardless
  34. of project result
  35. -gs,--global-settings <arg> Alternate path for the global
  36. settings file
  37. -h,--help Display help information
  38. -l,--log-file <arg> Log file to where all build output
  39. will go.
  40. -llr,--legacy-local-repository Use Maven 2 Legacy Local
  41. Repository behaviour, ie no use of
  42. _remote.repositories. Can also be
  43. activated by using
  44. -Dmaven.legacyLocalRepo=true
  45. -N,--non-recursive Do not recurse into sub-projects
  46. -npr,--no-plugin-registry Ineffective, only kept for
  47. backward compatibility
  48. -npu,--no-plugin-updates Ineffective, only kept for
  49. backward compatibility
  50. -nsu,--no-snapshot-updates Suppress SNAPSHOT updates
  51. -o,--offline Work offline
  52. -P,--activate-profiles <arg> Comma-delimited list of profiles
  53. to activate
  54. -pl,--projects <arg> Comma-delimited list of specified
  55. reactor projects to build instead
  56. of all projects. A project can be
  57. specified by [groupId]:artifactId
  58. or by its relative path.
  59. -q,--quiet Quiet output - only show errors
  60. -rf,--resume-from <arg> Resume reactor from specified
  61. project
  62. -s,--settings <arg> Alternate path for the user
  63. settings file
  64. -T,--threads <arg> Thread count, for instance 2.0C
  65. where C is core multiplied
  66. -t,--toolchains <arg> Alternate path for the user
  67. toolchains file
  68. -U,--update-snapshots Forces a check for missing
  69. releases and updated snapshots on
  70. remote repositories
  71. -up,--update-plugins Ineffective, only kept for
  72. backward compatibility
  73. -V,--show-version Display version information
  74. WITHOUT stopping build
  75. -v,--version Display version information
  76. -X,--debug Produce execution debug output
  77. [ERROR] Error executing Maven.
  78. org.apache.commons.cli.MissingArgumentException: Missing argument for option: P
  79. at org.apache.commons.cli.Parser.processArgs(Parser.java:343)
  80. at org.apache.commons.cli.Parser.processOption(Parser.java:393)
  81. at org.apache.commons.cli.Parser.parse(Parser.java:199)
  82. at org.apache.commons.cli.Parser.parse(Parser.java:85)
  83. at org.apache.maven.cli.CLIManager.parse(CLIManager.java:158)
  84. at org.apache.maven.cli.MavenCli.cli(MavenCli.java:277)
  85. at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:203)
  86. at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
  87. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  88. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  89. java:57)
  90. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  91. sorImpl.java:43)
  92. at java.lang.reflect.Method.invoke(Method.java:606)
  93. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
  94. cher.java:289)
  95. at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
  96. a:229)
  97. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
  98. uncher.java:415)
  99. at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
  100. 356)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement