Interface Constants


public interface Constants
Various constants used across the integration, Maven property names with a meaning in the IDE, plugin groupIds, artifactIds etc.
  • Field Details

    • POM_MIME_TYPE

      static final String POM_MIME_TYPE
      MIME type for *.pom.
      See Also:
    • HINT_LICENSE

      static final String HINT_LICENSE
      Maven property that hints netbeans to use a given license template.
      See Also:
    • HINT_LICENSE_PATH

      static final String HINT_LICENSE_PATH
      Maven property that hints netbeans to use a given license template file in project space, rather than the IDE's user space
      See Also:
    • HINT_JDK_PLATFORM

      static final String HINT_JDK_PLATFORM
      Maven property that designates the jdk platform to use in the IDE on classpath for project. Equivalent to the "platform.active" property in Ant based projects. Workaround for issue http://www.netbeans.org/issues/show_bug.cgi?id=104974 Will only influence the classpath in the IDE, not the maven build itself.
      See Also:
    • HINT_PACKAGING

      static final String HINT_PACKAGING
      Maven property that hints netbeans to handle the project as if it were of given packaging.. Influences the available default action mappings, panels in customizers and other UI functionality in the IDE. Useful for cases when you define a custom packaging eg "jar2" but want the ide to handle it as j2se/jar project. Meaningful values include: jar,war,ejb,ear,nbm
      See Also:
    • HINT_DISPLAY_NAME

      static final String HINT_DISPLAY_NAME
      allows to customize project's display name. The global equivalent is $userhome/Preferences/org/netbeans/modules/maven.properties' property of project.displayName
      See Also:
    • GROUP_APACHE_PLUGINS

      static final String GROUP_APACHE_PLUGINS
      apache maven default groupid for maven plugins.
      See Also:
    • PLUGIN_COMPILER

      static final String PLUGIN_COMPILER
      See Also:
    • PLUGIN_COMPILER_VERSION_SUPPORTING_JDK9

      static final String PLUGIN_COMPILER_VERSION_SUPPORTING_JDK9
      See Also:
    • PLUGIN_WAR

      static final String PLUGIN_WAR
      See Also:
    • PLUGIN_SITE

      static final String PLUGIN_SITE
      See Also:
    • PLUGIN_RESOURCES

      static final String PLUGIN_RESOURCES
      See Also:
    • PLUGIN_EJB

      static final String PLUGIN_EJB
      See Also:
    • PLUGIN_EAR

      static final String PLUGIN_EAR
      See Also:
    • PLUGIN_JAR

      static final String PLUGIN_JAR
      See Also:
    • PLUGIN_SUREFIRE

      static final String PLUGIN_SUREFIRE
      See Also:
    • PLUGIN_FAILSAFE

      static final String PLUGIN_FAILSAFE
      See Also:
    • PLUGIN_CHECKSTYLE

      static final String PLUGIN_CHECKSTYLE
      See Also:
    • ENCODING_PARAM

      static final String ENCODING_PARAM
      See Also:
    • RELEASE_PARAM

      static final String RELEASE_PARAM
      See Also:
    • SOURCE_PARAM

      static final String SOURCE_PARAM
      See Also:
    • TARGET_PARAM

      static final String TARGET_PARAM
      See Also:
    • ENCODING_PROP

      static final String ENCODING_PROP
      this property was introduced as part of this proposal: http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding
      See Also:
    • ACTION_PROPERTY_JPDALISTEN

      static final String ACTION_PROPERTY_JPDALISTEN
      When used as a property when executing maven, it will start a debugger before invoking a project related action. will replace the ${jpda.address} expression in action's properties with the correct value of localhost port number. allowed values:
      • true - starts the debugger and waits for the process to attach to it.
      • maven - starts the debugger and generates correct MAVEN_OPTS value that is passed to the command line maven executable. MAVEN_OPTS=-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}
      See Also:
    • ACTION_PROPERTY_JPDAATTACH

      static final String ACTION_PROPERTY_JPDAATTACH
      When used as a property when executing maven, it will attach a debugger to the provided address. The transport used when attaching to that address is a socket attach be default, which expects the address to be in the form of <host_name>:<port_number>. A different transport can be defined by ACTION_PROPERTY_JPDAATTACH_TRANSPORT. Possible value is also true in which case a free port is allocated and value of this property and properties ACTION_PROPERTY_JPDAATTACH_ADDRESS and ACTION_PROPERTY_JPDAATTACH_PORT updated accordingly.
      Since:
      2.113
      See Also:
    • ACTION_PROPERTY_JPDAATTACH_ADDRESS

      static final String ACTION_PROPERTY_JPDAATTACH_ADDRESS
      If the ACTION_PROPERTY_JPDAATTACH property is specified as true this property is then set to the address (usually localhost) to connect to.
      Since:
      2.113
      See Also:
    • ACTION_PROPERTY_JPDAATTACH_PORT

      static final String ACTION_PROPERTY_JPDAATTACH_PORT
      If the ACTION_PROPERTY_JPDAATTACH property is specified as true this property is then set to an empty port the system will then connect to.
      Since:
      2.113
      See Also:
    • ACTION_PROPERTY_JPDAATTACH_TRANSPORT

      static final String ACTION_PROPERTY_JPDAATTACH_TRANSPORT
      When used as a property when executing maven, it will use this transport when attaching to ACTION_PROPERTY_JPDAATTACH_ADDRESS address. This property is meaningful only when ACTION_PROPERTY_JPDAATTACH_ADDRESS is defined.
      Since:
      2.113
      See Also:
    • ACTION_PROPERTY_JPDAATTACH_TRIGGER

      static final String ACTION_PROPERTY_JPDAATTACH_TRIGGER
      Name of a property used for checking the maven output for the approriate time to attach to ACTION_PROPERTY_JPDAATTACH_ADDRESS address. This property is meaningful only when ACTION_PROPERTY_JPDAATTACH_ADDRESS is defined.
      Since:
      2.127
      See Also:
    • HINT_COMPILE_ON_SAVE

      static final String HINT_COMPILE_ON_SAVE
      Optional property, if defined the project type will attempt to redirect meaningful run/debug/profile/test action invokations to the compile on save infrastructure. Possible values
      • all - both tests and application
      • test - only tests, not application - deprecated since 7.4
      • app - only application, not tests - deprecated since 7.4
      • none - no compile on save
      Since:
      NetBeans 6.7
      See Also:
    • HINT_CHECKSTYLE_FORMATTING

      static final String HINT_CHECKSTYLE_FORMATTING
      Optional property, if defined the IDE will try to use the project's checkstyle configuration to transparently change the java files formatting (according to the setup rules)
      Since:
      NetBeans 6.8
      See Also:
    • DEFAULT_PHASES

      static final List<String> DEFAULT_PHASES
      list of phase names in default lifecycle
    • CLEAN_PHASES

      static final List<String> CLEAN_PHASES
      list of phase names in clean lifecycle