Commit Graph

34 Commits

Author SHA1 Message Date
Seiji Sogabe c85e60f14e Sorry my mistake. 2010-12-24 22:19:10 +09:00
kohsuke be5ab5490b made the generated classes visible to the classloader.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@36008 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-17 07:43:09 +00:00
kohsuke 49d1b7830b fixed a compilation problem
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35614 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 20:00:01 +00:00
kohsuke 0c6138c6af Fixed a race condition. The dead lock was between the transientActions object vs MavenModuleSet.
Found one Java-level deadlock:
=============================
"Handling GET /hudson/job/special_Build/api/json : http-8080-4":
  waiting to lock monitor 0x00000000460dfa98 (object 0x00002aab02808368, a java.util.Vector),
  which is held by "pool-6-thread-250"

"pool-6-thread-250":
  waiting to lock monitor 0x0000000046aca2b0 (object 0x00002aaab7099118, a hudson.maven.MavenModuleSet),
  which is held by "Handling GET /hudson/job/special_Build/api/json : http-8080-4"






"Handling GET /hudson/job/special_Build/api/json : http-8080-4":
        at java.util.Vector.toArray(Vector.java:643)
->      - waiting to lock <0x00002aab02808368> (a java.util.Vector)
        at java.util.Vector.addAll(Vector.java:830)
        - locked <0x00002aab02812710> (a java.util.Vector)
        at hudson.model.AbstractProject.getActions(AbstractProject.java:899)
->      - locked <0x00002aaab7099118> (a hudson.maven.MavenModuleSet)
        at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.kohsuke.stapler.export.MethodProperty.getValue(MethodProperty.java:43)
        at org.kohsuke.stapler.export.Property.writeTo(Property.java:83)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:156)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:153)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:153)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:153)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:153)
        at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:153)
        at org.kohsuke.stapler.export.Model.writeTo(Model.java:129)
        at org.kohsuke.stapler.ResponseImpl.serveExposedBean(ResponseImpl.java:176)
        at hudson.model.Api.doJson(Api.java:181)



"pool-6-thread-250":
        at hudson.model.AbstractProject.getActions(AbstractProject.java:898)
->      - waiting to lock <0x00002aaab7099118> (a hudson.maven.MavenModuleSet)
        at hudson.model.Actionable.getActions(Actionable.java:75)
        at hudson.plugins.jobConfigHistory.JobConfigHistoryActionFactory.createFor(JobConfigHistoryActionFactory.java:30)
        at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:549)
        at hudson.maven.AbstractMavenProject.updateTransientActions(AbstractMavenProject.java:48)
->      - locked <0x00002aab02808368> (a java.util.Vector)
        at hudson.maven.MavenModuleSet.updateTransientActions(MavenModuleSet.java:199)
        at hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:347)
        - locked <0x00002aab0103d910> (a hudson.maven.MavenModuleSetBuild)
        at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:437)
        at sun.reflect.GeneratedMethodAccessor368.invoke(Unknown Source)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35610 71c3de6d-444a-0410-be80-ed276b4c234a
