Brett Leslie Porter
52e8a216ef
PR: MNG-1011
...
add default goal handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292411 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 09:55:25 +00:00
Brett Leslie Porter
20116dbc4e
PR: MNG-936
...
make sure directory exists first
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292409 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 09:26:07 +00:00
Brett Leslie Porter
456a6eb042
add mojo project as a default group
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292361 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 00:29:03 +00:00
John Dennis Casey
dac96a1276
Resolving: MNG-800...needed a call to flush the cached plugins-by-key map in the registry when a new plugin is added.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292222 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 16:04:19 +00:00
Brett Leslie Porter
826f3e2a86
PR: MNG-916
...
ensure RELEASE is not selected as is
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292172 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 13:07:53 +00:00
Brett Leslie Porter
bd839db47e
fix issue with goal fork
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292143 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 08:16:19 +00:00
Brett Leslie Porter
ddfcc65d55
PR: MNG-817
...
add goal="..." to @execute
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292125 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 05:09:14 +00:00
John Dennis Casey
86d1a481f5
Storing plugin contexts by plugin and project in the release manager, and furnishing access to them via the session. This will restrict shared information scopes to the plugin AND the project, in a reactored situation.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292105 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 03:38:00 +00:00
John Dennis Casey
30d2a16b5a
Resolving: MNG-823...added context-awareness to AbstractMojo, using ContextEnabled interface to avoid breaking Mojo API for direct implementors. Added two mojos in the core-it plugin to use the plugin context map, and an IT - it0073 - to test the whole thing.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292023 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 19:49:37 +00:00
John Dennis Casey
da33bafe84
Resolving: MNG-885
...
o Extracting basedir from the project instance when PluginParameterExpressionEvaluator is init'ed if project != null...otherwise, using ${user.dir} from sysprops.
o Extracting values for resolution from POM properties before POM instance during POM interpolation, and adding checks to guard against self-reference of POM elements.
o Added three ITs (one contra) to test these resolutions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291735 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 20:29:20 +00:00
Brett Leslie Porter
beb46f35a6
use expression instead
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291653 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 16:11:26 +00:00
Brett Leslie Porter
9500c55d86
set assembly directory
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291652 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 16:10:17 +00:00
Brett Leslie Porter
27bc0aea4d
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291643 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 15:30:36 +00:00
Brett Leslie Porter
80c8e188b8
[maven-release-plugin] prepare release maven-2.0-beta-2
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291641 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 15:18:55 +00:00
Brett Leslie Porter
fdfe084071
add missing import
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291637 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:56:55 +00:00
Brett Leslie Porter
2d69f3a9d6
exclude cli/lang - not needed for cli
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291633 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:41:03 +00:00
Brett Leslie Porter
ed370a6382
allow both error and failure exceptions from mojos instead of just checking for a null cause
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291632 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 14:40:17 +00:00
Jason van Zyl
853028dfab
o adding method to the maven project builder that takes a transfer listener
...
as a parameter. this method is currently being used in the embedder
o see MNG-1015 for notes on where the monitor may be bested placed. if
everything eventually uses the embedder then it won't matter so much.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291499 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 00:23:33 +00:00
Jason van Zyl
1936ab200b
o slowly (and safely) trying to make bits extractable from here so that i
...
can integration it into the embedder and then use the embedder for the
o it-plugin
o maven cli
o ant tasks
o eclipse m2 plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291435 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 16:06:28 +00:00
John Dennis Casey
3f3d07908d
Adding validation of @requiresProject and @requiresOnline to PluginManager.executeMojo(..), in order to centrally block mojos from executing under the wrong conditions.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291422 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 15:03:59 +00:00
John Dennis Casey
410d22e73c
Rolling back the release plugin's dependencies to -beta-1 of maven, and making resolvePluginVersion(..) with the flag for processAsReport public again with deprecation, so the release plugin continues to function into the next release.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291420 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 14:49:27 +00:00
Brett Leslie Porter
c5c6c6b7b1
add first segment to list
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291357 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 01:55:26 +00:00
Brett Leslie Porter
661051200d
no root project in reactor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291251 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 05:24:15 +00:00
Brett Leslie Porter
0fbd59f4f8
split command to narrow down NPE in integration environment
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291250 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 04:56:39 +00:00
Brett Leslie Porter
c24680e912
split command to narrow down NPE in integration environment
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291246 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 04:16:12 +00:00
Brett Leslie Porter
3e264f80ba
PR: MNG-208
...
flag project that was the root of execution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291236 13f79535-47bb-0310-9956-ffa450edef68
2005-09-24 02:18:54 +00:00
John Dennis Casey
24a108a674
Resolving: MNG-767, MNG-768
...
o We should have a viable offline mode now. Plugin sensitivity updates to follow.
o See it0069 and it1014 for offline mode tests.
o Brett, building maven-plugins in offline mode with org/apache/maven/plugin/* removed will now give a nice error message. :)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291124 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 14:23:08 +00:00
Brett Leslie Porter
12a5cf7169
PR: MNG-517
...
improve error reporting on invalid lifecycle goals
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290899 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 06:58:15 +00:00
Brett Leslie Porter
d32678b6ee
PR: MNG-870
...
correct method name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290891 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 04:50:08 +00:00
Brett Leslie Porter
3d9c4031ab
PR: MNG-870
...
add missing delegator
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290890 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 04:46:49 +00:00
Brett Leslie Porter
cebbdaf1ce
PR: MNG-870
...
MAke plugin discovery reactor aware
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290887 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 04:34:41 +00:00
Brett Leslie Porter
45274f094d
don't use these java reports as defaults just yet
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290869 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 01:01:53 +00:00
Brett Leslie Porter
3af4a18f48
PR: MNG-575
...
Submitted by: Jesse McConnell
Reviewed by: Brett Porter
Add a way to configure permissions on deployed files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290660 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 08:53:46 +00:00
Brett Leslie Porter
ec2ece5a3b
PR: MNG-902
...
add default reports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290654 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 08:40:42 +00:00
Brett Leslie Porter
965dda3fbf
PR: MNG-917
...
don't overwrite dependency artifacts if they were already created
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290646 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 07:36:39 +00:00
Brett Leslie Porter
e88e09c282
PR: MNG-629
...
fork lifecycle for reports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290637 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 07:03:22 +00:00
Brett Leslie Porter
8858d8f85c
PR: MNG-629
...
preparing for executing the lifecycle by passing reports into the site plugin, rather than extracting them from the plugin manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290634 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 06:45:50 +00:00
John Dennis Casey
83d67e6f81
Resolving: MNG-929
...
o Fixed DefaultMaven to use the release-pom.xml for MavenProjects loaded via <modules/> if the parent project is loaded from release-pom.xml
o Adjusted tests to have dependencyManagement.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290539 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 19:28:54 +00:00
Kenney Westerhof
7009b9e799
Fixed MNG-908: set the contextClassLoader to the classrealm of the
...
currently executing plugin, so that both getClass().getClassLoader()
and Thread.currentThread().getContextClassLoader() return the same
classloader (and hence resources).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290040 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 01:29:18 +00:00
Brett Leslie Porter
06ab86cb54
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289368 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 02:57:16 +00:00
Brett Leslie Porter
5632e45815
[maven-release-plugin] prepare release maven-2.0-beta-1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289366 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 02:50:12 +00:00
Brett Leslie Porter
139efa3bdf
finish correcting spelling of prerequisites
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289355 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 01:11:42 +00:00
Brett Leslie Porter
7c57e8db00
rollback system properties change, it didn't do what I thought it did
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289147 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 04:52:10 +00:00
Brett Leslie Porter
59c6e617ff
clean up CLI
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289145 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 04:36:15 +00:00
John Dennis Casey
2f2db94232
Re-resolving: MNG-757
...
o Added it0068 to guard against regressions of the type causing MNG-836
o Added it2001, which must be run manually, to verify the test case laid out in MNG-757
o Reinstated the repository accumulation for successive traversal down the transitivity chain, so that transitively resolved artifacts can be found in repositories declared by POMs up the chain.
o Added a check for 'file:' at the beginning of the Settings.getLocalRepository() result, before prepending 'file://' to allow for relative definition of the local repository in test cases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280755 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 03:40:17 +00:00
John Dennis Casey
99a040d047
Adding ability to directly specify parameters that conflict with reserve expression roots.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280660 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 21:15:31 +00:00
Kenney Westerhof
4aa55430cf
o Put modello-maven-plugin under dependencyManagement and chose version
...
1.0-alpha-5-SNAPSHOT for all so they're all the same.
o Updated modello plugin invocations in all poms to by adding execution elements
and fixing goals section to get rid of deprecated notation.
o Removed dependency on modello-core in maven-plugin-tools; it seems it
was there because maven-plugin-tools-java used StringUtils from modello -
changed that to use the plexus-utils version.
o Reversed commons-cli version back to 1.0 (brett asked me to, a few days back).
o Updated all models to use fully qualified classnames - do not assume
java.util.* is included! (it won't be anymore from modello
1.0-alpha-5-SNAPSHOT onward).
o Added some <?xml processing instructions to some models that didn't have them
- vim now recognizes these files as XML (so I get syntax highlighting :))
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280539 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 11:41:52 +00:00
Brett Leslie Porter
3a4b91b310
PR: MNG-613
...
push shared code into metadata manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280232 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 01:23:23 +00:00
Kenney Westerhof
570bc62482
fix MNG-755 (MNG-720). GnuParser's interpretation of the commandline conforms
...
to m2's idea about options; PosixParser doesn't.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279574 13f79535-47bb-0310-9956-ffa450edef68
2005-09-08 15:22:01 +00:00
John Dennis Casey
6d4537dc97
Adding POM-level properties.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279572 13f79535-47bb-0310-9956-ffa450edef68
2005-09-08 15:08:57 +00:00