Commit Graph
29 Commits
Author SHA1 Message Date
kohsuke 338d63a1f6 I want the Plugin.postInitialize() to see all the other plugins, namely PluginManager.uberClassLoader.
So this code needs to be in a separate method.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17125 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-13 21:03:57 +00:00
kohsuke ee2dcbd3a5 added one more initialization hook.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17122 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-13 19:04:49 +00:00
kohsuke dabb35190e merged the last RC branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16922 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-08 15:47:29 +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
kohsuke 1a1d0d74d5 license header clean up
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15081 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 20:05:24 +00:00
kohsuke c914144e19 Hudson can now be pre-packaged with plugins.
(<a href="http://www.nabble.com/How-can-I-distribute-Hudson-with-my-plug-in-td20278601.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12959 71c3de6d-444a-0410-be80-ed276b4c234a
2008-11-03 22:49:01 +00:00
huybrechts 39a667df80 extracted a PluginStrategy from PluginManager and PluginWrapper
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12443 71c3de6d-444a-0410-be80-ed276b4c234a
2008-10-01 19:49:37 +00:00
kohsuke 297c2b9fdf [FIXED HUDSON-1833] Update center accepts HTTP proxy username/password.
In 1.234.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10737 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-10 06:43:03 +00:00
kohsuke 4d5c1cdde4 [HUDSON-1966] Stapler JSON binding needs to use uberClassLoader so that it can create instances from plugins.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10585 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-03 00:23:19 +00:00
stephenconnolly 262c2d9e19 exposing some plugin helper methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10345 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-23 19:29:17 +00:00
kohsuke f34e35e245 [FIXED HUDSON-1875] layout.jelly had a very error prone permission check that silentely passes when the "it" object is not an AccessControlled object.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10313 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-23 01:56:46 +00:00
kohsuke 0543909074 [FIXED HUDSON-1841] proxy setting shouldn't be global to JVM.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10078 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-13 17:54:16 +00:00
kohsuke 23c529b06c this is not a part of serialization, so no need for volatile
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10075 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-13 17:29:02 +00:00
kohsuke 21642ad47d "upload plugin" form was not working anymore when I moved the page.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10073 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-13 17:15:50 +00:00
kohsuke 1c4de2db9b HTTPS uses a different set of proxy parameters.
See http://www.nabble.com/Update-Center-proxy--tt17751030.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10061 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-13 00:29:16 +00:00
kohsuke 61e79bf4bf Fixed NPE when trying to reset the proxy setting in the update center.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10025 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-11 19:08:23 +00:00
kohsuke 59a6f8e771 adding the advanced tab for proxy configuration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9914 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-07 01:05:52 +00:00
kohsuke e81374ad42 ... except such a method is already in the Functions class.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9888 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-06 03:43:25 +00:00
kohsuke cb1bb66daa Making more progress on the update center implementation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9883 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-05 23:02:03 +00:00
kohsuke b8dacb0637 fixed a possible infinite loop. This doesn't eliminate the possibility that context classloader has UberClassLoader as an ancestor, but it fixes the problem Rama is seeing.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8868 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-27 00:27:13 +00:00
jglick 425f91b1d9 Had findResource but no findResources; adding impl just to be sure.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5348 71c3de6d-444a-0410-be80-ed276b4c234a
2007-10-19 23:52:38 +00:00
kohsuke 3bfa8af569 working around a memory leak in commons-logging. And they don't even acknowledge that it's a bug. Sigh.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2868 71c3de6d-444a-0410-be80-ed276b4c234a
2007-04-06 14:20:13 +00:00
kohsuke e4de4f5139 bug fix in loading dependency class.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2317 71c3de6d-444a-0410-be80-ed276b4c234a
2007-03-03 17:28:25 +00:00
kohsuke b5733d63be modified to parse "Plugin-Dependencies" manifest entry.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2312 71c3de6d-444a-0410-be80-ed276b4c234a
2007-03-03 15:31:32 +00:00
kohsuke 36fca6c421 modified to display information about failed plugins.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1944 71c3de6d-444a-0410-be80-ed276b4c234a
2007-01-26 14:22:19 +00:00
kohsuke 19860fa070 merging remoting-integration branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1523 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-29 19:15:53 +00:00
kohsuke 4cabee9f18 typo fixes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1396 71c3de6d-444a-0410-be80-ed276b4c234a
2006-12-20 19:20:31 +00:00
kohsuke 4de81f1eb3 fixed a bug where XStream activity in plugins wasn't able to resolve classes.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1131 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-16 15:34:59 +00:00
kohsuke 8a0dc230f4 initial commit for a new layout.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@969 71c3de6d-444a-0410-be80-ed276b4c234a
2006-11-05 21:16:01 +00:00