Jason van Zyl
2769a95f9d
o part of my test slipped in before it's finished
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573128 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:55:36 +00:00
Jason van Zyl
e4d54ae2da
more of the sample import
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573092 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 23:00:18 +00:00
Jason van Zyl
8b77989253
o inconsistent new lines from windows blew up the import (why is svn so retarded?)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573091 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 22:58:29 +00:00
Jason van Zyl
558f841229
o a complex sample project to test a new import model that should make it far easier for IDE integration. I'm tired of looking at duplicated code.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@573090 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 22:52:27 +00:00
Jason van Zyl
ae1501b9f6
o collecting all logging/eventing into the core. i posted a list of possible errors that can occur in the core, the stuff we had was only
...
partially being use and we problems being emitted with messages like:
NOTE: One or more purely derived expression elements were detected in this expression.
If you continue to get this error after any other expression elements are specified correctly
please report this issue to the Maven development team.
I think we have to make a very concerted effort to make useful messages because I'm tired of standing behind Maven
users and being embarrassed when they look at me and ask "what does that mean?". "i actually have no idea."
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572456 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 00:05:04 +00:00
Jason van Zyl
2a241710f0
MNG-3182
...
MNG-3183
First cleanup of the logging code (it is still a mess), but all the console logging has been removed from the Maven component and pushed back
into the CLI code. As a result we now have a way to log to a file easily.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572408 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 19:33:10 +00:00
Jason van Zyl
441b918f80
o try and start localizing the handling of -f, release poms, and normal poms to the embedder. just too much funk
...
going on in the core.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572388 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 16:52:37 +00:00
Jason van Zyl
cc1ca10d74
o separating out the MavenEmbedderProjectWithExtensionReadingTest which shows that the artifacts handlers must be loaded up-front
...
in the readProjectWithDependencies method because it is not being done in the core unless projects are executed. So Milos' assertion
is correct. I'm now looking at a layered approach for project resolution and then execution so that the readProjectWithDependencies
(which is essential for IDE integration) will yield something that can be pushed into the lifecycle executor. Right now there
is much duplication which makes the IDE integration crappy.
Another result of this is trying to create a simple IDE import model that gives back client code the fully resolved, topo sorted
set of projects which point to binary dependencies outside the reactor, and to source folders inside the reactor. The result will
be a useful model for all IDE integration, right now everyone is doing their own thing. This model will need hooks for customization
to take into account turning "workspace resolution" on/off and allow easy overriding of this process.
o Fixed IT0035
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572366 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 15:42:29 +00:00
Jason van Zyl
01f970117a
o if we are given a base directory, set the actual POM file in the populator, we can eventually move a lot of the logic that is in the CLI there because it's not CLI specific
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572237 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 06:23:09 +00:00
Jason van Zyl
2425f945fb
o adding a validation method to the lifecycle executor so that I can tell users what is wrong before actually trying
...
to execute the lifecycle. Trying to do this validation shows in detail how tangled some of our code is as I need
to create the dispatcher in order to create the session which is required to make the reactorManager which
is required to get the project required to validate the goal name ... yah.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572214 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 02:35:05 +00:00
Jason van Zyl
5c5c39e8ec
o use ${pom.version} and not just ${version}
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572213 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 02:25:41 +00:00
Jason van Zyl
5380116b79
MNG-2398: the lifecycle executor exception wasn't being propagated properly.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572210 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 01:39:28 +00:00
Jason van Zyl
4005482797
MNG-2935: make sure build tanks if the settings are bad (user and global)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572180 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 22:48:43 +00:00
Jason van Zyl
248c7199a0
o remove redundancy
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@572041 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 17:25:01 +00:00
Jason van Zyl
fc05e3e050
o a project to test the resolution of projects when they are not installed in the local repository. this makes sure that
...
IDE integration works for newly created projects that have inter-module dependencies.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571905 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 00:02:23 +00:00
Jason van Zyl
8ce69da938
o separate out the embedder tests into packages by concern
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571902 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 00:01:02 +00:00
Jason van Zyl
e72f6758be
o script for creating the eclipse integration jar
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571901 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 00:00:32 +00:00
Jason van Zyl
c16665a086
o renaming to populator as I'm going to put a few more pieces that are currently instantiate but should be components like the profile manager. I will move this out of DefaultMaven and put it in the request to be shared in the session.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571897 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 23:21:29 +00:00
Jason van Zyl
c2f29dc0a4
o sorting tests in packages by execution, validation, and project (to come)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571885 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:59:30 +00:00
Jason van Zyl
41977f976a
o removing debug
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571883 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:56:32 +00:00
Jason van Zyl
9c88509721
o putting the old style assembly back as it is too much pain to for the uber jar
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571876 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:36:35 +00:00
Jason van Zyl
8b0aaef52f
o creating two scripts for convenience for the IntelliJ and Eclipse IDE integrators
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571874 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 21:28:26 +00:00
Jason van Zyl
884f70085e
o integrate changes made in maven-artifact for non fail-fast and request/result usage in the embedder for
...
use in IDE integration to provide as much feedback as possible.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571862 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 19:23:17 +00:00
Jason van Zyl
7097dc041a
o add a little script for Vlad to build the embedder JAR for the IntelliJ integration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571861 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 19:21:20 +00:00
Jason van Zyl
a227a73569
o a little more documentation about the profile required for IntelliJ
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571375 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 04:48:02 +00:00
Jason van Zyl
34b4b59c7c
o creating a profile for the embedder that needs to be created for IntelliJ
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571374 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 04:43:57 +00:00
Carlos Sanchez Gonzalez
a8f5da6950
Close properly the readers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571120 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 12:00:09 +00:00
Carlos Sanchez Gonzalez
fd64c2db2a
Close properly the readers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@571106 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 10:34:35 +00:00
John Dennis Casey
72f24cf693
Commenting assembly plugin version 2.2-beta-2-SNAPSHOT, adding 2.2-beta-1.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570895 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:48:45 +00:00
Carlos Sanchez Gonzalez
4f6f890697
Add tests for new methods
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570891 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:31:11 +00:00
Carlos Sanchez Gonzalez
32f2fce4ee
Add TODO
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570890 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:30:57 +00:00
Carlos Sanchez Gonzalez
3c0f795c34
Fix bugs in previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570889 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 18:24:22 +00:00
Carlos Sanchez Gonzalez
591efea5e8
Gather more information on settings validation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570805 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 13:26:29 +00:00
Carlos Sanchez Gonzalez
50b73df74b
improve exception message
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570791 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 12:53:18 +00:00
Carlos Sanchez Gonzalez
07c6e661f9
buildWithDependencies in the embedder shouldn't check for distribution status by default. Add test.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570550 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 19:53:59 +00:00
Kenney Westerhof
50c099ba54
attach the shaded artifact instead of replacing it. When embedding maven or using another p-c-d or any other lib, those classes will be duplicated in the classpath, wreacking havoc.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570281 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:41:25 +00:00
Kenney Westerhof
454114df03
Set a name for the container
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@570277 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:27:39 +00:00
Vincent Siveton
53a4546af0
o added new license header
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566869 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 21:46:30 +00:00
Vincent Siveton
785e6819bd
o merged r566867 from branch (removed useless copyright)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@566868 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 21:44:42 +00:00
John Dennis Casey
0d38b157b0
Adding new assembly descritor to assemble a repository containing the dependencies for maven (pre-shaded), and adding a profile to the POM to allow us to trigger the creation of this new assembly. This is valuable for plugins and other components that list one or more maven artifacts as dependencies, so they can be built without rebuilding all of maven.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@564306 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 17:48:21 +00:00
Kenney Westerhof
711eb8c416
Add get/setParentContainer to the configuration, and use it in
...
the embedder.
If the classrealm that's passed in has a parent realm,
then only the resources from the realm are scanned (getRealmResources).
This was done to re-use components from parent realms.
However, when embedding maven within another plexus container,
providing a new dummy classworld with the current classloader
as the parent, no components will be found. Since there's no
parent container, it won't be checked for components.
So, allowing a parent realm to be set in classworlds also
requires a parent container to be set, so that when no components
are found (since they're present in the parent container),
there is a parent container available to delegate lookups to.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@563173 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 15:38:57 +00:00
Jason van Zyl
b01b42f89e
o using container configuration to setup plexus container
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@561204 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 01:14:42 +00:00
Jason van Zyl
19ba741d4d
we have to keep classwords in a separate jar and boot it by itself or we end up with everythign in the primordial classloade
...
which sucks ass. I didn't notice that until I ran a big slew of tests and the realm out put was entirely different. We defin
definitely want to boot up with just classworlds in the primordial loader so we can do what we like with the rest
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@561194 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 00:24:55 +00:00
Kenney Westerhof
335a6fd250
fix the build - replacing project.file with a file in another dir fscks' up the alignment
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@561177 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 22:55:13 +00:00
Jason van Zyl
6583991465
o updating to the new version of plexus which is the unified JAR once again. I can now move on
...
to doxia and attempt to use the same container for the trunk and branch.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@560496 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 04:57:37 +00:00
Carlos Sanchez Gonzalez
844e17d4b5
Don't check for the distribution status building MavenProjects
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@555428 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 22:54:30 +00:00
Mark Hobson
b79759f338
[MNG-3039] mvn.bat fails
...
Fixing same problem for trunk.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@548789 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 16:32:57 +00:00
Jason van Zyl
c3272e9284
o put the shader in the package phase and order the plugins so that the shading happens first and then the assembly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@548224 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 05:38:33 +00:00
Jason van Zyl
97cf3951e6
o just adding my debug ruby stuff
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543921 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 15:33:37 +00:00
Jason van Zyl
f53a45bda8
MNG-2992 Set %HOME% to something sane if null
...
Submitted by: Tim Reilly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543790 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 21:41:53 +00:00