Commit Graph

4513 Commits

Author SHA1 Message Date
John Dennis Casey 4e955c058a PR: MNG-1509
Submitted By: Bernd Bohmann
Reviewed By: John Casey

Applied patches. These patches added the OS activator to the component descriptor, fixed the activation implementation for it, and finally added a unit test for OS activation.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355387 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 05:57:05 +00:00
John Dennis Casey 2e89dadbce PR: MNG-1311
Added a stack of lifecycle fork-points that will be removed from each successively deeper level of forking in a cumulative manner, to prevent multi-node cycles in addition to simply blocking two-node cycles.

The basic problem with the recursion check that was in there was a type mismatch on the contents of a java.util.List. It's fixed now.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355383 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 05:37:43 +00:00
John Dennis Casey f4e9b5b409 PR: MNG-1543
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied patch, with modifications. Since the writeExportReadyPom() method is no longer used, and it's not a public API, I removed it.

Interpolated paths should no longer show up in packaged POMs.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355355 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 04:06:31 +00:00
John Dennis Casey f133d8e586 Adding maven-script-ant.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355342 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 03:20:57 +00:00
John Dennis Casey e4b20d8cd5 updated plexus-archiver version.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355327 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 02:44:02 +00:00
John Dennis Casey a9363a2a6a putting maven-archiver back in the modules.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355295 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 00:56:44 +00:00
John Dennis Casey 5b7cea23b3 Fixing missing file reader init.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355294 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 00:40:15 +00:00
Emmanuel Venisse d5eef9bdd7 Add scm url format url.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355101 13f79535-47bb-0310-9956-ffa450edef68
2005-12-08 14:37:43 +00:00
John Dennis Casey 2da8372a17 Bumping versions for maven deps up to 2.0.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354912 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 23:48:15 +00:00
John Dennis Casey 118497e008 Separating maven-archiver from the main build, to separate the release cycle...maven-archiver will be released slightly later than the main app.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354910 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 23:46:56 +00:00
John Dennis Casey f82cc68b62 Bumping p-c-d and p-u versions to released.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354908 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 23:41:00 +00:00
John Dennis Casey 125c19fb3a PR: MNG-1265
Submitted By: Allan Ramirez
Reviewed By: John Casey

Applied patch, which will add "built on" timestamp to the --version output.

NOTE: I did not apply the portion of the patch related to mboot, since the bootstrap has been redone. This may need to be added back into the bootstrap later.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354702 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 04:28:29 +00:00
John Dennis Casey 790f8f8fed PR: MNG-1443
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied the patch, which changes the ArtifactResolutionException to ArtifactNotFoundException for a missing POM when the system is offline.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354640 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 01:08:02 +00:00
John Dennis Casey c54202821e PR: MNG-1471
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied patch, with small logic fix. This patch will validate that if a systemPath is specified for a dependency, it is absolute. It's possible to use expressions in this path, but by the time it's validated in this step, those expressions will have been resolved.

My change was to add the same validation to managed dependencies.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354635 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 00:42:46 +00:00
John Dennis Casey 4097d7ae0f PR: MNG-1550
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied patch, with small change. This patch will save the checksums in the local repo, once they've transferred safely. The change I made was to pass in the "real" destination to the verifyChecksum method, rather than only the temp destination. This will allow the checksums to actually persist in the local repo, rather than a temporary directory.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354631 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 00:26:09 +00:00
Carlos Sanchez Gonzalez 7458db31f5 Remove again the update poms
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354588 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 22:08:24 +00:00
John Dennis Casey 5b427cf076 PR: MNG-1630
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied patches, with minor changes.

These patches will ensure that the optional flag is passed on and inherited correctly when dealing with managed dependencies.

I changed the patches, in that I added a new createDependencyArtifact(..) method on ArtifactFactory, which will eliminate the need to call an older variant of the method by passing in a null value for the inheritedScope parameter.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354544 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 20:50:41 +00:00
Carlos Sanchez Gonzalez 662331c8de Added blacklisted patterns and changed some names
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354531 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 20:06:49 +00:00
John Dennis Casey 8737086036 Adding install step.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354505 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 19:19:35 +00:00
Carlos Sanchez Gonzalez 5a51ac576b Revert last change as it seems not to work right in all cases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354499 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 19:03:23 +00:00
John Dennis Casey 8e85652193 PR: MNG-1355
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied patch, with small logical fix (used getArtifactId() where getGroupId() was the intention).

This patch will guard against overwriting cached models in the project builder (check for pre-existing model in cache before adding), and will validate that a POM's parent has a different groupId:artifactId than the current POM.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354473 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 16:50:22 +00:00
John Dennis Casey eeb14425c6 PR: MNG-1352
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied this patch, which will ensure that alias != param.getName() before adding a duplicate diagnostic message for configuration.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354464 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 16:34:09 +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 601181f4c2 update plugins too as long as we are still building them
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@353955 13f79535-47bb-0310-9956-ffa450edef68
2005-12-05 01:43:27 +00:00
John Dennis Casey 77249c67de Backing out changes from MNG-1650, since this was already implemented in the archiver.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@351505 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 22:20:31 +00:00
John Dennis Casey b0b047eff9 PR: MNG-1650
Submitted By: Allan Ramirez
Reviewed By: John Casey

