Commit Graph

746 Commits

Author SHA1 Message Date
Jason van Zyl fe59dcf689 Using Trygve's cli stuff to execute m2 and capture the output so that it can be logged for subsequent perusal.
{issue: MNG-81}


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163236 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 04:11:07 +00:00
Trygve Laugstol aa438b8137 o Adding a artifact handler for sources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163235 13f79535-47bb-0310-9956-ffa450edef68
2004-11-22 12:46:55 +00:00
Jason van Zyl 2c09099b78 o in the contextualize method where we are getting a reference to the container but we only need the basis PlexusContainer. The only place we need the artifact enabled container is in the addPlugin method. Otherwise, in standard PlexusTestCases we will get a ClassCastException. You do not need to use an ArtifactEnabledTestCase unless you actually want to use the facilities of the artifact enabled container.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163234 13f79535-47bb-0310-9956-ffa450edef68
2004-11-14 07:13:05 +00:00
Trygve Laugstol 8d339b01b8 o Fixing a bug where the resolve dependencies flag was ignored.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163233 13f79535-47bb-0310-9956-ffa450edef68
2004-11-05 20:31:14 +00:00
John Dennis Casey f32e88a2d5 o Added null check to the loop which adds classpath elements to the surefire test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163232 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 23:31:37 +00:00
John Dennis Casey 308e07f34c o Add the model's parent to the set of artifacts to be resolved. This will allow dependency poms' parent-poms' dependencies to be included in the build classpath as implicit dependencies.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163231 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 22:56:42 +00:00
John Dennis Casey cf2354fee5 o Added it0010 integration test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163230 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 22:54:46 +00:00
John Dennis Casey ca071d67e5 o New integration test to check that parent poms of dependency poms are resolved.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163229 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 22:54:24 +00:00
John Dennis Casey dac27a045a Added test for binary resource with non-standard encoding...I'm trying to get a multi-byte character encoding so it might throw off a String-based copy...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163228 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 05:16:28 +00:00
John Dennis Casey 2ce99517fa o Changed fileCopy process to use byte arrays and ByteArrayOutputStream rather than String/StringBuffer to accommodate binary [test] resources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163227 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 03:43:31 +00:00
Emmanuel Venisse d4fdb18d1f Set maven.repo.local system property.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163226 13f79535-47bb-0310-9956-ffa450edef68
2004-11-02 11:03:27 +00:00
Emmanuel Venisse b8d4bcaa0d Make the script resilient to changes in the classworlds JAR. It works ONLY if M2_HOME doesn't contains spaces.
If we use double quote around %M2_HOME%\\core\\boot\\classworlds-*.jar for classpath, '*' isn't interpreted by dos.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163225 13f79535-47bb-0310-9956-ffa450edef68
2004-10-28 21:08:13 +00:00
Jason van Zyl 2c8cc4ab93 o make the script resilient to changes in the classworlds JAR
Could someone try to do the same with the .bat file before I update
  to a release version of classworlds?


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163224 13f79535-47bb-0310-9956-ffa450edef68
2004-10-27 18:03:44 +00:00
Jason van Zyl 9805428ed2 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163223 13f79535-47bb-0310-9956-ffa450edef68
2004-10-26 01:15:46 +00:00
Jason van Zyl 6c955f6009 o updating wagon dep
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163222 13f79535-47bb-0310-9956-ffa450edef68
2004-10-26 00:48:14 +00:00
Jason van Zyl 275f002ac9 o updating to the latest wagon snapshots
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163221 13f79535-47bb-0310-9956-ffa450edef68
2004-10-26 00:42:32 +00:00
Jason van Zyl 0d2848002d o removal of xpp3 as a dependency
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163220 13f79535-47bb-0310-9956-ffa450edef68
2004-10-25 14:22:51 +00:00
Jason van Zyl 3a09b73001 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163219 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:52:00 +00:00
Jason van Zyl 6d581ccb9d o don't need to block out xstream anymore, it's not a core dep any longer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163218 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:31:02 +00:00
Jason van Zyl b13aa49b80 o new plugin descriptor builder
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163217 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:20:37 +00:00
Jason van Zyl 138824ba8d *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163216 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:16:57 +00:00
Jason van Zyl 8b845def6a o removal of xstream
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163215 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:15:19 +00:00
Jason van Zyl 91da8f24e7 o removal of xstream
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163214 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:15:08 +00:00
Jason van Zyl 4487d95d95 o removal of xstream and bits of cruft
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163213 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:13:54 +00:00
Jason van Zyl e48ea54902 o complete removal of xstream as a dependency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163212 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 18:13:22 +00:00
Trygve Laugstol 985d5c867c o Fixing license
o Prevent a NPE with a better exception.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163211 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 12:16:23 +00:00
Jason van Zyl f279ac17c2 o license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163210 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 04:10:47 +00:00
Jason van Zyl 2fe3bf7830 o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163209 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 23:49:55 +00:00
Jason van Zyl 46e1c4632b o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163208 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 23:13:05 +00:00
Jason van Zyl 8c892891cc o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163207 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 23:06:06 +00:00
Jason van Zyl 59310c5243 o use xml utils from plexus-utils
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163206 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 17:31:56 +00:00
Jason van Zyl f574221eb2 o we are now sharing the xml util code from plexus utils, modello
needs this code.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163205 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 17:20:30 +00:00
Jason van Zyl 50fb033c91 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163204 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:39:58 +00:00
Jason van Zyl 79eac7de39 o updating top-level POM
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163203 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:37:41 +00:00
Jason van Zyl f50f1b610e o update the scripts for maven for the change in the location of classworlds,
which reflects the location that the plexus runtime builder places
  classworlds

