Re: Changes necessary in StAX to get it on par with DecentXML

2008-08-08 Thread Aaron Digulla
Quoting Jochen Wiedmann <[EMAIL PROTECTED]>: That didn't work well. Okay, since you don't believe me, here is an (incomplete) list of changes I would need in StAX to be able to use it for my work instead of having to write my own XML parser. I think here is a misunderstandment. The question wa

Changes necessary in StAX to get it on par with DecentXML

2008-08-06 Thread Aaron Digulla
Hello, That didn't work well. Okay, since you don't believe me, here is an (incomplete) list of changes I would need in StAX to be able to use it for my work instead of having to write my own XML parser. Note: If you feel like asking "who would ever need that?" while reading that list, th

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Jochen Wiedmann schrieb: >>> particular mode, one could supply and accept additional events. In the >>> case of white space around attributes, you could offer an extension of >>> the Attribute interface that informs about whitespace to the left and >>> to the right. >> That's great. Can I also add

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Stuart McCulloch schrieb: >> Why not fix StAX? >> Because StAX is not meant to do this. I need to keep the original XML >> source somewhere to be able to recreate anything you might have done. That >> includes entities (and how you entered them originally) and all kind of >> weird stuff that every

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Stuart McCulloch schrieb: >> Sorry. I've written code with about any XML parser out there and none of >> them would even get close to what DecentXML can do. In DecentXML, there are >> no private fields or methods. Everything is meant to be extended or reused. >> It's meant to be useful instead of

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Stuart McCulloch schrieb: >> For example, the first version of the m2eclipse POM editor would remove all >> comments after "Add dependency". That's not cool. Those comments contained >> references to web pages and explanations why some stuff was set up "oddly". > > yeah, I hate it when an editor

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Quoting Michael McCallum <[EMAIL PROTECTED]>: On Tue, 05 Aug 2008 19:28:47 Aaron Digulla wrote: I mean, there was *no* XML parser which can do 100%   round-tripping before DecentXML. It's just a non-issue for the XML guys. xom using xerces 2.6.7 was supposed to be able to do a com

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Quoting Stephen Connolly <[EMAIL PROTECTED]>: You can fix StAX, we know the authors. Even if you added an extension property that turned on better whitespace handling that would be fine. I'm not keen on pulling in another XML parser to be honest. +1000... *sigh* Okay. Look at the last exampl

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Quoting Jason van Zyl <[EMAIL PROTECTED]>: StAX can't preserve whitespace between attributes, between "<" and the element name, whitespace after the last attribute and the ">", between "parsers. Why not fix StAX? Because StAX is not meant to do this. I need to keep the original XML so

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Quoting Jochen Wiedmann <[EMAIL PROTECTED]>: As for patching it: StAX is a standard API (JSR-173). How big are my chances that the standard API is going to be extended to allow the features I need? No API forbids extending. In Java, APIs are written by paranoid control freaks ;) Just try to

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Quoting Stuart McCulloch <[EMAIL PROTECTED]>: StAX can't preserve whitespace between attributes, between "<" and the element name, whitespace after the last attribute and the ">", between " personally speaking, I don't actually mind if is changed to for me preserving comments and the general

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Quoting Milos Kleint <[EMAIL PROTECTED]>: how do you deal with newly added content? just overwriting a value for existing elements is relatively easy. I mean if I add a new dependency to the pom file, how do I make sure it's properly indented? That's been the major issue for me now with the jdom

Just released DecentXML 1.1

2008-08-05 Thread Aaron Digulla
Hi, I've released DecentXML last Friday. Changelog: http://code.google.com/p/decentxml/wiki/Changelog Tutorial: http://code.google.com/p/decentxml/wiki/Tutorial In SVN you can find 1.2-SNAPSHOT which has a TreeIterator, too. I suggest everyone who *writes* POM and other XML files to have a lo

Re: POM rewriting with DecentXML

