Commit Graph
27 Commits
Author SHA1 Message Date
imod f40f596e2a change MavenUtil to use new EP to get settings.xml 2012-11-01 15:44:11 +01:00
Vincent Latombe 1421ca15d5 [FIXED JENKINS-8663] Flag -U is not used during the parsing step of a
Maven Job

If the -U flag is specified in the goals/options of the build step of a
Maven job, it should be used as well in the parsing step.
2012-04-14 21:40:45 +02:00
Kohsuke Kawaguchi 5c0b36da02 made the location of Maven local repositories pluggable 2012-01-03 20:44:16 -08:00
Christoph Kutzinski 33cab211ca This page doesn't seem to exist anymore at all in the Jenkins Wiki. Therefore deleting without replacement. 2011-11-14 17:48:52 +01:00
Christoph Kutzinski b9ce1520cd make FindBugs happy 2011-08-27 21:57:37 +02:00
Olivier Lamy 2434132a05 fix use of provided global settings during pom parsing phase 2011-08-07 21:56:54 +02:00
Olivier Lamy 9787c0719a maven native plugin is now aware of global maven settings configuration trough the config file provider plugin 2011-08-07 20:45:07 +02:00
Nigel Magnay 5679d019ec Move hudson.model.Jenkins to be jenkins.model.Jenkins - part II
Just import changes, from hudson.model.Jenkins -> jenkins.model.Jenkins,
and Javadoc comments.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2011-05-29 11:06:28 +01:00
Nigel Magnay 70c1065814 Stage 1 : Create hudson.model.Jenkins, make Hudson derive from Jenkins.
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2011-05-29 11:00:58 +01:00
Olivier Lamy d3202f28a5 format code 2011-03-05 23:10:06 +01:00
Kohsuke Kawaguchi a1c1c00e27 If we are seeing components.xml related issues, we want to see the list before creating MavenEmbedder, as that's where the failure ultimately happens 2011-01-12 15:48:31 -08:00
Olivier Lamy b84efb908f [HUDSON-8390] POMs parsing fails in m2 projects which has a wrong inheritence (m3 constraint)
add a workaround ONLY for maven2 builds
2011-01-05 16:53:38 +01:00
Olivier Lamy 312f24305a [HUDSON-8395] M2 POMs aren't parsed if there is a M3 control error like an invalid scope in a plugin dep.
use different validation level depending on maven version used.
2011-01-03 16:21:16 +01:00
Olivier Lamy bbb8790391 MavenEmbedderRequest must be able to pass a ClassLoader for building embedder 2011-01-02 22:33:17 +01:00
Seiji Sogabe c85e60f14e Sorry my mistake. 2010-12-24 22:19:10 +09:00
abayer 239b8b0bfd [FIXED HUDSON-4939] Reworked createEmbedder to allow for determining MavenModuleSet configuration from a build object
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28280 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 23:16:51 +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
kohsuke b3cd238ad3 I believe this fixes http://www.nabble.com/automatic-installer-of-maven2-breaks-deployment-feature-td25345233.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21787 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-17 18:19:49 +00:00
abayer 75ec5aef92 [FIXED HUDSON-4442] Empty or whitespace-only modules are now properly ignored by POM parser
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21610 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-11 15:06:22 +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
kohsuke 94b235dd75 [HUDSON-4102] removed logic duplication between FilteredChangeSet and MavenUtil, and split the rather complex filtering code into smaller functions.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20121 71c3de6d-444a-0410-be80-ed276b4c234a
2009-07-24 23:03:51 +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 649c24b9d9 [FIXED HUDSON-3814, HUDSON-3845] - modified comparison of extension of artifact to use endsWith, instead of grabbing everything after the last period - this is to support tar.gz, e.g. Also, fixed POM parsing of modules to behave like Maven itself when it encounters, say, <module>foo/foo-bar.xml</module> -first it'll see if ${basedir}/foo/foo-bar.xml exists, and then, if ${basedir}/foo/foo-bar.xml is a directory, it'll try ${basedir}/foo/foo-bar.xml/pom.xml. Behavior is taken from org.apache.maven.DefaultMaven.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18732 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-07 17:46:48 +00:00
kohsuke 03fb71f294 Merged revisions 18461,18463,18473-18474,18481 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r18461 | kohsuke | 2009-05-26 18:39:51 -0700 (Tue, 26 May 2009) | 1 line
  
  merged back the RC branch
........
  r18463 | kohsuke | 2009-05-26 18:40:06 -0700 (Tue, 26 May 2009) | 1 line
  
  creating a new RC branch
........
  r18473 | kohsuke | 2009-05-27 09:33:16 -0700 (Wed, 27 May 2009) | 1 line
  
  publish-javadoc happens later, so this comment no longer appears useful
........
  r18474 | kohsuke | 2009-05-27 09:38:45 -0700 (Wed, 27 May 2009) | 1 line
  
  modified to do aggregated javadoc and publish that
........
  r18481 | kohsuke | 2009-05-27 11:20:34 -0700 (Wed, 27 May 2009) | 4 lines
  
  [FIXED HUDSON-3706]
  MaskingClassLoader that's supposed to throw awy components.xml for interceptions are still kicking in when MavenEmbedder run on slaves, as RemoteClassLoader mangles the URL that the MaskingClassLoader was looking for.
  
  So I relaxed the path matching and sniff the content to decide if components.xml is for interception or not.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18487 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-27 21:10:29 +00:00
kohsuke 84d466ff5d merged the RC branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18184 71c3de6d-444a-0410-be80-ed276b4c234a
2009-05-18 17:57:50 +00:00
kohsuke 444aa1d2ec improved AbortException so that it can record the error message. Necessary for plugins like nunit and cppunit as discussed in HUDSON-3427.
This should be in 1.298.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16904 71c3de6d-444a-0410-be80-ed276b4c234a
2009-04-07 16:01:36 +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