John Dennis Casey
f0e391dba7
Adding maven-plugin back to the exclude filter for artifact download temporarily, until the plugins are fixed...feel free to roll this back if it's a horrible idea.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163941 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 18:44:13 +00:00
Brett Leslie Porter
85cc412a5f
PR: MNG-225
...
use both groupId and artifactId in mojo descriptor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163937 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 11:34:09 +00:00
Brett Leslie Porter
05ae5c03e3
split the plugin API and the plugin descriptor code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163927 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 05:11:49 +00:00
Brett Leslie Porter
4dae786c59
comment on MNG-229
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163922 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 01:54:15 +00:00
Brett Leslie Porter
433e62f61c
fix the pom - it is a compile time dependency
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163921 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 01:09:02 +00:00
Brett Leslie Porter
a1d22fd80b
put the wagon dependency version update in the right place
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163920 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 00:28:30 +00:00
Brett Leslie Porter
ce968a2dd9
PR: MNG-291
...
improved error reporting related to not properly resolving dependencies before trying to get the classpath
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163919 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 00:27:55 +00:00
Brett Leslie Porter
f86ee59771
PR: MNG-297
...
Make sure that the base version is correctly set to -SNAPSHOT instead of a resolved timestamp when appropriate
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163916 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 23:51:21 +00:00
John Dennis Casey
090ff06b76
Removed requiredConnectivity doco, added requiresOnline instead.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163905 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 21:04:17 +00:00
Brett Leslie Porter
f4d50e14ac
use new compiler
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163902 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 13:07:38 +00:00
John Dennis Casey
0128ae2758
Just adding some detail, from my thoughts over lunch...
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163886 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 19:53:04 +00:00
John Dennis Casey
ed883ab9a2
First pass at documenting the design needed to add offline mode.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163884 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 16:28:58 +00:00
Brett Leslie Porter
9340e1add7
release alpha-1 plugins
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163870 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 10:05:06 +00:00
Brett Leslie Porter
5ddfd67fb1
merge change from alpha-1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163866 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 09:53:22 +00:00
Brett Leslie Porter
a0f5cbce3d
remove some unused constants
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163863 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 07:55:05 +00:00
Brett Leslie Porter
e62f087f24
some POM enhancements
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163862 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 07:50:53 +00:00
Brett Leslie Porter
3ec681401c
fix bad merge
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163856 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 05:13:10 +00:00
Brett Leslie Porter
f8ba3a48d1
merge from branch
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163855 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 04:48:04 +00:00
John Dennis Casey
56969982a1
Added new IT to express the problems with caching the model before interpolation takes place.
...
Rolled back the changes to suppress usage of the cached model in MavenMetadataSource. Restored original functionality, to pre- last revision.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163848 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 01:57:06 +00:00
John Dennis Casey
34f9e44721
Commented out use of cached model in MavenMetadataSource, as this is causing problems with projects that depend on other projects which use managed dependencies.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163847 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 21:52:17 +00:00
Brett Leslie Porter
c7761703c8
back to repo1.maven.org, which is now at ibiblio
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163827 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 04:59:12 +00:00
Brett Leslie Porter
feed140e1f
clean up available command line options
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163825 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 03:09:07 +00:00
Brett Leslie Porter
27b9286a40
Load Maven version and display
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163824 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 03:06:18 +00:00
Brett Leslie Porter
b36d766c4e
note about dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163816 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:46:32 +00:00
Brett Leslie Porter
c4e0970502
get the base version, not the resolved version
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163814 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:38:14 +00:00
Brett Leslie Porter
302d471cbb
include maven-core
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163813 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:37:38 +00:00
Brett Leslie Porter
e92a680c56
note about JAVA_HOME
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163812 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:36:18 +00:00
Brett Leslie Porter
6807933489
add README
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163810 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:06:04 +00:00
Brett Leslie Porter
d23b13eb35
rename the assembly plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163805 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:21:16 +00:00
Brett Leslie Porter
2bb9e1fb8d
not needed
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163801 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 05:16:05 +00:00
Brett Leslie Porter
7d19461494
exclude unwanted deps
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163800 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 05:15:35 +00:00
Brett Leslie Porter
a99819c454
utilise assemble plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163799 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 05:11:24 +00:00
John Dennis Casey
20620b4e09
o Changed the repository to test.maven.codehaus.org for testing of the new repository and layout.
...
o Added <layout/> element to <repository/> elements in the maven.mdo
o Added pluginRepository configuration to the super-POM.
o Tested it all.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163791 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 01:28:29 +00:00
Brett Leslie Porter
a91be5bc51
use new name
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163789 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 16:30:55 +00:00
Trygve Laugstol
7f02f62da8
o Java should be exec'd.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163785 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:45:27 +00:00
Brett Leslie Porter
b3b831ec31
gone back to test dependencies not being transitive at all, as reversed in rev1.3 of ProjectClasspathTest. This enables the execution of "m2 test" not to pull in all and sundry test dependencies, eg from wagon. Find a valid use case before re-instating, and look into alternatives for the download issues.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163783 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:43:32 +00:00
Brett Leslie Porter
9d6fad725a
change @requiresDependencyResolution to take a scope (default is "runtime" if no scope specified, none if tag not specified at all).
...
This still means ALL tests get the test dependencies of their compile time dependencies. Check if there is really a valid use case for that.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163780 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:17:28 +00:00
Brett Leslie Porter
29d70b8f7d
work with spaces in path on Windows NT
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163778 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 06:48:51 +00:00
Brett Leslie Porter
935cda15da
clean up dependencies.
...
Still need to clean up ~/maven2/lib and some large dependencies from marmalade that
shouldn't be needed in general - but down to about a 3Mb repository.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163775 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 04:11:03 +00:00
John Dennis Casey
fcb7a1c14b
o Simplified the ResourcesMojo to eliminate the need for a ResourceEntry class, which is easily replaced by usage of a TreeMap (avoid the NoClassDefFoundError from before SEE MNG-243)
...
o Changed the references to repo1.maven.org for central repository to repo1.maven.org/maven2 in preparation for switchover to ibiblio.org
This will allow us to transparently switch between redirects and CNAME changes for referencing ibiblio.org, since ibiblio will not allow a
vhost for m2 or a rewrite rule...switching the URL for the repo will allow changes to the CNAME (satisfy ibiblio's pathing) while at the same
time allowing the use of redirects (redirect can be at /maven2/index.html rather than /index.html, f.e.).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163772 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 21:32:53 +00:00
John Dennis Casey
1940becc59
o Adding checklist for deploying the repository layout/pom style changes in advance of a m2 alpha-1 rollout.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163770 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 20:45:24 +00:00
Brett Leslie Porter
5984f13c02
handle spaces in $M2_HOME
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163769 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 16:16:34 +00:00
Brett Leslie Porter
d60fd2d736
make m2 script more like Maven 1.x which is better tested
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163767 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 15:37:26 +00:00
Brett Leslie Porter
2e3e41fddf
transitive deps in mboot. Will now proceed to trim up the POMs. Still need to trim ~/maven2/lib also.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163764 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 14:35:06 +00:00
Brett Leslie Porter
1398ab68c4
make m2 use the local repository in the new layout
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163761 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:47:21 +00:00
Brett Leslie Porter
baca1f7841
make surefire and rest of m2 independent of repo layout
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163751 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 03:48:01 +00:00
Brett Leslie Porter
97eb92041d
treat empty expressions as non-existant
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163742 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 16:14:30 +00:00
Brett Leslie Porter
49593155d0
update poms for releases
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163741 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 16:03:43 +00:00
Brett Leslie Porter
3cd42b2ee0
put back default test includes/excludes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163740 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 05:47:29 +00:00
Brett Leslie Porter
67f300571a
add comment
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163737 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 02:53:10 +00:00
Brett Leslie Porter
369eb05569
refactor plugin configuration finding and mergine into MavenProject
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163724 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 09:32:43 +00:00
Brett Leslie Porter
92600f4e55
don't override existing fields with a null value
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163717 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 08:15:36 +00:00
Brett Leslie Porter
8fc9b6db13
make the offline switch set a global snapshot policy of "never" for now
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163712 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 04:52:01 +00:00
Brett Leslie Porter
eabafcc093
implement snapshot policies: default is to only check once a day (after crossing midnight), or if --update-snapshots (-U) is specified on the command line
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163711 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 03:30:08 +00:00
Emmanuel Venisse
9cf7d63d25
Fix settings file path for windows.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163708 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 19:53:27 +00:00
Trygve Laugstol
80b1b94fd3
o Moving the logging statement to initialize() to make the component less
...
verbose.
o Moving the default settings path value to plexus.xml (and components.xml).
o Setting the correct license and adding @version tags.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163707 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 17:06:30 +00:00
Brett Leslie Porter
d3781103e8
change resolve() methods to not return Artifact - but instead modify the original. Artifact is immutable except for version so it is safe - but will it cost flexibility later. Currently, this makes it much simpler as less copying vigilance is required.
...
This has ironed out most wrinkles. Still need to implement the snapshot checking cache, and special case the use of installed snapshots over deployed ones.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163706 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 16:41:13 +00:00
Brett Leslie Porter
16ea34c8c1
snapshot resolution working, with glitches. committing working copy that is only enabled by a sys property until other features are in place.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163705 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 15:44:28 +00:00
Brett Leslie Porter
4a065a33db
create parent directories
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163704 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 07:12:50 +00:00
Brett Leslie Porter
2fb808c703
fix repository inheritence
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163703 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 07:02:29 +00:00
Trygve Laugstol
16ea6ce332
o Fixing a NullPointerException in the value extractor if the specified getter
...
didn't exists. The value extractor will now return null if the getter doesn't
exists.
o Properly implemented the method caching in the value exctrator.
o Changed the RegexBasedModelInterpolator so it would properly handle null
values. It used to convert null to "null" and then insert that, now it will
leave the expression as is.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163696 13f79535-47bb-0310-9956-ffa450edef68
2005-03-28 14:37:41 +00:00
Brett Leslie Porter
39a96456cd
can't do this yet
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163695 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 16:16:49 +00:00
Brett Leslie Porter
ff261cd131
more bug fixes for artifact cloning
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163694 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 16:08:48 +00:00
Brett Leslie Porter
004c6cbdf3
snapshot resolution. commented out due to issues surrounding pom/artifact pairing
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163692 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 14:52:25 +00:00
Brett Leslie Porter
895de57874
clean up
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163691 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 13:05:36 +00:00
Brett Leslie Porter
5db2c4cf56
rewrite POM with new version on deployment
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163689 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 12:22:05 +00:00
Brett Leslie Porter
7573893dac
fix goal configuration again
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163686 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 09:20:04 +00:00
Brett Leslie Porter
3f0f786e67
transform deployment of SNAPSHOT.
...
Currently, the POM and artifact are deployed separately, causing an inconsistent version to be written out.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163684 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 08:45:37 +00:00
Brett Leslie Porter
886d787bf4
fix NPE when there is no goal configuration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163683 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 07:54:34 +00:00
Brett Leslie Porter
ee15019eb8
refactor maven-artifact: first pass, reduce the usage of setPath()
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163681 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 05:01:06 +00:00
Brett Leslie Porter
d0e15a1f37
remove unused class
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163680 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 04:44:41 +00:00
Brett Leslie Porter
9532b897aa
make abstract - contains no tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163679 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 04:44:12 +00:00
Brett Leslie Porter
5e2caf89c7
o put all of the path functions back into the artifact handler manager - that class likely needs a rename.
...
o Removed AbstractArtifactComponent as it was simply delegating to the class and prevented other inheritence for the resolver which seems more appropriate.
o fixed test failure in ProjectClasspathTest due to incorrectly constructed component - using plexus even though still working around the problem with a hack
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163675 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 08:42:57 +00:00
Brett Leslie Porter
14bb2c805a
change the maven group ID
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163670 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 06:52:55 +00:00
Brett Leslie Porter
1468ecbbad
reformat
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163667 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 01:16:49 +00:00
Brett Leslie Porter
b84d4bc35e
revert <includes> and <excludes> in MDO to old format
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163666 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 14:26:28 +00:00
Brett Leslie Porter
32416cf540
check super classes for fields to set
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163655 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 12:28:36 +00:00
Brett Leslie Porter
d9a6576761
don't aggregate plugins
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163654 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 11:42:23 +00:00
Brett Leslie Porter
3a1e4f0199
clean up plugin configuration handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163653 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 11:29:55 +00:00
Brett Leslie Porter
e0e405fe68
clean up plugin configuration handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163652 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 10:46:55 +00:00
Brett Leslie Porter
336fa855be
close file handle
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163651 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 10:07:01 +00:00
Brett Leslie Porter
297f542553
remove extension from artifact - it is the sole reponsibility of the artifact handler. This prevents the error of plugins getting the extension "maven-plugin"
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163647 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 07:23:17 +00:00
John Dennis Casey
590e952f02
CHANGES
...
------------------------
o Factored the layout for a repository into a separate set of components in o.a.m.a.repository.layout
o Added new DefaultRepositoryLayout that uses the repo layout in http://docs.codehaus.org/pages/viewpage.action?pageId=22230 (it is not used by default until we get the repo1 conversion done)
o Added command-line switches to force legacy local-repo or new format (-a/-A, I know, but try to find something that makes more sense!)
o Added path formatting to the repository itself, which is now constructed with a ArtifactRepositoryLayout instance (since layout should be tied to the repository)
o Removed path formatting altogether from the DefaultArtifactHandlerManager.
o Changed the AbstractArtifactBasedComponent (or whatever it's called) to use the repository formatting in the path() and localPath() methods.
o Moved the plugin repo construction (still intact as a hard-coded singleton list) into the DefaultMavenProjectBuilder, where it will eventually build from POM info.
o Added a new method to build an artifact repository for a <distributionManagement/> section, if possible. This reduced the strain on mojos to construct an ArtifactRepository on demand.
o Refactored all *DeployMojo to use #project.distributionManagementArtifactRepository instead of the #settings, #component..ArtifactRepositoryFactory, ... that it used to require. This is a big simplifying step.
o Removed remote artifact repository construction from DefaultMaven, and changed the MavenSession to delegate to MavenProject for remoteArtifactRepositories, just as it does for pluginRepositories.
o Added remoteArtifactRepositories, pluginArtifactRepositories, distributionManagementArtifactRepository to MavenProject as a cache for the higher-level repos used throughout the system. This is project info, so it belongs here.
o Fixed all the tests in maven-core and maven-artifact which I broke. :)
o Dropped what is probably a big format-bomb, since the Eclipse formatter doesn't really handle 'throws Exception' wrapping the right way.
o Added MavenProject to the MavenSession constructor, since there should always be a MavenProject associated with a build, even if it's just the super-pom.
TODO:
--------------------------
- Write an integration/unit test to ensure that the new repo format works with $classifier (was: $extra) and $groupId[0]/../$groupId[n]. This is a simple adaptation of the old layout, but still needs testing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163638 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 08:18:34 +00:00
Brett Leslie Porter
3bd980bdb1
hack in a dom so we can use plexus configuration. more to do...
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163635 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 07:23:07 +00:00
Brett Leslie Porter
847e6b8852
improve error handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163629 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 04:24:45 +00:00
Brett Leslie Porter
f5bd920140
make the detection cleaner to make it easier to clean up later
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163628 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 04:00:46 +00:00
Brett Leslie Porter
dab33490a5
most basic of field based plugins
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163627 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 03:49:17 +00:00
Brett Leslie Porter
e452a9ca52
don't show if empty
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163626 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 01:48:44 +00:00
Brett Leslie Porter
b80f5242b2
setup a simple, backwards compatible mechanism to start implementing the new plugin instantiation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163624 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 01:02:36 +00:00
Brett Leslie Porter
5a296f03c8
clean up old tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163623 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 01:01:35 +00:00
Brett Leslie Porter
8e9ec9c892
move log to AbstractPlugin, out of request. Request now contains only parameters (will move to fields) and marmalade context (can move to marmalade mojo wrapper)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163622 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 00:07:39 +00:00
Brett Leslie Porter
a593e7df88
change the plugin execution response to be an exception instead since it only handled failures.
...
any returns from success will be conveyed by the request, soon to be converted into fields on the plugin. These will eventually be extracted using OGNL, but this is all post alpha-1 work
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163621 13f79535-47bb-0310-9956-ffa450edef68
2005-03-20 23:22:01 +00:00
Brett Leslie Porter
b164176ca9
implement interface change
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163619 13f79535-47bb-0310-9956-ffa450edef68
2005-03-19 03:00:06 +00:00
Brett Leslie Porter
f5605e5327
override with goal configuration if it exists
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163618 13f79535-47bb-0310-9956-ffa450edef68
2005-03-19 00:22:28 +00:00
Brett Leslie Porter
2e7b575246
repair formatting mishap
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163617 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 23:34:44 +00:00
Brett Leslie Porter
49552c8688
make sure paths are processed after plugin configuration is merged
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163616 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 23:32:37 +00:00
John Dennis Casey
10b55add40
o Created non-abstract base class for DefaultArtifactFactory to extend, called ArtifactConstructionSupport, which provides centralized means for constructing artifacts consistently without all the maven-core specific methods. These maven-core specifics not delegate to the generic methods provided in this new class.
...
o Adjusted the maven-archetype stuff to work with the new artifact creation/resolution/etc. methods in maven-artifact and maven-core.
o Removed all direct construction of DefaultArtifact and replaced with ArtifactConstructionSupport where it would have involved putting the DefaultArtifactFactory in the plexus.xml, and where the code doesn't need dependency-oriented methods.
o Archetype works now, using the example provided in plexus/plexus-site/src/site/apt/building-plexus-applications.apt
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163615 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 22:02:09 +00:00
Brett Leslie Porter
7072ba8dac
fix parse error that cause continuum grief
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163611 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 11:32:39 +00:00
Emmanuel Venisse
23b0c1d4fb
Fix settings finder for windows.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163595 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 06:07:46 +00:00
Brett Leslie Porter
dbe55b7d83
another issue with re-initialising the phases in the reactor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163590 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 02:26:19 +00:00
Brett Leslie Porter
829e2051f6
PR: MNG-207
...
scope must be considered globally - redefining it weaker must not win.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163589 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 02:04:35 +00:00
Brett Leslie Porter
08df9d163d
PR: MNG-209
...
re-initialise lifecycle on each execution. Make it threadsafe.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163586 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 23:19:00 +00:00
John Dennis Casey
1cc2abaaa4
o Added duplicate declaration of settings builder and artifact repo factory, to allow embedding of maven inside plexus-based apps that already have a plexus.xml (and therefore cannot use maven's plexus.xml).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163584 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 19:06:08 +00:00
Brett Leslie Porter
143f33b701
comment on placement issue
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163582 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 07:36:01 +00:00
Brett Leslie Porter
fea9f2ac53
project cache repairs - must not cache models that are already interpolated, translated, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163581 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:56:03 +00:00
John Dennis Casey
e9a9323812
o Changed maven-user-model/UserModel/UserModelBuilder to maven-settings/MavenSettings/MavenSettingsBuilder.
...
This supports a change to a simpler local configuration file (~/.m2/settings.xml by default), which has the general format of:
<settings>
<profiles>
<profile>
<active>true</active> <!-- not needed if this is the only profile -->
<localRepository>/path/to/repo</localRepository>
</profile>
.
.
.
</profiles>
<servers>
<server>
<id>myserver</id>
<username>me</username>
<password>mypass</password>
<privateKey>/path/to/key</privateKey>
<passphrase>key-passphrase</passphrase>
</server>
.
.
.
</servers>
<proxies>
<proxy>
<active>true</active> <!-- not needed if this is the only proxy -->
.
.
.
</proxy>
.
.
.
</proxies>
</settings>
o Added special parameter named '#settings' which simply injects the current MavenSettings from the MavenSession into the request parameters.
o Adjusted the it-verifier and mboot2 accordingly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163578 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:29:35 +00:00
Brett Leslie Porter
de262b4236
o refactor usage of build methods
...
o do not do path resolution for repository POMs
o source poms override repository poms in the cache
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163577 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 05:08:50 +00:00
Brett Leslie Porter
c865afbae9
project sorting can be a static method
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163576 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 04:28:34 +00:00
Brett Leslie Porter
64eb3c2ddd
project sorting can be a static method
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163575 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 04:21:03 +00:00
Brett Leslie Porter
83c5474b1f
super project never has dependencies to resolve
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163574 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 04:18:06 +00:00
Brett Leslie Porter
e616a7b1c9
PR: MNG-204
...
DAG needs to account for the project's inherited parent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163573 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 03:58:18 +00:00
Brett Leslie Porter
ba992be685
PR: MNG-205
...
Add a non-recursive mode to disable processing of modules
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163572 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 03:48:30 +00:00
Brett Leslie Porter
dda9fa50fb
cache POMs within the reactor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163571 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 03:39:54 +00:00
Brett Leslie Porter
38add00ed4
cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163570 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:43:09 +00:00
Brett Leslie Porter
b342ded8de
complete inheritence of distributionManagement
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163565 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:00:32 +00:00
Brett Leslie Porter
88b5c0ee66
PR: MNG-187
...
add getCollectedProjects to MavenProject for post processing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163564 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 23:36:28 +00:00
Brett Leslie Porter
e5ab9191bd
PR: MNG-191
...
collect proejcts and modules first, then execute reactor
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163563 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 23:31:23 +00:00
Brett Leslie Porter
5c1f5b1e57
PR: MNG-52
...
change type of maven plugins to "maven-plugin" instead of plugin.
This should allow other products to have different plugin types, if necessary.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163562 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 22:31:54 +00:00
Brett Leslie Porter
fae1470d47
fix error reporting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163560 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 21:48:55 +00:00
John Dennis Casey
4d1ca8da33
o Removed AuthenticationInfoProvider stuff
...
o Added ArtifactRepositoryFactory stuff to construct with AuthenticationInfo if possible.
o Added UserModelBuilder stuff for componentizing UserModel construction.
-> DefaultUserModelBuilder has a configuration point 'userModelPath' which can redirect where it reads user.xml from (${user.home} is substitutable here).
o Added warning message to deployment plugin when deployment repo has no authentication info available.
o Added warning message for repos with null <id/> (auth info cannot be assigned here).
o Added a couple of debug-level messages for aid in debugging repo- and userModel-related problems.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163558 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 21:41:06 +00:00
John Dennis Casey
56708f7983
Removed artifactId and modelVersion from inheritance assembly, as these should always be supplied by a pom.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163557 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 21:37:56 +00:00
Brett Leslie Porter
ba06a10501
some clean up
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163552 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 02:50:58 +00:00
Jason van Zyl
8f754f2bb1
o need the path translator in the core until we allow the processing of multiple plexus.xml files.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163549 13f79535-47bb-0310-9956-ffa450edef68
2005-03-14 06:31:25 +00:00
Jason van Zyl
9d2c2d6d51
o fixing construction of mojo descriptor id
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163548 13f79535-47bb-0310-9956-ffa450edef68
2005-03-13 23:52:43 +00:00
Jason van Zyl
a501f4c08a
o cleaning up the path translator and adding a method to allow arbitrary
...
path translation given a path and basedir
o moved the component configuration for the path translator into the
plexus.xml so that the DefaultPluginManager can use it as a dependency
o DefaultPluginManager.createParameters() will now look for parameters with
the type = java.io.File and translate the path to the basedir of the
project.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163543 13f79535-47bb-0310-9956-ffa450edef68
2005-03-13 01:45:38 +00:00
Jason van Zyl
e6d8aeb6c0
o allowing the selective execution of a set of mojos inside a plugins by
...
specifying a <goals/> section inside a <plugin/> configuration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163539 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 21:54:21 +00:00
Brett Leslie Porter
d179db8752
fix plugin configuration discovery
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163536 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 06:10:57 +00:00
Jason van Zyl
f0a20e0bcd
o not needed anymore
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163534 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 05:18:28 +00:00
Brett Leslie Porter
25be5d900a
don't inherit name
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163533 13f79535-47bb-0310-9956-ffa450edef68
2005-03-11 23:51:00 +00:00
Brett Leslie Porter
9b9df37a1c
refactor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163532 13f79535-47bb-0310-9956-ffa450edef68
2005-03-11 23:25:00 +00:00
Brett Leslie Porter
5f424a5ac0
multi-module support
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163528 13f79535-47bb-0310-9956-ffa450edef68
2005-03-11 01:06:48 +00:00
John Dennis Casey
f6c2684903
o Moved the default plugin stuff to <pluginManagement/>. Plugin config will be pulled from here and injected into <plugins/> as needed to satisfy type-handlers at runtime.
...
o Added the ability for DefaultMaven to load only the super-pom in the event that no pom.xml exists to initiate the assembly.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163527 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 23:01:38 +00:00
John Dennis Casey
a8cb7de0b0
o Added plugin version management/enforcement through the POM's build section.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163525 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 21:36:58 +00:00
John Dennis Casey
5dc8cb4f33
o Added default of ~/.m2/repository for users who don't have ~/.m2/user.xml specified.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163519 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 16:35:04 +00:00
Emmanuel Venisse
97ad0f7800
A little fix for build correctly m2.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163514 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 09:19:53 +00:00
Brett Leslie Porter
a44b6f9726
flip pom format
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163511 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 01:35:25 +00:00
John Dennis Casey
8d74f0acc4
o Added user.xml as the central point of config for local repository, both in MBoot2 and maven proper.
...
o Added proxy-profile support to user.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163510 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 22:13:07 +00:00
John Dennis Casey
7f6f4452f2
o Changed Set to List for remote repo handling so that we can maintain declarative ordering in remote repos we use.
...
o Added UserModel support, integrated with maven-artifact and wagon via AuthenticationInfoProvider implementation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163501 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 05:48:31 +00:00
Brett Leslie Porter
1fe8c76a3d
move all artifact creation to artifact factory - further refactoring planned
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163499 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 02:39:10 +00:00
Brett Leslie Porter
e8a0f65e58
actually, test deps are transitive, just not for other test deps
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163496 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 07:11:43 +00:00
John Dennis Casey
77d3e6c5f5
o Added (pom|project)? to the eval pattern in the regex param extractor, to trim ${project.artifactid} to mean the same as ${artifactId} within the pom.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163490 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:06:22 +00:00
Brett Leslie Porter
ba74921b31
formatting fix
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163489 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:05:50 +00:00
Brett Leslie Porter
b5f8943edf
transitive test dependencies should be ignored
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163488 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:01:43 +00:00
Brett Leslie Porter
b31db60bff
tests and repairs for scope
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163486 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 05:34:52 +00:00
Brett Leslie Porter
a8e6af5ff9
GoalWalker was deleted
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163485 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 02:26:00 +00:00
Trygve Laugstol
9bebbc1023
o Improving some error reporting.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163484 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 01:55:22 +00:00
Brett Leslie Porter
eb1ba08fac
getRuntimeClasspathElements
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163483 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 01:51:20 +00:00
Brett Leslie Porter
0d7111f7ba
gone to maven-artifact
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163479 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 01:38:51 +00:00
Brett Leslie Porter
1d615cd239
turn on logging, resolve some issues surrounding test dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163473 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 23:02:43 +00:00
Brett Leslie Porter
d514fff118
clean up
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163472 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 22:08:23 +00:00
Brett Leslie Porter
47da41f68e
refactor source roots to be lists
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163470 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 20:56:23 +00:00
Brett Leslie Porter
72a993eea1
remove old code related to the previous goal structure
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163469 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 19:21:38 +00:00
John Dennis Casey
2513cb25aa
o Added <pluginManagement/>
...
o Removed goal decoration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163468 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 19:03:19 +00:00
Brett Leslie Porter
6c36fe6f71
add basic test dependency handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163466 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 09:41:55 +00:00
Brett Leslie Porter
8c6292c23f
remove <file>, add <scope>
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163463 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 08:15:26 +00:00
Brett Leslie Porter
1f205ca4c0
exclude wagon-api from resolution, it comes from core
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163460 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 07:22:49 +00:00
Brett Leslie Porter
5eb67a452f
add private key, passphrase until we have them in the user configuration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163459 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 05:02:31 +00:00
John Dennis Casey
dfbae27c44
o Added first-pass logging and event-monitoring impls. Converted all System.out calls in maven-component plugins to use logger.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163457 13f79535-47bb-0310-9956-ffa450edef68
2005-03-04 09:04:26 +00:00
Jason van Zyl
fe4cb5e0bb
o moving the snapshot handling to maven-artifact
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163455 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 15:33:06 +00:00
Brett Leslie Porter
bc4d75dedb
must initialise the whole plugin, even if already loaded, as only some mojos may have been processed
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163453 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 11:42:30 +00:00
Brett Leslie Porter
30eedfb626
add missing error message when the package goal is not found
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163451 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 11:19:45 +00:00
Emmanuel Venisse
6211437619
- Allow recursive evaluation
...
- Allow evaluation for default value
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163446 13f79535-47bb-0310-9956-ffa450edef68
2005-03-02 12:29:03 +00:00
Brett Leslie Porter
11e305e84f
clean up exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163444 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 07:05:33 +00:00
Brett Leslie Porter
418aa443dd
clean up exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163443 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 06:43:13 +00:00
Brett Leslie Porter
d4396153d0
start to push the lifecycle definition towards the type handlers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163439 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 04:35:54 +00:00
Brett Leslie Porter
7f4dc2f9c0
error handling
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163437 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 04:03:24 +00:00
Brett Leslie Porter
7b1ca71aac
each task on the CLI is to be executed individually - don't preprocess all the goals.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163432 13f79535-47bb-0310-9956-ffa450edef68
2005-02-28 22:57:39 +00:00
John Dennis Casey
95d01ff572
o Completed marmalade-mojo support, tested with m2 bootstrap with empty local repo and maven-core pegged at 2/26/2005.
...
Will resolve CI issues as soon as lifecycle is fixed for IT0013.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163430 13f79535-47bb-0310-9956-ffa450edef68
2005-02-28 18:29:47 +00:00
Brett Leslie Porter
ab5308649d
Make sure loop is correctly aborted if there is a failure
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163429 13f79535-47bb-0310-9956-ffa450edef68
2005-02-28 03:06:07 +00:00
Brett Leslie Porter
1d2c0d1d46
simple recognition of plugin for current type
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163427 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 23:47:29 +00:00
Brett Leslie Porter
bd54ac838b
allow plugins to be disabled (to override inheritence)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163425 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 22:34:01 +00:00
Brett Leslie Porter
21f1cffa59
compile based on source roots
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163423 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 21:51:52 +00:00
Brett Leslie Porter
236dc52410
configure phases based on configuration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163422 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 21:22:18 +00:00
Brett Leslie Porter
50759a44cf
pre-process plugins
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163420 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 06:19:13 +00:00
Brett Leslie Porter
d5d05a51c5
start to enhance the lifecycle. Need to pre-process plugins as currently goals are only executed if added to a phase after the current goal. Also need plugin configuration to activate these changes.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163419 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 05:39:55 +00:00
John Dennis Casey
db65155072
o Working on getting it0015 (marmalade-mojo support) working...nearly there, it0015 is still disabled.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163415 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 05:09:14 +00:00
Brett Leslie Porter
00a55be3cb
bring back the reactor (instantiation still needs work - see comments)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163414 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 03:48:17 +00:00
Brett Leslie Porter
0e249ddc83
reintroduce execution failures
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163412 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 03:14:49 +00:00
Brett Leslie Porter
360ae403b2
refactoring to simplify - taking notes of potential clean up after lifecycle is completed
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163410 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 01:23:20 +00:00
Brett Leslie Porter
c31bc6b7ce
clean up some artifact related code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163406 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 05:33:18 +00:00
John Dennis Casey
52de04e862
Retrying commit after updating maven-core to HEAD.
...
o Fixed problems with plugin-plugin (had to do with refactored plugin-tools stuff)
o Added marmalade-mojo support, although without an integration test (verified it doesn't get in the way of 'normal' functionality, though)
o Added code in mboot2 to copy marmalade-mojo support libs to ${maven.home}/lib
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163405 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 05:12:30 +00:00
Brett Leslie Porter
dac661c709
path alignment for files in dependency
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163401 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 04:37:54 +00:00
Brett Leslie Porter
fd8d091275
place tests in consistent locations
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163400 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 04:21:52 +00:00
Brett Leslie Porter
87b3e49afd
add file to dependency, and handle in injection
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163399 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 04:16:18 +00:00
Brett Leslie Porter
4b7ab94e31
removed unused source directories
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163398 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 04:15:47 +00:00
Brett Leslie Porter
423d6ab68d
some better error reporting for goals that are not found
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163391 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 00:49:40 +00:00
Brett Leslie Porter
5f65f68c1b
put back change I accidentally reverted
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163389 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 23:59:27 +00:00
Brett Leslie Porter
c022a8807d
use ${..} style interpolation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163381 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 03:56:25 +00:00
Brett Leslie Porter
4465e49559
refactoring:
...
- use an expression in the suport POM to set up finalName
- have interpolator and injector deal only with model
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163380 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 03:27:00 +00:00
Brett Leslie Porter
c903684688
fix tests. Would like to find an alternative to utilising maven-artifact inside this class.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163379 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 02:37:39 +00:00
Brett Leslie Porter
bd55c2ab5d
fix bad formatting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163378 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 02:06:22 +00:00
Brett Leslie Porter
ec94b8fe2e
move injectors to a package
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163377 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 01:59:34 +00:00
Brett Leslie Porter
b005ece7c4
get project reports working
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163376 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 00:06:06 +00:00
John Dennis Casey
fd7587de72
o Added to ignore some classes I want around for ideas, but not to make it into the main build.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163371 13f79535-47bb-0310-9956-ffa450edef68
2005-02-20 18:09:12 +00:00
John Dennis Casey
98002718c3
o Refactored mojo/plugin generation, extraction, etc. to accommodate multiple mojo languages.
...
o Tested with java mojos, mboot to verify nothing broken by refactor.
o TODO: Add marmalade support tests...currently only java-mojos are supported in mboot2, so this isn't going to interrupt things.
o TODO: Once marmalade support is tested, add to the list of artifacts built by mboot2.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163369 13f79535-47bb-0310-9956-ffa450edef68
2005-02-20 16:25:22 +00:00
Emmanuel Venisse
2011539175
Use new install and deploy goals instead of jar:install and jar:deploy goals
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163368 13f79535-47bb-0310-9956-ffa450edef68
2005-02-19 14:47:09 +00:00
Jason van Zyl
49e98f5f71
o lifecycle executor
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163360 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 07:25:31 +00:00
Jason van Zyl
780b693240
o the introduction of the lifecycle stuff we've been chatting about so you
...
can now do things like:
m2 package
which makes the jar
m2 install
which installs the jar
m2 test
You can also execute individual goals still like:
clean:clean
pom:install
idea:idea
Execution of goals this way will still have the dependency resolution
flag obeyed but they are run in isolation in that pre/post goals don't
exist anymore. You need to slot your mojos into the lifecycle.
I will add the mechanism whereby configuring a plugin will push
the mojo into the lifecycle.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163359 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 07:16:33 +00:00
Brett Leslie Porter
2433342e7e
fix APT parse errors
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163357 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 01:23:55 +00:00
Brett Leslie Porter
c54347e9e0
need to reinstate the non-project builder version for plexus-runtime-builder
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163355 13f79535-47bb-0310-9956-ffa450edef68
2005-02-15 21:39:07 +00:00
Brett Leslie Porter
aad6d7c1b0
clarify integration tests
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163354 13f79535-47bb-0310-9956-ffa450edef68
2005-02-14 04:44:00 +00:00
Jason van Zyl
dd522ff10c
o little additions
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163353 13f79535-47bb-0310-9956-ffa450edef68
2005-02-13 20:21:16 +00:00
Jason van Zyl
89c4612bf8
o using a snippet to extract the relevent bit out of the configuration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163352 13f79535-47bb-0310-9956-ffa450edef68
2005-02-13 20:09:22 +00:00
Brett Leslie Porter
aa25e4562f
add notes relating to alternate lifecycles (eg for site)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163351 13f79535-47bb-0310-9956-ffa450edef68
2005-02-13 03:54:12 +00:00
Jason van Zyl
734257981b
o adding test class processing phase
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163350 13f79535-47bb-0310-9956-ffa450edef68
2005-02-12 17:36:42 +00:00
Brett Leslie Porter
8ad0f8f745
*very* quick download monitor. Instantiation and output to be reviewed later
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163348 13f79535-47bb-0310-9956-ffa450edef68
2005-02-10 07:09:57 +00:00
Brett Leslie Porter
1fb63ba3c0
moving repository permissions settings to a separate class - they don't belong in authentication info
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163346 13f79535-47bb-0310-9956-ffa450edef68
2005-02-09 06:17:38 +00:00
John Dennis Casey
f191abe11c
o First iteration of discussion on implementing marmalade scripting support for mojos.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163345 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 20:51:47 +00:00
Brett Leslie Porter
49963682a2
pass the proxy request parameters to the default wagon
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163344 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 10:32:45 +00:00
Brett Leslie Porter
67d58c8d04
clean formatting, and ensure not to munge the model's repository list while assembling the lineage
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163342 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 06:02:40 +00:00
Brett Leslie Porter
67695dec70
method only used once
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163341 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 04:39:51 +00:00
Brett Leslie Porter
d783d9ce98
reduce number of classes holding on to localRepository unnecessarily
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163339 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 04:12:58 +00:00
Brett Leslie Porter
797291178f
cleanup: remove the remote repository list from the MavenMetadataSource as it was only used in retrieve(), and the equivalent list can be passed directly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163338 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 03:26:06 +00:00
John Dennis Casey
bf3c9c2a02
o Replaced Model/MavenXpp3Reader with MavenProjectBuilder in MavenMetaDataSource,
...
to take advantage of the post-processing (managed dependencies, pom interpolation,
inheritance assembly) involved with building a project. This shoud make transitive
dependency resolution more consistent with the rest of m2's handling of
POM information.
It has been tested on marmalade in the jelly-core taglib, but
I'm not sure how to setup an integration test using the it-verifier
to build multiple POMs in a single test, so I'm not sure how to
setup an integration test for this.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163336 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 04:02:10 +00:00
John Dennis Casey
4f8225545e
o Added pom interpolation based on regex search-and-replacement with ReflectionValueExtractor pom lookups.
...
o Moved ReflectionProjectValueExtractor into o.a.m.util package and renamed to ReflectionValueExtractor
o Added unit tests for interpolation
o Added integration test for interpolation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163335 13f79535-47bb-0310-9956-ffa450edef68
2005-02-03 20:54:15 +00:00
Brett Leslie Porter
e480dd8d3e
o add basic auth to model and lightweight wagon
...
o add proxy configuration in lightweight wagon
o not yet wiring in the properties from maven.properties into the repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163334 13f79535-47bb-0310-9956-ffa450edef68
2005-02-03 11:39:27 +00:00
Brett Leslie Porter
6503a19dfc
add license, reformat to style and change failing test
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163333 13f79535-47bb-0310-9956-ffa450edef68
2005-02-03 09:10:02 +00:00
John Dennis Casey
2ce3a6cbde
o Fixed formats for inheritance assembler additions
...
o Removed unused import on defaults injector.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163331 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 22:14:46 +00:00
John Dennis Casey
64f75b8aa0
o Removed dependency validation after default injection, since this is the job of the validator (later in the project-building process)
...
o Reformatted using m2 eclipse formatting file.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163330 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 22:13:15 +00:00
Michal Maczka
4dfcf82eae
correcting role name
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163329 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 20:15:28 +00:00
Brett Leslie Porter
cf673c6270
add missing note about goal aliasing
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163328 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 09:18:20 +00:00
John Dennis Casey
6eb196cc55
o Corrected issue with inheritance of <dependencyManagement/>
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163326 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 03:11:02 +00:00
John Dennis Casey
da47c49f4f
o Revised the defaults section to <dependencyManagement>, all builds and is happy.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163325 13f79535-47bb-0310-9956-ffa450edef68
2005-02-02 02:23:12 +00:00
John Dennis Casey
58ead792af
o over-specified the dependency's properties empty-check...
...
Dependencies should be able to override the default properties simply
by supplying <properties/>. This change enables that.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163324 13f79535-47bb-0310-9956-ffa450edef68
2005-02-01 22:44:43 +00:00
John Dennis Casey
e687cfed61
o Added dependencyDefaults section to POM.
...
The nested <dependencyDefault> element closely mirrors the <dependency> element specification.
It provides the ability to set url, artifact, properties, version for a dependency that matches on
{groupId, artifactId, type}. Url, artifact, and version will only override the dependency's values if
the dependency doesn't provide the value, and (in the case of url and artifact) the dependency
doesn't provide a version (url and artifact are assumed to be version-specific).
Properties will only be overwritten, and only in the case where the dependency
doesn't specify them.
Dependencies are validated after merging with defaults, since version is not required
on either <dependency> or <dependencyDefault> but is required between the two.
o Added component interface/default impl for injecting project defaults.
o Added unit and integration tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163323 13f79535-47bb-0310-9956-ffa450edef68
2005-02-01 22:43:03 +00:00
John Dennis Casey
cfc50a76aa
o Added some discussion notes at the end of the document, since I'm not sure where else to put them.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163313 13f79535-47bb-0310-9956-ffa450edef68
2005-01-24 01:41:24 +00:00
Jason van Zyl
0575ec3c76
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163312 13f79535-47bb-0310-9956-ffa450edef68
2005-01-22 16:11:57 +00:00
Jason van Zyl
3f3c38afc9
o first copy of notes, this first push will become 3-4 pages over the course of the day, bare with me.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163311 13f79535-47bb-0310-9956-ffa450edef68
2005-01-21 15:45:41 +00:00
John Dennis Casey
faaa6ba7f5
o Accidentally committed a bunch of development stuff...cleaning up.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163310 13f79535-47bb-0310-9956-ffa450edef68
2005-01-20 20:38:05 +00:00
John Dennis Casey
d81fa66315
o Added imports for MavenExecutionRequest and MavenExecutionResponse.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163309 13f79535-47bb-0310-9956-ffa450edef68
2005-01-20 20:36:45 +00:00
Trygve Laugstol
cd38ae43fc
o Improving exception message.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163297 13f79535-47bb-0310-9956-ffa450edef68
2005-01-06 23:58:52 +00:00
Trygve Laugstol
796064a35c
o Removing plexus-utils from the excludes list.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163291 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 17:56:20 +00:00
Emmanuel Venisse
a45ae033dc
Fix command line for cygwin.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163288 13f79535-47bb-0310-9956-ffa450edef68
2004-12-30 14:04:55 +00:00
Jason van Zyl
873fc22f6d
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163287 13f79535-47bb-0310-9956-ffa450edef68
2004-12-30 05:30:46 +00:00
Jason van Zyl
153d46aa2f
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163279 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 20:50:49 +00:00
Jason van Zyl
107aa56cc5
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163276 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:43:20 +00:00
Jason van Zyl
a6a0eab73d
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163275 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:32:54 +00:00
Jason van Zyl
2c809a239c
o don't merge configuration if there is no project. again here we
...
might always want to send the super POM through for consistency.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163274 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:32:36 +00:00
Jason van Zyl
ebbb80139c
o if we don't have a project then we don't have any pre/post goals.
...
this happens when we are initializing a project. maybe for the
initializing mode we should send in the parent POM. not sure yet.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163273 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:30:43 +00:00
Jason van Zyl
1e3e8c5073
o throw a configuration exception if a component can't be found we can't recover from that.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163272 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:29:14 +00:00
Jason van Zyl
fe05b1efc9
o formatting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163271 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 19:09:31 +00:00
Jason van Zyl
a605b693e8
o formatting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163270 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 18:59:06 +00:00
Jason van Zyl
52ab7890fc
no message
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163267 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 16:38:26 +00:00
Jason van Zyl
4d6c85244d
o reformatting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163266 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 16:35:42 +00:00
Jason van Zyl
8e02162f79
o reformatting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163265 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 16:29:15 +00:00
Jason van Zyl
16036aa792
updating copyright
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163264 13f79535-47bb-0310-9956-ffa450edef68
2004-12-25 16:26:25 +00:00
Jason van Zyl
8afb73892d
remove notion of maven home from the core
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163263 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 22:28:36 +00:00
Jason van Zyl
33332423f6
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163262 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 21:36:00 +00:00
Jason van Zyl
a8d5efcfdb
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163261 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 20:55:54 +00:00
Jason van Zyl
47798a5834
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163260 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 20:51:45 +00:00
Jason van Zyl
d7591b9f76
o move some shared execution request handling code to the super class
...
o cleanup the plugin manager interface, we don't need to set the local
repository as that information is in the request and session.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163259 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 17:29:42 +00:00
Jason van Zyl
7099cca292
o we'll deal with v3 -> v4 conversion somewhere else.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163258 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 03:20:02 +00:00
Jason van Zyl
754feeadb3
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163257 13f79535-47bb-0310-9956-ffa450edef68
2004-12-23 23:46:42 +00:00
Emmanuel Venisse
0e31910a59
Use parameters
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163244 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 10:47:07 +00:00
Jason van Zyl
4d4fc115d9
o we're still using ognl-esque expressions but we don't need its syntax internally.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163242 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 22:06:34 +00:00
Jason van Zyl
3a28b21872
o removing the use of OGNL, snagged some classes from velocity to do
...
the plugin parameter expression evaluation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163241 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 21:45:36 +00:00
Jason van Zyl
4eff8b0aea
o Trying to keep only keep the main entry point into maven as the only classes in the top level package.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163238 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 04:16:07 +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
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
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
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
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
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
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
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
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
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
Jason van Zyl
d8c9056f67
o use the new api in maven-artifact
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163186 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 14:30:35 +00:00
Jason van Zyl
5bfcebab21
o adding per goal/mojo configuration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163183 13f79535-47bb-0310-9956-ffa450edef68
2004-10-03 19:28:25 +00:00
Jason van Zyl
552b22c77a
o the first phase of merging plugin configuration as defined in the POM
...
with defaults and user defined values.
After a chat with emmanuel we decided that we would allow for plugin
wide configuration and mojo/goal specific configuration with the more
specific mojo/goal configuration winning in the event a parameter is
defined in both places. Currently only plugin wide parameters are
being considered: I still need to update the model for mojo/goal
specific parameters and then update the parameter merging code.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163181 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 18:00:09 +00:00
Jason van Zyl
e26f756e8f
o adding necessary bits and bobs for plugin configuration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163179 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 14:53:48 +00:00
Jason van Zyl
22f5fe58dc
o i want a whole canonical test, but we know most things are working from the integration tests and i am specifically interested in plugin configuration at the moment so that's what's going in right now.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163177 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 14:12:40 +00:00
Jason van Zyl
a699b769da
o improve message when required parameter is null
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163175 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 16:11:11 +00:00
Jason van Zyl
9f4113bb5b
o perform some minimal validation of the plugin configuration parameters to make sure they are not null when the parameter is required. throw an exception is the parameter that is required is null.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163173 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 15:48:54 +00:00
Jason van Zyl
4a14895569
o if an expression evaluates to null then let it let it go through so that it can be examined by the minimal validation now present.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163172 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 15:47:49 +00:00
Jason van Zyl
33f0f06a11
o throw an exception when there is a plugin configuration problem whether
...
that be a bad expression or validation problem.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163170 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 15:09:48 +00:00
Jason van Zyl
15b1a54fee
o we want to throw an exception when there is a problem with the configuration of a plugin whether that be an ognl expression evaluation problem or a plugin parameter validation problem
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163169 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 14:54:39 +00:00
Emmanuel Venisse
36e362367b
Add automatically maven.repo.local to system properties.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163168 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 14:48:07 +00:00
Brett Leslie Porter
6e812f1d2e
work without M2_HOME - base on location of batch file
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163157 13f79535-47bb-0310-9956-ffa450edef68
2004-09-24 14:48:18 +00:00
Jason van Zyl
40734471d8
o use the dispatcher
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163145 13f79535-47bb-0310-9956-ffa450edef68
2004-09-23 16:53:20 +00:00
Jason van Zyl
a8db29528c
o point the remote repo download to the first dispatcher
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163141 13f79535-47bb-0310-9956-ffa450edef68
2004-09-23 16:26:22 +00:00
Jason van Zyl
ec6e54593a
o correction for install, trying to set someone up
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163139 13f79535-47bb-0310-9956-ffa450edef68
2004-09-23 15:04:30 +00:00
John Dennis Casey
8e6c7b0424
o Fixed functionality to disable dependency resolution and download for things like clean:clean.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163138 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 03:31:41 +00:00
John Dennis Casey
5f23120ff6
o Fixed goal decorator inheritance deficiency.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163137 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 02:58:12 +00:00
Jason van Zyl
a793d673b4
o add decorator delegation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163136 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 02:29:26 +00:00
John Dennis Casey
90c3f69e1c
o removed the current mojo descriptor stuff from the goal execution context...doesn't seem to be used anywhere, and it'll cause problems if the current goal is from a plugin that has not been resolved yet.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163135 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 00:23:35 +00:00
John Dennis Casey
717f716b4f
o Trying to get the damn CVS update to take...
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163134 13f79535-47bb-0310-9956-ffa450edef68
2004-09-21 23:38:30 +00:00
John Dennis Casey
3e49095f26
o Added code to populate the visited set for the goal mapping phase.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163133 13f79535-47bb-0310-9956-ffa450edef68
2004-09-21 23:33:02 +00:00
John Dennis Casey
78563d686f
o Refactored the goal/plugin resolution part of the lifecycle.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163132 13f79535-47bb-0310-9956-ffa450edef68
2004-09-21 23:11:16 +00:00