2008-08-05 Thread Aaron Digulla
Quoting Jason van Zyl <[EMAIL PROTECTED]>: But I think looking at StAX and possibly trying to patch that to be smarter about formatting, if necessary, might be a better route for us. StAX can't preserve whitespace between attributes, between "<" and the element name, whitespace after the las

Re: POM rewriting with DecentXML

2008-07-31 Thread Aaron Digulla
Michael McCallum schrieb: > there is already that is worth considering... its goal > is > correctness and roundtripability ;-)... its mature and stable... i have used > it and been very happy xom doesn't preserve whitespace in elements (no XML parser besides DecentXML can d

Re: POM rewriting with DecentXML

2008-07-30 Thread Aaron Digulla
Hi, I've finished all the main features and released version 1.0 of DecentXML on Google Code: http://code.google.com/p/decentxml/ Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond

Re: POM rewriting with DecentXML

2008-07-30 Thread Aaron Digulla
Jason van Zyl schrieb: >> It's official: I'm through with the W3C and the stupid XML parsers which >> came in it's wake. To allow to write XML filters and editors which don't >> ruin the layout, I've started my own XML parser project "DecentXML". > There are a couple that are decent. XMLBeans does

Re: POM rewriting with DecentXML

2008-07-29 Thread Aaron Digulla
Quoting John Casey <[EMAIL PROTECTED]>: I've got some code ready for you to try: http://www.pdark.de/decentxml-1.0-SNAPSHOT-src.tar.gz wrong list? :) still, sounds cool. Are you parking this at SF or Codehaus or anywhere like that? :-) Currently, I'm hosting that on my own server; this was a

Re: [VOTE] Release Maven Filtering version 1.0-alpha-1

2008-07-29 Thread Aaron Digulla
Quoting Olivier Lamy <[EMAIL PROTECTED]>: Hi, In preparation of the maven-war-plugin, I'd like to release and promote out of the sandbox the maven-filtering component version 1.0-alpha-1. The goal of this component is to provide a common tool for maven plugins to filtering resources. If you're

Re: POM rewriting with DecentXML

2008-07-29 Thread Aaron Digulla
Quoting Brett Porter <[EMAIL PROTECTED]>: I've got some code ready for you to try: http://www.pdark.de/decentxml-1.0-SNAPSHOT-src.tar.gz wrong list? :) I've seen three Maven plugins which use their own code to manipulate POM and other XML files in projects, so I guess this is the right list

POM rewriting with DecentXML

2008-07-29 Thread Aaron Digulla
Hi guys, It's official: I'm through with the W3C and the stupid XML parsers which came in it's wake. To allow to write XML filters and editors which don't ruin the layout, I've started my own XML parser project "DecentXML". The main goals are to provide a library to manipulate exiting (small) XML

Re: Is there a way to use a property as the version of a parent pom?

2008-07-29 Thread Aaron Digulla
Quoting Stephen Connolly <[EMAIL PROTECTED]>: you can use -DparentVersion=[1.3.4] to force a specific version and it rewrites the pom without changing any formatting or comments That sounds very promising! In fact, I've just downloaded the "patch" and found it's a complete plugin. Here are

Re: Is there a way to use a property as the version of a parent pom?

2008-07-29 Thread Aaron Digulla
Quoting Ralph Goers <[EMAIL PROTECTED]>: It is currently working as designed. Maven won't resolve properties for any of the items in the parent section. The pom below would be a problem if it was actually installed into a repository as it would require that the property be specified even if the

Re: Is there a way to use a property as the version of a parent pom?

2008-07-28 Thread Aaron Digulla
Quoting Stephen Connolly <[EMAIL PROTECTED]>: What is the most simple way to include common dependencies, plugin configs and properties in many POMs? [...] please vote for http://jira.codehaus.org/browse/MOJO-1178 This has a goal called update-parent that will update the parent version in the

Re: Is there a way to use a property as the version of a parent pom?

2008-07-28 Thread Aaron Digulla
Quoting Ralph Goers <[EMAIL PROTECTED]>: It is currently working as designed. Maven won't resolve properties for any of the items in the parent section. The pom below would be a problem if it was actually installed into a repository as it would require that the property be specified even if the

