Commit Graph

71 Commits

Author SHA1 Message Date
Hervé Boutemy ca2b26ac5d fix a lot of checkstyle violations for future m-checkstyle-p 2.13, as
proof of concept for misc violations suppressions strategies
2014-08-19 00:17:28 +02:00
Jason van Zyl e112cd89c7 MNG-3954: Remove the RuntimeInfo required in the setting.mdo 2014-06-13 12:07:11 -04:00
Stephen Connolly c6c6bdc49f Add ASL license header 2013-05-28 10:19:32 +01:00
Jason van Zyl 4c61954e7b MNG-5016: A mirror's layout setting should default to 'default' since thats' the only layout supported lay in maven 3
Submitted by: Hiram Chirino

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1409025 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 23:37:17 +00:00
Dennis Lundberg ed5dfb2d5b Wrap the description of the properties field in a CDATA section, so that the html entities that are used show up in the generated site. Put the xml sample inside a <code> element for nicer presentation.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1377313 13f79535-47bb-0310-9956-ffa450edef68
2012-08-25 15:42:14 +00:00
Herve Boutemy 23be488de6 added default local repository location in description
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1174363 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 20:10:22 +00:00
Herve Boutemy 25d7478809 improved hard-coded methods with generics
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1165006 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 12:28:02 +00:00
Herve Boutemy cc7bbf29b2 added blank lines for documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1165004 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 12:20:15 +00:00
Herve Boutemy 3944b81734 updated title of introduction pages
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1164922 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 20:02:14 +00:00
Herve Boutemy 799d63bf87 [MNG-5119] added Javadocs and JXR links in left menu for every module to give easy access to code
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1137154 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 10:00:46 +00:00
Benjamin Bentmann e2ad36018b [MNG-5046] Remove $Id$ from sources
Submitted by: Jesse Glick

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1084807 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 23:30:11 +00:00
Herve Boutemy 2a5fde5cac updated Modello schema version when necessary
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@982838 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 00:12:58 +00:00
Herve Boutemy 90a022ce0d copied site documentation from 2.2.x branch
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@963867 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 21:34:54 +00:00
Herve Boutemy 23f2095652 fixed errors reported by Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@958295 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 23:16:18 +00:00
Benjamin Bentmann 3a89fb086a o Moved Settings out of maven-compat
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@828801 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:59:26 +00:00
Jason van Zyl 9c8903441f o profiles are now decoupled from settings. so that i don't do this is one huge commit i need to move settings stuff into the core
while i transform the settings components to take a MavenSession. Any component executing within Maven should be able to use
  a session. the session will contain everything required and any new component added to the system should only take the 
  session as a parameter. same pattern for all components. that's the goal. it will take a few hops.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573462 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 05:25:49 +00:00
Jason van Zyl 366c7289f1 o superceded by eric's document on settings in the main site
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573132 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 02:14:14 +00:00
Jason van Zyl 18e6fd2a1b o removing dead configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573131 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 02:08:59 +00:00
John Dennis Casey d78ddd4fed Restoring backward compatibility and deprecating old methods, so plugins and shared utilities can still use them without having to release new versions or suffer incompatibilities.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@555839 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 02:30:50 +00:00
John Dennis Casey 6312592e56 Forgot a requirement in the component descriptor.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@545545 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 16:19:58 +00:00
John Dennis Casey 4626c93d3c OPEN - issue MNG-2577: Allow interpolation of Properties in settings.xml
http://jira.codehaus.org/browse/MNG-2577

