Emmanuel Venisse
f3fa32eebe
o Fix html generation
...
o Categorize reports in "Project Info" and "Project Reports"
o Generate overview page for "Project Info" and "Project Reports" pages
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169372 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 22:47:34 +00:00
Emmanuel Venisse
1eb084ce3e
Report generate directly xhtml file
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169076 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 13:00:47 +00:00
Emmanuel Venisse
040139d102
Generate reports links in menu
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169073 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 12:03:10 +00:00
John Dennis Casey
76c4ceda28
o Added duplicate check for mojo descriptor Parameters
...
o changed the exception(s) throws during mojo descriptor extraction to be derivatives of InvalidPluginDescriptorException
o changed PluginConfigurationException in plugin.descriptor to InvalidPluginDescriptorException
o changed all "true".equals(something) to Boolean.valueOf(something).booleanValue()
o added validation of 'modelVersion' back to [Default]ModelValidator
o Fixed/added tests for new 'modelVersion' validation
o changed all requiresXXX in MojoDescriptor to XXXRequired, and getRequiresXXX():boolean to isXXXRequired():boolean to help maintain bean-ness for future use
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168630 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 17:41:03 +00:00
Brett Leslie Porter
57284e462c
propogate exception
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168546 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 07:07:04 +00:00
Brett Leslie Porter
d17b250fec
- allow multiple versions of a plugin to operate concurrently.
...
- allow specification of a mojo as groupId:artifactId:version:goal
- general removal of more hard coding
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168543 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 07:03:14 +00:00
John Dennis Casey
5877385df1
Final pass on cleaning up the mojo api...collapsed MavenPluginDescriptor and PluginDescriptor in the same way as MavenMojoDescriptor/MojoDescriptor had been; eliminated the need for plugin.descriptor.Dependency and MavenPluginDependency (using ComponentDependencies instead); adjusted the MojoExtractors (name?) to return Lists instead of Sets; added duplicate checking to a new addMojo(MojoDescriptor) method on PluginDescriptor, so we catch it on all sides; changed the Generators to use execute(outputDirectory, pluginDescriptor) rather than the myriad pluginDescriptor-derived values; added an IT for checking that the build for a plugin will fail if multiple mojos are detected with the same goal; and, added a special case to PluginDescriptor.getGoalPrefixFromArtifactId() to handle maven-plugin-plugin. That should be about it. I'm not sure that I've gotten the IT for that failure test added to svn yet, so that may follow.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168481 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:32:08 +00:00
Emmanuel Venisse
892ce50601
Add some info traces.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168224 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 01:04:33 +00:00
Brett Leslie Porter
9ba38545ea
update to latest modello plugin versions
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168134 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:41:33 +00:00
Brett Leslie Porter
24c6328ad3
declare the desired "prefix" inside the plugin descriptor instead of pulling apart the artifact ID (though that is how the default is created).
...
Currently, the reverse is not handled in anyway, so a non-default prefix may not work, but this makes the code easier to isolate.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168099 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 08:17:39 +00:00
John Dennis Casey
690bc67fb9
Added marmalade support back in...it's currently still using the libraries-shovelled-into-core method, but it now uses the new mojo mechanism that uses plexus ComponentConfigurators...had to make the lookup for configurators dynamic for the DefaultPluginManager, too.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168064 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 03:28:41 +00:00
Brett Leslie Porter
e4e862dd61
add copyright
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168037 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 01:18:19 +00:00
Emmanuel Venisse
c20da875f3
Remove System.out
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168033 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 00:50:34 +00:00
Emmanuel Venisse
e9a7f3ce85
Initial version of site generation with repots.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168031 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 00:47:01 +00:00
Brett Leslie Porter
0b0b8f89f3
make it work on any platform
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@167833 13f79535-47bb-0310-9956-ffa450edef68
2005-05-03 00:10:51 +00:00
Brett Leslie Porter
6dd94566ab
PR: MNG-348
...
Submitted by: Vincent Massol
Reviewed by: Brett Porter (applied with some changes)
Add a verifier plugin, for doing integration tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165612 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 09:17:30 +00:00
John Dennis Casey
e94c2611d3
Commenting out marmalade support until I get it converted to the new mojo api.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165364 13f79535-47bb-0310-9956-ffa450edef68
2005-04-30 00:05:36 +00:00
Trygve Laugstol
fbfa68d0b1
o Making sure that non-existing source roots aren't scanned for sources.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165295 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 11:30:03 +00:00
Brett Leslie Porter
a59b1e1d8c
update for the times
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165265 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 06:02:57 +00:00
Emmanuel Venisse
d2f4a77b0c
Add missing import
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165243 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:31:36 +00:00
John Dennis Casey
a58632b9dd
Renamed Plugin.java, AbstractPlugin.java, PluginExecutionRe(quest|sponse) PluginExecutionException to Mojo*
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165238 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:12:09 +00:00
Emmanuel Venisse
0f6db45c22
o check if plugin version is defined
...
o refactor the report execution, it use only the MavenReportConfiguration
o obtain reports list via reportManager.getReports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165232 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:43:33 +00:00
John Dennis Casey
165d4d440e
Adding @readonly annotations to those parameters which should never be directly configured by users...
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165227 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:13:28 +00:00
John Dennis Casey
f95706b14c
o Cleaned up field-level annotation support (especially descriptor extraction, generation, and building)
...
o Converted all "core" plugins (including maven-core-it-plugin) to use field-level annotations
o Removed generation of parameter descriptors for ${/#component.* param specifications.
o Added @readonly for parameters that cannot be overridden by user configuration (List override was dangerous here)
o Added validation against pom-derived configuration for @readonly parameters
o Fixed @parameter alias="" support...now configuration of the mojo instance actually will work with either the real param name or the alias. Would be nice to support multiple aliases, but that might require @alias annotations...
o Added [temporary?] support for null editable attributes for parameters, to support pre-built mojos from the repo.
Annotation support should be just about ready to go...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165225 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:06:11 +00:00
John Dennis Casey
ab91b7f4c2
o Cleaned up field-level annotation support (especially descriptor extraction, generation, and building)
...
o Converted all "core" plugins (including maven-core-it-plugin) to use field-level annotations
o Removed generation of parameter descriptors for ${/#component.* param specifications.
o Added @readonly for parameters that cannot be overridden by user configuration (List override was dangerous here)
o Added validation against pom-derived configuration for @readonly parameters
o Fixed @parameter alias="" support...now configuration of the mojo instance actually will work with either the real param name or the alias. Would be nice to support multiple aliases, but that might require @alias annotations...
o Added [temporary?] support for null editable attributes for parameters, to support pre-built mojos from the repo.
Annotation support should be just about ready to go...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165224 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:05:01 +00:00
Brett Leslie Porter
a5c141c146
fix compile error
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165093 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 04:02:57 +00:00
Brett Leslie Porter
befb54cc12
set correct parent, update wagon dependencies so it doesnt break the deploy plugin when used
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165081 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 01:19:44 +00:00
Brett Leslie Porter
0af9c626a9
put back site, it is working again
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165077 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 01:03:16 +00:00
Emmanuel Venisse
3502cae978
Initial version of reporting integration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165071 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 00:03:26 +00:00
John Dennis Casey
ed14ff454d
Modifying the mojo generators to handle alias, and other missing elements where appropriate. Changed the resources mojos to be as trim as I can, and added @required to the field-level annotations (this might be a good thing to do for all plexus components, dunno if it's there already)...finally, trimmed up the annotation handling in the JavaMojoDescriptorExtractor to push as many annotation fields as possible into the endangered area, and started pulling as much info from the field, other companion annotations on the field, etc. as I can...I think the annotations are there, now. They need to be cleaned up after converting all the core plugins to use field-level annotations, then we're set.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164990 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 15:11:28 +00:00
John Dennis Casey
075812942b
Cleaned up field-level annotations. This will be the flagship example for the new annotation style.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164944 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 04:32:32 +00:00
Brett Leslie Porter
3760f873a1
PR: MNG-167
...
Add the ability for a mojo to "fork" a phase execution, in a separate iteration of the lifecycle.
Add @executePhase generate-sources to idea:idea
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164930 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 01:16:06 +00:00
Brett Leslie Porter
b3033fb746
fix more references to the old package
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164924 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 00:28:05 +00:00
John Dennis Casey
d8d2e34dca
Resolving MNG-221, simplify qdox with field-level mojo parameter annotations
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164872 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 20:30:21 +00:00
Brett Leslie Porter
687d9de104
temporarily disable assembly plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164782 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 12:48:41 +00:00
Brett Leslie Porter
3f5d831fc6
make debug compiling the default
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164740 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 04:31:47 +00:00
Brett Leslie Porter
09764d0531
directories don't always come first - make them if they don't exist
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164394 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 15:21:31 +00:00
Brett Leslie Porter
ade9741a79
forgot one dependency update
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164325 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 03:24:58 +00:00
Brett Leslie Porter
23b8cd0e46
remove unnecessary maven-core dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164322 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 03:12:07 +00:00
Brett Leslie Porter
5c55a20974
update dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164300 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 23:39:23 +00:00
Brett Leslie Porter
874a8c1245
add more use of ${} expressions, fix problem when } was not at end
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164195 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 08:33:34 +00:00
Brett Leslie Porter
c98b557ac8
move artifact factory to maven-artifact
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164178 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 06:16:25 +00:00
Brett Leslie Porter
c289cf4f7f
change expressions to use ${} instead of #
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164171 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 04:32:35 +00:00
Brett Leslie Porter
061614ffb3
update SCM settings
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164155 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 00:57:08 +00:00
Brett Leslie Porter
75499d7155
remove these, build works now
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164150 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 23:52:57 +00:00
Brett Leslie Porter
efebad61dc
deprecate warName in favour of finalName, and add default excludes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163985 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:52:03 +00:00
Brett Leslie Porter
d23c299e0f
correct problem where anything with a modified finalName was not installed/deployed
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163980 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:44:36 +00:00
Brett Leslie Porter
a75e7d2577
improved error handling and other clean up
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163979 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:41:36 +00:00
Brett Leslie Porter
4fe1c64276
clean up exception handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163978 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 04:16:11 +00:00
Brett Leslie Porter
b6b3dafd00
add ability to build a JAR with its dependencies unpacked inside.
...
Currently ignores META-INF in dependencies, though should probably merge things like components.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163966 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 07:07:58 +00:00
Emmanuel Venisse
81ac2805a4
Add my name
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163961 13f79535-47bb-0310-9956-ffa450edef68
2005-04-17 12:35:15 +00:00
Brett Leslie Porter
b2e4433615
utilise the container for populating all mojo configuration, including expressions
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163947 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 04:52:31 +00:00
Brett Leslie Porter
e282435cb9
revert version of plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163946 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 00:54:42 +00:00
Brett Leslie Porter
fe377f236f
remove unused classes, identical to others in configurator
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163943 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 06:28:12 +00:00
Brett Leslie Porter
05ae5c03e3
split the plugin API and the plugin descriptor code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163927 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 05:11:49 +00:00
Brett Leslie Porter
55d33da355
move artifact filters to maven-artifact
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163923 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 04:29:25 +00:00
Emmanuel Venisse
4493e3cbeb
Add site module
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163915 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 21:41:25 +00:00
Jason van Zyl
45541c5564
Initial revision
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163909 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 05:58:10 +00:00
Jason van Zyl
4361a69db0
o when dealing with a single project, make a module for that project.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163906 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 23:43:12 +00:00
Brett Leslie Porter
6b29b08cc7
starting alpha-2 - use updated compiler
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163900 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 13:03:50 +00:00
Brett Leslie Porter
9340e1add7
release alpha-1 plugins
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163870 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 10:05:06 +00:00
Brett Leslie Porter
5bf62bb606
update POM
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163864 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 08:11:00 +00:00
John Dennis Casey
e84b933fb1
Adding hello world marmalade-mojo plugin, and doco on how to write a marmalade mojo.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163858 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 05:34:41 +00:00
Brett Leslie Porter
664a916c17
PR: MNG-258
...
make everything executable so that m2 shell script is (plexus-archiver doesn't presently have any greater control)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163823 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 02:43:56 +00:00
Brett Leslie Porter
e69136dd01
short comment
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163811 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:06:20 +00:00
Brett Leslie Porter
6d30c273a0
repairs on scripts
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163809 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:54:30 +00:00
Brett Leslie Porter
e4030a9545
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163808 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:52:04 +00:00
Brett Leslie Porter
c613181f13
rename assembly plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163806 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:23:44 +00:00
Brett Leslie Porter
d23b13eb35
rename the assembly plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163805 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:21:16 +00:00
Brett Leslie Porter
fbbe91ab1b
Initial revision
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163802 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:20:06 +00:00
Brett Leslie Porter
a7e2faccfa
add dependency handling, and make bugfixes to the assemble plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163798 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 05:11:00 +00:00
Brett Leslie Porter
d4e8050c83
fix deployment
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163796 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 03:51:57 +00:00
Brett Leslie Porter
2cf5c6c0a5
fix build issues
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163793 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 01:49:06 +00:00
Emmanuel Venisse
a9a41aaad4
Fix type for MavenProject
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163781 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:20:28 +00:00
Brett Leslie Porter
9d6fad725a
change @requiresDependencyResolution to take a scope (default is "runtime" if no scope specified, none if tag not specified at all).
...
This still means ALL tests get the test dependencies of their compile time dependencies. Check if there is really a valid use case for that.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163780 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:17:28 +00:00
Brett Leslie Porter
935cda15da
clean up dependencies.
...
Still need to clean up ~/maven2/lib and some large dependencies from marmalade that
shouldn't be needed in general - but down to about a 3Mb repository.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163775 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 04:11:03 +00:00
John Dennis Casey
fcb7a1c14b
o Simplified the ResourcesMojo to eliminate the need for a ResourceEntry class, which is easily replaced by usage of a TreeMap (avoid the NoClassDefFoundError from before SEE MNG-243)
...
o Changed the references to repo1.maven.org for central repository to repo1.maven.org/maven2 in preparation for switchover to ibiblio.org
This will allow us to transparently switch between redirects and CNAME changes for referencing ibiblio.org, since ibiblio will not allow a
vhost for m2 or a rewrite rule...switching the URL for the repo will allow changes to the CNAME (satisfy ibiblio's pathing) while at the same
time allowing the use of redirects (redirect can be at /maven2/index.html rather than /index.html, f.e.).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163772 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 21:32:53 +00:00
Emmanuel Venisse
8be3d2473b
Fix name
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163762 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 12:41:44 +00:00
Brett Leslie Porter
30c4e8e5da
fix plexus version
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163759 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:32:44 +00:00
Brett Leslie Porter
73494eb08e
fix name
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163757 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:04:29 +00:00
Brett Leslie Porter
15dc3811c8
surefire issues
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163756 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 05:41:57 +00:00
Brett Leslie Porter
a6bc152aca
missed from commit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163752 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 04:09:55 +00:00
Brett Leslie Porter
baca1f7841
make surefire and rest of m2 independent of repo layout
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163751 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 03:48:01 +00:00
Brett Leslie Porter
11d160b52d
use surefire pom for surefire dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163749 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 02:57:27 +00:00
Brett Leslie Porter
49593155d0
update poms for releases
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163741 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 16:03:43 +00:00
Brett Leslie Porter
441108375c
remove non-essential plugins from mboot. Still in the bootstrap, as some are required for integration tests.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163739 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 04:44:33 +00:00
Brett Leslie Porter
017ddd0044
mboot required dep
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163731 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 13:38:15 +00:00
Brett Leslie Porter
f1d1446a50
Initial revision
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163726 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 11:26:59 +00:00
Brett Leslie Porter
7d9fca23bb
standard assemly - src
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163722 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 15:58:52 +00:00
Brett Leslie Porter
0f861327fd
standard assemly - bin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163721 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 15:41:23 +00:00
Brett Leslie Porter
9209aaf3b6
make sure compile time dependencies (the default) are bundled too
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163719 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 08:22:24 +00:00
Brett Leslie Porter
0ee892dfdc
change archiving plugins to use a shred archive configuration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163716 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 08:14:52 +00:00
Brett Leslie Porter
d8f4e7e6c9
fix stale source scanner
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163715 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 05:52:07 +00:00
Trygve Laugstol
c8e40de1e4
o Adding <modules>.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163709 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 21:36:47 +00:00
Brett Leslie Porter
e3c15069c5
allow empty JARs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163702 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 06:02:57 +00:00
Brett Leslie Porter
b512b2e7a2
fix bad message, reformat
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163701 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 05:55:10 +00:00
John Dennis Casey
67830a13fb
o Adding source-scanner support, for selectively including source files to be compiled, or processed in some way. This is going to be a core-plugin facility, so it's in maven-plugin.
...
o Added support to maven-compiler-plugin for a source scanner to determine the files that actually need recompiling...currently based on lastModification date.
o All of this stuff needs a good integration test, but it shouldn't mess any existing functionality up for now. Unit tests for the scanner stuff are included.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163698 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 05:28:08 +00:00
Brett Leslie Porter
5db2c4cf56
rewrite POM with new version on deployment
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163689 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 12:22:05 +00:00
Brett Leslie Porter
b9de151229
fix deploy/install os standalone POMs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163688 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 11:57:47 +00:00
Brett Leslie Porter
e697f5bd8c
deploy/install POMs as a type of metadata so they are done atomically
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163687 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 10:30:58 +00:00
Brett Leslie Porter
3f0f786e67
transform deployment of SNAPSHOT.
...
Currently, the POM and artifact are deployed separately, causing an inconsistent version to be written out.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163684 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 08:45:37 +00:00
Brett Leslie Porter
14bb2c805a
change the maven group ID
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163670 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 06:52:55 +00:00
Brett Leslie Porter
b84d4bc35e
revert <includes> and <excludes> in MDO to old format
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163666 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 14:26:28 +00:00
Brett Leslie Porter
b022c6038f
remove pom plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163665 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:52:24 +00:00
Brett Leslie Porter
1e121e8d1a
convert plugin plugin to new execute()
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163664 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:44:17 +00:00
Brett Leslie Porter
c5d7cd804c
convert surefire plugin to new execute()
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163663 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:40:14 +00:00
Brett Leslie Porter
8a720065d5
fix license
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163662 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:34:29 +00:00
Brett Leslie Porter
d0de5773b3
convert resources mojo to new execute().
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163661 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:33:29 +00:00
Brett Leslie Porter
964aa52888
convert install mojo to new execute().
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163660 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:30:48 +00:00
Brett Leslie Porter
092c2f75cf
convert archive mojos to new execute(). More work is required to reuse the common fields.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163659 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:25:58 +00:00
Brett Leslie Porter
f385f562f0
convert deploy mojo to new execute()
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163658 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 12:36:36 +00:00
Brett Leslie Porter
d8bed9bc6c
convert compiler mojo to new execute()
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163657 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 12:29:30 +00:00
John Dennis Casey
590e952f02
CHANGES
...
------------------------
o Factored the layout for a repository into a separate set of components in o.a.m.a.repository.layout
o Added new DefaultRepositoryLayout that uses the repo layout in http://docs.codehaus.org/pages/viewpage.action?pageId=22230 (it is not used by default until we get the repo1 conversion done)
o Added command-line switches to force legacy local-repo or new format (-a/-A, I know, but try to find something that makes more sense!)
o Added path formatting to the repository itself, which is now constructed with a ArtifactRepositoryLayout instance (since layout should be tied to the repository)
o Removed path formatting altogether from the DefaultArtifactHandlerManager.
o Changed the AbstractArtifactBasedComponent (or whatever it's called) to use the repository formatting in the path() and localPath() methods.
o Moved the plugin repo construction (still intact as a hard-coded singleton list) into the DefaultMavenProjectBuilder, where it will eventually build from POM info.
o Added a new method to build an artifact repository for a <distributionManagement/> section, if possible. This reduced the strain on mojos to construct an ArtifactRepository on demand.
o Refactored all *DeployMojo to use #project.distributionManagementArtifactRepository instead of the #settings, #component..ArtifactRepositoryFactory, ... that it used to require. This is a big simplifying step.
o Removed remote artifact repository construction from DefaultMaven, and changed the MavenSession to delegate to MavenProject for remoteArtifactRepositories, just as it does for pluginRepositories.
o Added remoteArtifactRepositories, pluginArtifactRepositories, distributionManagementArtifactRepository to MavenProject as a cache for the higher-level repos used throughout the system. This is project info, so it belongs here.
o Fixed all the tests in maven-core and maven-artifact which I broke. :)
o Dropped what is probably a big format-bomb, since the Eclipse formatter doesn't really handle 'throws Exception' wrapping the right way.
o Added MavenProject to the MavenSession constructor, since there should always be a MavenProject associated with a build, even if it's just the super-pom.
TODO:
--------------------------
- Write an integration/unit test to ensure that the new repo format works with $classifier (was: $extra) and $groupId[0]/../$groupId[n]. This is a simple adaptation of the old layout, but still needs testing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163638 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 08:18:34 +00:00
Brett Leslie Porter
e1f51a9ad4
make the assembly mojo work, and use field type
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163637 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 07:59:28 +00:00
Brett Leslie Porter
1f757e62d9
fix for assembly MDO
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163636 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 07:23:48 +00:00
Brett Leslie Porter
28e193d14c
AbstractLogEnabled is needed for archiver (not transitive in mboot)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163634 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 06:07:35 +00:00
Brett Leslie Porter
f5bd920140
make the detection cleaner to make it easier to clean up later
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163628 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 04:00:46 +00:00
Brett Leslie Porter
dab33490a5
most basic of field based plugins
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163627 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 03:49:17 +00:00
Brett Leslie Porter
8e9ec9c892
move log to AbstractPlugin, out of request. Request now contains only parameters (will move to fields) and marmalade context (can move to marmalade mojo wrapper)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163622 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 00:07:39 +00:00
Carlos Sanchez Gonzalez
6e21de0ed2
Moved to sandbox
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163620 13f79535-47bb-0310-9956-ffa450edef68
2005-03-20 17:03:53 +00:00
Brett Leslie Porter
82d693b967
add zip, jar, and some notes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163613 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 12:36:49 +00:00
Brett Leslie Porter
df6e78a104
work around issue
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163606 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 01:14:11 +00:00
Brett Leslie Porter
99b5fe6d9f
flesh out assemble mojo
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163603 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 23:59:07 +00:00
Carlos Sanchez Gonzalez
75951aa79d
Mojo to manage repository
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163599 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 15:02:46 +00:00
John Dennis Casey
e9a9323812
o Changed maven-user-model/UserModel/UserModelBuilder to maven-settings/MavenSettings/MavenSettingsBuilder.
...
This supports a change to a simpler local configuration file (~/.m2/settings.xml by default), which has the general format of:
<settings>
<profiles>
<profile>
<active>true</active> <!-- not needed if this is the only profile -->
<localRepository>/path/to/repo</localRepository>
</profile>
.
.
.
</profiles>
<servers>
<server>
<id>myserver</id>
<username>me</username>
<password>mypass</password>
<privateKey>/path/to/key</privateKey>
<passphrase>key-passphrase</passphrase>
</server>
.
.
.
</servers>
<proxies>
<proxy>
<active>true</active> <!-- not needed if this is the only proxy -->
.
.
.
</proxy>
.
.
.
</proxies>
</settings>
o Added special parameter named '#settings' which simply injects the current MavenSettings from the MavenSession into the request parameters.
o Adjusted the it-verifier and mboot2 accordingly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163578 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:29:35 +00:00
Brett Leslie Porter
2f89f1e94d
handle POMs correctly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163568 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:27:37 +00:00
Brett Leslie Porter
39e571068d
handle POM properly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163567 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:26:32 +00:00
Brett Leslie Porter
0f42ee716d
updated to match deploy plugin, until it can be removed
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163566 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:19:19 +00:00
Brett Leslie Porter
5c1f5b1e57
PR: MNG-52
...
change type of maven plugins to "maven-plugin" instead of plugin.
This should allow other products to have different plugin types, if necessary.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163562 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 22:31:54 +00:00
John Dennis Casey
4d1ca8da33
o Removed AuthenticationInfoProvider stuff
...
o Added ArtifactRepositoryFactory stuff to construct with AuthenticationInfo if possible.
o Added UserModelBuilder stuff for componentizing UserModel construction.
-> DefaultUserModelBuilder has a configuration point 'userModelPath' which can redirect where it reads user.xml from (${user.home} is substitutable here).
o Added warning message to deployment plugin when deployment repo has no authentication info available.
o Added warning message for repos with null <id/> (auth info cannot be assigned here).
o Added a couple of debug-level messages for aid in debugging repo- and userModel-related problems.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163558 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 21:41:06 +00:00
Brett Leslie Porter
ba06a10501
some clean up
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163552 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 02:50:58 +00:00
Brett Leslie Porter
9fb34fca1b
remove test inclusion
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163551 13f79535-47bb-0310-9956-ffa450edef68
2005-03-14 23:32:56 +00:00
Brett Leslie Porter
c1d51c88c1
Initial revision
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163540 13f79535-47bb-0310-9956-ffa450edef68
2005-03-13 01:37:58 +00:00
Brett Leslie Porter
c6978405cf
add source and target
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163535 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 06:10:37 +00:00
Emmanuel Venisse
f83e267925
Roll back debug changes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163521 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 17:16:23 +00:00
Emmanuel Venisse
2ef5d9ad39
initial version of EJB plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163520 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 17:14:39 +00:00
Emmanuel Venisse
dd2d1738a7
Remove todo. Properties doesn't exists on dependencies now.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163518 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 09:53:47 +00:00
Emmanuel Venisse
abbecd7c82
Remove unused classes.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163516 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 09:37:44 +00:00
Emmanuel Venisse
de167c3e10
Add Package in manifest from plugin configuration.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163515 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 09:36:44 +00:00
Brett Leslie Porter
a44b6f9726
flip pom format
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163511 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 01:35:25 +00:00
Emmanuel Venisse
a90ea9bc76
Add dependencies in war and add support of scope deps
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163502 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 06:45:33 +00:00
John Dennis Casey
7f6f4452f2
o Changed Set to List for remote repo handling so that we can maintain declarative ordering in remote repos we use.
...
o Added UserModel support, integrated with maven-artifact and wagon via AuthenticationInfoProvider implementation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163501 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 05:48:31 +00:00
Brett Leslie Porter
1fe8c76a3d
move all artifact creation to artifact factory - further refactoring planned
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163499 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 02:39:10 +00:00
Brett Leslie Porter
6c23c73b8d
error handling on pom:deploy
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163497 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 18:35:00 +00:00
Brett Leslie Porter
24a8a801e9
make pom:deploy work
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163495 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:58:27 +00:00
Emmanuel Venisse
c25b897413
Fix integration tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163493 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:39:50 +00:00
Brett Leslie Porter
8d604a1088
scoping
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163491 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:19:59 +00:00
Brett Leslie Porter
1d615cd239
turn on logging, resolve some issues surrounding test dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163473 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 23:02:43 +00:00
Brett Leslie Porter
d514fff118
clean up
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163472 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 22:08:23 +00:00
Emmanuel Venisse
482684e3cc
Initial version of war plugin.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163471 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 21:46:14 +00:00