Commit Graph

101 Commits

Author SHA1 Message Date
John Dennis Casey 154fa37604 PR: MNG-1345
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied Edwin's patch to create the resource-target directory if it doesn't exist. Thanks for the work, Edwin!

Also, I modified this patch slightly per Jerome's suggestion, to fail with a message if outputDir.mkdirs() doesn't succeed. This is fine, since it's within the scope of !outputDir.exists().



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330639 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 21:17:07 +00:00
Jason van Zyl d6984287ef [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328210 13f79535-47bb-0310-9956-ffa450edef68
2005-10-25 00:55:28 +00:00
Jason van Zyl 575c584906 [maven-release-plugin] prepare release maven-resources-plugin-2.1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328207 13f79535-47bb-0310-9956-ffa450edef68
2005-10-25 00:54:30 +00:00
Jason van Zyl c93340a7f5 o fix for MNG-1194 using project.properties in filtering process
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327041 13f79535-47bb-0310-9956-ffa450edef68
2005-10-20 23:38:51 +00:00
Brett Leslie Porter bb3ddd1484 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321454 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 18:56:20 +00:00
Brett Leslie Porter 0aa6a220ce [maven-release-plugin] prepare release maven-resources-plugin-2.0
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321452 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 18:55:59 +00:00
Brett Leslie Porter d095c64b00 update versions in plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321048 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 08:08:16 +00:00
John Dennis Casey 253fce25ae Resolving: MNG-1129, encoding is now a plugin parameter on the resources mojos.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@315021 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 20:11:47 +00:00
John Dennis Casey 28e2b08266 Removing restrictions on adding pluginArtifacts to the test classpath in surefire, since they should go behind the classpath elements from the project...also adding system scope handling to the artifact facotry, so transitive dependencies on system-scoped deps are handled correctly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312958 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 21:20:13 +00:00
Emmanuel Venisse 7f62b569a5 Fix import
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312848 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 09:35:12 +00:00
Brett Leslie Porter 22f316bc89 PR: MNG-1042
Submitted by: Lester Ecarma
Reviewed by:  Brett Porter
only copy resources if the file has changed or doesn't exist


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307351 13f79535-47bb-0310-9956-ffa450edef68
2005-10-09 03:09:51 +00:00
Brett Leslie Porter 510de4fe54 upgrade plexus utils to 1.0.4-SNAPSHOT.
The group ID has changed, so add a bunch of exclusions to ensure the old is not picked up
fix bugs in mboot that wasn't honoring excludes.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307294 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 14:13:31 +00:00
Brett Leslie Porter 1f99e2897d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@294855 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 17:21:13 +00:00
Brett Leslie Porter dcdcb2d836 [maven-release-plugin] prepare release maven-resources-plugin-2.0-beta-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@294853 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 17:20:59 +00:00
Brett Leslie Porter 3854524ce8 use beta-3 for the plugin report
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@294852 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 17:20:27 +00:00
Brett Leslie Porter b4d541a6cf PR: MNG-644
remove deprecated filter settings

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293327 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:03:52 +00:00
Brett Leslie Porter f87dfbf04a PR: MNG-1025
use standard resources for the ear plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293212 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 02:30:06 +00:00
Brett Leslie Porter 78e74cd7fe lining up versions. still use beta-1 where appropriate
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291803 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 00:56:40 +00:00
Brett Leslie Porter cbcf2d48e1 PR: MNG-788
add filtering to the build element


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290877 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 02:52:39 +00:00
Brett Leslie Porter 73eb79c668 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289461 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:46:28 +00:00
Brett Leslie Porter 670aa3a838 [maven-release-plugin] prepare release maven-resources-plugin-2.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289459 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 09:46:12 +00:00
Brett Leslie Porter c44890b92c update dependency and parent versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289378 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 04:30:44 +00:00
Brett Leslie Porter 66869b1f65 PR: MNG-811
Add default excludes after the main excludes are set so that they don't get overwritten.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267436 13f79535-47bb-0310-9956-ffa450edef68
2005-09-03 08:00:53 +00:00
Brett Leslie Porter 7a8c848b01 PR: MNG-788
bring back the "filtering" attribute in resources from m1


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@263841 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 07:18:35 +00:00
John Dennis Casey 09ebb0f615 Resolving: MNG-163
Use MavenProject.addResource(..) and .addTestResource(..) to perform this function. I've built a BuildOverlay to insulate the interpolated, initialized Model's Build instance from runtime changes to these, in a similar fashion to addCompileSourceRoots(..), because I wanted to preserve some compat with plugins using ${project.build.resources}.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@230920 13f79535-47bb-0310-9956-ffa450edef68
2005-08-08 23:06:48 +00:00
Brett Leslie Porter 511af3d3e2 PR: MNG-596
add XSD definition to m2 poms and archetypes



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220079 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 13:58:42 +00:00
Trygve Laugstol e2d7c7622a o Adding missing file.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209427 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 08:01:51 +00:00
Jason van Zyl f04f9ed2a6 o http://jira.codehaus.org/browse/MNG-516
Thanks to Andreas Hoheneder



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209401 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 03:09:21 +00:00
Emmanuel Venisse a029d766ce Update all versions to beta-1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@202001 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 15:29:14 +00:00
John Dennis Casey fcbc5e7d6f Resolving: MNG-495
o Pressing [ENTER] at a plugin update prompt should result in the plugin being registered, as indicated by the prompt.
o Use CLI switch '--no-plugin-updates' to suppress usage of the plugin registry
o Use CLI switch '--update-plugins' to force updated/resolved plugin versions to be registered
o Neither of these has a short CLI option, since we're starting to run out of sensible char options for these types of things.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193082 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 06:03:10 +00:00
Brett Leslie Porter 2ebe7275bf PR: MNG-178
Submitted by: Kenney Westerhof
Reviewed by:  Brett Porter

add filtering support to the resources
(applied with modifications)



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191749 13f79535-47bb-0310-9956-ffa450edef68
2005-06-22 01:21:07 +00:00
Brett Leslie Porter 6cd2e31078 refactoring of the resolveTransitiveDependencies call.
simplified by removing a bunch of duplicated code in addArtifacts - no need to merge, you have the full list. 
separated the original artifacts (dependency artifacts) from the resolved artifacts (getArtifacts)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191667 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 15:32:02 +00:00
Brett Leslie Porter 60f4482686 change <model> to <project> in root tag.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191414 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 07:18:24 +00:00
John Dennis Casey d2e1f3c975 o Adding support for <executions/>, which means multiple runs of the same goal/set-of-goals with different configs.
o Adding @phase declarations for those mojos that seem to be part of the main build, just for completeness
o Added two ITs, to test that <executions/> doesn't mess up the normal operation, and to test multi-execution for a goal.

Should resolve: MNG-172.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190335 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 02:47:57 +00:00
Brett Leslie Porter 45d95aa6fb update parent references to get access to the ci settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189881 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 02:42:40 +00:00
Brett Leslie Porter 420d9a5fca remove old cvs ignore files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188697 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 05:24:51 +00:00
Brett Leslie Porter 5e14491f59 use directory scanner and a sane file copy routine to avoid reading the whole thing into memory first
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178602 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 06:03:11 +00:00
Brett Leslie Porter 2f950bb514 bump versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169997 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 08:39:42 +00:00
Brett Leslie Porter 3d1c04324d use released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169969 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 08:04:45 +00:00
Brett Leslie Porter 7ed8a746d3 update to released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169961 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 07:01:57 +00:00
Brett Leslie Porter bcf66ca8a2 set consistent versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169845 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 16:42:06 +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
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
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 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 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 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 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 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