Commit Graph

4537 Commits

Author SHA1 Message Date
John Dennis Casey cedf9e04bc (Merging 389199:389201 from branch.)
o Cleaned up example in the comment-header of the plugin-metadata.mdo
o Added code to initialize a dummy Model instance in MavenProject, to avoid NPEs in things like getId().



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@389203 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 17:26:27 +00:00
Brett Leslie Porter 02fd611c54 merge r389106
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@389110 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 11:51:15 +00:00
Emmanuel Venisse 08c7d50184 Fix name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@388474 13f79535-47bb-0310-9956-ffa450edef68
2006-03-24 09:38:25 +00:00
John Dennis Casey 43e640244e (Merged from 386445.)
From the original revision log:
--------------------------------------

o Fixed formatting of lines in DefaultMaven to ensure that the output:

[INFO] ----------------------------------------------------------------------

doesn't exceed 80 columns, for readability.

o Fixed error reporting when building a POM's parent, in cases where:

  - relativePath refers to a directory, but there is no pom.xml in that directory...in
    this case, simply set the parentDescriptor == null, and allow repository resolution
    to proceed.

  - attempt to resolve parent POM from repository fails...in this case, we need to tell
    the user which project specified the missing parent.

Neither of these had any impact on existing tests, and should only improve the user
experience. I don't believe they introduce any ambiguous behavior.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@386447 13f79535-47bb-0310-9956-ffa450edef68
2006-03-16 20:06:21 +00:00
John Dennis Casey a6983a59ab (Merged from 385635.) [MNG-2146] Added code to guard against NPE when maven.home and org.apache.maven.global-plugin-registry are both missing from the sysprops.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@385637 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 19:51:44 +00:00
Brett Leslie Porter 0b856d893b fix parent ref
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384960 13f79535-47bb-0310-9956-ffa450edef68
2006-03-11 00:17:59 +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
Brett Leslie Porter 1e1771d550 factory out common elements in parent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384819 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 15:34:04 +00:00
Brett Leslie Porter 692b2c6d5a merge r384693 from branch - fix compilation issue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384694 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 03:48:38 +00:00
Brett Leslie Porter c5d3edfeb9 [MNG-1479, MNG-1177, MNG-1658] update the project descriptor descriptions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384682 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 02:41:32 +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
Brett Leslie Porter e2be5ffc21 fix location of original setter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384215 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 13:45:20 +00:00
Brett Leslie Porter d4678003e6 change TO address
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384137 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 07:08:57 +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 55dc9e4ccb (Merged from 384102.) Fixing site URL calculation to disregard child module path adjustment. Second attempt.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384107 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 03:28:38 +00:00
John Dennis Casey 063474e205 rolling back accidental commit.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384106 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 03:26:16 +00:00
John Dennis Casey fcb42e22ba (Merged from 384102.) Fixing site URL calculation to disregard child module path adjustment.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@384105 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 03:09:44 +00:00
Brett Leslie Porter 4cbcd0edd5 remove tests that require junit - no junit in pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@383146 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 15:52:48 +00:00
John Dennis Casey a693217497 (Merged from 383024.) Added unit test for case where parent path is empty and child adjustment contains .. at beginning.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@383027 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 04:28:03 +00:00
Stephane Nicoll c8795b658b Added myself in the developers list
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382904 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 18:20:26 +00:00
Kenney Westerhof 7a7c44a409 Added a second structure, testing the other
way around <module>../../something</module>


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382902 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 17:48:26 +00:00
Kenney Westerhof f3a9e38340 PR: MNG-2006
Replaced appendPath with a more robust implementation,
after discussing it with jdcasey.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382881 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 16:22:44 +00:00
John Dennis Casey 4c85dfc331 Adding defensive code for one more place where cleanedPath length could cause a problem with string manipulation in appendPath(..).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382861 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 15:27:25 +00:00
John Dennis Casey 138d77d3b0 Fixing NPE in appendPath(..) when calculating '..' path adjustments.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382849 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 15:08:31 +00:00
Kenney Westerhof aaaf6537f6 PR: MNG-1318
use ~dp0 instead of ~dps0 since that is broken
on Windows 2000 and XP (prior to SP2).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382801 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:13:06 +00:00
Kenney Westerhof 16f876c2f3 PR: MNG-1317
Use ~dp0 since ~dps0 is broken, and add double
quotes since the path now can contain spaces.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@382797 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 13:09:17 +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
Emmanuel Venisse 9d515afa31 Add doap file for projects.apache.org
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@381634 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 11:14:08 +00:00
John Dennis Casey 448feecb45 Updating the version of wagon-ssh.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@381475 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 22:53:58 +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
Carlos Sanchez Gonzalez 6038e135aa Add xfire sync
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@380826 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 21:45:44 +00:00
Emmanuel Venisse fe5bf5320f merge from branch rev.379895
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379902 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 21:12:14 +00:00
Emmanuel Venisse 7b331c9605 Initialize profileManager from settings.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379812 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 16:56:24 +00:00
Jason van Zyl c100cbea1c o adding jochen's MavenEmbedder2 as reference, i won't be replacing the embedder with it but I will cherry pick
from it. Thanks for the contribution and I hope you'll help with some smaller patches! :-)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379670 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 03:55:43 +00:00
John Dennis Casey eab65e11ad (merged from branch revId: 379662.)
Original URL: http://svn.apache.org/viewcvs?rev=379662&view=rev

[MNG-2095] Adding xsd generation to site phase for modello projects.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379663 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 03:13:17 +00:00
Brett Leslie Porter 806eaeb017 [MNG-1895] merge changes from branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379650 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 02:21:10 +00:00
John Dennis Casey 578764fba6 [MNG-2003] Updating to use wagon-file-1.0-alpha-7.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379587 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 21:10:38 +00:00
Jason van Zyl 38c1860f11 o fixing typo in method call
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379579 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 20:56:01 +00:00
John Dennis Casey c5898ee466 Added TODO comment to the getModulePathAdjustment() method.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379575 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 20:25:02 +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
John Dennis Casey bd540e30b7 [MNG-2083] Adding support for output of installation instructions with a generic download message if downloadUrl is missing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379548 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 18:04:22 +00:00
John Dennis Casey b07d835b9c [MNG-2083] Correcting problem where cached projects result in missing downloadUrl for unresolvable artifacts.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379516 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 16:33:52 +00:00
Emmanuel Venisse 8ed5bfa817 Remove duplicated release plugin declaration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379514 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 16:21:36 +00:00
Emmanuel Venisse eb5bb3d386 fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379501 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:51:55 +00:00
Brett Leslie Porter f380c0ef75 [MNG-2096] allow <configuration> with <execution> in a lifecycle overlay, like a plugin allows
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379491 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:36:04 +00:00
Emmanuel Venisse 19382355ff Load profiles from settings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379490 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:27:57 +00:00
Emmanuel Venisse b9b9efbe4a merge from branch rev.379486
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379489 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:26:09 +00:00
Emmanuel Venisse 8a630687b7 merge from branch rev.379473
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379481 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:08:26 +00:00