Jason van Zyl
db9f372f07
o putting the description of active ITs in a single file and modifying Dan's perl script to use that
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@463306 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 16:28:11 +00:00
Carlos Sanchez Gonzalez
eac33e1c89
Added docs about format of tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@415470 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 00:50:03 +00:00
Carlos Sanchez Gonzalez
4a80148011
[MNG-2357] Add missing it tests
...
Submitted by: Jerome Lacoste
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@413090 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 16:52:52 +00:00
Kenney Westerhof
45748e167d
PR: MNG-2293
...
Submitted by: Jerome Lacoste
Reviewed by: Kenney Westerhof
Modifications: minor cosmetic changes.
Add an 'implementation' parameter to @parameter annotation, so
a default implementation can be specified in Mojo's in case the Mojo parameter
is an interface.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@413054 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 14:30:57 +00:00
John Dennis Casey
f810fd2ef2
Merging from 2.0.x branch, revIds:
...
- 391163:391165
- 391167
- 391176
- 391202
- 391326
- 391328:391329
- 391398
- 391402
- 391404
These are the changes for the 2.0.4 RC's.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@391687 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 17:43:35 +00:00
John Dennis Casey
bd6aa12253
(Merged from 384847.) [MNG-2136] Modifying <activeByDefault/> processing to only use profiles embedded in the POM as a basis for computing whether or not to activate.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384851 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 17:00:30 +00:00
John Dennis Casey
e352f2cb8b
(Merged from 384319.) [MNG-2052] Verify that fix for MNG-2124 also fixed the availability of profile-injected properties as sources for interpolating systemPath values in dependencies.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384321 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 20:30:14 +00:00
John Dennis Casey
fc77014cfe
(Merged from 384264.) [MNG-2124] Fixed interpolator to call the ReflectionValueExtractor method that prevents trimming the first expression token, since this is done in the interpolator itself. I'm still investigating whether this is going to break realignment of File instances to basedir during plugin parameter injection, but I've had to adjust it0088, since it is not handling project.build.directory as a File, but as a String.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384270 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 17:04:47 +00:00
John Dennis Casey
d69fe06e8d
(Merged from 384104.) [MNG-2130] Re-adding the cache check for parent POMs in assembleLineage(..) when building in a multimodule scenario (if they're part of the same build, but not yet in the local repo) before checking the parent's relativePath value or hitting the repository system to look for them.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384108 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 03:29:41 +00:00
John Dennis Casey
d201131b59
(merged from 382460.) [MNG-1415] Added quoted-argument reconstruction to MavenCLI, and quote preservation to the shell scripts. Both are necessary to fix this issue. Test is it0098.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382461 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 18:18:06 +00:00
John Dennis Casey
d0fd1579a9
[MNG-2068] Adding integration test.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@380862 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 23:30:50 +00:00
John Dennis Casey
5bdc77bd16
[MNG-2054] Adding integration test.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@380858 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 23:16:20 +00:00
John Dennis Casey
6fb187fa98
[MNG-2006] Fixing url rewriting for child POMs in sibling directories of parent POM (or anything other than subdir). First guess is based on parent POM file, but if parent POM is built from repository, will use the module artifactId as a basis instead.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379572 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 20:10:52 +00:00
Brett Leslie Porter
63bd51b39c
rename itest - it is meant to fail and these are in the 1xxx series
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379354 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 05:48:51 +00:00
Carlos Sanchez Gonzalez
36093a18b0
Added test case it0094 for classloading issues in plugins
...
PR: MNG-1898
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379268 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 22:51:50 +00:00
Jason van Zyl
ac4a6e321f
o updating README.txt and adding another IT for the duplicate IDs
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@375456 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 03:36:52 +00:00
Brett Leslie Porter
d00407471a
[MNG-1908] verify that snapshots can be downloaded even without metadata or timestamping
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@375454 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 03:16:14 +00:00
Jason van Zyl
95189e189e
[MNG-1980] Removing the duplicate ID, the reactor will catch duplicate IDs in a single build so it doesn't not need
...
to be checked for in the project builder. I have removed the model caching for now while I'm refactoring
the project builder. The plan is to break the 1000+ lines down into its constituent components and use
a pipeline to build up the project.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@371079 13f79535-47bb-0310-9956-ffa450edef68
2006-01-21 16:36:06 +00:00
John Dennis Casey
636d54c0a8
Adding new IT to try to test MCHECKSTYLE-10.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@367788 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 20:42:42 +00:00
John Dennis Casey
38903be78d
Adding integration tests for plugin classloading.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@367450 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 01:14:38 +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
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
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
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
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
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
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
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
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
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
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
8eae3413e8
remove duplicate integration test (same as it0043)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289232 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 13:46:44 +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
37d3fd3fdd
Resolving: MNG-814. Enabled import of explicit activation and deactivation of profileIds from the external profile manager to the project-level profile manager. See it0067.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280629 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 19:27:34 +00:00
John Dennis Casey
459737fa5f
Resolving MNG-851. Using MavenProject.getFile() rather than constructing new. Also fixed maven-deploy-plugin with similar bug.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280405 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 20:08:01 +00:00
Brett Leslie Porter
400a15c700
add integration test for parent.getBasedir()
...
could be used for other such tests in future
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280305 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 09:27:57 +00:00
Jason van Zyl
44fcb165b4
o adding note about it0064
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279994 13f79535-47bb-0310-9956-ffa450edef68
2005-09-10 11:56:33 +00:00
John Dennis Casey
8201bb9d18
Adding system scope...uses scope == 'system' and systemPath in dependency. SystemPath was chosen over mappings inside the setings.xml for scalability, heritability, and injectability (via managed deps).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264960 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 07:39:01 +00:00
Brett Leslie Porter
294199b388
PR: MNG-761
...
fallback to deployment repository for snapshots when there is no snapshot repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240175 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 07:26:03 +00:00