o change the internal configuration to match some of the changes made to
  plexus to account for elimination of xstream as a dependency. We're not
  all the way there because xstream is still required in the plugin tools.

o a little exception handler stub which I'm going to use to clean up the
  huge stack traces that comes out. Going to map specific exceptions to
  specific errors messages and to specific entries in a FAQ to help users
  learn about commons errors.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163202 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:37:18 +00:00
Jason van Zyl 0c72d1fb06 o remove the use of the deprecated basedir field in PlexusTestCase and use
the getBasedir() method.

o use the getBasedir() method in any test helpers that construct paths.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163201 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:33:59 +00:00
Jason van Zyl a595eacd35 o change the reference to the location of classworlds ... this is bad,
m2 should run as it does from the command line for these tests which
  I will change. Integration tests for embedding should use the component
  which will detect some of the leakage problems found by a couple new
  users.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163200 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:32:39 +00:00
Jason van Zyl 21d7ed946d o update for the api/impl separation in Plexus
o make the runtime setup the same as what the Plexus runtime does which
  is to put classworlds in a separate directory as to simplify the
  directive to include all the core JARs: one line as opposed to having
  to list all the dependencies.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163199 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:31:15 +00:00
Jason van Zyl eecefb78f2 some notes on changing dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163198 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:28:06 +00:00
Jason van Zyl 8da840e736 o adding a POM for the new mboot stuff
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163197 13f79535-47bb-0310-9956-ffa450edef68
2004-10-21 16:08:28 +00:00
Trygve Laugstol d167b8c23c o Ops, removing dependencies that shouldn't be there.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163196 13f79535-47bb-0310-9956-ffa450edef68
2004-10-18 18:14:48 +00:00
Trygve Laugstol 234efe2f78 o Adding <ciManagement> info.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163195 13f79535-47bb-0310-9956-ffa450edef68
2004-10-18 17:52:14 +00:00
Brett Leslie Porter 185e04924f add maven-plugins repository sync
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163194 13f79535-47bb-0310-9956-ffa450edef68
2004-10-15 12:10:26 +00:00
Trygve Laugstol 0fc31ef9a4 o Adding ci management inhertiance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163193 13f79535-47bb-0310-9956-ffa450edef68
2004-10-14 19:40:32 +00:00
Carlos Sanchez Gonzalez 8be0ceb7d2 Added support for bundles with subdirs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163192 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 09:31:44 +00:00
Trygve Laugstol 74c818888a o Fixing MNG-90:
- Improved the SCM part of the ModelInheritanceAssembler
o Fixing some eclipse warnings and adding some licenses.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163191 13f79535-47bb-0310-9956-ffa450edef68
2004-10-11 22:56:47 +00:00
Trygve Laugstol 91baa6e9b8 o Making mavenHomeLocal a optional argument.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163190 13f79535-47bb-0310-9956-ffa450edef68
2004-10-09 00:25:37 +00:00
Trygve Laugstol 0bd570aa33 o Adding util class for setting up plexus for use with maven.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163189 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 19:19:55 +00:00
Trygve Laugstol 698119ea0b o Added mavenHomeLocal as a argument to the project builder. The project
builder should now completly obey mavenHomeLocal.
o Made mavenHome and mavenHomeLocal Files instead of Strings.
o Adding licenses to some files missing license.
o Silencing some eclipse warnings.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163188 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 19:15:02 +00:00
Trygve Laugstol 3045b7fcfc o Better error reporting.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163187 13f79535-47bb-0310-9956-ffa450edef68
2004-10-07 10:00:55 +00:00