Commit Graph

2787 Commits

Author SHA1 Message Date
Kenney Westerhof 9da1858237 Fixed IndexOutOfBouds when <sourceDirectory></sourceDirectory> is specified.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267278 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 19:15:27 +00:00
Trygve Laugstol cf8820b905 Fixing MNG-825: "Clean plugin should fail if unable to delete target"
o Changed the default from complaining through the logger to throwing an
  exception.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267218 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 14:56:22 +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
Trygve Laugstol 43136f534f o Setting properties.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267182 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 10:37:16 +00:00
Trygve Laugstol f895e06d85 o Organizing imports.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267176 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 10:29:02 +00:00
Brett Leslie Porter c7aa0230e6 fix regression - activate artifacts need no resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@266730 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 08:21:14 +00:00
Brett Leslie Porter abd4ae6018 PR: MNG-613
make repository metadata behave more like snapshots with daily updates.
next step is to move the version checking to use that instead and fallback to the old files

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@266298 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 07:16:16 +00:00
Brett Leslie Porter a3a73ebaec allow a version of "02", for example
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@266297 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 07:06:45 +00:00
Trygve Laugstol 17de4b0c7d o Adding some more notes on how to create patches.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265788 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 21:54:52 +00:00
Trygve Laugstol 6cf731be0e Fixing MNG-797: "fix checksum parsing"
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265787 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 21:53:54 +00:00
Trygve Laugstol 4bfe2cc1ab Fixing MNG-810: "create a mojo goal named -> javadoc:jar"
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265765 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 19:11:49 +00:00
Trygve Laugstol 6120878e8d o Adding myself as a developer.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265708 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 12:29:06 +00:00
Brett Leslie Porter a16be1f23d cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265640 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 03:47:18 +00:00
Brett Leslie Porter 9b6a7939db rename group metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265618 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 01:56:04 +00:00
Brett Leslie Porter c0b0b37e2b update to latest
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265612 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 01:07:21 +00:00
Carlos Sanchez Gonzalez 7c0017f9bb Use new repodir
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265601 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 22:54:08 +00:00
Vincent Massol 3b1f894e37 MNG-813: Expose the m2 local repository location to the junit tests using the "localRepository" system property.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265582 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 20:49:49 +00:00
Brett Leslie Porter fe69e3204b remove old module, replaced by maven-repository-metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265000 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 10:15:22 +00:00
Brett Leslie Porter 6731a0485b updated API
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264971 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 08:21:35 +00:00
Brett Leslie Porter c991b41571 refactoring towards similar pattern of artifact metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264967 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 08:11:47 +00:00
John Dennis Casey 8201bb9d18 Adding system scope...uses scope == 'system' and systemPath in dependency. SystemPath was chosen over mappings inside the setings.xml for scalability, heritability, and injectability (via managed deps).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264960 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 07:39:01 +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
Kenney Westerhof 6fdbe554dd o Fixed tabs -> spaces (sorry, makes diff hard to read) and some codingstyle
issues.

o Modified model: added a 'BaseSet' type as a basetype
  for DependencySet and FileSet; it contains fileMode and
  directoryMode to work with the new plexus-archiver.

o Bumped plexus-archiver version to 1.0-alpha-2-SNAPSHOT.