2010-10-07 18:59:21 +00:00
kohsuke c9ab4c0473 calling updateTransientActions() from the constructor means we end up calling the overrided methods in subtypes before subtype constructor kicks in. Probably not a good idea.
Instead, opted for a post-constructor hook.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34040 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-23 18:33:23 +00:00
km b228c24db5 [FIXED-HUDSON-7162]
Hudson ignores Maven pom.xml path when it is specified as absolute path.
Provided utility methods for checking whether a path is absolute and
absolutizing a given path (w.r.t. a base).
Provided a unit test case for this scenario (@Bug 7261).



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34004 71c3de6d-444a-0410-be80-ed276b4c234a
2010-08-21 02:13:15 +00:00
olamy 8d82be4459 fix eclipse compilation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31074 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-16 19:47:43 +00:00
abayer d0f06f3deb [FIXED HUDSON-4693] Changed checkFileInWorkspace to look at getModuleRoot(), reverting to earlier behavior
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28942 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-19 22:56:46 +00:00
abayer 86b2bcb094 [FIXED HUDSON-4693] Fixed handling of relative paths in alternate settings.xml in Maven 2 projects
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28278 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 22:36:11 +00:00
abayer 37183f4c86 [FIXED HUDSON-5651] Removing excess whitespace from MAVEN_OPTS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27559 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-16 15:40:20 +00:00
abayer 23891487d2 [FIXED HUDSON-5405] Properly loading MavenModuleSet descriptor now
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26620 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-28 02:18:38 +00:00
kohsuke 31a54f38f6 avoid double invocation of updateTransientActions by moving it to doConfigSubmit.
Discussion at http://n4.nabble.com/Bug-getProjectAction-is-always-called-twice-tp1294814p1294814.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26479 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-27 00:01:02 +00:00
kohsuke 91f80263e5 Extension points can now contribute multiple actions.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25771 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 20:07:01 +00:00
kohsuke f93ed3f2f8 added a setter
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25745 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-13 01:26:17 +00:00
godin 3ae6fc5c89 Minor fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@25729 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-12 20:35:41 +00:00
abayer c809404615 [FIXED HUDSON-2932] Maven projects now properly fall back through project-defined MAVEN_OPTS to globally-defined MAVEN_OPTS to executor environment variable MAVEN_OPTS - also added globally-defined MAVEN_OPTS and related changes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24652 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-16 14:47:49 +00:00
kohsuke 36040b9a7a [FIXED HUDSON-4080] Node variables not passed through to Maven jobs. In 1.335.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23695 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-13 02:54:36 +00:00
abayer 43ca4c86d2 [FIXED HUDSON-4593] Added ability to make automatic Maven artifact archiving optional
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23363 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-31 00:22:19 +00:00
kohsuke fa3a50b96f Queue has too many inner classes to make it hard to read.
Moving some of the pieces into its own package.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22948 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-20 00:25:54 +00:00
abayer 2b12abbda2 [FIXED HUDSON-4637] Added check for leading slash, backslash, or Windows drive string in Alternate Settings File textfield, to reinforce that this is, in fact, a relative path in the workspace.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22659 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-12 15:17:48 +00:00
kohsuke 27041170d3 Merged revisions 22084-22085 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r22084 | kohsuke | 2009-09-23 17:35:53 -0700 (Wed, 23 Sep 2009) | 1 line
  
  getLastBuild() can return null.
........
  r22085 | kohsuke | 2009-09-23 18:01:05 -0700 (Wed, 23 Sep 2009) | 1 line
  
  fixing a test failure.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22086 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-24 01:56:44 +00:00
abayer 5dfb1adb36 [maven-plugin] Cleanup of deprecated calls, updating POM to point to current versions of maven-hpi-plugin and maven-stapler-plugin.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22024 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 22:48:30 +00:00
abayer 112ad0089c [FIXED HUDSON-4491] If Maven is called with non-recursive flags, submodules are no longer parsed.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21856 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-18 14:58:32 +00:00
abayer eb19d208e5 Adding documentation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20962 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-20 13:51:09 +00:00
abayer 44cde72932 Adding convenience methods for setting various boolean fields
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20770 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-16 19:49:56 +00:00
kohsuke c04e63d9f0 Merged revisions 19592-19593,19651,19669,19671-19672,19709,19712-19715,19728-19729,19825-19828,19859-19861,19863-19865,19869,19874-19875,19889,19896,19908-19909,19979,19982,20106,20115,20141-20144,20184,20196,20207-20208,20215-20216,20222,20286,20293 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/concurrent-build

........
  r19592 | kohsuke | 2009-07-10 14:02:22 -0700 (Fri, 10 Jul 2009) | 1 line
  
  introduced getWorkspace() and getModuleRoot() on AbstractBuild.
........
  r19593 | kohsuke | 2009-07-10 15:06:08 -0700 (Fri, 10 Jul 2009) | 1 line
  
  introduced a flag to control the behavior, so that we can expose the feature much later after we merge the branch into the trunk.
........
  r19651 | kohsuke | 2009-07-13 08:48:31 -0700 (Mon, 13 Jul 2009) | 1 line
  
  modified to work with multiple concurrent builds
........
  r19669 | kohsuke | 2009-07-13 14:25:58 -0700 (Mon, 13 Jul 2009) | 1 line
  
  updating TODOs
........
  r19671 | kohsuke | 2009-07-13 16:50:42 -0700 (Mon, 13 Jul 2009) | 1 line
  
  committing my changes before I push this up to the Run class.
