Commit Graph

279 Commits

Author SHA1 Message Date
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
Brett Leslie Porter d4db7b3304 fix old api reference
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289634 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 19:03:06 +00:00
Brett Leslie Porter 29cd88daaa fix plugin repository definitions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289623 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 18:00:26 +00:00
John Dennis Casey 66dddfc944 Resolving: MNG-881. This had to do with resource-list merging when the performRelease profile was activated. See MNG-895 for full resolution (this is a stop-gap solution for now).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289599 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 16:27:33 +00:00
John Dennis Casey dca4ae4518 Resolving: MNG-886
o Added complex test case for the release plugin, called it2002.
o Added copying of reportArtifacts and extensionArtifacts sets when one MavenProject is constructed with another.
o Added some logging statements to PrepareReleaseMojo, which I will remove later when I'm done with this rash of bugfixes.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289294 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 19:21:28 +00:00
John Dennis Casey c9de4b6e9a Trying to adjust to work with OSX.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289290 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 19:11:16 +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
Brett Leslie Porter 17110b5248 linking up the IDs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289183 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 09:13:28 +00:00
John Dennis Casey 30ee4ffdcd Cleaning up faulty logic in MavenMetadataSource related to the last commit, and updating the it2001 test to (hopefully) straighten out the repository definitions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280761 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 04:13:38 +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