Is there a way to use a property as the version of a parent pom?

2008-07-28 Thread Aaron Digulla
Hi, This may sound silly but I can't get this to work: ch.globus globus-parent-pom ${version.globus-parent-pom} I tried to define the property via settings.xml, via %HOME%\mavenrc_pre.bat and directly on the command line. No l

Re: SUREFIRE-491 copying sys props to forked process

2008-05-04 Thread Aaron Digulla
Dan Fabulich schrieb: > The sad tale of SUREFIRE-491 began when I tried to fix SUREFIRE-121. > > http://jira.codehaus.org/browse/SUREFIRE-491 > http://jira.codehaus.org/browse/SUREFIRE-121 > > The request seemed innocent enough. Wouldn't it be cool if you could > pass system properties to your

java.lang.IllegalStateException: The PluginDescriptor for the plugin ... was not found (Was: Re: problem with site-plugin 2.0-beta-6)

2008-04-14 Thread Aaron Digulla
Quoting Aaron Digulla <[EMAIL PROTECTED]>: After an epiphany, I found the problem: A corrupt JAR file in the repository. I've opened http://jira.codehaus.org/browse/MNG-3523 The bug is still there in 2.0.9. I've downloaded the source and the bug lu

Re: problem with site-plugin 2.0-beta-6

2008-04-14 Thread Aaron Digulla
Quoting Aaron Digulla <[EMAIL PROTECTED]>: Quoting Aaron Digulla <[EMAIL PROTECTED]>: The bug is still there in 2.0.9. I've downloaded the source and the bug lurks in this code: MavenPluginCollector.java: public PluginDescriptor getPluginDescriptor( Plugin plugin )

Re: problem with site-plugin 2.0-beta-6

2008-04-14 Thread Aaron Digulla
Quoting Aaron Digulla <[EMAIL PROTECTED]>: The bug is still there in 2.0.9. I've downloaded the source and the bug lurks in this code: MavenPluginCollector.java: public PluginDescriptor getPluginDescriptor( Plugin plugin ) { // TODO: include version, but can'

Re: problem with site-plugin 2.0-beta-6

2008-04-04 Thread Aaron Digulla
Aaron Digulla schrieb: > Brian E. Fox schrieb: > >> I think it's safer to leave it at beta-6. Most people aren't expressing any >> issues and if anyone has trouble, they can manually lock to beta-5. This is >> safer than potentially downgrading everyone. >

Re: problem with site-plugin 2.0-beta-6

2008-04-04 Thread Aaron Digulla
Brian E. Fox schrieb: > I think it's safer to leave it at beta-6. Most people aren't expressing any > issues and if anyone has trouble, they can manually lock to beta-5. This is > safer than potentially downgrading everyone. beta-6 doesn't work for me at all. I suddenly get: java.lang.IllegalS

Maven, JAR names and Java Security Policy

2007-10-10 Thread Aaron Digulla
Hello, I'd like to call your attention to this discussion: https://issues.apache.org/jira/browse/DERBY-3083 The issue here is that the Derby Network Server looks for a JAR called "derbynet.jar" on the classpath ... by *name*. Of course, when I use Maven, the JAR is called "derbynet-10.3.1.4

Re: Mirror woes

2007-09-29 Thread Aaron Digulla
Jorg Heymans schrieb: >> Since a few months, some European mirrors have become increasingly >> unreliable. For example, maven.sateh.com is missing some packages >> which were distributed in June, mirrors.dotsrc.org is missing some >> dated from February (for example, asm/asm/3.0)! > > Any particu

Re: Mirror woes

2007-09-27 Thread Aaron Digulla
Quoting Jason van Zyl <[EMAIL PROTECTED]>: Do other people have the same problems? If so, is someone working on a solution? For example, by creating a main site for mirrors only (i.e. closed to the general public so mirrors can get the updates in a timely manner). Or can mirrors connect