o Added support for actually using fileMode and directoryMode.
  (tested this with a modified maven-core assembly descriptor,
  not committed as a test though).



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264888 13f79535-47bb-0310-9956-ffa450edef68
2005-08-30 22:57:50 +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 7a8c848b01 PR: MNG-788
bring back the "filtering" attribute in resources from m1


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@263841 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 07:18:35 +00:00
Vincent Siveton 9ef6cc7f50 Cleaning up the code a bit: replace static array of all reports file name generated by Maven by a list (more dynamic); the first token in the locales variable is the default locale (set in the VM); create createDuplicateExceptionMsg() to handle the exception msg when some files are duplicated; move code to generate reports in a new method called generateReportsPages(); improve logging.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240444 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 18:16:19 +00:00
John Dennis Casey 4ccb9068fb Resolving: MNG-717
o Dependencies don't have a default scope value, to allow DependencyManagement to set the scope if null...then, the metadata source sets the scope to 'compile' when it constructs the artifacts from deps that still have a null scope. Oh, and it will at that point back-propagate the 'compile' scope to these dependency instances, for later reference...



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240428 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 15:44:48 +00:00
Brett Leslie Porter 4b01d88bc3 trim metadata file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240415 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 13:00:33 +00:00
Brett Leslie Porter 14f4c980c1 use the correct repository for finding the original snapshot data
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240414 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 12:48:12 +00:00
Brett Leslie Porter 0481c45fc9 repair snapshot build numbering (previous code makes it get stuck at 1).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240405 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 11:42:30 +00:00
Brett Leslie Porter 7572427594 remove unused field
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240396 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 05:47:24 +00:00
Brett Leslie Porter ffb317c27d PR: MNG-790
trace was too verbose for a warning

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240374 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 02:04:14 +00:00
Vincent Siveton cafb004caf Added a test in the banner macro to remove Velocity error (RHS of #set statement is null. Context will not be modified....)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240337 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 20:40:17 +00:00
Brett Leslie Porter c8ad95e05d PR: MNG-490
Submitted by: Rahul Thakur
Reviewed by:  Brett Porter
Creating an archetype with a different folder structure for java and test sources still results in default (src/main/java) folder being generated.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240227 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 12:54:29 +00:00
Brett Leslie Porter cddc9df70e PR: MNG-753
add a missing need for the super repository

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240218 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 12:23:20 +00:00
Brett Leslie Porter 1c1cede3b5 ignores
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240211 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 11:49:24 +00:00
Brett Leslie Porter d466205274 PR: MNG-753
correct ordering of repositories in POM (also fixed problem of not correctly overriding "central" - properly this time!)
took note of a simpler way to ensure this is correct in future

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240204 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 11:24:11 +00:00
Brett Leslie Porter c945c27bff PR: MNG-693
added tests for reporting inheritence to mirror plugin inheritence, cleanup and utilise executions element

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240197 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 09:29:05 +00:00
Brett Leslie Porter b380d0e2d4 make the ordering predictable by sorting the key set.
Switched the key to be the simpler eclipse source root link name.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240187 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 08:05:47 +00:00
Brett Leslie Porter 22365aeefe fix tests:
- ordering of link elements was wrong
- windows path separator was wrong


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240180 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 07:46:12 +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
Brett Leslie Porter 1b81c99d57 PR: MNG-789
interpolate ${basedir} in the model


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240177 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 07:30:21 +00:00
Brett Leslie Porter 294199b388 PR: MNG-761
fallback to deployment repository for snapshots when there is no snapshot repository


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240175 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 07:26:03 +00:00
John Dennis Casey 4e6c969942 Resolving (Cannot Reproduce): MNG-731
o Added it0061 to verify deployment using legacy layout for the distribution repository.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240154 13f79535-47bb-0310-9956-ffa450edef68
2005-08-25 22:53:43 +00:00
Kenney Westerhof a98961eeed o Fix MNG-410 (and MNG-769, MNG-738). Added testcase project-3 to demonstrate this.
o Added testcase to check generation of eclipse files in
  different location; modified the testcase to support this,
  and deal with the absolute paths.

o Neatified the addSourceLinks/addResourceLinks: using
  a map to keep track of duplicate source folders has the side
  effect of only needing one of those methods; it should
  also be faster :)

o Tried to add support for includes/excludes, but eclipse only
  supports unique source directories; this is typically not the
  case in maven, filters are used to split one resourcedir
  up. Left the code in for future reference.
  TODO: find a way to merge includes/excludes. If only
  the dir where in/excludes are specified is unique, they
  could be written without problem. This requires a preprocessing
  pass.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240143 13f79535-47bb-0310-9956-ffa450edef68
2005-08-25 21:28:30 +00:00
John Dennis Casey 39a6096086 Resolving: MNG-732
o new version of plexus-utils with Xpp3Dom.mergeXpp3Dom(..) modification allows appending of list elements.
o added it0060 to test new functionality.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240129 13f79535-47bb-0310-9956-ffa450edef68
2005-08-25 20:19:40 +00:00
John Dennis Casey da3aa1090f Resolving: MNG-666
If a v3 POM is encountered (or any POM where modelVersion is != '4.0.0'), an InvalidModelException is thrown.
This exception extends ProjectBuildingException, to enable piggybacking on the same catch() clause.
When the MavenMetadataSource catches InvalidModelException, it returns a ResolutionGroup with the pomArtifact and empty collections for the pom dependency artifacts and the repository list with which to resolve the empty artifacts set.

Also, added it0059 to test builds where a dependency POM is a v3 pom (missing <modelVersion/>).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239981 13f79535-47bb-0310-9956-ffa450edef68
2005-08-25 03:08:10 +00:00
Brett Leslie Porter 224af053c7 no distributions to exclude in maven2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239980 13f79535-47bb-0310-9956-ffa450edef68
2005-08-25 02:42:25 +00:00
Brett Leslie Porter ea20af3cab updates from the server
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239979 13f79535-47bb-0310-9956-ffa450edef68
2005-08-25 02:41:01 +00:00
Brett Leslie Porter 10d7c8b96f preserve permissions so that changes only need to be made on the source side. Don't want to preserve owner, group though.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239978 13f79535-47bb-0310-9956-ffa450edef68
2005-08-25 02:37:55 +00:00