Modifying to use request properties (embeddable system properties), and organizing this with the existing use of envars. NOT allowing profile-property interpolation, as these could influence profiles in a recursive manner and make their values hard to determine...besides, model-interpolation will pickup profile properties before POMs are interpolated, so the only thing this will miss is profile/properties -> servers, etc. inside the settings itself.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@545283 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 19:52:55 +00:00
Jason van Zyl cc5f2f954b Reverting the package changes
Issue id: MNG-2943


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543753 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 15:35:57 +00:00
Carlos Sanchez Gonzalez 6d69087ae9 [MNG-2943] Avoid using package names used in other artifacts: add some comments
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543671 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 00:06:11 +00:00
Carlos Sanchez Gonzalez 1bd449b2f1 [MNG-2943] Avoid using package names used in other artifacts: org.apache.maven
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543664 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:36:54 +00:00
Vincent Siveton a66be7f905 MNG-2461: Write JavaDoc documentation
o added some Javadoc
o no code change

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541188 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 05:45:26 +00:00
Vincent Siveton 2cd10e1343 merged 541186 from branch (MNG-2461: Write JavaDoc documentation)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541187 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 05:44:44 +00:00
Vincent Siveton cc427b82c0 o merged r541157 from branch (reformat before working on MNG-2461)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@541158 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 04:33:20 +00:00
Jason van Zyl b0247b4e40 updating license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513042 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:55:17 +00:00
Jason van Zyl fb03e03672 o optimizing imports, trying to clean up settings use so i can track them down and purge them
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512775 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 14:47:51 +00:00
Jason van Zyl 31366ad057 o simplifying settings handling and pushing responsibility to the client code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512551 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 01:29:52 +00:00
John Dennis Casey f4b3eedc8a Fixing some lingering dependency ordering problems from artifact resolution, and adding settings-builder advice to the CLI.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512339 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:47:30 +00:00
John Dennis Casey 2d5711c8f0 Adding SettingsBuilderAdvice, to enable skipping default locations for settings files. Also, removing the settings cache, to enable call-by-call synchronization of settings between Maven embedder instances that share the same settings files. Next step is to refresh settings per-call to the embedder.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511172 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 00:44:29 +00:00
John Dennis Casey b8289153a1 Adding read/writeSettings() api to the maven-tools and the embedder along with unit tests in each place, and adding a cache object for the settings that is based on the build-context.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@510335 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 01:01:54 +00:00
John Dennis Casey 086c589776 Adding default profile-id's.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@509744 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 20:51:15 +00:00
Milos Kleint fa2051759e have basic validation on settings files, to prevent failures downstream, see MEVENIDE-488 for details
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@507077 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 16:26:24 +00:00
Jason van Zyl f151b661dd o fixing finding of settings file
Submitted by: Eugene Kuleshove


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505611 13f79535-47bb-0310-9956-ffa450edef68
2007-02-10 02:01:00 +00:00
Joakim Erdfelt 33f23db7de * Migrating to wagon-manager 1.0-beta-3-SNAPSHOT
* Created org.apache.maven.artifact.manager.ArtifactManager
* Deprecated org.apache.maven.artifact.manager.WagonManager in favor of new ArtifactManager
* Updated the rest of maven to utilize this new ArtifactManager.
* The default wagon providers list is now managed from within wagon-manager's dependency list.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505520 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 21:53:27 +00:00
Vincent Siveton 14a8e1f5a4 MNG-967: maven.mdo, settings.mdo, and generated-sources
Merged from: r498608 (maven-2.0.x)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498611 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 13:30:58 +00:00
Kenney Westerhof 260516f8d2 Re-added 2 dropped methods that were never deprecated: buildSettings() and buildSettings( file ). maven-plugin-testing-tools uses the maven 2.0.x api's, but fails with NoSuchMethodError in 2.1-snapshot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@489693 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 17:07:40 +00:00
Vincent Siveton 388e354860 MNG-1997: document xsd support for pom and settings in guides
o added documentation

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@471193 13f79535-47bb-0310-9956-ffa450edef68
2006-11-04 14:06:42 +00:00
Carlos Sanchez Gonzalez df2b72bb6c Set svn properties
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@420152 13f79535-47bb-0310-9956-ffa450edef68
2006-07-08 15:49:37 +00:00
Carlos Sanchez Gonzalez bd98854481 Remove unused method, consolidate if blocks
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@419885 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 12:46:49 +00:00
Milos Kleint 158acd0146 remove System.out
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@415132 13f79535-47bb-0310-9956-ffa450edef68
2006-06-18 13:00:57 +00:00
Jason van Zyl 94e440000d o merge of the maven-embedder-refactor branch into the trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@392327 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 15:57:09 +00:00
Emmanuel Venisse 353f7aedfc merge from rev.379395
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379411 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 10:17:56 +00:00
Brett Leslie Porter fa34c36025 [MNG-1509] fix profile activation from settings.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379314 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 02:55:23 +00:00
Brett Leslie Porter 6abcb69443 enable activeByDefault from settings.xml
PR: MNG-1586
Submitted by: Edwin Punzalan


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355878 13f79535-47bb-0310-9956-ffa450edef68
2005-12-11 02:57:38 +00:00
John Dennis Casey a321da38d6 PR: MNG-1525
Submitted By: Edwin Punzalan
Reviewed By: John Casey

NOT applying this patch. I found a better solution that will factor the interpolation of the POM into a flexible utility in plexus-utils, and will allow introduction of envar resolution to the POM. It will also make interpolating the settings.xml and profiles.xml using any of a number of expression resolvers (using envar resolution only for now).

BTW, I tried using System.getenv(..) in JDK1.4, and it fails with java.lang.Error and a deprecation message. So, I'm using Edwin's code to extract the envars into a Properties object. We can improve this later.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354462 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 16:28:07 +00:00
Brett Leslie Porter 56f566e79e clean some imports and unused code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327885 13f79535-47bb-0310-9956-ffa450edef68
2005-10-23 23:50:38 +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