Re: Mirror woes

2007-09-27 Thread Aaron Digulla
Quoting Carlos Sanchez <[EMAIL PROTECTED]>: you can try cica.es too, that's up to date http://maven.apache.org/guides/mini/guide-mirror-settings.html Thanks, I'll keep that in mind :-) Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our

Mirror woes

2007-09-26 Thread Aaron Digulla
Hello, Since a few months, some European mirrors have become increasingly unreliable. For example, maven.sateh.com is missing some packages which were distributed in June, mirrors.dotsrc.org is missing some dated from February (for example, asm/asm/3.0)! I talked to the admins of dotsrc a

Re: dependency on system library (java.library.path)

2007-04-12 Thread Aaron Digulla
Joerg Hohwiller wrote: > Hi there, > > I have already used SWT and GWT together with maven. Both need native system > libraries at some specific point. This causes trouble when running code (e.g. > test-cases) with maven. The latest 3.3 release of SWT includes the library files in the JAR! I have

Re: Extension to install custom proxy muck in Maven?

2007-02-24 Thread Aaron Digulla
Jason Dillon wrote: > Yes Maven 2.0.x does allow you to configure a mirror for a repo, but > that is *not* what I am looking for. > > Also, there is no corporate proxy, if I has the luxury of such a proxy > for my users then this would not be an issue. The problem is that my > users are all of t

Re: Escaping HTML entities for canoo webtests -- resources-plugin?

2007-02-18 Thread Aaron Digulla
Mika Göckel wrote: > Do you think of a chain of filters like in ant? Maybe. One of the issues I've had was to make the plugin to replace everything *except* ${basedir}. If I was able to write my own filters, I could have solved that more easily (now, I just call an ant task afterwards which repl

Re: Escaping HTML entities for canoo webtests -- resources-plugin?

2007-02-12 Thread Aaron Digulla
Mika Göckel wrote: > Hi! > > My problem is, that I need to escape HTML entities in resource files > when coping them to target/test-classes. > Is it a good idea to extend resources-plugin to support something like > escapeHtml=true as attribute or is it a better idea to create a > completely new m

Re: [vote] release maven-source-plugin 2.0.3

2007-02-12 Thread Aaron Digulla
Stephane Nicoll wrote: > This release fixes all known issues. > ** Improvement >* [MSOURCES-11] - When source plugin is used, it should make sure > it is invoked during install YAY! +1 :-) Just to be sure: You checked with a parent POM? (ie. when the source plugin is configured in the *paren

Re: Where can I find command line properties??

2007-02-02 Thread Aaron Digulla
Quoting Franz Allan Valencia See <[EMAIL PROTECTED]>: Good day to you, Aaron, add @parameter to your mojos field so that it can be configured in the pom. How do I add "@parameter" to my mojo at runtime? :-) Some background: I'm currently extending the archetype plugin. In my new version, y

Where can I find command line properties??

2007-02-01 Thread Aaron Digulla
Hello, I have a mojo which has dynamic parameters/properties which have to be specified via the commandline. When I'm in my execute() method, what do I have to call to see "value" when I call mvn with "-Dtest=value"? They aren't in MavenProject/Model.getProperties()... Regards, -- Aaron

Re: Extending the notion of "parent pom"

2007-01-31 Thread Aaron Digulla
John Casey wrote: > That sparked the idea of having mixins. With mixins, I could separate > the two trees cleanly. > > I'm still a little unclear on how mixins would be "cleaner" than two > levels of inheritance. If multiple levels of inheritance confuses the > site plugin, then that plu

Re: [m2] New pre-package phase?

