Commit Graph

4154 Commits

Author SHA1 Message Date
Jason van Zyl a87bbebf8a [maven-release-plugin] prepare release maven-embedder-2.0
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330850 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 17:30:23 +00:00
Jason van Zyl 6fa5310c72 o use the released parent POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330849 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 17:28:45 +00:00
Jason van Zyl 92d1e4144f git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330847 13f79535-47bb-0310-9956-ffa450edef68 2005-11-04 17:24:52 +00:00
Jason van Zyl 155a9fbc78 o clean up the dependencies in the POM, i really only need to depend on the
core and everything else will come in transitively
  
o rolling things back to use the 2.0 release maven artifacts, i can
  subsequently, deploy 2.0.1-SNAPSHOTs and when 2.0.1 is released I will
  release 2.0.1 of the embedder. I think the releases of the embedder must
  follow closely on the heels of Maven itself.
  


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330845 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 17:12:29 +00:00
Jason van Zyl 86ccccf3c0 o this should really be called 2.0.1-SNAPSHOT as that's what the
dependencies are on.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330832 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 16:11:45 +00:00
John Dennis Casey 0578ed6458 Adding unit test to ensure that system-scoped artifacts are always propagated at system scope, ignoring inheritedScope from the transitive parent.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330818 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 15:00:59 +00:00
Jason van Zyl 417d4ffff0 o use the latest release of the assembly plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330807 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 13:50:10 +00:00
John Dennis Casey 223b12ba90 Adding test case for preserving system scope on transitively resolved deps.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330681 13f79535-47bb-0310-9956-ffa450edef68
2005-11-04 01:39:23 +00:00
John Dennis Casey ef942be7aa PR: MNG-1322
Submitted By: Allan Ramirez
Reviewed By: John Casey

Applied. Thanks, Allan.

Minor change I made was to throw a MojoFailureException with the offending path, rather than logging to the error message-level.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330646 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 21:56:25 +00:00
John Dennis Casey 154fa37604 PR: MNG-1345
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied Edwin's patch to create the resource-target directory if it doesn't exist. Thanks for the work, Edwin!

Also, I modified this patch slightly per Jerome's suggestion, to fail with a message if outputDir.mkdirs() doesn't succeed. This is fine, since it's within the scope of !outputDir.exists().



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330639 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 21:17:07 +00:00
John Dennis Casey c63c860065 Fixing problem with system scope being overridden by transitive parent's scope. System scope is always preserved now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330634 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 21:09:08 +00:00
Brett Leslie Porter 726e0fda4d fix UTC calculation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330499 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 07:15:56 +00:00
Lukas Theussl 789c4808cd MNG-1400: German translation
Original submission by Michael Wechner
Reviewed and completed by Lukas Theussl


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330482 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 06:36:22 +00:00
Brett Leslie Porter 7e5631b975 start moving directories to integration-tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330474 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 05:56:24 +00:00
Brett Leslie Porter dbf917c318 remove directory
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330473 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 05:51:23 +00:00
Brett Leslie Porter 41fb430152 moved sandbox
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330451 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 04:59:08 +00:00
Brett Leslie Porter 58cd5a1d93 move site out of components
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330439 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 04:21:08 +00:00
Brett Leslie Porter c566d0e396 moved to ../archetype/trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330434 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 04:02:40 +00:00
Brett Leslie Porter fc3646e539 PR: MNG-1321
Submitted by:  	 Bruno Essmann
recognise file:// url's without a hostname for the license

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330394 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 00:23:03 +00:00
Brett Leslie Porter 2ed5c152fb PR: MNG-1217
Submitted by: Edwin Punzalan
Improve relocation error message

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330393 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 00:18:31 +00:00
John Dennis Casey 1be64231cf PR: MNG-1251
Submitted By: Jerome Lacoste
Reviewed By: John Casey

I did not apply this patch. A better solution was to initialize the artifact data a little more thoroughly, and only delegate those methods which must track changes to the main artifact (like version info, groupId, and artifactId...essentially, the things that determine how to locate metadata on the repository). For these delegating methods, I've disabled the corresponding setter methods with UnsupportedOperationException to indicate that these attributes must be managed via the main artifact, and why. The MavenProjectHelper will now lookup the proper ArtifactHandler for the given attachment type, and pass that on to the AttachedArtifact constructor also.