........
  r19672 | kohsuke | 2009-07-13 17:14:41 -0700 (Mon, 13 Jul 2009) | 1 line
  
  pushed the change up to the Run class, which simplifies things a bit, and avoids a race condition in the final "notifyAll" when the build is completed.
........
  r19709 | kohsuke | 2009-07-14 17:56:24 -0700 (Tue, 14 Jul 2009) | 1 line
  
  added checkpoint methods to the base type of where it's commonly used, to simplify invocations.
........
  r19712 | kohsuke | 2009-07-14 18:16:50 -0700 (Tue, 14 Jul 2009) | 1 line
  
  revisited the CheckPoint abstraction. I think this is more OO now
........
  r19713 | kohsuke | 2009-07-14 18:17:18 -0700 (Tue, 14 Jul 2009) | 1 line
  
  doc fix
........
  r19714 | kohsuke | 2009-07-14 18:23:32 -0700 (Tue, 14 Jul 2009) | 1 line
  
  replaced AbstractProject.getWorkspace() by AbstractBuild.getWorkspace(). The easy ones are done, but the harder ones remain.
........
  r19715 | kohsuke | 2009-07-14 18:32:56 -0700 (Tue, 14 Jul 2009) | 1 line
  
  more getWorkspace() changes
........
  r19728 | kohsuke | 2009-07-15 11:17:25 -0700 (Wed, 15 Jul 2009) | 1 line
  
  removed more getWorkspace() usage by getSomeWorkspace()
........
  r19729 | kohsuke | 2009-07-15 11:17:43 -0700 (Wed, 15 Jul 2009) | 1 line
  
  this is done
........
  r19825 | kohsuke | 2009-07-17 15:35:21 -0700 (Fri, 17 Jul 2009) | 4 lines
  
  - refactored SCM triggering code to avoid queueing up too many threads.
  - workspace locking only happens if the SCM declares that the polling requires a workspace.
  
  TODO: given the face of concurrent builds, a single workspace lock won't work.
........
  r19826 | kohsuke | 2009-07-17 16:21:15 -0700 (Fri, 17 Jul 2009) | 5 lines
  
  implemented the handling of polling/build mutual exclusion when polling requires a workspace.
  
  The SCMs that require a workspace for polling, such as CVS, do so by comparing the state of the workspace
  vs that of the remote. So it needs to use the workspace of the last build. Polling needs to wait for this workspace
  if it's currently in use by a build, so a wait/notify scheme was needed, and hence WorkspaceList.
........
  r19827 | kohsuke | 2009-07-17 16:32:54 -0700 (Fri, 17 Jul 2009) | 1 line
  
  removed the workspace resource lock.
........
  r19828 | kohsuke | 2009-07-17 16:40:09 -0700 (Fri, 17 Jul 2009) | 1 line
  
  got rid of the lock. A build will always allocate an available workspace, so this is no longer necessary.
........
  r19859 | kohsuke | 2009-07-18 12:45:03 -0700 (Sat, 18 Jul 2009) | 2 lines
  
  Fixing a test failure. This might be signaling a depper abstraction problem, but let's see...
........
  r19860 | kohsuke | 2009-07-18 13:10:32 -0700 (Sat, 18 Jul 2009) | 1 line
  
  bug fix
........
  r19861 | kohsuke | 2009-07-18 13:12:18 -0700 (Sat, 18 Jul 2009) | 1 line
  
  typo
........
  r19863 | kohsuke | 2009-07-18 13:25:20 -0700 (Sat, 18 Jul 2009) | 1 line
  
  pass in common parameters for convenience.
........
  r19864 | kohsuke | 2009-07-18 13:36:34 -0700 (Sat, 18 Jul 2009) | 1 line
  
  doc fix
........
  r19865 | kohsuke | 2009-07-18 13:57:55 -0700 (Sat, 18 Jul 2009) | 1 line
  
  bug fix.
........
  r19869 | kohsuke | 2009-07-18 14:07:18 -0700 (Sat, 18 Jul 2009) | 2 lines
  
  This fixes the elusive NPE in com.gargoylesoftware.htmlunit.javascript.host.Event.<init>(Event.java:164)