2007-01-31 Thread Aaron Digulla
Quoting Brett Porter <[EMAIL PROTECTED]>: > I don't think either of these are cases for 'package resources', but > general lifecycle improvements (Which are in the 2.1 design wiki). I'm still arguing for a generic lifecycle management (where a mojo can add any number of additional phases and mave

Re: repository id vs repository url

2007-01-31 Thread Aaron Digulla
Quoting Joakim Erdfelt <[EMAIL PROTECTED]>: > I'm the one responsible for the misguided repository.urlName concept. Maybe you'd like to have a look at DSMP (http://www.pdark.de/dsmp/) I'm using the repository ID to find out which user/password to use during deploy but other than that, I'm ignori

Re: Extending the notion of "parent pom"

2007-01-31 Thread Aaron Digulla
Quoting John Casey <[EMAIL PROTECTED]>: > Do you have even more plugin configuration in this third parent POM? If not, > why is it critical that the webapp/library projects can declare themselves > to be children of this POM (in addition to the type-specific POMs)? If you > do have more plugin con

Re: DSMP 1.0 - A new maven proxy

2007-01-31 Thread Aaron Digulla
Quoting Jason Dillon <[EMAIL PROTECTED]>: > I played around with this a little today, very nice. > > How does DSMP handle SNAPSHOT updates? Usually, I just forbid them :-) (see the allow and deny rules). At work, I don't want SNAPSHOTs to pollute my environment, so I disabled them. Even if a POM

Re: using saxon within a mojo

2007-01-31 Thread Aaron Digulla
Quoting Gregory Kick <[EMAIL PROTECTED]>: > I'm writing a plugin that I would like to be able to use the saxon > XPath 2.0 implementation. I've got it working perfectly fine in my > unit tests, but when I try to run it as a mojo, it reverts back to > using the jdk XPathFactory. I would assume th

Re: deploy:deploy-file target and DAV

2007-01-30 Thread Aaron Digulla
Quoting Graham Leggett <[EMAIL PROTECTED]>: Can anyone confirm whether this plugin has ever worked for them, and if so, what DAV server is being used? I am using httpd v2.0.52 as shipped default with RHEL4. I'm using wagon-webdav 1.0-beta-2 with maven-deploy-plugin 2.3 together with Archiva

Extending the notion of "parent pom"

2007-01-30 Thread Aaron Digulla
Hello, My POMs have two parents: The one in the parent directory and the one which supplies them with the build defaults. Out of necessity, they can't be the same POM. The ../pom.xml just specifies the build order. The POM specified with the element supplies the build config (for example

Re: deploy:deploy-file target and DAV

2007-01-30 Thread Aaron Digulla
Quoting Graham Leggett <[EMAIL PROTECTED]>: Have you tried with 1.0-beta-2 of wagon-webdav? This solved some problems for me. Which version of the maven-deploy-plugin do you use? Have you tried 2.3? Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limi

Re: deploy:deploy-file target and DAV

2007-01-30 Thread Aaron Digulla
Quoting Graham Leggett <[EMAIL PROTECTED]>: On Tue, January 30, 2007 1:55 pm, Aaron Digulla wrote: Have you tried with 1.0-beta-2 of wagon-webdav? This solved some problems for me. Added the 1.0-beta-2 of wagon-webdav like this: org.apache.maven.wagon

Piping commons-logging into Maven log

2007-01-30 Thread Aaron Digulla
Hello, This should be an FAQ but I couldn't find anything: How do I connect a dependency of a mojo which uses commons-logging to the Maven logging? In my case, I'm using the jasperreports mojo which uses the jasperreports JARs which depend on commons-logging. Since nothing is specified, c

Re: deploy:deploy-file target and DAV

2007-01-30 Thread Aaron Digulla
Quoting Graham Leggett <[EMAIL PROTECTED]>: It looks like the plugin is not making an attempt to create the directories in the repository before trying to upload the file to the repository, thus the failure: Have you tried with 1.0-beta-2 of wagon-webdav? This solved some problems for me.

Re: [m2] New pre-package phase?

2007-01-05 Thread Aaron Digulla
Brett Porter wrote: > Can anyone think of a use case other than the war plugin, or should we > just go with the pre-package phase? I have these use cases: - Filter or generate files for the site plugin (for example, extract information out of the sources for apt files) - Multi-Step source/unit

DSMP 1.0 - A new maven proxy

2006-12-29 Thread Aaron Digulla
Hello, I had a couple of problems with Maven's way to access the internet. For example, if I wanted to redirect maven to the closest mirror, I would have to define a whole lot of mirrors in my settings.xml. And it wouldn't always work because different projects use different IDs. Then, there are

DSMP 1.0 - A new maven proxy

2006-12-29 Thread Aaron Digulla
Hello, I had a couple of problems with Maven's way to access the internet. For example, if I wanted to redirect maven to the closest mirror, I would have to define a whole lot of mirrors in my settings.xml. And it wouldn't always work because different projects use different IDs. Then, there are

Antwort: How to set Classpath with maven

2006-12-21 Thread Aaron . Digulla
th itself, you don't have to do it (and maven ignores it if you do). Use dependencies in your pom.xml to specify what you need and maven will add the right version to your classpath. Regards, -- Aaron Digulla - To uns

Re: versioning

2006-12-19 Thread Aaron . Digulla
> > 1 > 2 > 1 > 123 > It's just as simple to specify a regexp which defines what is allowed as the text child for the version element. Do not break everything up into one element. That's an XML sickness from the DTD era (or rather the pre-XSD/Schema era).

Re: downloading eclipse runtime binary or RCP delta pack

2006-12-19 Thread Aaron . Digulla
> So, what is the way forward? The most simple solution right now is probably to add http://repo1.maven.org/eclipse/ to your list of repositories in settings.xml. Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EM

Re: versioning

2006-12-19 Thread Aaron . Digulla
;-" which maven will just string-compare (so alpha10 comes between alpha1 and alpha2). Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: downloading eclipse runtime binary or RCP delta pack

2006-12-19 Thread Aaron . Digulla
out this. Is there? If not, I'd open one. ;-) The idea that you'll never have to fix a broken POM/JAR/whatever is just ridiculous. :-) As I understand it, the repo admins are just very reluctant to modify already published ar