Applied patch, with modifications. First, refactored to avoid the use of a member variable for turning POM inclusion on/off. Second, please remember to follow the code formatting rules for Maven, available on the project website.

This patch provides a new method for createArchive(..) which includes a flag for turning off POM inclusion from the resulting archive. The default mode used by the original createArchive(..) method is still to include POM information.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@351476 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 21:32:42 +00:00
John Dennis Casey 3230df32bf PR: MNG-1721
Fixing NPE when error parameter is null.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@350275 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 17:04:09 +00:00
Carlos Sanchez Gonzalez 2177e3763e Use mvn command instead of deprecated m2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@350201 13f79535-47bb-0310-9956-ffa450edef68
2005-12-01 07:48:50 +00:00
Carlos Sanchez Gonzalez d5f6646670 Use com.sun for jdk tools groupId
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@350040 13f79535-47bb-0310-9956-ffa450edef68
2005-11-30 20:34:10 +00:00
Brett Leslie Porter d837a7caad rely on managed versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@350033 13f79535-47bb-0310-9956-ffa450edef68
2005-11-30 20:03:30 +00:00
John Dennis Casey a0db0c3347 Adding dep on p-u to fix the build.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349968 13f79535-47bb-0310-9956-ffa450edef68
2005-11-30 15:50:02 +00:00
Brett Leslie Porter dd9cbdcd14 switch Apache snapshots to Apache repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349708 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 11:25:04 +00:00
Brett Leslie Porter b392f199fb prevent NPE in equals()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349699 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 10:36:47 +00:00
Brett Leslie Porter 1bd7f792fc fix classifier for java sources and javadoc dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349652 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 05:14:20 +00:00
John Dennis Casey 6dcceeaaa5 Bumping p-c-d version to 1.0-alpha-9-SNAPSHOT for fix of MNG-1559. This is probably not sufficient reason to bump this version by itself, but we can make that decision later.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349612 13f79535-47bb-0310-9956-ffa450edef68
2005-11-29 04:07:19 +00:00
Brett Leslie Porter 54039076f9 fix website refs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349349 13f79535-47bb-0310-9956-ffa450edef68
2005-11-28 03:11:40 +00:00
Brett Leslie Porter 1b54300da4 couple of minor fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349347 13f79535-47bb-0310-9956-ffa450edef68
2005-11-28 02:45:33 +00:00
Brett Leslie Porter 5ef9888de1 add model converted from repoclean
PR: MRM-29


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349340 13f79535-47bb-0310-9956-ffa450edef68
2005-11-28 01:34:44 +00:00
Brett Leslie Porter 2d277b04a0 fix command
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349043 13f79535-47bb-0310-9956-ffa450edef68
2005-11-26 00:17:33 +00:00
Brett Leslie Porter b4d9f55274 remove // in a URL
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348904 13f79535-47bb-0310-9956-ffa450edef68
2005-11-25 07:04:39 +00:00
Brett Leslie Porter d32f5f9835 allow, eg, dom4j
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348897 13f79535-47bb-0310-9956-ffa450edef68
2005-11-25 06:48:28 +00:00
Brett Leslie Porter 2ad3a3d8f3 update rules
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348890 13f79535-47bb-0310-9956-ffa450edef68
2005-11-25 06:31:44 +00:00
Brett Leslie Porter 62e8e280d5 fix location
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348876 13f79535-47bb-0310-9956-ffa450edef68
2005-11-25 04:50:31 +00:00
Brett Leslie Porter b866f19ccb add rewrite config
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348871 13f79535-47bb-0310-9956-ffa450edef68
2005-11-25 04:36:33 +00:00
Carlos Sanchez Gonzalez 052a96d05b Changed test from file to dir
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348852 13f79535-47bb-0310-9956-ffa450edef68
2005-11-25 01:59:34 +00:00
Carlos Sanchez Gonzalez 40bfc6eb06 Add info about new groupIds
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348850 13f79535-47bb-0310-9956-ffa450edef68
2005-11-25 01:45:23 +00:00
Brett Leslie Porter d978342687 script fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348720 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 12:11:33 +00:00
Brett Leslie Porter 374776dd40 mkdir
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348714 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 11:46:56 +00:00
Brett Leslie Porter 7928a66ef5 add post commit script
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348705 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 10:59:18 +00:00
Brett Leslie Porter a1f894839b do not update poms in sync script, it is already run concurrently from cron
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@348702 13f79535-47bb-0310-9956-ffa450edef68
2005-11-24 10:45:55 +00:00