........
  r19874 | kohsuke | 2009-07-18 14:44:39 -0700 (Sat, 18 Jul 2009) | 1 line
  
  forgot to update this.
........
  r19875 | kohsuke | 2009-07-18 14:44:48 -0700 (Sat, 18 Jul 2009) | 1 line
  
  forgot to update this.
........
  r19889 | kohsuke | 2009-07-18 16:12:04 -0700 (Sat, 18 Jul 2009) | 1 line
  
  fixed the license header.
........
  r19896 | kohsuke | 2009-07-18 16:16:44 -0700 (Sat, 18 Jul 2009) | 1 line
  
  adding a note.
........
  r19908 | kohsuke | 2009-07-18 17:13:03 -0700 (Sat, 18 Jul 2009) | 1 line
  
  fixed a bug. The parent build will likely run on a different node, so we can't just inherit its workspace.
........
  r19909 | kohsuke | 2009-07-18 17:16:54 -0700 (Sat, 18 Jul 2009) | 1 line
  
  reorgznied imports.
........
  r19979 | kohsuke | 2009-07-20 14:22:50 -0700 (Mon, 20 Jul 2009) | 1 line
  
  [HUDSON-4060] fixed a reported ClassCastException, but I don't think that's related to the hang problem.
........
  r19982 | kohsuke | 2009-07-20 14:51:11 -0700 (Mon, 20 Jul 2009) | 31 lines
  
  increasing the error margin in response to the flaky test that causes this error:
  
  unexpected build status; build log was: ------ Legacy code started this job.  No cause information is available Recording test results Test reports were found but none of them are new. Did tests run?  For example, /tmp/hudson3604989730528561398test/jobs/test0/workspace/junit.xml is 1 sec old  Finished: FAILURE  ------  expected:<UNSTABLE> but was:<FAILURE>
  
  Stacktrace
  
  junit.framework.AssertionFailedError: unexpected build status; build log was:
  ------
  Legacy code started this job.  No cause information is available
  Recording test results
  Test reports were found but none of them are new. Did tests run? 
  For example, /tmp/hudson3604989730528561398test/jobs/test0/workspace/junit.xml is 1 sec old
  Finished: FAILURE
  ------
   expected:<UNSTABLE> but was:<FAILURE>
  	at junit.framework.Assert.fail(Assert.java:47)
  	at junit.framework.Assert.failNotEquals(Assert.java:282)
  	at junit.framework.Assert.assertEquals(Assert.java:64)
  	at org.jvnet.hudson.test.HudsonTestCase.assertBuildStatus(HudsonTestCase.java:520)
  	at hudson.tasks.junit.CaseResultTest.testIssue20090516(CaseResultTest.java:74)
  
  Standard Output
  
  === Starting testIssue20090516
  
  Standard Error
  
  2009-07-20 07:20:23.430::INFO:  jetty-6.1.11
  2009-07-20 07:20:23.434::INFO:  NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
  2009-07-20 07:20:23.436::INFO:  Started SocketConnector@0.0.0.0:45218
........
  r20106 | kohsuke | 2009-07-24 10:27:30 -0700 (Fri, 24 Jul 2009) | 1 line
  
  adding a few well-known check points to expose them to plugins.
........
  r20115 | kohsuke | 2009-07-24 14:42:58 -0700 (Fri, 24 Jul 2009) | 3 lines
  
  Added a mechanism to handle the compatibility with earlier plugins. Have plugins declare the synchronization service it expects Hudson to provide.
  
  This being binary compatible change allows Hudson to use existing plugins correctly, but it's source incompatibility allows us to advertize the new semantics to plugin developers, new or old.
........
  r20141 | kohsuke | 2009-07-24 19:03:07 -0700 (Fri, 24 Jul 2009) | 1 line
  
  better type safety
........
  r20142 | kohsuke | 2009-07-24 19:13:43 -0700 (Fri, 24 Jul 2009) | 1 line
  
  update the thread name to make the thread dump more understandable.
........
  r20143 | kohsuke | 2009-07-24 19:22:12 -0700 (Fri, 24 Jul 2009) | 1 line
  
  fixed a compilation problem.
........
  r20144 | kohsuke | 2009-07-24 19:30:22 -0700 (Fri, 24 Jul 2009) | 1 line
  
  fixed a test failure. Runner needs to be a stack.