Re: [m2] New pre-package phase?

2006-12-18 Thread Aaron . Digulla
"other things", too. Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] Dev help needed: Should multiple repositories be able to host an artifact, potentially with different versions

2006-12-18 Thread Aaron . Digulla
thing else) and force all external connections to one single maven repository. Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Antwort: Re: [m2] build failure, Version: test ??? error

2006-12-13 Thread Aaron . Digulla
"Barrie Treloar" <[EMAIL PROTECTED]> schrieb am 13.12.2006 01:47:02: > Running mvn in debug mode so I can attach eclipse to the running instance. How do you do that? Regards, -- Aaron Digulla - To

Re: [m2] New pre-package phase?

2006-12-08 Thread Aaron . Digulla
both are run during generate-sources. How do you make sure one of them is run before or after the other? As I see it, that's the major difference between the maven approach and MetaMake. In MetaMake, you can reorder dependencies. Example: Mojo A runs in generate-sources Mojo B runs in

Re: [m2] help resolving OverConstrainedVersionException for eclipse plugin

2006-12-07 Thread Aaron . Digulla
ck certain things. Note: I'm working on a Maven Proxy (something which you specify in ) which can prevent Maven from seeing something which it shouldn't (like certain snapshots, buggy POMs, deadly versions of JARs, etc). Regards, -- Aaron Digulla -

Re: [m2] help resolving OverConstrainedVersionException for eclipse plugin

2006-12-07 Thread Aaron . Digulla
es to download something else from that repository which fails and Maven blacklists it for the build. -U doesn't help in this case. Check your log for download errors. 3. Have you tried to delete your local Maven repo? Or at least the maven-metadata-*.xml files? Regards, -- Aaron Digulla Ma

Re: [m2] New pre-package phase?

2006-12-06 Thread Aaron . Digulla
running "mvn deploy" for a part of the project so you can run your tests in another. The question is not if it's a stupid thing to do, the question is: If I *have* to, what do I do? Currently, my solution is to revert to a

Re: [m2] New pre-package phase?

