Commit Graph

311 Commits

Author SHA1 Message Date
John Dennis Casey 8737086036 Adding install step.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354505 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 19:19:35 +00:00
Carlos Sanchez Gonzalez d5f6646670 Use com.sun for jdk tools groupId
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@350040 13f79535-47bb-0310-9956-ffa450edef68
2005-11-30 20:34:10 +00:00
John Dennis Casey 5d95af5f30 Using parent pom with packaging == pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@345311 13f79535-47bb-0310-9956-ffa450edef68
2005-11-17 19:28:49 +00:00
Brett Leslie Porter e30e6ca949 fix bootstrap on Windows
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@345178 13f79535-47bb-0310-9956-ffa450edef68
2005-11-17 03:39:28 +00:00
Brett Leslie Porter ade5ee1d50 match up bootstrap artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@345001 13f79535-47bb-0310-9956-ffa450edef68
2005-11-16 13:17:50 +00:00
John Dennis Casey 5f190db3d6 Adding test case for MNG-1424.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@344260 13f79535-47bb-0310-9956-ffa450edef68
2005-11-14 23:04:56 +00:00
John Dennis Casey 223b12ba90 Adding test case for preserving system scope on transitively resolved deps.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330681 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 01:39:23 +00:00
Brett Leslie Porter 12646a1c4e correct packaging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330025 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 11:10:26 +00:00
John Dennis Casey 3889f9ac96 PR: MNG-1101
Fixed dependency-exclusion propagation to the release-pom.xml, and changed the pom-file handling for release:perform to allow non-standard POM filenames, and to prompt in the case where the POM being used is the release-pom.xml.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329946 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 01:11:05 +00:00
Jason van Zyl d33fea54f0 o using javax.servlet
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329344 13f79535-47bb-0310-9956-ffa450edef68
2005-10-29 01:22:08 +00:00
John Dennis Casey f8bfe26de7 Changed to reference servletapi artifacts that are in the repository (2.3), or exclude servlet-api-2.4.*
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329282 13f79535-47bb-0310-9956-ffa450edef68
2005-10-28 20:18:46 +00:00
Brett Leslie Porter 98b21e8b97 fix incorrect test: deps at same level are indeterminate. Put desired version at top level.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327765 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 08:33:52 +00:00
Brett Leslie Porter a07d3b08f0 add dep on plugins until backwards compatibility is restored
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326400 13f79535-47bb-0310-9956-ffa450edef68
2005-10-19 05:36:07 +00:00
Brett Leslie Porter 3ea056c928 PR: MNG-1233
integration test for scope handling


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326365 13f79535-47bb-0310-9956-ffa450edef68
2005-10-19 03:55:43 +00:00
Brett Leslie Porter afdc3bd4af add integration test for MNG-820
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326271 13f79535-47bb-0310-9956-ffa450edef68
2005-10-18 22:09:33 +00:00
John Dennis Casey f685d8605d Resolving: MNG-449, MNG-152, MNG-1090, MNG-1089, MNG-1122
o Removed -cpl and related command line switches for controlling use of LATEST metadata for resolving plugin versions
o Made LATEST the only metadata used to resolve plugin versions, since this is also available when releases are performed
o Added various error diagnostics for project build exceptions
o Enhanced artifact not found error diagnostics
o Removed maven-project and added maven-artifact to maven-surefire-plugin's pom
o Removed the stanza that added pluginArtifacts to the test-booter's classpath...they are already covered by the classpathElements
o Fixed ITs in connection to the removal of -cpl
o Changed the plugin manager to detect whether a plugin's artifact file has changed since the plugin container was created...if so, reload it.
o Took the projecthelp plugin out of the build until I can diagnose the problems with its build (probably tomorrow).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312827 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 07:35:33 +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 37f2a94bf2 PR: MNG-1088
if plugin is not built yet, go to the repository

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@306547 13f79535-47bb-0310-9956-ffa450edef68
2005-10-06 07:10:49 +00:00
Brett Leslie Porter 98d9d94424 use new jline-less input handler
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@306535 13f79535-47bb-0310-9956-ffa450edef68
2005-10-06 06:00:25 +00:00
John Dennis Casey 01e24b5473 Resolving: MNG-1055
o Adding error diagnoser for ProfileActivationException, and an IT to test the formatting.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@295096 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 19:52:30 +00:00
John Dennis Casey 79cad82736 Resolving: MNG-1021, MNG-1049
o Added check for projectArtifact.isResolved() before attempting to read the model from it within DefaultMavenProjectBuilder, otherwise, stub out a dummy model just like if an ArtifactResolutionException occurs.

o Disabled metadata handling for AttachedArtifact...attachments should be slaves to the main artifact, deriving version info and metadata from it.

o Cleaned up entry for it2003 in maven-core-it/README.txt...that test has been removed.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@295069 13f79535-47bb-0310-9956-ffa450edef68
2005-10-05 18:31:37 +00:00
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