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
2628261b75
PR: MNG-207
...
fix scope issue in a conflict
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163587 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 00:17:26 +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
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
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
Trygve Laugstol
a82bda0aac
o Adding a Plexus service handler.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163555 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 07:35:18 +00:00
Brett Leslie Porter
f9c6aa0f9d
missed a commit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163553 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 03:09:42 +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
105288fee4
o change the signature of the filter so that the filter has full access to
...
the artifact for basing decisions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163550 13f79535-47bb-0310-9956-ffa450edef68
2005-03-14 07:24:23 +00:00
Brett Leslie Porter
8e9febb5d5
minor error handling improvement
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163537 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 19:42:51 +00:00
Emmanuel Venisse
2ef5d9ad39
initial version of EJB plugin
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163520 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 17:14:39 +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
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
fecb4632b0
formatting
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163498 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 21:08:10 +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
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
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
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
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
Jason van Zyl
0c42b64caf
o moving artifact request transformation mechanism inside the resolver
...
package as they artifact transformations will be utilized from within
the resolver.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163456 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 15:37:25 +00:00
Brett Leslie Porter
defeadfd09
activate the whole war plugin, not just the war:war goal
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163454 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 11:43:00 +00:00
Emmanuel Venisse
c7f03630d9
Add war handler
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163447 13f79535-47bb-0310-9956-ffa450edef68
2005-03-02 13:36:16 +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
99219164fa
clean up exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163442 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 06:28:57 +00:00
Brett Leslie Porter
73576d5bec
some clean up from inspections
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163441 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 06:20:30 +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
ee0fe536a3
reformat
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163438 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 04:04:25 +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
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
54222773a9
ability to set a proxy for a wagon
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163343 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 07:48:08 +00:00
Brett Leslie Porter
440cb8d559
left behind an old reference
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163340 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 04:30:30 +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
Jason van Zyl
b4e6c5b907
{issue:MNG-73}
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163318 13f79535-47bb-0310-9956-ffa450edef68
2005-01-27 08:09:40 +00:00
Trygve Laugstol
2520812edf
o Overriding hashCode() and equals().
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163306 13f79535-47bb-0310-9956-ffa450edef68
2005-01-13 09:37:44 +00:00
Carlos Sanchez Gonzalez
91c2856267
Added javadoc and war handlers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163304 13f79535-47bb-0310-9956-ffa450edef68
2005-01-10 21:45:00 +00:00
Jason van Zyl
d89b6de961
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163283 13f79535-47bb-0310-9956-ffa450edef68
2004-12-29 06:59:23 +00:00
Jason van Zyl
cd21e94926
o leave the setting of the path to the artifactResolver
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163269 13f79535-47bb-0310-9956-ffa450edef68
2004-12-27 05:11:29 +00:00
Jason van Zyl
e3d6106465
o add a factory method to the wagonManager which creates an artifact as the artifact handler is required to correctly create the path for the artifact and this should all be handled internally.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163268 13f79535-47bb-0310-9956-ffa450edef68
2004-12-27 04:51:48 +00:00
Trygve Laugstol
aa438b8137
o Adding a artifact handler for sources.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163235 13f79535-47bb-0310-9956-ffa450edef68
2004-11-22 12:46:55 +00:00
Jason van Zyl
6c955f6009
o updating wagon dep
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163222 13f79535-47bb-0310-9956-ffa450edef68
2004-10-26 00:48:14 +00:00
Jason van Zyl
275f002ac9
o updating to the latest wagon snapshots
...
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163221 13f79535-47bb-0310-9956-ffa450edef68
2004-10-26 00:42:32 +00:00
Jason van Zyl
0c72d1fb06
o remove the use of the deprecated basedir field in PlexusTestCase and use
...
the getBasedir() method.
o use the getBasedir() method in any test helpers that construct paths.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163201 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:33:59 +00:00
Jason van Zyl
fa9735291f
o putting into play the use of the artifact filter during the transitive
...
collection of artifacts.
-> I was previously using a an exclude list but that was only taking into
account the top-level pass of the artifacts so what was happening was
things like maven-core weren't going in repeatedly but all of
maven-core's deps were going in repeatedly. So by using the filter
in the collector that sort of behaviour is stopped and now I can
make the filter do anything I want to account for any weirdisms
I subsequently encounter.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163185 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 14:30:00 +00:00
Jason van Zyl
cf8d34fe69
o simple interface that will be used inside the resolver to allow artifacts to be filtered out from the result list.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163184 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 01:57:59 +00:00
Emmanuel Venisse
b1b7930761
Fix artifact handling for unsupported artifact type.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163166 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 11:20:38 +00:00
Emmanuel Venisse
a3374e3e8d
Tes if handler exist before use it in path method.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163165 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 10:21:22 +00:00
Jason van Zyl
ef61424a93
o my changes in plexus caused some nasty problems so i've backed
...
them out until tomorrow when i can take another shot.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163112 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 06:08:18 +00:00
Jason van Zyl
a37f880493
o the assembly of the maven runtime more closely resembles what the
...
plexus runtime generator produces so that i may attempt to use it
some point in the near future
o flipped back to 0.9-S of wagon until I run this on beaver to
verify
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163110 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 04:22:07 +00:00