2006-12-06 Thread Aaron . Digulla
> where you have random interaction can potentially create a system > with extremely high infrastructural costs. Shared infrastructure > means lower costs and that means a predictable system. Random? Since when is the maven dependency resolution "random"? I haven't seen the code but from what I see, it probebly works exactly like the MetaMake target resolution. Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Antwort: Re: [m2] New pre-package phase?

2006-12-04 Thread Aaron . Digulla
erging phases and goals? What is the big difference between them anyway? Isn't that something which new users always wonder about and which you could easily hide behind the scenes? Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] New pre-package phase?

2006-12-04 Thread Aaron . Digulla
said before, I've had very good results with a build system in which you can specify arbitrary phases and say "this phase depends on that one". So I could say "package depends on prepackage-tomcat-war" and maven sorts everything out. This of course means maven has to load

Antwort: Re: Manipulating the WAR directory before the WAR file gets built

2006-12-04 Thread Aaron . Digulla
ch ones are useful and which only look good but don't really work. Incidentially, I'd like to see a tool which can show me what phases there are and which plugin binds to which phase (in order to debug execution/dependency problems like https://jira.codehaus.org/browse/MSOURCES-11).

Re: Maven's classpaths (Was: [discuss] Java 5)

2006-11-29 Thread Aaron . Digulla
in-tools-java to depend on a different version of qdox). Here, I must ask how economical that would be. As it is, the solution is simple (at least when you're used at how simple it is to setup and compile maven projects) and the question is how useful such a

Re: [discuss] Java 5

2006-11-28 Thread Aaron . Digulla
o conflicts with the official snapshots. If the plugin is released with the very same version, you have to delete it manually on your side but until then, you can work. How about a -PATCH version? :-) Regards, -- Aaron Digulla Magazine zum Globus Informatik AW - Web Eichstrasse 23 8045 Zueric

Archiva: 507 Insufficient Storage

2006-11-28 Thread Aaron . Digulla
Insufficient Storage Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [discuss] Java 5

2006-11-27 Thread Aaron . Digulla
Please post the error. Regards, -- Aaron Digulla Emmanuel Hugonnet <[EMAIL PROTECTED]> schrieb am 27.11.2006 15:26:32: > Tom Huybrechts a écrit : > > On 11/27/06, Tom Huybrechts <[EMAIL PROTECTED]> wrote: > >> This plugin uses sourcelevel 1.5: > >> &

Antwort: Error compiling Archiva

2006-11-27 Thread Aaron . Digulla
After cleaning my local repository and the cached repositories in my Archiva proxy, I could compile again. While this works, it's sub-optimal. How do I debug an error like this? Regards, -- Aaron Digulla [EMAIL PROTECTED] schrieb am 27.11.2006 11:00:11: > Hello, > > I updated

Re: Error compiling Archiva

2006-11-27 Thread Aaron . Digulla
he problem? Also, can someone tell me where DigestUtils is now? I have problems with the checksum checking code (see http://jira.codehaus.org/browse/MRM-154). Regards, -- Aaron Digulla > Aaron.Digulla wrote: > > > > Hello, > > > > I updated Archiva today and tried t

Error compiling Archiva

2006-11-27 Thread Aaron . Digulla
at org.codehaus.plexus.component.composition.FieldComponentComposer.getFieldByName(FieldComponentComposer.java:212) at org.codehaus.plexus.component.composition.FieldComponentComposer.findMatchingField(FieldComponentComposer.java:171) What's wrong? Regards, --

Re: MSOURCES-11 When source plugin is used, it should make sure it is invoked during install

2006-11-22 Thread Aaron . Digulla
::3 for project: org.apache.maven:maven-parent:pom:4 from the repository. [DEBUG] org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.2:runtime (selected for runtime) Does anyone have any idea what the problem could be? Regards, --

Re: [VOTE] Release PMD Plugin

2006-11-06 Thread Aaron . Digulla
second this request. Please also consider http://jira.codehaus.org/browse/MPMD-44 (allow to specify a ruleset in the POM) because it's just a single line change. I've tested the patch here and it works OK for me. With those two: +1 Without those two: 0 Best regards, -- Aaron Digull

Re: Plugin execution ordering within a phase

2006-11-02 Thread Aaron . Digulla
nly care about parent POMs. How hard would it be to make sure parent POMs in the maven repo don't use this feature? (Note: The parent-POM problem is not related to my solution!) Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Classloader woes

2006-10-31 Thread Aaron . Digulla
ouce is in the JAR, etc) but u2 is *always* null. I've been looking at the Java VM source (Sun) and getResource() just calls getClassLoader0() just like getClassLoader() does (there is no SecurityManager installed). Regards, --

