未验证 提交 035ca2be 编写于 作者: J Jesse Glick

Some references in Javadoc to hudson-dev:run.

上级 9526bfd4
......@@ -220,7 +220,7 @@ public class Main {
public static boolean isUnitTest = false;
/**
* Set to true if we are running inside "mvn hpi:run" or "mvn hudson-dev:run"
* Set to true if we are running inside {@code mvn hpi:run} or {@code mvn jetty:run}.
*/
public static boolean isDevelopmentMode = SystemProperties.getBoolean(Main.class.getName()+".development");
......
......@@ -72,7 +72,7 @@ public class InitStrategy {
/**
* Lists up additional bundled plugins from the system property {@code hudson.bundled.plugins}.
* Since 1.480 glob syntax is supported.
* For use in the "mvn hudson-dev:run".
* For use in {@code mvn jetty:run}.
* TODO: maven-hpi-plugin should inject its own InitStrategy instead of having this in the core.
*/
protected void getBundledPluginsFromProperty(final List<File> r) {
......
......@@ -439,7 +439,7 @@ public abstract class Slave extends Node implements Serializable {
return res;
}
/** Useful for {@code JenkinsRule.createSlave}, {@code hudson-dev:run}, etc. */
/** Useful for {@code JenkinsRule.createSlave}, {@code mvn jetty:run}, etc. */
private @CheckForNull URL findExecutableJar(File notActuallyJAR, Class<?> mainClass) throws IOException {
if (notActuallyJAR.getName().equals("classes")) {
File[] siblings = notActuallyJAR.getParentFile().listFiles();
......
......@@ -5103,7 +5103,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
/**
* Parses {@link #VERSION} into {@link VersionNumber}, or null if it's not parseable as a version number
* (such as when Jenkins is run with "mvn hudson-dev:run")
* (such as when Jenkins is run with {@code mvn jetty:run})
*/
public @CheckForNull static VersionNumber getVersion() {
return toVersion(VERSION);
......@@ -5114,7 +5114,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
* {@link #doConfigSubmit(org.kohsuke.stapler.StaplerRequest, org.kohsuke.stapler.StaplerResponse)}.
* <p>
* Parses the version into {@link VersionNumber}, or null if it's not parseable as a version number
* (such as when Jenkins is run with "mvn hudson-dev:run")
* (such as when Jenkins is run with {@code mvn jetty:run})
* @since 2.0
*/
@Restricted(NoExternalUse.class)
......@@ -5124,7 +5124,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
/**
* Parses a version string into {@link VersionNumber}, or null if it's not parseable as a version number
* (such as when Jenkins is run with "mvn hudson-dev:run")
* (such as when Jenkins is run with {@code mvn jetty:run})
*/
private static @CheckForNull VersionNumber toVersion(@CheckForNull String versionString) {
if (versionString == null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册