Jerome, thanks very much for the effort in exploring this issue. I appreciate the help.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330392 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 00:17:26 +00:00
Brett Leslie Porter 367d7e5a57 PR: MNG-1279
Submitted by:  	 Philipp Meier
add missing model version to generated pom

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330391 13f79535-47bb-0310-9956-ffa450edef68
2005-11-03 00:05:11 +00:00
Brett Leslie Porter bcb11b18fc PR: MNG-996
Submitted by: Johnny R. Ruiz III
add a project for the reactor root, excluding children

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330382 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 23:31:31 +00:00
John Dennis Casey 350076bdb9 Changing the location of the Artifact-cloning method from org.apache.maven.artifact.factory.ArtifactFactory.cloneArtifact(..) to org.apache.maven.artifact.ArtifactUtils.copyArtifact(..), which is now a static method. This separates the copy method from a specific artifact implementation, while at the same time avoiding embedding of this method in a component instance.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330342 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 20:10:40 +00:00
Brett Leslie Porter b9bef589d8 PR: MNG-998
link modules in the reactor

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330221 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 09:10:28 +00:00
Brett Leslie Porter 28c51a2915 PR: MNG-904
Submitted by: Allan Ramirez
exclude individual directories, but not generated sources
(applied with modifications)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330212 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 08:36:44 +00:00
Brett Leslie Porter d7addab2d0 PR: MNG-1314
Submitted by: Johnny R. Ruiz III
IDEA 5.0 compatible JDK setting

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330210 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 08:21:02 +00:00
Brett Leslie Porter d848ba2acd PR: MNG-1232
Submitted by: Jerome Lacoste
avoid NPE in error reporting under some circumstances

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330207 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 08:03:25 +00:00
Brett Leslie Porter 20ecf7400f PR: MNG-1328
Submitted by: Jerome Lacoste
relative filesets incorrectly resolved when when used within reactor

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330202 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 07:21:34 +00:00
Brett Leslie Porter 259a63ba90 PR: MNG-1286
Submitted by: Lester Ecarma
Check exclusions against relocated artifacts

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330201 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 07:07:13 +00:00
Brett Leslie Porter cbc583333c PR: MNG-1372
Submitted by: Allan Ramirez
update command to mvn

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330200 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 06:49:09 +00:00
Brett Leslie Porter 77a0c2d3b7 move to a new package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330173 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 02:51:20 +00:00
Brett Leslie Porter 78741c0d81 move classes under a better package
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330144 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 22:47:03 +00:00
Brett Leslie Porter 44c3e592ea add a similar deployment hook for uploading to a m1 repo simultaneously
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330143 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 22:46:08 +00:00
Brett Leslie Porter c4dcc9c319 fix line endings
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330132 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 21:52:19 +00:00
Carlos Sanchez Gonzalez 3a768042c7 Added guide-naming-conventions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330123 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 21:02:38 +00:00
Jason van Zyl a121153b73 o i'm just going to get the assembly plugin to do what i want, maintaining
this is a pita.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330107 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 18:45:26 +00:00
Jason van Zyl 326a583281 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330106 13f79535-47bb-0310-9956-ffa450edef68 2005-11-01 18:44:48 +00:00
Vincent Massol d56ce5c344 MNG-1200: Add site documentation for the Clover plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330098 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 17:34:15 +00:00
Fabrizio Giustina f0d674133e When the downloadSources flag was off, also source files available in the local repository were not used.
Fixed so that sources archives available in the local repository are used but no additional jars are downloaded.
Added an explanation message on how to turn source downloading on (this should be on by default, but let's wait till there will be more sources archives in the m2 repo)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330090 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 16:33:39 +00:00
John Dennis Casey 777d747d1a PR: MNG-1335
Added ArtifactFactory.cloneArtifact(..) +implementation, and made MavenProject(MavenProject) use that to create a copy of the project's artifact.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330080 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 15:55:45 +00:00
Fabrizio Giustina 1329000ae6 remove useless log
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330043 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 12:33:57 +00:00
Fabrizio Giustina 64716936f0 include optional direct dependencies in classpath and resolve artifacts.
These are not included in project.getTestArtifacts() while they should be required if dependency is direct (seems to be a problem only with reactor projects).
Modified master test in order to manually check file content instead of comparing files (easier to explain and comment, ignore order).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330040 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 12:18:48 +00:00
Brett Leslie Porter deed9e4cbe PR: MNG-1287
Submitted by: Edwin Punzalan
Bring back dependency path tree in "Failed to resolve artifact." error


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330029 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 11:26:36 +00:00
Brett Leslie Porter 12646a1c4e correct packaging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330025 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 11:10:26 +00:00
Brett Leslie Porter d22a487373 need to use all test classpath artifacts, not just runtime
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330010 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 09:39:39 +00:00
Brett Leslie Porter c456f94dfd add missing test file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330009 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 09:39:19 +00:00
Brett Leslie Porter 40cbcfff05 allow overwriting instead of merging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330007 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 08:25:17 +00:00
Brett Leslie Porter 87dc3a9e16 PR: MNG-764
Submitted by: Edwin Punzalan
validation error if aggregator containing modules is not of the right packaging


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330003 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 07:37:57 +00:00
Brett Leslie Porter 76a0f452c2 add distro mgmt
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330002 13f79535-47bb-0310-9956-ffa450edef68
2005-11-01 07:35:04 +00:00