........
  r20184 | kohsuke | 2009-07-27 10:51:20 -0700 (Mon, 27 Jul 2009) | 3 lines
  
  When remote JVM (in this case Maven) calls back to the proxy object, the executing thread needs to be able to behave as if it's the executor thread. So added the necessary abstractions for doing that.
  
  It might have been better to do this in the remoting, by using the blocking caller thread to serve requests. That would be harder, but it gets rid of this ugly ThreadLocal book keeping.
........
  r20196 | kohsuke | 2009-07-27 13:22:33 -0700 (Mon, 27 Jul 2009) | 1 line
  
  Fixed a test failure. The proxy interface needs to be public for the interceptor to be able to invoke it.
........
  r20207 | kohsuke | 2009-07-27 17:27:35 -0700 (Mon, 27 Jul 2009) | 1 line
  
  [HUDSON-4060] this class-level synchronization has a devastating effect as it effectively creates a single giant lock for the entire Hudson and can cause a dead lock.
........
  r20208 | kohsuke | 2009-07-27 17:28:58 -0700 (Mon, 27 Jul 2009) | 1 line
  
  improved the thread name.
........
  r20215 | kohsuke | 2009-07-28 10:58:15 -0700 (Tue, 28 Jul 2009) | 1 line
  
  added form databinding support for <f:optionalBlock>
........
  r20216 | kohsuke | 2009-07-28 11:00:35 -0700 (Tue, 28 Jul 2009) | 1 line
  
  concurrent build is now a switch activated for each project separately.
........
  r20222 | kohsuke | 2009-07-28 15:30:18 -0700 (Tue, 28 Jul 2009) | 3 lines
  
  bug fix in the rendering of the build history when you have some builds finished earlier than their earlier builds that are still in progress.
  
  This also fixes a race condition in a non concurrent build case, which can result in some build #s showing up more than once after AJAX update if the status of the build changes between the computation of 'nn' and that of the rendering.
........
  r20286 | kohsuke | 2009-07-29 11:05:00 -0700 (Wed, 29 Jul 2009) | 1 line
  
  still fixing more build list update issues. The original fix only kicked in for the list produced by AJAX, and didn't work for the initial list.
........
  r20293 | kohsuke | 2009-07-29 17:03:20 -0700 (Wed, 29 Jul 2009) | 1 line
  
  simplified a bit
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20296 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-30 00:47:34 +00:00
abayer 0bd488e027 [FIXED HUDSON-2575] Added support for optional alternate Maven settings file
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20291 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-29 23:47:03 +00:00
abayer 8e0b5527b3 [FIXED HUDSON-4102] Private repository will now be used for POM parsing - but more importantly, incremental Maven build support now added!
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20113 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-24 21:01:35 +00:00
abayer ef4096c7da Argh. Rolling back last commit when I realized that "ignoreUpstremChanges" is locked into the config.xml for projects already.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20054 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-22 17:24:48 +00:00
abayer 1e2db7b044 Just because I hate typos - the various references to "upstrem" have been fixed to "upstream".
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20053 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-22 17:20:50 +00:00
abayer 28e3adf4d0 [HUDSON-2736] Application of patch submitted by riksmith.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19614 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-11 15:24:42 +00:00
kohsuke 11b0d19ae4 [FIXED HUDSON-3289] Maven type jobs should be able to archive custom artifacts as well. Fixed toward 1.314.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19335 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-01 00:35:18 +00:00
kohsuke 68f5615cd9 until SEZPOZ-6 is fixed, we can't mark the @Extension as Retention(RUNTIME), so the sort order won't take effect.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18074 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-13 23:09:15 +00:00
kohsuke a1239983e9 Merged revisions 16689-16697,16701-16710,16712-16714 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/HUDSON-3251

........
  r16689 | kohsuke | 2009-03-29 08:52:25 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (1/18) moving maven-related source to maven-plugin
........
  r16690 | kohsuke | 2009-03-29 08:57:23 -0700 (Sun, 29 Mar 2009) | 4 lines
  
  [HUDSON-3251] (3/18) moved KeptBecauseOfParent message
  
  Note I skipped (2/18) to move the logic into MavenProject.DescriptorImpl.isApplicable.
