Commit Graph

225 Commits

Author SHA1 Message Date
John Dennis Casey c933da0504 Generalized error diagnosis for use outside of maven-core. This allows us to print diagnostic messages in the Ant tasks, for instance (these modifications are also included), and share diagnosers between multiple uses (maven-core, maven-artifact-ant, for example). This should help with MNG-784, but I'll verify that before I close it.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314804 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 06:46:29 +00:00
Brett Leslie Porter fedf519399 PR: MNG-1179
Submitted by: Jerome Lacoste
Reviewed by:  Brett Porter
add ability to pass a settings file to mboot


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314765 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 03:37:13 +00:00
Brett Leslie Porter 8c49bbda97 fix metadata writing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314754 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 02:31:29 +00:00
Brett Leslie Porter a440e6b07f update latest
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312992 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 01:16:31 +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 3510e98e3f PR: MNG-962
unify defaults excludes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312503 13f79535-47bb-0310-9956-ffa450edef68
2005-10-09 22:09:21 +00:00
Brett Leslie Porter 279742edf8 use method that works on JDK 1.4
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307377 13f79535-47bb-0310-9956-ffa450edef68
2005-10-09 07:06:47 +00:00
Brett Leslie Porter c40ed7af8d copy snapshot file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307376 13f79535-47bb-0310-9956-ffa450edef68
2005-10-09 07:00:14 +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 c958dc0f46 update version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293589 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 11:49:34 +00:00
John Dennis Casey 63b3f71f6d Fixing error messages related to invalid plugin configuration, similar to the instantiation exception for ArtifactRepository when there is no deployment repository...
o Moved the parameter documentation reader to a separate project, so that I can use Modello.
o Added some more parameter documentation.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293410 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 18:06:00 +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 2056cde772 PR: MNG-644
remove deprecated method in mboot

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293333 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:14:47 +00:00
Brett Leslie Porter c5acaded88 upgrade to plexus 1.0-alpha-7 container, switching to new group ID
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293193 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 00:54:01 +00:00
Brett Leslie Porter d8f499ddeb sync up mboot to changes in artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292429 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 13:28:42 +00:00
Brett Leslie Porter 687b41ede8 remove legacy metadata handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292156 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 10:12:38 +00:00
Brett Leslie Porter eaf9a7ef0e update bootstrap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291655 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 16:12:53 +00:00
Brett Leslie Porter 9330158aab fix sclusion parsing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289410 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 07:17:36 +00:00
Brett Leslie Porter 9c1bd7126e let bootstrap handle exclusions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289409 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 07:13:15 +00:00
Brett Leslie Porter 419366246b update bootstrap for beta-2 dev
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289394 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 06:21:08 +00:00
Brett Leslie Porter fd4eb4c1d2 some dependency clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280759 13f79535-47bb-0310-9956-ffa450edef68
2005-09-14 04:08:29 +00:00
Brett Leslie Porter db945f1dd0 fix metadata parsing in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280374 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 17:26:41 +00:00
Brett Leslie Porter 057268bd56 fix metadata parsing in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280372 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 17:06:59 +00:00
Brett Leslie Porter 997774aa7b make sure local snapshot is used in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280362 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 16:21:52 +00:00
Brett Leslie Porter d4df5302fb use local copy in bootstrap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280239 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 02:16:58 +00:00
Brett Leslie Porter ba88f96118 handle flag in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280235 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 01:54:55 +00:00
Brett Leslie Porter 3c4effa04b remote metadata file was incorrect
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280063 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 03:43:23 +00:00
Brett Leslie Porter f11def89c1 write metadata to correct file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279582 13f79535-47bb-0310-9956-ffa450edef68
2005-09-08 17:00:09 +00:00
Brett Leslie Porter ba35fd5965 PR: MNG-613
use new metadata in bootstrap

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279535 13f79535-47bb-0310-9956-ffa450edef68
2005-09-08 08:28:06 +00:00
Brett Leslie Porter 8f3c207194 PR: MNG-613
changes versioning to use repository metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278881 13f79535-47bb-0310-9956-ffa450edef68
2005-09-05 23:12:55 +00:00
Brett Leslie Porter 31e79ea14f minor clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278662 13f79535-47bb-0310-9956-ffa450edef68
2005-09-05 02:12:44 +00:00
Trygve Laugstol ba64a79e28 o maven-repository-metadata has to be built before maven-artifact-manager.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267216 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 14:52:30 +00:00
Brett Leslie Porter 94ab6a4076 act a bit smarter when the remote repo is timing out/offline
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264956 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 07:12:52 +00:00
Brett Leslie Porter e0457b0204 PR: MNG-613
reorganise in preparation for generalised repository metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264091 13f79535-47bb-0310-9956-ffa450edef68
2005-08-29 06:37:33 +00:00
Brett Leslie Porter fcd86eff85 update inline with surefire plugin - *TestCase are included, Abstract*TestCase are not
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240178 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 07:31:18 +00:00
John Dennis Casey fe5a91b0d6 Working on: MNG-483
Fixing profile application to separate profiles discovered in and around POM from those in settings.xml, and apply them separately in the order: 

