NetBeans: Re-run Maven with the -e switch on / PluginResolutionException

后端 未结 4 1446
灰色年华
灰色年华 2021-01-18 11:56

i have no clue about Maven and Netbeans, i updated my netbeans and now my test is not working anymore:

Plugin org.apache.maven.plugins:maven-resources-plugin         


        
相关标签:
4条回答
  • 2021-01-18 12:36

    most likely you have a mirror or proxy defined in one of the maven's settings.xml files (eg. in ~/.m2/settings.xml) and the definition is wrong? like pointing to a wrong server?

    0 讨论(0)
  • In Netbeans 8.0.2 you define this on the project properties->Actions Then select the action where you want to specify the arguments to pass

    0 讨论(0)
  • 2021-01-18 12:48

    NetBeans 6.9.1 - Mac OS X

    To activate the switches you need through Netbeans, go to Preferences --> Miscellaneous --> Maven, then enter the following under Global Execution Options:

    --debug --errors
    

    NetBeans - Windows

    Add debug and errors to Maven in NetBeans (from version 7.3 at up) as follows:

    1. Click Tools.
    2. Click Options.
    3. Click the Java icon.
    4. Click the Maven tab.
    5. Append to Global Execution Options: --debug --errors
    6. Click OK.

    Maven will execute the application with debug and error information included.

    0 讨论(0)
  • 2021-01-18 12:56

    On netbeans 8.2, Tools > Options > (see below figure)

    1. enter "maven" in the search box
    2. type "--debug --errors" in the "Global ...".

    0 讨论(0)
提交回复
热议问题