........
  r16691 | kohsuke | 2009-03-29 08:58:21 -0700 (Sun, 29 Mar 2009) | 3 lines
  
  [HUDSON-3251] (4/18) removed imports and javadoc links to Maven-related classes
........
  r16692 | kohsuke | 2009-03-29 08:59:49 -0700 (Sun, 29 Mar 2009) | 2 lines
  
  [HUDSON-3251] (5/18) moving maven-related functionality to maven plugin.
........
  r16693 | kohsuke | 2009-03-29 09:01:11 -0700 (Sun, 29 Mar 2009) | 5 lines
  
  [HUDSON-3251] (5/18) moving maven-related functionality to maven plugin
  
  Forgot to add a newly created file.
........
  r16694 | kohsuke | 2009-03-29 09:02:24 -0700 (Sun, 29 Mar 2009) | 1 line
  
  needs a copyright header on all files in the core
........
  r16695 | kohsuke | 2009-03-29 09:07:03 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (6/18) updating poms and packaging to bundle maven plugin (with a minor adjustment to revert forkMode change)
........
  r16696 | kohsuke | 2009-03-29 09:17:58 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (6/18) updating poms and packaging to bundle maven plugin (with a minor adjustment to revert forkMode change)
........
  r16697 | kohsuke | 2009-03-29 09:38:23 -0700 (Sun, 29 Mar 2009) | 2 lines
  
  [HUDSON-3251] (7/18) add a hudson.bundled.plugins property that can override the default bundled plugins.
........
  r16701 | kohsuke | 2009-03-29 15:14:38 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (8/18) finding Maven jars through reflection for now. TODO: introduce a post-initialization hook
........
  r16702 | kohsuke | 2009-03-29 15:20:36 -0700 (Sun, 29 Mar 2009) | 2 lines
  
  [HUDSON-3251] (10/18) use lastModified to avoid unpacking bundled plugins unnecessarily.
........
  r16703 | kohsuke | 2009-03-29 15:21:15 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (12/18) updating poms and packaging to bundle maven plugin
........
  r16704 | kohsuke | 2009-03-29 15:37:32 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (15/18) resolve plugins from the classpath in tests. Slightly reworked.
........
  r16705 | kohsuke | 2009-03-29 15:38:12 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (16/18) update hpi plugin version
........
  r16706 | kohsuke | 2009-03-29 15:38:54 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] (17/18) moved createExecutedMojoCache
........
  r16707 | kohsuke | 2009-03-29 15:42:38 -0700 (Sun, 29 Mar 2009) | 3 lines
  
  [HUDSON-3251] after looking at (18/18), I think the same effect can be achieved more easily by not setting this system property at all.
  
  Or am I missing something?
........
  r16708 | kohsuke | 2009-03-29 15:43:30 -0700 (Sun, 29 Mar 2009) | 1 line
  
  formatting change
........
  r16709 | kohsuke | 2009-03-29 15:58:16 -0700 (Sun, 29 Mar 2009) | 1 line
  
  [HUDSON-3251] ignore certain builders and publishers in Maven2 job type. This does the same thing as (2/18) in Tom's patch, but I believe this is better. Still needs to figure out how to do this for MavenModule, which doesn't have a descriptor.
........
  r16710 | kohsuke | 2009-03-29 16:01:00 -0700 (Sun, 29 Mar 2009) | 1 line
  
  ignore generated files
........
  r16712 | kohsuke | 2009-03-29 16:29:05 -0700 (Sun, 29 Mar 2009) | 3 lines
  
  [HUDSON-3251] revisited patch (8/18). ComputerListener is extended to support the preOnline step, so that some operations can be carried out whose failure will result in the node failing to become online.
  
  Maven-plugin uses this now to avoid the use of reflection.
........
  r16713 | kohsuke | 2009-03-29 16:38:48 -0700 (Sun, 29 Mar 2009) | 1 line
  
  switching to fork because otherwise the test fails with PermGen out of space
........
  r16714 | kohsuke | 2009-03-29 16:39:36 -0700 (Sun, 29 Mar 2009) | 1 line
  
  no, the next version is 1.295.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16734 71c3de6d-444a-0410-be80-ed276b4c234a
2009-03-30 21:55:33 +00:00