for-each-project-in-inheritance:{POM, profiles.xml}, settings.xml

Added common interface for accumulating, explicitly activating and deactivating, and retrieving profiles to be applied to a given project. This manager interface (ProfileManager) is general enough to be applicable to both the project-level and settings-level profiles.

Added 'performRelease'-keyed profile to super-POM which will be used by the release plugin and anyone using a parallel process, and which will enable '-DupdateReleaseInfo=true' for the deploy mojo, along with enabling the source attachment for the project.

Added 'attach' parameter to JarSourceMojo to allow local POM to turn off source attachments, overriding release profile in super-pom.

Updated the release:perform mojo to use '-DperformRelease=true' for switching on the new release profile, rather than just using '-DupdateReleaseInfo=true'...



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233013 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 16:31:02 +00:00
Emmanuel Venisse 8400eeeefe oopps, bad test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227331 13f79535-47bb-0310-9956-ffa450edef68
2005-08-04 09:42:09 +00:00
Emmanuel Venisse 98066ab241 Allowed user to defined maven.repo.local if settings.xml file exist
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227310 13f79535-47bb-0310-9956-ffa450edef68
2005-08-04 06:30:13 +00:00
Kenney Westerhof d396f24642 o Put all m2 core dependencies (plexus-container-default and plexus-utils)
under dependencyManagement of m2 and maven-plugins, and removed
  versions in all poms having either as a parent.
  Used version 1.0.2-SNAPSHOT for plexus-utils as that was used in maven-core
  and is not overridable.

o Bumped maven-archiver version to 2.0-beta-1-SNAPSHOT for maven-ear-plugin


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227084 13f79535-47bb-0310-9956-ffa450edef68
2005-08-02 21:34:54 +00:00
Kenney Westerhof 6da771ab70 Fix MNG-508: make mboot use dependencyManagement.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227079 13f79535-47bb-0310-9956-ffa450edef68
2005-08-02 20:36:02 +00:00
Brett Leslie Porter 905befa4c8 snapshot repo separation for mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226763 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 08:28:32 +00:00
Brett Leslie Porter 2b93fb8cc7 snapshot repo separation for mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226761 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 08:23:33 +00:00
Brett Leslie Porter 5aacdad52f snapshot repo separation for mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226760 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 08:17:12 +00:00
Brett Leslie Porter a2f651bbbf this is supposed to be preloaded to the remote repository for integration testing purposes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220218 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 00:08:46 +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
Brett Leslie Porter 5a0904e9fd PR: MNG-366
separate api from implementation keeping most of doxia, reporting and other libraries out of the core



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220009 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 06:54:21 +00:00
Brett Leslie Porter cbf519695c PR: MNG-558
use modello alpha-4: corrected parsing


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219950 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 17:11:13 +00:00
Brett Leslie Porter 473d99609c use new surefire
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219874 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 09:53:29 +00:00
John Dennis Casey 11082da5f4 Fixing bootstrap.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219807 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 23:27:24 +00:00
John Dennis Casey 2c80da6ba4 Resolving: MNG-482
To use the new artifact map for either the project or the current plugin from your mojo, simply use one of the following expressions:

  ${plugin.artifactMap}
  ${project.artifactMap}

The artifacts in these maps are keyed using org.apache.maven.artifact.ArtifactUtils.versionlessKey( String groupId, String artifactId ) (found in the maven-artifact project).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219234 13f79535-47bb-0310-9956-ffa450edef68
2005-07-15 19:04:20 +00:00