How to obtain the current settings?

2007-03-21 Thread Jochen Wiedmann
Hi, I have the following section in my Mojo, copied verbatimly from the maven-help-plugin: /** * The system settings for Maven. This is the instance resulting from * merging global- and user-level settings files. * * @parameter expression=${settings} * @required *

Re: Create new Java process

2007-03-22 Thread Jochen Wiedmann
On 3/23/07, Kevin Menard [EMAIL PROTECTED] wrote: Is there a maven analog to ant's org.apache.tools.ant.taskdefs.Java, which is used to easily spawn new java processes? I realize ProcessBuilder could be used, but it can be a little terse for this fairly common case. Yes, it's the

Re: Clirr-plugin

2007-03-30 Thread Jochen Wiedmann
On 3/30/07, Roland Asmann [EMAIL PROTECTED] wrote: I made some changes to the plugin and was wondering how to contribute them to the team... Could someone tell me whom I should contact? Create an issue on http://jira.codehaus.org/browse/MOJO and assign it to me. Jochen -- My cats know

Re: List for plugin developer?

2007-04-19 Thread Jochen Wiedmann
On 4/19/07, Sommers, Elizabeth [EMAIL PROTECTED] wrote: Is there any list for plugin developers? I find myself writing more and more plugins of increasing complexity and would love to have somebody to discuss them with. Welcome to [EMAIL PROTECTED] :-) I typically post all questions to

Finding a projects transitive dependencies

2007-04-21 Thread Jochen Wiedmann
Hi, in a plugin, I am attempting to traverse through the projects list of transitive dependencies like this: artifactResolver.resolveTransitively( artifacts, project.getArtifact(), localRepository, remoteRepositories, artifactMetadataSource,

Re: axis2-wsdl2code-maven-plugin not working for me

2007-05-07 Thread Jochen Wiedmann
On 5/7/07, Wayne Fay [EMAIL PROTECTED] wrote: This plugin is a product of the Apache Axis group. Please direct support requests to them. Wayne, what you possibly don't know: I am the plugins author and I am not reading the Axis mailing lists. (Too much traffic.) Thanks, Jochen -- My cats

Re: axis2-wsdl2code-maven-plugin not working for me

2007-05-07 Thread Jochen Wiedmann
On 5/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I still some help to use the axis2 plug in. Looks like this plug in is missing some of the dependency and I am not sure of it. Use the -X option and let's see a stack trace or whatever useful information you can provide. -- My cats know

Re: axis2-wsdl2code-maven-plugin not working for me

2007-05-07 Thread Jochen Wiedmann
On 5/7/07, Wayne Fay [EMAIL PROTECTED] wrote: I clicked over to the Axis1 and Axis2 sites and it seems like they have (their own?) Maven plugins. So I figured this was the same one (??). Or not? The Axis 2 plugins are part of the Axis 2 project, because they are closely coupled with the Axis

Re: axis2-wsdl2code-maven-plugin not working for me

2007-05-07 Thread Jochen Wiedmann
On 5/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [INFO] org/apache/neethi/Policy [INFO] [DEBUG] Trace java.lang.NoClassDefFoundError: org/apache/neethi/Policy at Please create a Jira issue at

Re: axis2-wsdl2code-maven-plugin not working for me

2007-05-07 Thread Jochen Wiedmann
On 5/7/07, Wayne Fay [EMAIL PROTECTED] wrote: Try adding a dependency on (below) inside the plugin: This might be a possible workaround, but - Neethi is a transitive dependency of the plugin. It should be present. If not, there's most possibly an error in the POM files, which should be

Re: axis2-wsdl2code-maven-plugin not working for me

2007-05-07 Thread Jochen Wiedmann
On 5/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: My understanding is that plug in POM should have all the possible dependency defined for it what ever is required? And it should be downloaded automatically to local repository when do the build. You are right - if the POM is alright. And

Re: axis2-wsdl2code-maven-plugin not working for me

2007-05-07 Thread Jochen Wiedmann
On 5/7/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am sure Neethi is not there in the POM for axis2 plugin That's fine, Neethi is a transitive dependency, inherited from axis2-kernel or whatever. What version of plug in you suggest which is more stable? I was trying with 1.1.1

Re: [m2] how to call a mojo from other mojo

2007-05-13 Thread Jochen Wiedmann
On 5/13/07, Adrian Herscu [EMAIL PROTECTED] wrote: After digging an hour in the documentation and sources I have no example of calling other mojos from an ANT-based mojo. Is it possible? How? I have recently developed a subclass of the war plugin. It is duplicating the war plugins fields

Re: Inclusions of test classes not inherited by TestCase

2007-06-04 Thread Jochen Wiedmann
Hi, Martin, you're the former Exolution employee, aren't you? If so, greetings from Stuttgart. :-) On 6/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Why is the superclass of a test not considered for this? It seems that a class named MyTest that extends java.lang.Object is executed when

Re: Preflight check for 2.0.7

2007-06-05 Thread Jochen Wiedmann
On 4 Jun 07, at 7:08 PM 4 Jun 07, Jason van Zyl wrote: I have built a snapshot for 2.0.7 and put it here: I'd like to note that I really do appreciate the current schedule of a maintenance release every quarter or around like that! Jochen -- Women have the ability to wind you round their

Re: Maven2 AAR plugin download

2007-06-10 Thread Jochen Wiedmann
On 6/10/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Could someone please let us know where we can download the Maven2 Axis 2 AAR plugin? Thanks. http://repo1.maven.org/maven2/org/apache/axis2/axis2-aar-maven-plugin/1.2/ -- Besides, manipulating elections is under

Announce: rat-maven-plugin 1.0-alpha-2

2007-06-16 Thread Jochen Wiedmann
Hi, I'd like to announce release 1.0-alpha-2 of the rat-maven-plugin for Maven 2. Since the previous release, the following changes have been made: - Added the IDEA specific default excludes. Fixes MOJO-685. Thanks to Bernd Bohmann. - Added the possibility to exclude subprojects. Fixes

Re: How do I add jars to my WAR-file ?

2007-06-19 Thread Jochen Wiedmann
On 6/19/07, Steinhauer, Frank [EMAIL PROTECTED] wrote: how do I add JARs from the repository to my WAR file, using a special directory (not in WEB-INF/lib)? Use the maven-dependency-plugin. -- Besides, manipulating elections is under penalty of law, resulting in a preventative effect

Re: Default java source version

2007-07-10 Thread Jochen Wiedmann
On 7/10/07, Severin Ecker [EMAIL PROTECTED] wrote: i was wondering if i can change de default java source and target version for the compiler plugin to let's say 1.5 oder 1.6 globally in the settings.xml (or somewhere else), and only override it in the pom file if i need an older version.

Re: How to download source code to repos?

2007-07-10 Thread Jochen Wiedmann
On 7/10/07, Ren [EMAIL PROTECTED] wrote: I'm just wondering, how to use 'mvn install' command to also download the source code of a package? Do you mean upload, rather than download? Configure the maven-source-plugin in your POM with the property attached (may also be attach, written from

Re: webapp plugin

2007-07-17 Thread Jochen Wiedmann
On 7/17/07, John Coleman [EMAIL PROTECTED] wrote: I have developed a plugin that filters js and jsp files to customize them prior to packaging. The filtering possibilities provided by the maven-war-plugin aren't sufficient? IMO, filtering should be an abstract mechanism, as implemented in

Re: webapp plugin

2007-07-18 Thread Jochen Wiedmann
On 7/18/07, John Coleman [EMAIL PROTECTED] wrote: I started looking at the resources phase, but the existing one just seems to put resources into the classes directory, and is evidently aimed at properties files and such. Obviously you did look at the resources *plugin* as opposed to the

Re: webapp plugin

2007-07-18 Thread Jochen Wiedmann
On 7/18/07, John Coleman [EMAIL PROTECTED] wrote: The war packaging type looks to src/main/webapp for the web application files such as JSPs, but still looks for non-code files in the standard src/main/resources directory. Where you place files such as *.properties files is of personal choice,

source generating plugin = eclipse plugin

2005-11-29 Thread Jochen Wiedmann
Hi, I have written a plugin, which generates some Java source files into build/myplugin. The directory becomes added to the Java source path very nicely. Unfortunately, it seems that the Eclipse plugin is unaware of my new source directory. Is it possibly to tell him, that it should create

Suggested way to download a remote file

2005-11-29 Thread Jochen Wiedmann
Hi, the following is written with http://jira.codehaus.org/browse/MNG-1704 in mind. What is the recommended way to download a remote file from within a Maven plugin? Of course, I can simply use URL.openStream(), but that doesn't seem proper, given the important role of proxy

Removing a source directory?

2005-11-30 Thread Jochen Wiedmann
Hi, I am about to convert a project from Ant to Maven 2. The project is typically compiled with Java 5. However, we have made very conservative use of Java 5 features, mainly warnings (@Override, @SuppressWarnings, ...) This conservative use enables us to write a simple source code

Re: Announce: Maven 2 Plugin for JaxMe

2005-11-30 Thread Jochen Wiedmann
Hi, Ashley, Since you are the jaxme guy, I know you're plugin will be way better than the one in the sandbox - but where do you plan on housing it? if JaxMe is going to switch to Maven 2 soon (which I really hope it will), then the plugin *must* be a part of JaxMe: The plugin itself

Re: Announce: Maven 2 Plugin for JaxMe

2005-11-30 Thread Jochen Wiedmann
Brett Porter wrote: Of course, Ashley could still continue to contribute to the plugin there, I hope. More than welcome. :-) -- Often it does seem a pity that Noah and his party did not miss the boat. (Mark Twain) - To

How to turn filtering on with images in the resource folder?

2005-12-05 Thread Jochen Wiedmann
Hi, I have recently turned on filtering for my resources folder. Worked fine, until I started the application: It turned out, that images are filtered too, becoming corrupt. (Funnily, this was on Windows only. Everything worked fine on Linux.) Two questions: - Can anyone explain the

Re: [m2] Downloading source-code jar files ?

2005-12-05 Thread Jochen Wiedmann
Henry Isidro wrote: Try this: dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1-sources/version typejar/type scopeprovided/scope /dependency /dependencies If you are using the Eclipse plugin, then a more simple trick is addding the

Do I need to separate between src/java and src/resources? (Was: How to turn filtering on with images in the resource folder?)

2005-12-05 Thread Jochen Wiedmann
Doug Douglass wrote: 1) Put you images in a separate resource directory (e.g., src/main/image) and add another resource stanza to your POM with filteringfalse/filtering That brings me up to another question: I understand that your suggestion is easier for maintaining the POM. OTOH, I do

Invalid SCM URL

2005-12-08 Thread Jochen Wiedmann
Hi, I am trying to use Maven 2 release plugin for the first time. Here's how I configure my SCM connection: scm connectionscm:cvs:pserver:[EMAIL PROTECTED]:r:m/connection developerConnectionscm:cvs:pserver:[EMAIL PROTECTED]:r:m/developerConnection tagHEAD/tag /scm Of course, the

Re: Invalid SCM URL

2005-12-08 Thread Jochen Wiedmann
On 12/8/05, Emmanuel Venisse [EMAIL PROTECTED] wrote: what is your cvs root? Is it contains : ? No. -- Often it does seem a pity that Noah and his party did not miss the boat. (Mark Twain) - To unsubscribe, e-mail: [EMAIL

Re: Invalid SCM URL

2005-12-08 Thread Jochen Wiedmann
On 12/8/05, Emmanuel Venisse [EMAIL PROTECTED] wrote: your url seems to be correct, run the mvn with -X -e for obtaining more infos. Find it below. Unfortunately, there isn't too much information. I have already studied the sources of CvsScmProvider and find it most unfortunate: The information

Re: Invalid SCM URL

2005-12-08 Thread Jochen Wiedmann
On 12/8/05, Emmanuel Venisse [EMAIL PROTECTED] wrote: We throw a SCMException with detailed informations in it, but perhaps the release plugin doesn't print informations. Please, file an issue. Done. See MNG-1780. But without your full scm url, i can't test it with cvs provider. Quoting

Re: Invalid SCM URL

2005-12-08 Thread Jochen Wiedmann
Problem resolved to being a bug: See MNG-1783. -- Often it does seem a pity that Noah and his party did not miss the boat. (Mark Twain) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Maven 1 book for Maven 2

2005-12-09 Thread Jochen Wiedmann
On 12/9/05, Christopher Cobb [EMAIL PROTECTED] wrote: If you are starting to use Maven 2 as your first encounter with Maven, is it worthwhile looking at the Maven 1 book or would that just be too confusing? My believe is, it isn't. (That said, I really do recommend the book, which is written

Questions on assembly plugin

2005-12-09 Thread Jochen Wiedmann
Hi, I'd like to use the assembly plugin for creating distributions. After reading the documentation and doing some first attempts, I do have the following questions: - There are predefined ID's like bin and src. These are (to me) very welcome for reading as examples. However, they do not

Re: Questions on assembly plugin

2005-12-10 Thread Jochen Wiedmann
Henry Isidro wrote: You can override them by creating an assembly descriptor and placing bin or src in the id tag. I see that I can specify *one* such descriptor via the plugins descriptor property. But what, if I want to override both? Haven't tried this yet, but you can use executions

Re: Questions on assembly plugin

2005-12-10 Thread Jochen Wiedmann
dan tran wrote: you can run maven-assembly-plugin multiple times Thanks for the hint. I may be doing something wrong, but so far it doesn't work. Here's what I did: - Added the executions section to the assembly plugins configuration. - Removed my existing configuration section. - Invoked

Re: Questions on assembly plugin

2005-12-12 Thread Jochen Wiedmann
Sorry, but this seems to become a never ending story. As suggested on this list, I have added two execution steps to my POM. Both have different ID's. (See below.) However, if I do an mvn package, or mvn assembly:assembly now, then an endless loop begins. Any idea, what's wrong? I have

Re: Questions on assembly plugin

2005-12-12 Thread Jochen Wiedmann
Jochen Wiedmann wrote: Sorry, but this seems to become a never ending story. Just a remeark: The endless loop is still present with Maven 2.0.1. Jochen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Example of a plugin with integration tests

2005-12-13 Thread Jochen Wiedmann
Hi, can anyone point me to a plugin with included integration tests, that I may use as an example? Preferrably, a source generating plugin? All plugins that I know so far, have either a simple test directory, or no tests at all. Regards, Jochen

Surefires test order

2005-12-13 Thread Jochen Wiedmann
Hi, I have a test suite that depends on a certain order of tests. More precisely, a unit test, which looks like public class MyTest extends TestCase { public void testFoo(){ ... } public void testBar(){ ... } } assumes, that testFoo() is invoked before testBar(). This

How to stop that the war plugin deploys servlet-api.jar?

2005-12-14 Thread Jochen Wiedmann
Hi, I have a project which consists of several subprojects. One of them contains the following dependency: dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version2.3/version scopecompile/scope /dependency Note the compile scope. In a

Why are jar files rebuilt all the time?

2005-12-14 Thread Jochen Wiedmann
Hi, this is probably a FAQ. If so, I apologize in advance. I notice, that jar files are being rebuilt all the time. To me, this has serious disadvantages: - Building the jar file takes time. - Copying the updated jar file takes more time. - Rebuilding other files, which include the jar

Re: RE : How to stop that the war plugin deploys servlet-api.jar?

2005-12-14 Thread Jochen Wiedmann
On 12/14/05, Olivier Lamy [EMAIL PROTECTED] wrote: Replace scope compile by provided. Why using compile ? Because I assumed (obviously wrongly) that the compile scope was meant to mean *only* at compile time. Thanks for the suggestion. I see, that it changes some things (for example, I do

Re: [m2] Standard directory layout for generated sources

2005-12-14 Thread Jochen Wiedmann
On 12/14/05, Dário Luís Coneglian Oliveros [EMAIL PROTECTED] wrote: When looking at the standard layout directory, I thought it would be great to have a common directory for the generated sources also since Maven already has a generate-sources lifecycle phase. This way we don´t need to tell

Re: Why are jar files rebuilt all the time?

2005-12-14 Thread Jochen Wiedmann
On 12/14/05, Anders Hessellund Jensen [EMAIL PROTECTED] wrote: If you only want to compile your sources, try mvn compile. mvn test-compile compiles both main and test. These phases should run pretty fast. In a multiproject environment this is typically not sufficient, isn't it? Jochen --

Re: Why are jar files rebuilt all the time?

2005-12-14 Thread Jochen Wiedmann
On 12/14/05, Jeff Jensen [EMAIL PROTECTED] wrote: What goal(s) are you running? Does that matter? Take package for an example. Jochen -- Often it does seem a pity that Noah and his party did not miss the boat. (Mark Twain)

Re: Why are jar files rebuilt all the time?

2005-12-14 Thread Jochen Wiedmann
On 12/14/05, Jeff Jensen [EMAIL PROTECTED] wrote: Yes, that is the way it is, and I have the same concern but have just lived with it. Perhaps a jira entry is needed (unless one already exists). MNG-1838 -- Often it does seem a pity that Noah and his party did not miss the boat. (Mark Twain)

Project dependencies and plugin classloaders

2005-12-14 Thread Jochen Wiedmann
Hi, I have a project (A) which uses the maven-jaxme-plugin. The plugin allows to configure so-called factory chains. Think of them as plugins for the plugin. I have another project (B), which implements such a factory chain. Project B is one of the dependencies of A. However, the plugin fails to

Re: Project dependencies and plugin classloaders

2005-12-14 Thread Jochen Wiedmann
Brian E. Fox wrote: Here's how. (I did this for a kodo plugin I'm finishing up) Thanks, that helped! :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is it possible to make pom.xml simpler?

2005-12-15 Thread Jochen Wiedmann
On 12/15/05, Chris Berry [EMAIL PROTECTED] wrote: A big +1 from me. I've been discussing this w/ John, Jason, et al. A push towards simplifying/shortening the XML would be a big help. I would really like to ask to differ between simple and short. I am able to see that a simplified POM might

Re: MavenProject

2005-12-15 Thread Jochen Wiedmann
Christopher Cobb wrote: How do I give my plugin access to MavenProject?? dependency groupIdorg.apache.maven/groupId artifactIdmaven-project/artifactId version2.0/version /dependency - To

Re: XDoclet-Problem: This artifact has been relocated to javax.servlet:servlet-api:2.3

2005-12-16 Thread Jochen Wiedmann
On 12/16/05, Stefan Rademacher [EMAIL PROTECTED] wrote: This artifact has been relocated to javax.servlet:servlet-api:2.3. That's not an error message. That's simply a warning. Most probably you are still using the group ID servletapi, or something like that. Change groupId, artifactId, and

Re: Is it possible to make pom.xml simpler?

2005-12-18 Thread Jochen Wiedmann
Martijn Dashorst wrote: of the repetition in the POM 4.0. It is unreadable due to the repetition of dependencies, plugin management etc. That's a structural question and *completely* unrelated to the question, how the POM looks syntactically. I don't agree with the camp that it is just a

Merge site into war file

2005-12-19 Thread Jochen Wiedmann
Hi, how do I merge the generated site into a war file? Or, possibly more general: How do I merge another projects generated site into a war file? Regards, Jochen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Maven debugging HOWTO

2005-12-23 Thread Jochen Wiedmann
Hi, it took me some time to figure this out, so it seems worth sharing. Jochen -- Often it does seem a pity that Noah and his party did not miss the boat. (Mark Twain) Maven Debugging HOWTO === When looking for bugs in Maven itself or plugins, it saves a real lot of time, if

Announce: Maven JaxMe Plugin 1.0

2006-01-01 Thread Jochen Wiedmann
Hi, I'd like to announce the availability of the JaxMe Plugin for Maven 2. This version supports all JaxMe features, like the JaxMe Ant task does, including. The plugins home page is at http://ws.apache.org/jaxme/mp/ I'd beg to add the plugin to the plugin matrix and to the plugin

Re: Optional dependencies

2006-01-01 Thread Jochen Wiedmann
ir. ing. Jan Dockx wrote: Have you tried the optional / tag for the dependency? Thank you. To be honest, I wasn't aware of this tag. Reading through the docs, I do, however, believe, that it is a partial solution only, isn't it? I'd prefer a solution where Maven automatically detects the

Re: Announce: Maven JaxMe Plugin 1.0

2006-01-02 Thread Jochen Wiedmann
Brett Porter wrote: No problem. Can you file this in JIRA so that we don't forget to do that? Would like to do that. Question is: Where? The MNG project on jira.codehaus.org doesn't have a site component or something similar that sounds proper. The MPA project has a sites component. But

Re: Optional dependencies

2006-01-02 Thread Jochen Wiedmann
Brett Porter wrote: Create a profile, activated by the jdk, and include the dependency within it. Thanks, read through the docs and this seems to be fine. I was missing one feature, though, which I have filed as MNG-1910: The jdk element should allow values like 1.4+. Jochen

XMLCatalog equivalent?

2006-01-09 Thread Jochen Wiedmann
Hi, does Maven contain the equivalent of the Ant element xmlcatalog (see xslt task, creates an entity and URI resolver), which may be used when writing XML parsing plugins? Regards, Jochen - To unsubscribe, e-mail:

Sharing settings between subprojects

2006-01-29 Thread Jochen Wiedmann
Hi, I have a multiproject, which is centered around a database. There are a couple of subprojects, which use the database. Obviously, the database settings should be shared between all these subprojects. Ideally, they would be defined in the parent project. How can that be done? Regards,

Re: deploy:deploy-file

2006-02-13 Thread Jochen Wiedmann
On 2/13/06, Rasconi Luca (u.e.) [EMAIL PROTECTED] wrote: mvn deploy:deploy-file -Dfile=classes12.jar -DgroupID=ojdbc -DartifactID=classes12 -Dpackaging=jar -Durl=scp://host/path/to/repo ID = Id -- If you obey all the rules you miss all the fun. (Katharine Hepburn)

Shortcut for cd submodule; mvn war:exploded

2006-02-15 Thread Jochen Wiedmann
Hi, I have successfully migrated a project to Maven 2. So far, so good. Currently I am working on smoothing the basic use for the other team members. In other words, I am about to provide equivalent functionality for the former Ant targets. One of these targets should be

Re: Shortcut for cd submodule; mvn war:exploded

2006-02-16 Thread Jochen Wiedmann
On 2/16/06, Edwin Punzalan [EMAIL PROTECTED] wrote: mvn war:exploded -f submodule-webapp\pom.xml mvn will cd into the submodule-webapp dir, execute the goals, then go back to the basedir Getting rid of the cd commands is, of course, very nice. However, is it possible to add this to my

Policy for releasing plugins

2006-02-17 Thread Jochen Wiedmann
Hi, I would like to discuss the policy for releasing plugins. My impression is, that most plugin developers policy can be described as follows: - Be careful. We could break something. - There's a change. Goes to SVN. Fine! - Some weeks later. Nothing happened. Ok, possibly it works. We'll

Re: maven-jaxme-plugin 1.0.1 problem - Unable to derive package name ...

2006-02-20 Thread Jochen Wiedmann
Hi, Alexandre, Alexandre Poitras wrote: The site looks complety out of date, I do not know, what site you are referring to. http://ws.apache.org/jaxme/mp/changes-report.html was updated just three days ago with the release of 1.0.3. none of the properties specified seem to work.

Re: maven-jaxme-plugin 1.0.1 problem - Unable to derive package name ...

2006-02-21 Thread Jochen Wiedmann
Alexandre Poitras wrote: By the way, when I use the configuration element : schemasvalue/value/schemas That means, you are configuring absolutely no schemas, isn't it? The value should be something like src/schemas/*.xsd. [WARNING] Schema specification returns no result and no class are

Re: maven-jaxme-plugin 1.0.1 problem - Unable to derive package name ...

2006-02-21 Thread Jochen Wiedmann
Alexandre Poitras wrote: No I mean I put a name there and it is found, I can see it when the plugins is running. I checked the file path and it is correct. But I still end up with this exception. Please run maven with the -X option and let me see the output. Jochen

Re: Maven2 plugin for validating XML?

2006-02-25 Thread Jochen Wiedmann
Wayne Fay wrote: Why do you need a plugin for this? Why not? Validating XML is a standard qualitiy requirement for any project that delivers XML files, possibly a lot of XML files. You could as well ask: Why the XXX plugin, if we have the Ant plugin? Jochen

Installing non-standard artifacts

2006-02-27 Thread Jochen Wiedmann
Hi, I have a multiproject. One of the subprojects generates several non-standard artifacts: Zip, files, tar.gz files, and the like. Another subproject is generating a war file. The generated war file should contain the non-standard artifact generated by the other subproject. How do I do that?

Re: Mojo Exceptions

2006-02-27 Thread Jochen Wiedmann
On 2/27/06, Domsch, Christian [EMAIL PROTECTED] wrote: What is the difference between MojoExecutionException and MojoFailureException. When do you use which? The MojoFailureException doesn't accept throwables in the constructor. To me, it is intended to tell about user errors, for example

Complex plugin properties

2006-02-27 Thread Jochen Wiedmann
Hi, following the Mapping complex objects section from http://maven.apache.org/guides/mini/guide-configuring-plugins.html I would like to develop a plugin, which takes a configuration like beans bean subbean foothis/foo

Re: [M2] Creating client jar

2006-02-27 Thread Jochen Wiedmann
On 2/27/06, Kees de Kooter [EMAIL PROTECTED] wrote: I am building a client server project. A handful of interfaces need to be distrubuted to the client. At the moment we use an ant script for this. I would like to include this in the maven build process of the server component. So I want to

Re: Loading properties file

2006-02-27 Thread Jochen Wiedmann
On 2/27/06, Thanh T. [EMAIL PROTECTED] wrote: (tokenize.properties and project.properties) and I am not sure how to load those two properties into one single property object. Here's what putAll -- Whenever you find yourself on the side of the majority, it is time to pause and reflect. (Mark

Nag: Installing non-standard artifacts

2006-03-09 Thread Jochen Wiedmann
[I posted this question a while ago without replies, so I try to repost.] Hi, I have a multiproject. One of the subprojects generates several non-standard artifacts: Zip, files, tar.gz files, and the like. Another subproject is generating a war file. The generated war file should contain the

Re: Nag: Installing non-standard artifacts

2006-03-09 Thread Jochen Wiedmann
Hi, Raphaël, first of all, thanks for your reply. On 3/9/06, Piéroni Raphaël [EMAIL PROTECTED] wrote: First use assembly plugin to generate the zip tgz files _and_ declare them as associated artifacts (with classifier) (sorry can't remember how) I have read about the classifier stuff. If I

Google Analytics

2006-03-10 Thread Jochen Wiedmann
Hi, I have the impression, that the Maven and Plexus websites are both suffering seriously from problems with Google Analytics today. Is this the case? If so, is it wise to use GA? Thanks, Jochen -- Whenever you find yourself on the side of the majority, it is time to pause and reflect. (Mark

Re: Proxy optional

2006-03-21 Thread Jochen Wiedmann
On 3/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: can I somehow configute the proxy setting optional? So that when I'm not connected to the company intranet, the proxy is ignored and direct http requests are made? Basically, this is what profiles are for. Profiles can be activated by

Where is maven-changes-plugin?

2006-03-27 Thread Jochen Wiedmann
Hi, I seem to have a problem in the maven-changes-plugin. When looking for the sources, I am unable to find them. It seems the plugin is no longer on Mojo, but possibly not yet on Apache? Where is the current source repository? Regards, Jochen -- Whenever you find yourself on the side of the

Re: How to pack two jars in one project?

2006-03-29 Thread Jochen Wiedmann
On 3/29/06, Dennis Kempin [EMAIL PROTECTED] wrote: I would like to have a ./src/main/api folder besides ./src/main/java and pack them into two different jars, to provide a single jar that only contains the API that is needed to use my library. Typically you would create a parent project with

Re: TimeZone Element in pom.xml

2006-04-03 Thread Jochen Wiedmann
Andreas Guther wrote: Is there anything that helps me solving the problem or is this worth an enhancement request? Don't know about the former, but the answer to the latter is yes. Jochen - To unsubscribe, e-mail: [EMAIL

Re: Using the Eclipse compiler under maven

2006-04-10 Thread Jochen Wiedmann
On 4/9/06, gdub [EMAIL PROTECTED] wrote: I see messages that suggest that I can use the Eclipse compiler instead of the Sun compiler from within Maven. Is this true? Is there a con- figuration page somewhere? I can't seem to find it. See http://jira.codehaus.org/browse/MCOMPILER-8

Re: maven-eclipse-plugin

2006-05-12 Thread Jochen Wiedmann
On 5/12/06, Ingo Düppe [EMAIL PROTECTED] wrote: The new upcoming Eclipse Version 3.2 (Callisto) does support nested projects. So there is no need for any workaround to get nested project structure into eclipse. I am interested in that feature. Perhaps others are as well. Could you please drop

Re: Multiple Jars

2008-03-22 Thread Jochen Wiedmann
On Sat, Mar 22, 2008 at 10:40 PM, Trenton Adams [EMAIL PROTECTED] wrote: That's what I was about to do, but that really is a hack. No, it isn't. That's the suggested way to do it. to be a better way than that. Isn't there? I thought maven would at least have the functionality of ant.

Re: [POLL] Default Value for File Encoding

2008-04-29 Thread Jochen Wiedmann
On Tue, Apr 29, 2008 at 1:23 PM, Benjamin Bentmann [EMAIL PROTECTED] wrote: These are the two possible directions to go: a) Use the current platform encoding, aka the system property file.encoding. b) Use a static/fixed value that is defined by convention, i.e. is not

Re: How to deploy generated maven site to Tomcat server?

2008-05-12 Thread Jochen Wiedmann
On Mon, May 12, 2008 at 3:09 PM, Sench [EMAIL PROTECTED] wrote: How can I configure the settings.xml to deploy maven project generated site to Tomcat Server? And what I must write in my project's pom.xml? I am simply configuring the project as packaging war. The only configuration option

Re: How to deploy generated maven site to Tomcat server?

2008-05-15 Thread Jochen Wiedmann
On Thu, May 15, 2008 at 1:03 PM, Sench [EMAIL PROTECTED] wrote: I'm not about to create project's war and deploy it to tomcat server :) I simply mean to execute maven site plugin and after creating project's site deploy it to running tomcat server. Sorry for the misunderstandment. I have a

Re: Enabling Eclipse 3.4.0 Ganymede in the maven repository

2008-07-03 Thread Jochen Wiedmann
On Thu, Jul 3, 2008 at 3:43 AM, Rakesh Sinha [EMAIL PROTECTED] wrote: To develop a plugin of ours - we need to port it to Eclipse 3.4.0 and we have the maven build script for the same. Can we have the jars available for 3.4.0 here at the maven repository.

Re: Enabling Eclipse 3.4.0 Ganymede in the maven repository

2008-07-04 Thread Jochen Wiedmann
On Fri, Jul 4, 2008 at 4:49 AM, Rakesh Sinha [EMAIL PROTECTED] wrote: Does this mean if it would be the job of eclipse team to publish the .pom files to the repository. Is there any way any other individual contributor can contribute to this ? It means the latter. You can create a bundle and

Re: Nexus 1.0.0-beta-4 or 1.0 final?!

2008-07-07 Thread Jochen Wiedmann
On Mon, Jul 7, 2008 at 8:12 AM, Peter Horlock [EMAIL PROTECTED] wrote: Talking about sonatype products, I am also badly waiting for a new m2:eclipse version working with Eclipse 3.4, I am using m2eclipse and Eclipse Ganymede every day, never was aware of any problems? Jochen -- Look,

Re: [POLL] Default Value for Reports Output Encoding

2008-08-05 Thread Jochen Wiedmann
On Tue, Aug 5, 2008 at 9:43 PM, Hervé BOUTEMY [EMAIL PROTECTED] wrote: [a] Use UTF-8 [b] Use source files encoding [c] Platforms default encoding -- Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry Pratchett, Thief of Time)

Re: log from a plugin

2008-08-27 Thread Jochen Wiedmann
On Wed, Aug 27, 2008 at 12:22 PM, Julien CARSIQUE [EMAIL PROTECTED] wrote: What's the right way to get logger, except passing it from the mojo through all classes and methods calls ? Put it in a ThreadLocal. Jochen -- Look, that's why there's rules, understand? So that you think before you

Re: from workaround to workaround 2

2008-09-05 Thread Jochen Wiedmann
On Fri, Sep 5, 2008 at 8:50 AM, [EMAIL PROTECTED] wrote: Second idea: I found the properties-maven-plugin which has a goal that writes all settings properties into a file. Fine, that's what I need. However, this plugin is not on the rep01.maven server but only on a codehaus server. So I

Re: Disable plugin during development builds

2009-02-05 Thread Jochen Wiedmann
On Thu, Feb 5, 2009 at 12:58 PM, John Coleman john.cole...@eurobase.com wrote: During development we don't want our javascript to be compressed, so the yuicompressor plugin only needs to run when we do a release build. How do we change the pom so that this plugin can be selectively turned

Re: help enabling assertions in the compiler plugin.

2009-02-05 Thread Jochen Wiedmann
On Thu, Feb 5, 2009 at 3:59 PM, Johan Lindquist jo...@kawoo.co.uk wrote: The compilerArguments are passed directly to javac executable as far as I can tell and javac does not support these flags. Obviously not. Assertions are enabled or disabled at runtime, not at compile time. These flags are

Problem in release:prepare

2009-03-13 Thread Jochen Wiedmann
Hi, I am trying to push a release of Apache RAT to the Nexus staging repository, following the instructions from http://maven.apache.org/developers/release/releasing.html The first steps, up and including release:clean are working well. However, when I finally run release:prepare, then I

<    1   2   3   >