Commit Graph
156 Commits
Author SHA1 Message Date
imod 29f1d02e22 use new EP for MavenBuild 2012-11-01 15:46:15 +01:00
imod 215d2a4187 rename method of new EP to by more precise 2012-11-01 15:46:14 +01:00
imod 5eabce8db7 use path returned by SettingsProvider 2012-11-01 15:44:12 +01:00
imod d98b2d0fe2 note about TODO for next refactoring 2012-11-01 15:37:36 +01:00
imod cdae926106 add GlobalSettingsProvider as new EP 2012-11-01 15:37:35 +01:00
imod f3463f4a75 move Maven SettingsProvider to core 2012-11-01 15:37:35 +01:00
Nicolas De Loof f85dc1e496 convert alternateSettings attribute to extension
selection, with backward compatibility
2012-11-01 15:37:34 +01:00
Kohsuke Kawaguchi 14dbcd88d3 Renamed Runner family into *Execution.
... so that we can expose them as an object that keeps track of
execution-scoped objects.
2012-05-29 10:54:58 -07:00
IanKemp 4e8775fc2c Fixes JENKINS-13822: expand variables in "Root POM" field of Maven plugin 2012-05-22 13:15:28 +02: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 22e8e1f285 Added ToolInstallation.buildEnvVars()
This provides generic consumer of ToolInstallation to expose
ToolInstallation to the build.
2012-04-03 14:12:34 -07:00
imod fff55f85ea refactor interaction with config-file-provider plugin to make dependency optional 2012-03-26 08:25:35 +02:00
Kohsuke Kawaguchi 5c0b36da02 made the location of Maven local repositories pluggable 2012-01-03 20:44:16 -08:00
Christoph Kutzinski 2d958cdede reduced memory footprint of MavenModuleSetBuild 2011-12-30 19:13:52 +01:00
Christoph Kutzinski bc24201485 Removed unnecessary code duplication in the Maven builders 2011-12-22 22:05:19 +01:00
Christoph Kutzinski 41278a7a30 some minor optimization 2011-12-22 22:05:19 +01:00
Jyrki Puttonen 142a7bb9a4 [FIXED JENKINS-11825] Use workspace from AbstractBuild 2011-11-25 08:51:19 +02:00
imod 8656049fb9 fix compile problem 2011-11-23 17:16:36 +01:00
imod c167f52c9f additionaly pass reference to current build to intercepting methods 2011-11-23 16:16:53 +01:00
imod 79e7b21c85 don't call getGoalsAndOptions() twice 2011-11-23 16:16:53 +01:00
imod 025cfd311a iterate all interceptors to get the first returning valid goals 2011-11-23 16:16:53 +01:00
imod 74d2d4373c add extension to intercept maven arguments 2011-11-23 16:16:53 +01:00
Christoph Kutzinski 0943a3aafa Use utility methods for Maven version comparisons 2011-11-18 14:51:23 +01:00
Christoph Kutzinski e2d7b39921 [FIXED JENKINS-11592] NPE in subversion polling of Maven jobs 2011-11-15 10:57:15 +01:00
Christoph Kutzinski 4f900f60d4 [JENKINS-11592] trying to find out where the NPE is originated 2011-11-08 23:16:34 +01:00
imod f05f62c6cb fix issue when reference to global settings.xml gets unconfigured 2011-10-25 14:16:32 +02:00
imod b836857da3 upgrade to newer version of config-provider-model 2011-10-25 14:14:43 +02:00
Christoph Kutzinski 787123cf2d fixed compiler warnings 2011-10-08 21:59:10 +02:00
Christoph Kutzinski 2b5c3a1bf0 added serialVersionUIDs 2011-10-08 17:30:22 +02:00
Christoph Kutzinski e14914e66a - moved MavenModuleSet.Builder to new top-level class Maven2Builder
- removed duplicated FilterImpl classes
2011-10-03 21:03:25 +02:00
olivier lamy ef49c65af1 [JENKINS-10955] "Alternate settings file" build parameter is getting cleaned after job execution 2011-09-29 00:29:21 +02:00
Kohsuke Kawaguchi 1f7c75d7e5 Using String like enum isn't type safe. 2011-09-23 23:25:13 -07:00
Kohsuke Kawaguchi ac6a020055 BuildStep.prebuild is to run at the beginning of the build. 2011-09-23 23:25:12 -07:00
Kohsuke Kawaguchi 29c7b8b0ad merging 3 of them to make them more concise 2011-09-23 23:25:12 -07:00
Kohsuke Kawaguchi 65d25aafe2 BuildStep.prebuild needs to be called for post builders as well 2011-09-23 23:25:12 -07:00
Kohsuke Kawaguchi 0841fd6421 - In modern code we've been exposing DescribableList directly since it's a lot richer.
- calling prebuild after build wrappers to align the semantics with freestyle projects.
2011-09-23 23:25:12 -07:00
imod cd968ce2d8 integrate m2extra-steps into maven-plugin 2011-09-07 22:11:50 +02:00
Christoph Kutzinski b9ce1520cd make FindBugs happy 2011-08-27 21:57:37 +02:00
imod 68117973f5 fix some wrong error messages about wrong configured config files 2011-08-22 19:47:34 +02:00
Christoph Kutzinski e7f17b5db2 fixed NPE 2011-08-13 20:47:45 +02:00
Olivier Lamy dbadd4f9b1 extract more common code 2011-08-08 22:17:34 +02:00
Olivier Lamy 3aed3df5d9 fix log message 2011-08-07 21:57:44 +02:00
Olivier Lamy ad6ee4754f fix adding argument -gs for maven global settings 2011-08-07 21:45:56 +02:00
Olivier Lamy 1f968f53ad oups fix typo 2011-08-07 21:20:07 +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
Olivier Lamy c9688c345f change package import due to moove of config provider classes to a separate repo 2011-08-07 01:59:34 +02:00
Olivier Lamy a254f202f9 reset altSettings to null as was modified and cleanup tmp files 2011-08-07 01:59:33 +02:00
Olivier Lamy f97a65a8fb note some FIXME 2011-08-07 01:59:33 +02:00
Olivier Lamy 9a0ef226a7 add a marker interface MavenSettingsProvider in maven-plugin.
We will only use config provider which implements this.
Start work to use the provided settings for maven build
2011-08-07 01:59:33 +02:00
Kohsuke Kawaguchi a5f4bff5cb cleaned up the MAVEN_OPTS variable expansion story.
Most notably, we weren't expanding environment variables. (CLOUDBEES-1403)
2011-08-05 11:32:51 -07:00