Kristian Rosenvold
643337864b
[MNG-3004] Re-added calculateExecutionPlan to DLE, fixed ASF code standard
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931921 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 13:06:58 +00:00
Kristian Rosenvold
83237e46af
[MNG-3004] Concurrent building of multimodule projects
...
This commit consists of a modularization of the DefaultLifecycleExecutor into smaller
components. This is primarily done with the intention of extracting execution strategy
somewhat from the rest of the logic.
It also contains three differenent execution strategies:
A) Linear ("Classic")
B) Parallel (Based on Dan's original implemementation)
C) Weave (Still experimental)
The command line -T option activates parallel running, and the argument
is in the form -T <[nThreads, a float][C][W]|auto>
Notes:
* The output demultiplexer is disabled in this commit, and output will appear intermingled.
* The modello plugin has known problems
* Surefire must be run in forkmode at least once.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@931884 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 11:29:13 +00:00
Benjamin Bentmann
bbcd44e011
[MNG-3529] mvn -Da=" " throws an exception
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928714 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 11:02:03 +00:00
Benjamin Bentmann
e472d8f539
o Enabled stack traces until we know otherwise to make errors during CLI parsing show up in detail
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@928210 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 14:51:31 +00:00
Benjamin Bentmann
b433187006
[MNG-4591] Enhance the download rate output to include downloaded file name
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@923457 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 22:00:54 +00:00
Benjamin Bentmann
bfaab01874
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921170 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:24:47 +00:00
Benjamin Bentmann
0c78c31304
[maven-release-plugin] prepare release maven-3.0-alpha-7
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921168 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:24:22 +00:00
Benjamin Bentmann
b8f5443e13
[MNG-4564] Location (and name) for settings-security.xml has changed in Maven 3
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@912163 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 17:57:33 +00:00
Benjamin Bentmann
046666a715
[MNG-3168] Correct error message when project descriptor not found
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@902614 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24 17:52:36 +00:00
Benjamin Bentmann
04983c0111
o Refactored code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@901701 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 13:38:42 +00:00
Olivier Lamy
3264611447
[MNG-4432] reimplement parallel artifacts download
...
Prevent possible ConcurrentModificationException
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@901149 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 11:54:02 +00:00
Benjamin Bentmann
9417640359
[MNG-4432] reimplement parallel artifacts download
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@900982 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 22:25:12 +00:00
Benjamin Bentmann
34c2aa8acc
o Clean up properties processing in CLI
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@900969 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 21:38:37 +00:00
Benjamin Bentmann
574641d86c
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@896381 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 10:49:23 +00:00
Benjamin Bentmann
9e8a9af6ad
[maven-release-plugin] prepare release maven-3.0-alpha-6
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@896377 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 10:46:24 +00:00
Benjamin Bentmann
a5b2dd1a1f
o Preferred JRE API
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@895277 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02 20:01:19 +00:00
Benjamin Bentmann
9adfaf82b5
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883378 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 15:46:44 +00:00
Benjamin Bentmann
c23ce88074
[maven-release-plugin] prepare release maven-3.0-alpha-5
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@883375 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 15:45:11 +00:00
Benjamin Bentmann
669ab43ef2
o Fixed transfer progress output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@881524 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 21:12:50 +00:00
Benjamin Bentmann
0f465258e5
[MNG-4440] error message should clearly indicate the module that failed, and how to continue
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@836267 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 21:36:31 +00:00
Benjamin Bentmann
8e826033a8
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@835944 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 18:02:13 +00:00
Benjamin Bentmann
f54f1ec409
[maven-release-plugin] prepare release maven-3.0-alpha-4
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@835941 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 18:00:22 +00:00
Benjamin Bentmann
c10f412029
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834123 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 16:00:39 +00:00
Benjamin Bentmann
98ab96d19b
[maven-release-plugin] prepare release maven-3.0-alpha-3
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834118 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:55:07 +00:00
Benjamin Bentmann
1ef9a7692b
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834106 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:26:12 +00:00
Benjamin Bentmann
7dd84efa0e
[maven-release-plugin] prepare release maven-3.0-alpha-3
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@834104 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:24:06 +00:00
Benjamin Bentmann
61ba8778b6
[MNG-4426] No javac errors in console when error stacktraces are turned on
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@832729 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 12:51:58 +00:00
Benjamin Bentmann
21fff93ae9
[MNG-4408] Missing settings.xml is silently ignores
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830204 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 14:32:07 +00:00
Benjamin Bentmann
642904917a
o Extended debug logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830186 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 13:51:28 +00:00
Benjamin Bentmann
fca0b52ab4
o Restored support for IT execution using embedded Maven
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830178 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 13:32:56 +00:00
Benjamin Bentmann
2362f58ef5
[MNG-4410] [regression] Maven execution does not end after showing usage help
...
[MNG-4411] [regression] Maven execution does not stop after showing version
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830142 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 12:00:49 +00:00
Benjamin Bentmann
611bd1c998
o Fixed regressions after refactoring
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@830017 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 23:29:17 +00:00
Jason van Zyl
8f85d87b5c
o another pass at cleaning up the MavenCli, it still needs work but at least I can see a pattern now for embedding
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829988 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 21:42:53 +00:00
Benjamin Bentmann
e567bac9d9
o Added runtime dependency on maven-compat to access legacy repo system impl
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829973 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 21:17:24 +00:00
Benjamin Bentmann
20f8323b0a
[MNG-4221] Push all repository/artifact related code into a legacy module and create a backward compat layer for external consumers
...
o Refactored code to make maven-compat depend on maven-core, this got ugly regarding some tests which to a high degree depend on a full-blown repository system
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829934 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 20:16:00 +00:00
Benjamin Bentmann
d8942acd68
o Tweaked transfer progress output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829115 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 16:10:41 +00:00
Benjamin Bentmann
46584fbf1e
o Fixed transfer listener to output to proper stream
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@829018 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 12:11:47 +00:00
Benjamin Bentmann
5160b63bc0
o Changed transfer listener to consequently use the event for data
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828870 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:09:45 +00:00
Benjamin Bentmann
bb889e5895
o Revised transfer listener to retain resource identity
...
o Allowed to monitor transfer duration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828109 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 17:07:39 +00:00
Benjamin Bentmann
4e3d791eef
o Revised transfer listener to provide better feedback
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828026 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 14:17:38 +00:00
Benjamin Bentmann
504f5bca65
[MNG-4186] Provide an exact pointer to documentation specific to each known exception that can occur
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@827792 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 21:08:08 +00:00
Benjamin Bentmann
d6ad00a1f3
o Improved some exception messages
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825852 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 11:39:40 +00:00
Benjamin Bentmann
6821063783
o Added transfer listener for project dependency downloads
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@825289 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 21:22:35 +00:00
Jason van Zyl
787008b34a
o changes to allow polyglot maven to work
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824607 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 06:49:25 +00:00
Benjamin Bentmann
05dc94a90e
o Fixed logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824321 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 12:44:48 +00:00
Benjamin Bentmann
a98ec9089f
o Removed unused code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824180 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 21:30:54 +00:00
Benjamin Bentmann
d4ca575f08
o Added new settings builder that uses request/result pattern to allow for better problem reporting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824172 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 21:25:11 +00:00
Jason van Zyl
07398e00bc
o push all pom format specific handling up to the front-end, internally inside maven we do not care what the source of POM information is
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824098 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 16:18:10 +00:00
Benjamin Bentmann
737bc0f63b
o Replaced hard-coded use of "pom.xml" with a component to enable customizers using other formats to use other file names as well
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823852 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 13:26:44 +00:00
Benjamin Bentmann
b55562328b
o Enabled reuse of MavenCli for embedded execution during the ITs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823736 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 23:16:40 +00:00
Jason van Zyl
b6c70ca1f9
o another pass at removing wagon from the core.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@823064 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 06:32:35 +00:00
Benjamin Bentmann
3b57a2b55a
[MNG-3183] Allow a user to specify logging to a text file
...
o Restored feature
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@821036 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 14:40:27 +00:00
Benjamin Bentmann
5c660d362d
[MNG-4386] [regression] Debug logging can't be activated
...
[MNG-4387] [regression] Quiet logging can't be activated
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820987 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 12:28:56 +00:00
Jason van Zyl
dc92f34610
o first pass at cleaning up the embedding pattern
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820905 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 06:51:50 +00:00
Benjamin Bentmann
72755b1ec1
o Fixed dependency scopes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@820274 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 14:09:39 +00:00
Benjamin Bentmann
e66e2cf2f7
o Refactored code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@814350 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 17:29:26 +00:00
Herve Boutemy
0553695bcb
added XML schema location for site.xml
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813781 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 11:34:15 +00:00
Herve Boutemy
af5b761568
fixed errors reported by Checkstyle
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@813615 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 22:05:49 +00:00
Benjamin Bentmann
504fbed09e
o Added API docs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@811372 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 12:49:47 +00:00
Benjamin Bentmann
08cc074b50
[MNG-4335] [regression] <settings><offline>true</offline</settings> is not honored
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@811352 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 11:41:49 +00:00
Benjamin Bentmann
102f4ab603
[MNG-4334] maven core caches settings.xml
...
o Last pass: proxies moved out of the components into the requests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810444 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 10:16:19 +00:00
Benjamin Bentmann
3c34aa8c14
[MNG-4334] maven core caches settings.xml
...
o First pass: auth & mirror moved out of the components into the requests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810296 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 22:49:05 +00:00
Benjamin Bentmann
b8b148cf8b
o Collected repo settings in request
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810174 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:03:27 +00:00
Benjamin Bentmann
5a3334c3e0
o Restored backward-compat with 2.x
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810131 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 17:20:32 +00:00
Benjamin Bentmann
69525b9223
o Tweaked logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@810005 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 12:36:39 +00:00
Benjamin Bentmann
a0d6f81a20
o Simplified code (multi-cast can be realized by a delegating listener if required)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809402 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 18:41:45 +00:00
Benjamin Bentmann
b3988a2e58
o Restored forking for aggregators
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808219 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 23:18:59 +00:00
Benjamin Bentmann
e3c477e887
o Improved readability of log output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@808183 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 20:49:20 +00:00
Benjamin Bentmann
1faa467bb5
o Generalized lifecycle listener
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@807507 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 07:46:21 +00:00
Benjamin Bentmann
2b38ff01b2
o Tweaked logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805599 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 22:04:28 +00:00
Benjamin Bentmann
284693bf7e
o Improved logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@805351 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 10:41:12 +00:00
Benjamin Bentmann
84ca089376
o Restored reactor summary
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804980 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 13:33:39 +00:00
Benjamin Bentmann
df8c87bba7
o Moved logging over to listener
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804961 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 13:01:28 +00:00
Benjamin Bentmann
b5cdb0dc74
o Introduced listener to track lifecycle events
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804940 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:28:24 +00:00
Benjamin Bentmann
977d3bccdc
o Revised logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804195 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 12:35:34 +00:00
Benjamin Bentmann
d8b2070350
o Fixed file logger to properly log exception stack traces
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@804164 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 11:17:27 +00:00
Benjamin Bentmann
d198f32117
o Refactored project builder to support better error reporting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803598 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 16:52:49 +00:00
Benjamin Bentmann
41145c05e4
[MNG-553] Secure Storage of Server Passwords
...
o Restored CLI commands to create encrypted passwords
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803553 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:17:42 +00:00
Benjamin Bentmann
177a887acb
[MNG-553] Secure Storage of Server Passwords
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803510 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 13:51:07 +00:00
Benjamin Bentmann
ce63149fa7
[MNG-4287] Make ToolchainManagerPrivate session-aware
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@802024 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 14:41:10 +00:00
Benjamin Bentmann
b454fb7cb6
o Polished error reporting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800482 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 18:08:55 +00:00
Benjamin Bentmann
03dab5e334
o Hid util class
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@799938 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 22:03:28 +00:00
Benjamin Bentmann
ee55d1d8c5
[MNG-4260] Remove old-school reactor mode
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798081 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 09:13:47 +00:00
Jason van Zyl
aae5e98767
o limit system scoped resolution from interacting with repositories all together.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797675 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 22:32:28 +00:00
Benjamin Bentmann
a48ae318c6
o Refactored code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@797479 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 14:23:45 +00:00
Benjamin Bentmann
54c39d9a0f
o Added UT for maven.repo.local
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796914 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 23:46:25 +00:00
Jason van Zyl
684eed4a0c
o using the repository system and repositories to mediate proxy use. proxies restored.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796903 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:58:24 +00:00
Benjamin Bentmann
88216c6532
o Re-introduced distinction between user properties and system properties. We have use cases like interpolation and SUREFIRE-121 where we would like to handle user-specified props specially so a single properties soup is not up to the job. However, I opted not to follow the approach from 2.x where we also collect both system properties and user properties in a combined set called execution properties. Code that embeds Maven and programmatically creates an execution request should be not required to assemble such a mixed properties instance, it would enable bad behavior from Maven by subtle API misuse. Also, for things like the lifecycle participant that wants to inject properties, it should be cristal clear whether it injects a user or a system property, the semantics of something like getExecutionProperties().setProperty() would be unclear however.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796900 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 22:43:05 +00:00
Jason van Zyl
cf295ef70a
o removing unused classes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796869 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 20:22:04 +00:00
Jason van Zyl
b69b4ab4f9
o add default plugin artifact repositories in the populator
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796817 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 17:56:18 +00:00
Jason van Zyl
763941c897
o this is covered perfectly well by the ITs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796758 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:56:29 +00:00
Jason van Zyl
dd202c29ba
o we have it0021 so this is also not necessary
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796752 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:49:13 +00:00
Jason van Zyl
0b8922f02c
o we already have a number of tests in the core testing simple execution of a pom and a directory with a pom
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796746 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:37:54 +00:00
Jason van Zyl
3e10bb2686
o there is an IT for optional dependencies and we'll put a proper UT in the POM construction tests for optional deps.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796742 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:31:44 +00:00
Jason van Zyl
4179dbcd41
o cleaning up tests in order to move them to the core using core components, and removing superfluous/repeated tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796740 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 14:29:14 +00:00
Jason van Zyl
3d9dea68d9
o using the same technique for the embedder as we are for the core tests
...
o trying on the grid and then i'll share a test jar
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796579 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 23:30:26 +00:00
Jason van Zyl
c5fb845b6b
o make sure that the plugin repositories are propagated from the builder request and not from the MavenProject
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@796420 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 18:02:07 +00:00
Benjamin Bentmann
01f7692db0
o Replaced usage of StringBuffer with StringBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795584 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:20:09 +00:00
Benjamin Bentmann
8efe10c89e
[MNG-4244] Allow to select project for make-like reactor by artifact id
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795147 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 17:11:57 +00:00
Benjamin Bentmann
13ddca24aa
o Restored processing of settings
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795068 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 12:33:46 +00:00
Benjamin Bentmann
bb5c402250
o Restored support for maven.repo.local
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@795023 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 09:53:11 +00:00
Jason van Zyl
a5be13b93b
o removing many old embedder tests that are performing what is now done far better by the underlying components
...
o remove ties to the Configuration class in the populator which means it can be moved back to the core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794919 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 00:30:15 +00:00
Jason van Zyl
1ceae0f25e
o restoring auth
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794767 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 17:50:29 +00:00
Benjamin Bentmann
df47b11957
[MNG-2576] Make Like Reactor Mode
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@794043 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:03:15 +00:00
Benjamin Bentmann
9832de654f
o Added hack to get CI back running
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793585 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 13:42:40 +00:00
Benjamin Bentmann
5aa9115a53
o Removed debug output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793348 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 13:32:22 +00:00
Benjamin Bentmann
d8b7706ad5
o Synced version with main build (given that auth is currently broken and Hudson uses a secured repo, we better re-use stuff that has already been resolved...)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793346 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 13:27:11 +00:00
Benjamin Bentmann
0ba6f79521
o Made embedder tests respect maven.repo.local
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793342 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 12:59:21 +00:00
Benjamin Bentmann
772b8b3f1b
o Added debug output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793332 13f79535-47bb-0310-9956-ffa450edef68
2009-07-12 11:15:25 +00:00
Benjamin Bentmann
52519425f7
o Restored reactor failure behaviors
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@792111 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 12:23:46 +00:00
Jason van Zyl
e0d29fe6a3
o take out maven-repository until the compat module is separated again
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789544 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 03:33:53 +00:00
Jason van Zyl
1cef292135
MNG-4221: Another pass over making maven-compat only used by external consumers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789080 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 09:46:11 +00:00
Benjamin Bentmann
84bfe465ef
o Moved the toolchains into the core to allow proper testing of the core
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@789006 13f79535-47bb-0310-9956-ffa450edef68
2009-06-27 18:18:46 +00:00
Benjamin Bentmann
5672ae45e8
o Fixed missing error reporting for bad settings
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@787084 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 20:10:52 +00:00
Benjamin Bentmann
34580df645
[MNG-4191] separate plugin and artifact repositories
...
o Extended requests to allow for configuration of plugin repos
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@786790 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 10:29:51 +00:00
Olivier Lamy
d5eae80ab1
restore display of two build properties (as in 2.x) :
...
- svn rev
- build timestamp
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@784274 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 21:09:06 +00:00
Jason van Zyl
864ea15216
o refactoring the way plugin prefix metadata is found. the lifecycle executor is not the right place for this and the plugin manager is now strictly for already fully configured executions. so it belongs somewhere specific to augmenting the base set of information in order to make it complete but this first pass will do here. i just want to check it in as well because i'm traveling.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@783361 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 13:40:14 +00:00
Jason van Zyl
09f970f178
MNG-4041: maven core returns stale project state during extended use. this is a patch which provides intelligent caching and yields a very substantial performance improvement.
...
Submitted by: Igor Fedorenko
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@782014 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 13:49:25 +00:00
Benjamin Bentmann
4d45d00881
o Fixed name inconsistencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780121 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 22:02:34 +00:00
Benjamin Bentmann
ae675f8157
o Made ProjectBuilder use ProjectBuildingRequest for naming consistency within API
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780115 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 21:28:45 +00:00
Jason van Zyl
e8ff78292b
o if compile time deps are not specified maven will now complain
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780103 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:36:34 +00:00
Benjamin Bentmann
6bbe3780d4
o Decoupled embedder from XPP3
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@779311 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 20:59:12 +00:00
Benjamin Bentmann
49698c0819
[MNG-4172] Project POM artifact returned as dependency if project has no dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778240 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 21:24:57 +00:00
Benjamin Bentmann
f17f9aa639
o Temporarily disabled broken test
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777956 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 16:36:46 +00:00
Jason van Zyl
c1af1323cd
o fix for populator
...
Submitted by: Igor Fedorenko
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777796 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 05:20:59 +00:00
Jason van Zyl
bc8ff5f600
o removing the configuration from the populator
...
Submitted by: Igor Fedorenko
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777713 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 21:04:43 +00:00
Benjamin Bentmann
cad43e6b56
o Fixed precedence of plugin groups (request > settings > defaults)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777165 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 16:17:15 +00:00
Benjamin Bentmann
add87f5f56
o Ensured we eventually work with absolute paths
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777134 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 14:37:03 +00:00
Jason van Zyl
d5459955f5
o put the plugin groups in the front-end request populator, the magic plugin groups are no longer buried in the core. could still be
...
moved from the code in the populator to a configuration file in the maven installation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@776556 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 05:16:09 +00:00
Benjamin Bentmann
8c30410341
o Deleted test which is invalid due to r772675
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775666 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 14:55:44 +00:00
Benjamin Bentmann
a82951eb05
o Re-enabled fixed tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775488 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 15:56:03 +00:00
Benjamin Bentmann
5a2ef49f1d
o Fixed file:// URL handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775363 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 21:52:10 +00:00
Benjamin Bentmann
a9f90cc8f3
o Allowed gargabe collector to free heap
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775304 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:58:57 +00:00
Jason van Zyl
2e6a5a99dd
o project with optional dep
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775298 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:33:47 +00:00
Benjamin Bentmann
e4b2737236
o Fixed test assertion (there's really just one dependency without transitive ones in the test POM)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775297 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:32:26 +00:00
Benjamin Bentmann
b81a59ba3a
o Added clear() method to project cache
...
o Added license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775290 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 19:17:32 +00:00
Jason van Zyl
8674601f3b
o no doco is better then incorrect doco
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775287 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:53:24 +00:00
Jason van Zyl
6d05b5e7ae
o imports
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775286 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:52:25 +00:00
Jason van Zyl
01a13a3ffd
o remove the profile manager and profile activation context from public view
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775281 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 18:32:59 +00:00
Jason van Zyl
225d136f27
o removing the profile manager and profile activation context from the embedder code, it can all be handled in the core having the active/inactive profile ids on hand along with all the profiles that are available from any external sources like the settings.xml
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775200 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 15:49:27 +00:00
Jason van Zyl
107b03a1f7
o getting rid of some dead code in the project builder in preparation for trying to group more of the profile handling code as a test is failing in the embedder related to profiles while everything in the pom construction test is working correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@775141 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 14:08:43 +00:00
Jason van Zyl
7ccc3d878e
o fixinga bunch of embedder tests, 8 left to fix
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774768 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 13:52:03 +00:00
Jason van Zyl
de46f2a5fa
o bunch more patches from Igor to keep the heap down. junit is just not letting go.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774515 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 20:27:13 +00:00
Jason van Zyl
b4251c3e16
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@774079 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 20:50:52 +00:00
Jason van Zyl
3398024a0f
o delegating local repository implementation that chains the reactor and user local repository
...
o removal of more state from the WagonManager and pushing it into the request in an attempt to bridge the way for Mercury
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@773456 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 04:08:29 +00:00
Jason van Zyl
a73c5abc9c
o in the middle of a ReactorArtifactRepository but ben and igor need access so checking in
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@772832 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 03:24:55 +00:00
Jason van Zyl
838a1c19b0
o restore the functionality that m2eclipse needs to read projects with dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@772675 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 15:20:32 +00:00
Jason van Zyl
fbe0e563d8
o make sure jxpath doesn't make it into the distro, it's for testing
...
o don't need plexus-interactivity in the core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@772241 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 13:31:00 +00:00
Jason van Zyl
c6a8b20cba
o get rid of the reactor manager to make way for a real reactor that can be a local repository implementation which will prevent the pollution in the metadata source for dealing with projects that are in the current build
...
o clean up the project sorter
o push the information that was in the reactor manager into the session
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@772039 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 03:09:22 +00:00
Benjamin Bentmann
31061189b0
o Fixed creation of default remote repo (e.g. no snapshots from central)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@771441 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 21:05:28 +00:00
Jason van Zyl
36e43b2951
o cleaning up project builder, removed signatures that i've corrected in the RR plugin, moved properties injection up to the main Maven component
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@770390 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 18:49:42 +00:00
Britton Isbell
abec748f23
Removed unused methods from ProjectBuilderConfig. Since we collapsed maven-project into maven-core, method not needed.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769957 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:52:56 +00:00
Jason van Zyl
942b1a3dc6
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769869 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 18:40:45 +00:00
Jason van Zyl
38bd51b1a7
o adding lifecycle methods to get the plugin for a packing in all lifecycles, this will interleave with the
...
project builder which will populate the versions specified in plugin management, and then another method
will retrieve and populate the default configuration information.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769847 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 17:34:01 +00:00
Jason van Zyl
54979b07e4
o collapsing maven-project into the core, it is now useless to anyone except maven, the maven-model-builder is now something that can be consumed by the outside world
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769652 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 04:45:20 +00:00
Jason van Zyl
6d229c8e46
o giving shane a handle on how to grab default plugin information as i've removed all the diddling in the plugin manager itself
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769637 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 03:45:42 +00:00
Jason van Zyl
d78af4efbe
o start of reporting so i can track every last problem
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769585 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 23:13:42 +00:00
Jason van Zyl
49c287754d
o pushing my changes back in with shane's
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769580 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 23:04:24 +00:00
Britton Isbell
14b3573e79
Compile exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769552 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 21:34:36 +00:00
Britton Isbell
c3715849bf
Default plugins.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769235 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 04:12:32 +00:00
Jason van Zyl
e10d95d4e1
o starting the simplification of the error reporting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769193 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 22:38:19 +00:00
Jason van Zyl
54d0418185
o push in changes to sync up with shane
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769031 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 15:43:01 +00:00
Jason van Zyl
5d7758b358
o pull from trunky dunk dunk
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@767707 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:04:06 +00:00
Jason van Zyl
8e108fd91a
o roll up all the plugin manager capability into one class. having a manager, a component discoverer, and component discovery listener is too complicated.
...
o using the a looking to set the discoverer and discovery listener. in plexus this can be rolled into one extender
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@762142 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 19:55:14 +00:00
Jason van Zyl
46c8c09a91
o the session has no lookup or access to the container now
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@760333 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 04:59:06 +00:00
Jason van Zyl
d22c870e02
o coming close to something i can easily test
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759818 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 01:11:02 +00:00
Jason van Zyl
ace08b348d
o separated the sorter out of the reactor manager in preparation for making the reactor just an implementation of a local repository. shouldn't be tangled with sorting, that should be done before anything starts
...
o adding test poms for plugin manager and lifecycle executor
o separate out base alignment test
o notes on the lifecycle executor and plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759542 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:24:05 +00:00
Jason van Zyl
505423e666
o remove eventing which was scattered all over the place, all move it all into the session and use the eventing model pattern oleg used for mercury.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759536 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:12:57 +00:00
Jason van Zyl
6bcb9de387
o created a separate plugin manager test and we see where we've got some methods that don't belong in the lifecycle executor. need to move getMojoDescriptor to the plugin manager, just leave the parsing and construction of the lookup key in the lifecycle executor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@759502 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 16:31:54 +00:00
Jason van Zyl
ace03b781b
o hide the creation of default event dispatcher and reactor manager inside the session
...
o the lifecycle executor test is now starting to look sane
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757635 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 01:43:43 +00:00
Jason van Zyl
c981673e9e
o remove unused eventing code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757611 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 00:12:22 +00:00
Jason van Zyl
43e21dd1a5
o add standard method for creating central in the repository system
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757602 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 23:39:58 +00:00
Jason van Zyl
ecf09e66f5
o locate all repository related constants into the RepositorySystem
...
o add a method to the RepositorySystem for creating the default local repository
o make the test utils for the lifecycle executor use the createDefaultLocalRepository method to decouple from my home directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757464 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 17:38:44 +00:00
Jason van Zyl
e3212b468c
o more organization in the plugin manager
...
o there seems to be an incompatible change between surefire 2.4.2 and 2.4.3 with the booter and the useManifestJar option
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757120 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:04:05 +00:00
Jason van Zyl
0f70fd4a0f
o working creating a clean path of plugin resolution logic, and separting report processing from plugin processing
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@757003 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 20:18:36 +00:00
Jason van Zyl
0bf25e64d8
o adjusting the internals to deal with root-based resolution
...
o gross hack to work around someone hardcoding a dummy:dummy root artifact in the surefire plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@756885 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 07:28:59 +00:00
Jason van Zyl
ecb1bfe2fd
o found another untested path way which i'll make another test for tomorrow. executing one mojos work, but when stringing
...
them together the optimization I'm trying to make for incremental support fails.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@753142 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 07:12:21 +00:00
Jason van Zyl
24139e8256
o cleaning up the lifecycle executor and error reporter
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@753053 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 23:27:54 +00:00
Jason van Zyl
39af2b8f7e
o bootstrap working on my branch with all the changes. i need to pull from trunk and spend a few more hours on adding tests that need to be written that never were. the
...
guts of the plugin manager and lifecycle executor internals are not really covered much.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751989 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 06:07:02 +00:00
Jason van Zyl
191aded423
o my test for executing a mojo in isolation is now complete and passes and gives some real indication of the problem that exists in trying to expose the plugin manager to any external client. the test is pretty nasty but now i can
...
work against this while i refactor. i can now merge to trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751980 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 04:31:10 +00:00
Jason van Zyl
da776815ac
o a test which demonstrates the difficulting in testing the execution of a single mojo, indicates some work to isolate the system and make it easier
...
for people to reuse this code. igor had to jump through these same hoops to get isolated mojo execution working in m2e. needs some love.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751582 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 04:51:13 +00:00
Jason van Zyl
3ef5e97f42
o reduce the foot print of the plugin manager, the interaction between the lifecycle executor and plugin manager is far too intimate
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751459 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 16:25:35 +00:00
Jason van Zyl
41df8abcf8
o branch for my simplification of the lifecycle executor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@751454 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 16:14:26 +00:00
Jason van Zyl
b68c9f9231
o shortening the interface name for the repository system
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@751196 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 05:08:43 +00:00
Oleg Gusakov
048808f308
[MNG-3849]
...
- removed security dispatcher xml descriptor dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750790 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:10:18 +00:00
Oleg Gusakov
f60741289a
[MNG-3849]
...
- upreved mercury dependency to the latest snapshot
- removed security dispatcher xml descriptor dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750789 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:09:24 +00:00
Jason van Zyl
1ffdc9286a
o start the grand plugin refactoring, just putting it all together in addition to putting all the repository/artifact calls
...
behind the repository system you can see project and plugins being processed an incredible number of times and the recursion
in the collector is broken causing POMs for plugins to be processed hundreds of times. The bootstrap under profiling reveals
the xpp3 parser being used almost 30k times which is pure insanity.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750774 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 05:38:48 +00:00
Jason van Zyl
f4ec59594c
o remove more methods to the repository system, starting to get close to the final set of methods and then we can move on to the classes of the binding to the repository system
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750738 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 01:25:43 +00:00
Jason van Zyl
5a35fc9aee
o remove more methods from the repository interface
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750686 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 23:35:02 +00:00
Jason van Zyl
b9f9244f5f
o fixed mirror code
...
o more plugin manager wrangling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750568 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 19:59:06 +00:00
Benjamin Bentmann
0425ac9cb2
o Removed debugging output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750551 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 18:58:03 +00:00
Benjamin Bentmann
a27e6457b4
o Added debug logging for mirrors
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750461 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 14:03:21 +00:00
Benjamin Bentmann
81b95fde8a
o Removed debug logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750434 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 12:09:21 +00:00
Benjamin Bentmann
205d7a6f48
o Added temporary debug logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750431 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 11:58:18 +00:00
Jason van Zyl
7d14e6b520
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750361 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 07:54:36 +00:00
Jason van Zyl
0cc04bdd8a
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750352 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 07:20:02 +00:00
Jason van Zyl
7d32348c3d
o no choice but to shunt the ProjectUtils which is used by the remote resources plugin into using the MavenRepositorySystem.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750324 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 06:00:07 +00:00
Jason van Zyl
74b14a5953
o use the custom settings for now
...
o pushing everything related to the plugin manager into one package in preparation for replacement with the plexus plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750308 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 04:02:23 +00:00
Jason van Zyl
1a05bdac38
o use the repositories passed into the request
...
o make sure that mirrors are processed correctly in that the mirror that is defined must use the layout and policies of the repository it is mirroring
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750251 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 00:15:56 +00:00
Benjamin Bentmann
d9bf8c6a60
o Reverted r750083 which is a bad approach with respect to embedding, instead just programmatically injected the central repo if not already given/overriden in the settings
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@750098 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 18:40:33 +00:00
Jason van Zyl
beedf0cf7b
o restore profile manager location so that the site plugin works ...
...
o teach the resolution to understand when the root is local with a file present versus retrieving the root as well
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749924 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 06:58:09 +00:00
Jason van Zyl
a5fc1cfb14
o fix the mirroring code
...
o restore ArtifactResolver.resolve( artifact, remotes, local ) for the rr plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749784 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 21:56:42 +00:00
Benjamin Bentmann
aa74529144
o Added generics
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749586 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 11:48:20 +00:00
Benjamin Bentmann
352fd0a543
o Fixed handling of plugin groups
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749493 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:33:55 +00:00
Benjamin Bentmann
ed6f76548b
o Added generics
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749482 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 00:00:40 +00:00
Benjamin Bentmann
db03ef60f0
o Fixed profile activation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749354 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 16:48:07 +00:00
Herve Boutemy
c5571a0c78
used http://maven.apache.org/xsd/ * for schema location
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748982 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 08:55:40 +00:00
Britton Isbell
74b67a85d7
Removed artifact resolver. Now just using the repositorySystem directly.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748908 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 19:22:02 +00:00
Britton Isbell
b487a2fd45
Moved profile classes into main project package.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748889 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 17:26:56 +00:00
Britton Isbell
7040079ca9
Replaced the old profile injector code with new profile code. Merged project builders.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@748609 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 17:28:54 +00:00
Jason van Zyl
f2d3908905
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747888 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 18:28:39 +00:00
Jason van Zyl
4aea96aeb2
o use the artifact resolution request/result method to remove another couple methods from the repository system
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@747658 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 04:55:59 +00:00
Jason van Zyl
00c302e021
o checking in so that oleg and shane can see the changes, there are three failing tests. i'm fixing in the plane and will check in when i land
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746850 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 00:04:14 +00:00
Jason van Zyl
69777c2ea2
o remove wagon manager from the request populator
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746531 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 16:15:26 +00:00
Jason van Zyl
b4257bad3b
o use RepositorySystem and LegacyRepositorySystem
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746432 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 03:22:21 +00:00
Jason van Zyl
f6d25b36f8
o remove legacy artifact component references from the embedder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746311 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 18:03:46 +00:00
Jason van Zyl
a8cd789425
o first push of a plug point for repository/transport in maven
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746285 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 16:27:27 +00:00
Britton Isbell
c327c94443
Refactored out more uses of modello and moved classes from maven-project to maven-project-builder. Doing this so that maven-mercury will not have direct dependency on modello or maven model.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@746002 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 21:22:46 +00:00
Britton Isbell
73c0f41e3b
Collapased Transformers into one. Extracted out some rules. Removed some references to Maven model in DomainModels to generalize. Removed Plugin mixins, which are no longer needed. Extension loading appears to be broken from refactoring. Need to fix this.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@745712 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 03:00:52 +00:00
Benjamin Bentmann
55fe596230
[MNG-4037] Include Java home in version information
...
o Merged from r744645
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@744647 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 10:18:00 +00:00
Benjamin Bentmann
fda7685244
[MNG-4036] [regression] Maven 3.x can't resolve parent POMs from repositories defined in settings.xml
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@744560 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 19:38:53 +00:00
Britton Isbell
0abb04c8bb
[MNG-3631] Mojo Configuration. Allow embedder to get executions by goal, query config with xpath and execute mojo.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@744145 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 15:39:54 +00:00
Oleg Gusakov
c1368df785
[MNG-4033] found more appropriate injection point for password encryption
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743948 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 01:42:38 +00:00
Oleg Gusakov
e07ccacaf2
[MNG-4033] found more appropriate injection point for password encryption
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743947 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 01:38:15 +00:00
Britton Isbell
9863957196
[MNG-3862] Remove all plugin configuration manipulation from the plugin manager.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743225 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 04:56:35 +00:00
Jason van Zyl
1da74993a9
o getting rid of $Id$
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@742673 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 18:56:31 +00:00
Britton Isbell
cb077dc469
MNG-3919: NPE in DefaultLifecycleBindingManager
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@740468 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:50:27 +00:00
Britton Isbell
adfb3ddeb9
Tests for MNG-1943 - interpolation in parent pom and MNG-3567 - pluginManagement inherited. Added additional methods to maven embedder for querying of plugin configs.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@740395 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 19:50:11 +00:00
Britton Isbell
d1124333ad
Merge: sisbell-plugin-manager. MNG-3631 - Get plugin config, including mojo descriptor info.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739970 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 12:02:44 +00:00
Benjamin Bentmann
7397cc69d6
[MNG-3951] Hide drive-relative paths from plugins
...
o Merged from r739385
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739735 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 10:44:19 +00:00
Jason van Zyl
ed4f594ac4
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739478 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 01:06:48 +00:00
Jason van Zyl
13fa00ea3f
[maven-release-plugin] prepare release maven-3.0-alpha-2
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@739476 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 01:06:37 +00:00
Jason van Zyl
557f0a5373
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738777 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 07:13:04 +00:00
Jason van Zyl
7f54cfff61
[maven-release-plugin] prepare release 3.0-alpha-2
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@738775 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 07:12:48 +00:00
Benjamin Bentmann
5872cd6d2e
[MNG-3955] [regression] ${settings.localRepository} does not reflect actual repo path if maven.repo.local used
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@734219 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 19:01:21 +00:00
Jason van Zyl
481cde5756
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731333 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:59:28 +00:00
Jason van Zyl
6991c79e34
[maven-release-plugin] prepare release maven-3.0-alpha-1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731331 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:59:05 +00:00
Jason van Zyl
cc38a455f7
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731271 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:29:07 +00:00
Jason van Zyl
bab3480d4b
[maven-release-plugin] prepare release 3.0-alpha-1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731269 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 15:28:42 +00:00
Jason van Zyl
59e207e530
o adding runtime info to the settings adapter
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@731173 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 04:43:10 +00:00
Benjamin Bentmann
3ec459f512
o Removed unreachable code (older JVMs will always bail out before the code is executed)
...
M:\apache-maven-3.0-SNAPSHOT\bin>mvn -v
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadRealmClass(ClassRealm.java:174)
at org.codehaus.plexus.classworlds.strategy.DefaultStrategy.loadClass(DefaultStrategy.java:67)
at org.codehaus.plexus.classworlds.strategy.ForeignStrategy.loadClass(ForeignStrategy.java:39)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:207)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:144)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:266)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@729292 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 10:52:56 +00:00
Benjamin Bentmann
088b7c6241
o Fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728100 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 18:30:34 +00:00
Jason van Zyl
30dbc6db99
o fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728071 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 17:14:15 +00:00
Jason van Zyl
434431ec8d
o restore the plugin registry cli option for compat with the verifier
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@728066 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 17:05:15 +00:00
Jason van Zyl
6b040ab2f9
o remove some superfluous reader creation in the project builder
...
o remove profile handling from the construction of the super project, there are no profiles in it anymore (and shouldn't be in the future)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@727267 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 04:01:59 +00:00
Jason van Zyl
f5c4a25c9c
o remove standalone property
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726579 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 23:49:30 +00:00
Benjamin Bentmann
7e76510cdc
[MNG-3914] Add CLI option to control location of global settings from command line
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726563 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 22:27:23 +00:00
Jason van Zyl
c744e7706e
MNG-3913: figure out why this fails on the grid and reenable when we track it down.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726525 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 20:19:55 +00:00
Jason van Zyl
6d5eab14f6
o remove aspectj
...
o update compat log with CLI changes
o update everything to release versions, we have no snapshots anymore
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726521 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 19:51:59 +00:00
Jason van Zyl
a5ab9893ad
o disallow 1.4 now
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726520 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 19:20:17 +00:00
Jason van Zyl
3f3945729f
o only allow JDK 1.5 or above to execute Maven 3.x
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726517 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 19:04:51 +00:00
Jason van Zyl
2aed210e8c
o remove the option for the plugin registry, not used for a long while
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726515 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 18:51:18 +00:00
Jason van Zyl
ea43792cf2
MNG-3905 First pass at collecting all the repository related code and started to decouple from maven-artifact
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726383 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 06:24:01 +00:00
Jason van Zyl
e02b6e7005
o get rid of more Settings references beyond the embedder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@726164 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 03:17:35 +00:00
Jason van Zyl
633b598548
o we will set the header in the wagon manager as we have no clients anymore and all of this will be gone in alpha-2
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721766 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 06:09:15 +00:00
Jason van Zyl
0853c03589
o isolated realm is obsolete
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721765 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 06:01:09 +00:00
Jason van Zyl
9bc9c86231
o use annos where possible
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721750 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 01:46:13 +00:00
Jason van Zyl
a648f36be2
o remove debugging info
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721279 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 21:09:09 +00:00
Jason van Zyl
8da8916f50
o adding in project build failure exceptions that were not being output
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@721255 13f79535-47bb-0310-9956-ffa450edef68
2008-11-27 18:37:52 +00:00
Jason van Zyl
c418d12814
o primarily refactoring in part for the preparation making room for mercury and processing events from maven-shared-model
...
o add plexus component descriptor generation to the bootstrap so we can start removing the hand-written descriptors and start
using annotations everywhere
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@720432 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 07:11:35 +00:00
Britton Isbell
c26b2d69cd
Merge of sisbell-maven-3.0-mercury branch to trunk. Includes maven-project-builder component, which breaks out some of the independent project builder classes, so that Mercury does not need to pull in the entire trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@719472 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 04:49:46 +00:00
Jason van Zyl
a461aa6137
o turning this test off as the much stricter lookups require this be adjusted. it's a feature no one uses in this way yet.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718850 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 03:21:07 +00:00
Jason van Zyl
17d68dbce5
o adding some patches for changes in plexus
...
submitted by: Dain Sundstrom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@718845 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 02:31:49 +00:00
Jason van Zyl
56986ca004
o use the class lookup method which will now automatically partition lookups based on the class
...
submitted by: Dain Sundstrom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@717964 13f79535-47bb-0310-9956-ffa450edef68
2008-11-16 02:38:13 +00:00
Jason van Zyl
1289a0e877
o remove plugin specific tests from the embedder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701697 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 19:23:33 +00:00
Jason van Zyl
d3d1acbf1f
o remove specific plugin tests from the embedder tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701695 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 19:22:42 +00:00
Jason van Zyl
556254c8c3
MNG-3653/MNG-3677: restored property file nabbing from the core JAR, and reworked the runtime component to be more general and used it from the CLI
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701264 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 22:36:41 +00:00
Jason van Zyl
d06897e91c
MNG-3637: making sure it says we fail when we fail
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701228 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 19:52:53 +00:00
Jason van Zyl
cc5827fa72
MNG-3649: making sure that the request parameters which are populated from the CLI are honored in plugins like the release plugin which consume CLI options from the user
...
settings object. ug.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701216 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 19:16:47 +00:00
Jason van Zyl
6779e62e80
o artifact handlers are discovered in active collections now.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@701198 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 17:52:03 +00:00
Britton Isbell
534b660b4e
Removed extension scanner. It was tied up into the old model lineage code, which is very buggy. Needs to be reimplemented.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@700226 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 19:51:10 +00:00
Jason van Zyl
b6c2132bc7
o merging from my branch to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@699806 13f79535-47bb-0310-9956-ffa450edef68
2008-09-28 12:16:53 +00:00
Britton Isbell
bc3660ec47
Detangled profile activitation dependency on realm manager. Move org.apache.maven.realm package to maven-core project.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@695332 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 02:54:31 +00:00
Britton Isbell
9fff4c0612
Moved PathTranslator to maven-core. maven-project no longer uses it.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694912 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 10:07:23 +00:00
Britton Isbell
7dc42ed958
Replaced interpolator code.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694907 13f79535-47bb-0310-9956-ffa450edef68
2008-09-13 09:28:23 +00:00
Britton Isbell
50a1d13a08
Removed a unit test related to aspect eventing. Added back in direct setting of compile/script directories.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694118 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 04:55:50 +00:00
Britton Isbell
cacc78b1d0
Removed dynamic injection of pom build during project construction. Deleted aspects.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@694109 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 04:16:40 +00:00
Britton Isbell
6b96692a93
Merge of sisbell-maven-2.1-profile branch. Removes use of project lineage from builder.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@693332 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 01:04:17 +00:00
Jason van Zyl
b07c8d2e36
reverting that commit, meant for my branch
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@688584 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24 23:38:39 +00:00
Jason van Zyl
2a94051f54
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@688581 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24 23:24:41 +00:00
Britton Isbell
4cb42c34a7
Merged back changes from sisbell-maven-2.1-profile
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@685575 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 14:47:51 +00:00
Britton Isbell
398b62158e
Merge of branch: sisbell-maven-2.1-profile.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@685443 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 05:09:00 +00:00
Jason van Zyl
c82352832a
o updating to 3.0-SNAPSHOT
...
o aparently when we start from scratch the bootstrap wasn't working, so the maven ant tasks will now igore trying to download the projects we
are actually trying to build.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@684975 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 23:05:20 +00:00
Britton Isbell
c8b842c976
Merge of SI_MAVEN_2_1 branch. New builder code.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@679609 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 23:06:59 +00:00
Brett Leslie Porter
1cb6db67de
[MNG-3652] minor improvement to the user agent for trunk
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@679010 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 07:15:51 +00:00
Benjamin Bentmann
a14916cf8c
o Considered file extensions in command search to enable tests for Windows
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@677452 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 22:33:58 +00:00
Brett Leslie Porter
d046f6039f
embedder tests that download artifacts and plugins should use the settings file for now to honour mirrors
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@677239 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 11:18:50 +00:00
Jason van Zyl
5e2d60366b
o adding some code to detect system executables so that tests which wrap those executables are only run when they are present. in trying to get people to run the ITs from a Hudson bundle it's apparent that not everyone had SVN installed. we need to be more sensitive to different environments for testing if we want more people to participate.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@676103 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 00:07:06 +00:00
Jason van Zyl
667fe087d5
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@676082 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 21:16:59 +00:00
John Dennis Casey
a3719ed76c
Improving the reliability of these two tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@675349 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 21:42:49 +00:00
Jason van Zyl
668818f6ba
MNG-3656: cleanup is complete as far as I can tell. I also got rid of a bunch of deps that said were needed, but the build seems to work fine, and I'm about to try on Mr Hudson.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@674319 13f79535-47bb-0310-9956-ffa450edef68
2008-07-06 17:21:25 +00:00
Brett Leslie Porter
278b580c8f
[MNG-3652] set a user agent for Maven HTTP requests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@673901 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 04:32:09 +00:00
Brett Leslie Porter
4c5f43abf9
We require the newer version of the surefire plugin or it is possible to get old versions of plexus-utils in the tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@672727 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 08:34:38 +00:00
John Dennis Casey
cd2602d9e6
Adding -V|--show-version, and cleaning up interpolation to correspond with recent refactoriing in 2.0.x branch. Also, changing super-POM to use basedir/build.directory expressions in build paths, to enable paths to respond to changes in other, more basic paths (like outputDirectory responding to a change in build.directory). This is in preparation for merging over the dynamicBuild behavior.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@671936 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 16:34:27 +00:00
Brett Leslie Porter
726e4adbba
this causes plexus-utils clashes, remove
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@670348 13f79535-47bb-0310-9956-ffa450edef68
2008-06-22 12:38:31 +00:00
Brett Leslie Porter
3acaa63cf8
adjust the embedder tests:
...
- remove a number of downloads from central that were slowing the build significantly
- ensure the tests will run with a repo manager and no central access
- ensure the tests will run offline if the local repository is populated
The technique for populating the repository is very hacky. We really need the tests to be doing this themselves. Perhaps moving these IT-like tests into the IT section and alongside the core ITs is the way to go - but this is a start.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@669222 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 16:56:56 +00:00
Paul Gier
9f84e95bab
Allow use of ! to deactivate a profile. Remove use of E: and D: for enabling and disabling.
...
Issue id: MNG-3571
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@656846 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 21:21:31 +00:00
John Dennis Casey
e28b62cbe7
Allow multiple -P options, and fix explicit en/disable notations of E:/+ for enable, D:/- for disable.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@654207 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 18:44:18 +00:00
Brian E Fox
1c50dc0d0d
clean up the poms and move versions to dependencyManagement
...
Issue id: c
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@653481 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 13:46:40 +00:00
Paul Gier
1245ac784e
Add support for multiple -P params on the command line.
...
Issue id: MNG-3268
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@652912 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 21:04:22 +00:00