Re: integration tests: how to handle versions and external oddities?

2006-10-30 Thread Aaron . Digulla
I ask for them. Regards, -- Aaron Digulla Brett Porter <[EMAIL PROTECTED]> schrieb am 30.10.2006 09:12:53: > I was thinking that as well, wrt testng. It would be really good to > establish some dependencies so that tests that are bound to fail > could just be skipped if an e

Re: Antwort: SAXParser problem with Maven 2.0.4, Xalan 2.8.1, Xerces 2.8

2006-10-25 Thread Aaron . Digulla
works, though. How should I proceed? Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Maven and the Apache processes...

2006-10-20 Thread Aaron . Digulla
e was no hint what happened to 2.0.6, so we just need a complete changelog. Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Antwort: Re: Maven and the Apache processes...

2006-10-16 Thread Aaron . Digulla
he release. Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Antwort: Re: Determine the path to a JAR file

2006-10-13 Thread Aaron . Digulla
vs.getFile(); } Is this code correct? Now, it would be great if I could access my plugin's POM (*not* the POM of the current project) to load the version number from there. Is there a way? I guess I could use a filter :-/ Regards, -- Aaron Digulla [EMAIL PROTECTED] schrieb am 13

Re: Determine the path to a JAR file

2006-10-13 Thread Aaron . Digulla
ies is empty, the metadata is empty, ...) The next idea was to browse the Repositories but how do I ask a repository for an artifact? (Note: this artifact is *not* in the dependency list of the current POM!) Regards, -- Aaron Digulla

Antwort: Maven and the Apache processes...

2006-10-13 Thread Aaron . Digulla
d compiled locally instead. I mean, 99% of all license files will me verbatim copies of the original ones, so we could keep them in a single, central space. And in the POM, I just say "license:gpl:2.0". Regards, -- Aaron Digulla --

Determine the path to a JAR file

2006-10-12 Thread Aaron . Digulla
e its path after maven's dependency mechanism has downloaded it for me. This also means I cannot ask for ${project.dependencies} because it's a dependency of the plugin, not the project. Regards, -- Aaron Digulla -

Antwort: SAXParser problem with Maven 2.0.4, Xalan 2.8.1, Xerces 2.8.0 and Java 1.5

2006-10-11 Thread Aaron . Digulla
oader used by SAX simply doesn't know about any classes loaded by the maven classloader. *expletive deleted* Is it possible to create a plugin which uses Xalan 2.8.1 despite the fact that maven has its own Xalan in lib/endorsed and with Java 1.5? Regards, -- Aaron Digulla [EMAIL PROTEC

Antwort: RE: manually managing external dependencies in maven 2

2006-10-11 Thread Aaron . Digulla
te this") from Java code would be nice, too. Don't forget to post here if you find a solution! Regards, -- Aaron Digulla fogwolf <[EMAIL PROTECTED]> schrieb am 11.10.2006 16:39:43: > > Thanks for the suggestion. This Eclipse plugin looks good & does a lot of >

SAXParser problem with Maven 2.0.4, Xalan 2.8.1, Xerces 2.8.0 and Java 1.5

2006-10-11 Thread Aaron . Digulla
his but I have no idea what could cause this. Any ideas? Best Regards, -- Aaron Digulla - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]