Seiji Sogabe
c85e60f14e
Sorry my mistake.
2010-12-24 22:19:10 +09:00
jglick
2dd667265b
File.toURL() is deprecated.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19471 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-07 18:31:24 +00:00
kohsuke
3b6653779d
[FIXED HUDSON-2373] Modified to work with Maven 2.1. Sorry for a long delay, folks. This change will be in 1.305.
...
We basically need an ability to feed different components.xml depending on Maven's version (which will be read by DefaultComponentDiscoverer in Plexus.) The implementation in this fix is hacky, and based on placing one more jar in front of the classpath when run on Maven 2.1, while maven-interceptor still contains the default components.xml for 2.0.x.
Ideally 2.0.x components.xml should move to its own jar and so that we can switch between them, as opposed to pass in extra jar only when it's Maven 2.1.
We'll see how Maven 3.0 works with this regard.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18036 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-13 06:17:30 +00:00
kohsuke
fcf4b3629b
documenting why we set system props
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18029 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-13 05:00:03 +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
9965368cc2
error message improvement after seeing http://www.nabble.com/Native-maven-support-requires-Java-1.5-or-later-td20929449.html
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13497 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-10 22:35:13 +00:00
kohsuke
a1735c14cd
attempting to fix the performance problem in artifact archiving. Discovered on Sun's deployment, in the "glassfish-v3-main-publisher" job by Harsha.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@12475 71c3de6d-444a-0410-be80-ed276b4c234a
2008-10-02 15:58:11 +00:00
kohsuke
f0a330a5d3
improved the interception to make things look uniform with Mojo interception.
...
Turns out MavenReport is really always a Mojo anyway.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10935 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-21 23:46:04 +00:00
kohsuke
623e991c11
Added interception of site report generation.
...
See http://www.nabble.com/maven%E3%81%A7%E7%94%9F%E6%88%90%E3%81%95%E3%82%8C%E3%81%9F%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88%E3%81%B8%E3%81%AE%E3%83%AA%E3%83%B3%E3%82%AF-td18545356.html for the discussion.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10896 71c3de6d-444a-0410-be80-ed276b4c234a
2008-07-21 00:40:20 +00:00
kohsuke
80b1011b17
[FIXED HUDSON-1762] this should really fix #1762 .
...
FilterOutputStream is evil.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9787 71c3de6d-444a-0410-be80-ed276b4c234a
2008-06-03 14:16:39 +00:00
kohsuke
704343f57e
[FIXED HUDSON-1458] Fixed the mysterious JVM hang issue on Windows&Maven2.
...
I spent a good part of yesterday afternoon to track down this problem. I first attached Visual Studio to the hanging JVM. While I can see the JVM source code and Windows API symbols all right, I couldn't figure out how to relate back the code produced by JIT to its Java, so this made the debugging very hard.
What I observed was that Maven's main thread seems to be blocked in WaitForSingleObject kernel API, but I can't figure out what handle it's blocking on. This call appears to come directly from JIT-ed Java code.
The problem disappears if I enable Java debugger support, or if I attach jconsole. So this cannot be a plain Java-level deadlock.
So after that much work, I still coudldn't figure out the root cause.
But I took the advice from mriem@dev.ajva.net anyway, and modified the remoting to use a separate TCP socket, instead of stdin/stdout. This is useful anyway, because sometimes JVM writes out to stdout and that breaks the whole set up, which was one of the known issues.
This commit brings in this change, and in the limited testing so far, this appears to work. So let's hope that it fixes the problem once and for all.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9615 71c3de6d-444a-0410-be80-ed276b4c234a
2008-05-23 20:48:09 +00:00
kohsuke
1720745594
improved error diagnostics.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8851 71c3de6d-444a-0410-be80-ed276b4c234a
2008-04-25 00:52:30 +00:00
kohsuke
bcaa465612
capturing the actual Mojo object and making it available to MavenReporters.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6347 71c3de6d-444a-0410-be80-ed276b4c234a
2007-12-19 02:46:25 +00:00
kohsuke
c4d2e187c7
bug fix.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4332 71c3de6d-444a-0410-be80-ed276b4c234a
2007-08-18 17:46:54 +00:00
kohsuke
b3e47fda89
no generics in this code.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4331 71c3de6d-444a-0410-be80-ed276b4c234a
2007-08-18 17:23:51 +00:00
kohsuke
2422cb6db2
fixed a bug in using multiple versions of the same plugin.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4329 71c3de6d-444a-0410-be80-ed276b4c234a
2007-08-18 17:05:49 +00:00
kohsuke
91f1a644b5
see #563 . modified to dump java.home to assist troubleshooting.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3385 71c3de6d-444a-0410-be80-ed276b4c234a
2007-06-02 21:04:14 +00:00
kohsuke
5ca3a3e850
compiling the agent with -target 1.2 so that we can detect JDK version error.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3288 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-06 22:16:24 +00:00
kohsuke
c8ec26f313
compiling the agent with -target 1.2 so that we can detect JDK version error.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3287 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-06 22:16:04 +00:00
kohsuke
ed5e206376
compiling the agent with -target 1.2 so that we can detect JDK version error.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3286 71c3de6d-444a-0410-be80-ed276b4c234a
2007-05-06 22:05:08 +00:00
kohsuke
cc6222eb16
wrong folder.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3082 71c3de6d-444a-0410-be80-ed276b4c234a
2007-04-13 05:32:36 +00:00
kohsuke
ef40dacd6c
fixing #444 .
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3081 71c3de6d-444a-0410-be80-ed276b4c234a
2007-04-13 05:21:50 +00:00
kohsuke
92b94a3af2
I suspect that the component interception is not happening on some users' environment, so moving this up to higher classloader.
...
See http://www.nabble.com/maven-and-junit-tf3520393.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2899 71c3de6d-444a-0410-be80-ed276b4c234a
2007-04-06 18:29:23 +00:00
kohsuke
6e1e9e4d2b
MavenReporter should be able to intercept the postExecute callback even if the mojo fails.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2794 71c3de6d-444a-0410-be80-ed276b4c234a
2007-03-30 06:00:15 +00:00
kohsuke
a862578a5b
fixed #368 .
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2551 71c3de6d-444a-0410-be80-ed276b4c234a
2007-03-16 04:59:31 +00:00
kohsuke
2fdb312b79
excluding this test for the release. it locks files
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2353 71c3de6d-444a-0410-be80-ed276b4c234a
2007-03-06 21:28:25 +00:00
kohsuke
b68906c027
launch with a debugger.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2349 71c3de6d-444a-0410-be80-ed276b4c234a
2007-03-06 19:28:05 +00:00
kohsuke
81114c22d3
Modified not to hard-code my environment.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2295 71c3de6d-444a-0410-be80-ed276b4c234a
2007-03-03 01:03:56 +00:00
kohsuke
2d8aa91682
modified to use maven-agent to launch M2 outside Hudson JVM.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2294 71c3de6d-444a-0410-be80-ed276b4c234a
2007-03-03 00:48:13 +00:00
kohsuke
65ae5f44e1
moved the code to remoting for better reuse.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2292 71c3de6d-444a-0410-be80-ed276b4c234a
2007-03-01 05:37:41 +00:00
kohsuke
234097273a
updated the test to use the listener.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2290 71c3de6d-444a-0410-be80-ed276b4c234a
2007-03-01 05:33:18 +00:00
kohsuke
e566bf12d5
added code for running Maven in a separate VM while still capturing all the output.
...
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2280 71c3de6d-444a-0410-be80-ed276b4c234a
2007-02-28 17:22:20 +00:00