Commit Graph

290 Commits

Author SHA1 Message Date
Brett Leslie Porter 51489cd0fd PR: MNG-956
allow the addition of <dependencies> inside a <plugin> element to introduce plugin specific extensions.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293557 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 07:15:36 +00:00
Brett Leslie Porter d8875a4f7d PR: MNG-818
allow a certain artifact type to designate it includes its dependencies already, disabling transitivity



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293535 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 05:25:40 +00:00
John Dennis Casey e6dcc36ed5 Resolving: MNG-449, MNG-832
o If the metadata version is still in the plugin artifact after it's resolved, then simply return null and allow the plugin version resolution process to fail.

o Added a new mojo to update the plugin registry (if it's enabled) with newly installed versions of plugins.

o Added comments to maven-settings and maven-plugin-parameter-documenter poms marking the packageWithVersion config as deprecated pending modello alpha-5

o Cleaned up it0013 and it0020 to work with the new resolution (point one above).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293520 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 04:19:40 +00:00
John Dennis Casey 53ccb4ffb0 Resolving: MNG-1021
o Added AttachedArtifact, and changed the DefaultMavenProjectHelper to create and attach artifacts of this type. AttachedArtifact uses a parent artifact (constructor parameter) for versioning and basic identity attributes, but requires the user to specify a type and classifier specific to the new artifact. We may want to add flexibility for artifactId, too...though I have reservations on that score.

o See it0079 for a test.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293497 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 02:54:49 +00:00
John Dennis Casey 6632dfeb0d Adding IT for MNG-1052, to test that compiler plugin configuration from the pluginManagement section is injected with the addition of the implicit plugin instance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293456 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 21:50:35 +00:00
Brett Leslie Porter 3c53b31ce0 move marmalade code out of main bootstrap, into sandbox.
it should be moved to the marmalade project (either a straight import, or doing an svndump of that area of the repo).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293363 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 14:50:34 +00:00
Brett Leslie Porter 01aee704da fix tests in accordance with removed deprecations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293353 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:58:48 +00:00
Brett Leslie Porter bea5e00e1e use classworld dep instead
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293258 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 05:49:59 +00:00
Brett Leslie Porter ae9e9d3fd0 use an artifact still in the repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293242 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 05:04:12 +00:00
Brett Leslie Porter 8551d41eaa add it0068/it0069 to the list of tests to run
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293228 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 03:58:15 +00:00
Brett Leslie Porter 56d55b8f8e PR: MNG-932
add a goal for creating a jar from the test sources


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293227 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 03:53:48 +00:00
Brett Leslie Porter f2fea7422b fix test project
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293189 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 00:38:59 +00:00
Brett Leslie Porter ad0d7ac805 check errors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293074 13f79535-47bb-0310-9956-ffa450edef68
2005-10-02 05:26:39 +00:00
John Dennis Casey 47d9a60537 Working on: MNG-786
o Changed the profile activation in it0075 to use a system property which is not always present

o Added projecthelp:active-profiles, package, and clean:clean to the goals list, in case it was only happening with the clean plugin

o Fixed the projecthelp mojos to be aggregators where appropriate

o Changed the ordering of modules in the profile injector (used to be that profile modules were prepended; now, they're appended)

NOTE: I still cannot reproduce the described behavior. Dan: Am I missing something WRT the test setup? I changed the activation trigger to be non-inherent, and I'm not using a boolean string to trigger the profile. What am I doing wrong??



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292781 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 15:45:20 +00:00
John Dennis Casey 0b4d79d101 Resolving: MNG-1032, MNG-1033
o Improved the error diagnostics related to artifact resolution errors.

o Added xml-based documentation of supported plugin parameter expressions, including info about how to affect them ('-o' for example), how to specify them (<distributionManagement><repository/> for example in ${project.distributionManagementArtifactRepository}), and what the expressions are actually used for. This can also serve as a basis for creating documentation for plugin parameter expressions on the website.

o Improved the error diagnostics for plugin configuration errors.

o Added a couple of ITs in the 1000 series to test these two error conditions.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292750 13f79535-47bb-0310-9956-ffa450edef68
2005-09-30 14:33:10 +00:00
Brett Leslie Porter 79210385c9 don't rely on target directory as it is cleaned after use
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292437 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 14:08:47 +00:00
John Dennis Casey 3076fb577f Adding goals specification to fix this test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292287 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 20:16:53 +00:00
John Dennis Casey 5ebaf148da Adding file-pattern matching for expected results, along with ability to suppress the default maven.repo.local specification from verifier.properties...also, adding a test case for MNG-1021, to ensure the source artifact has the same build number as the main jar...I cannot reproduce the problem using this test...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292286 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 20:14:35 +00:00
John Dennis Casey 03b6c44316 Resolving: MNG-985...simply fixed merging of plugins from PluginManagement to happen on a plugin-by-plugin basis using individual merge logic from ModelUtils, rather than the wholesale merge logic for plugin lists.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292255 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 18:57:22 +00:00
John Dennis Casey b975bdad38 Resolving: MNG-786...cannot reproduce, but since this is an old issue, I'll close it as fixed just in case. see it0075 for proof.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292233 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 18:18:30 +00:00
Brett Leslie Porter 55dc8586c7 test goal as well
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292134 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 05:55:13 +00:00
Brett Leslie Porter 5c7b9ca408 removed marmalade support from plugin plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292132 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 05:52:19 +00:00
Brett Leslie Porter 67276fab81 windows compatible way of listing goals
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292100 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 03:00:50 +00:00
John Dennis Casey 6829625d1b Added test case to prove that MNG-781 is fixed.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292047 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 21:16:16 +00:00
John Dennis Casey 2e5941be2b Adding it0073.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292027 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 20:02:57 +00:00
John Dennis Casey 2a3f5dfa95 Fixing version of maven-core-it-plugin to make it work with the snapshot repository...also added the snapshot repository.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292026 13f79535-47bb-0310-9956-ffa450edef68
2005-09-27 20:01:47 +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 5a5a5c50ec set correct version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291624 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 13:48:55 +00:00
Brett Leslie Porter 77f8246cf8 set native eol-style
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291478 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 22:07:53 +00:00
Stephane Nicoll 2ee39543f8 Added rar integration test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291397 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 09:18:03 +00:00
Brett Leslie Porter 3265010815 remove files first
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291356 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 01:46:33 +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
Emmanuel Venisse 74903851c4 Fix junit version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290988 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 17:16:05 +00:00
Emmanuel Venisse b3bf5a5e42 Fix junit version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290977 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 16:41:46 +00:00
Emmanuel Venisse 23611891ee Add the correct junit version (surefire need junit version >=3.8)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290973 13f79535-47bb-0310-9956-ffa450edef68
2005-09-22 16:04: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 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
John Dennis Casey 1cb0b566b9 Fixing this integration test by only introducing the system-scoped dependency on Sun JDKs using java.vendor as the distinguishing point, in order to exclude OS X.
Working toward: MNG-869



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290746 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 17:14:30 +00:00
John Dennis Casey 554dd0b525 Resolving: MNG-842
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290572 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 21:47:10 +00:00
John Dennis Casey a67d232228 Resolving: MNG-930
o Fixed profile properties cloning in ModelUtils
o Added properties to the test profile in it2002
o Moved the checkout dir for it2002 to be under target, to make it easier to clean.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290552 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 20:05:08 +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
Brett Leslie Porter 5111375f3a make usable on cygwin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290348 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 04:10:38 +00:00
John Dennis Casey 9d37ffdbbd Removing build directory override.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290340 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 03:12:41 +00:00
John Dennis Casey ec8d262f16 Resolving: MNG-878, MNG-921
o Verified that plugins are added to the list in the model when invoked from the command line (878)
o Reformatted ModelUtils after the profiles-cloning addition
o Added cache-flush for the plugin map in MavenProject
o Moved dependencies for subproject/subproject2 into the parent-project POM, inside a profile
o Added activation property for this new profile into the test.sh script
o Added explicit activation inside of release:perform's m2 invocation for all profile-ids active in the release-plugin's execution.
o Added code to remove the dynamic parts of the POM from the release-pom.xml...it's not meant to be a dynamic version of a POM.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290336 13f79535-47bb-0310-9956-ffa450edef68
2005-09-20 02:59:44 +00:00
John Dennis Casey 74de0709de Resolving: MNG-920, and setting the version of maven-release-plugin to a rev of -beta-1 instead of -SNAPSHOT, to allow locally installed versions to work without tweaking the version locally.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290276 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 21:24:40 +00:00
John Dennis Casey 75db8085e8 Commenting out it0063 until I can get it to work.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290257 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 20:26:01 +00:00
John Dennis Casey 23af50ef4a Resolving: MNG-878, MNG-880 (again)
o Added full resolution of plugins listed in the project hierarchy
o Added better resolution of snapshots within the reactor, and resolution of ${finalName}
o Added usage of fully inherited model for release-pom.xml, to enable convergence of all POM inheritance to a single POM with no parent.
o Improved handling of SCM info in a reactored situation.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290221 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 17:58:46 +00:00
Brett Leslie Porter e24853642c update for consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290029 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 00:27:58 +00:00
Brett Leslie Porter ec9133cc10 updated apis
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289635 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 19:09:21 +00:00