Missing SAX parser with Java 5?

2005-11-05 Thread Jochen Wiedmann
Hi, I am trying to convert a first program (Apache XML-RPC) from Maven 1 to Maven 2. After doing eclipse:eclipse, my unit tests run fine within Eclipse. However, mvn test fails with the following exception: javax.xml.parsers.FactoryConfigurationError: Provider for

Missing SAX parser with Java 5?

2005-11-06 Thread Jochen Wiedmann
Hi, I am trying to convert a first program (Apache XML-RPC) from Maven 1 to Maven 2. After doing eclipse:eclipse, my unit tests run fine within Eclipse. However, mvn test fails with the following exception: javax.xml.parsers.FactoryConfigurationError: Provider for

Source Archives?

2005-11-06 Thread Jochen Wiedmann
Hi, recently I came into a situation where I suspected a bug in servlet-api-2.4.jar. No problem, it seems: This is open source software, get the sources, add them to you Eclipse project and start debugging. It turned out not so easy: For starters, what are the exact sources of

Re: Source Archives?

2005-11-06 Thread Jochen Wiedmann
Brett Porter wrote: This is possible with Maven 2.x (the Maven libraries certainly do it already) - what will be important is ensuring that projects themselves utilise this functionality. Thanks for the reply, Brett. Can you, please, give me a hint on what to do to turn the feature on in my

Re: Source Archives?

2005-11-07 Thread Jochen Wiedmann
Brett Porter wrote: This triggers the extra attachments defined here: http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-project/src/main/resources/org/apache/maven/project/pom-4.0.0.xml?rev=326633view=markup Thanks for the hint, Brett. I'll give it a try. Jochen

MNG-1398: How to obtain an updated version of the maven-javadoc-plugin

2005-11-09 Thread Jochen Wiedmann
Hi, sorry for asking the stupid question: I am one of the users who stumbled over MNG-1398: site report generates an 'empty' target/site/apidocs/index.html I see that a fixed version of the plugin will be available in Maven 2.0.1. Very nice. But do I actually have to wait

Re: How to obtain an updated version of the maven-javadoc-plugin

2005-11-09 Thread Jochen Wiedmann
Wim Deblauwe [EMAIL PROTECTED] wrote: What I have found that works is: mvn -U javadoc:javadoc, that will give you the latest released version. For bleeding edge, you will need to build from SVN (never done that myself). Well, it turned out to be easy: - Extracted the sources (see

maven-changes-plugin for m2?

2005-11-12 Thread Jochen Wiedmann
Hi, according to the Maven Plugin Matrix, there is a maven-changes-plugin for M2. Even more, it is a maven distributed plugin/report. However, if I add the following section to my pom.xml plugin groupIdorg.apache.maven.plugins/groupId

Re: namespace.jar

2005-11-13 Thread Jochen Wiedmann
[EMAIL PROTECTED] wrote: Adam Hardy [EMAIL PROTECTED] wrote: However, it is seriously only 2 classes - I am surprised that jaxme have not included an implementation. Of course it has. Choose between jaxb-api.jar (full JAXB API, including javax.xml.bind) and ws-commons-java5.jar (just the

m2: how to add jsse.jar to maven-eclipse-plugin's classpath?

2005-11-15 Thread Jochen Wiedmann
Hi, the maven-eclipse-plugin typically generates the following entry in the .classpath file: classpathentry kind=var rootpath=JRE_SRCROOT path=JRE_LIB sourcepath=JRE_SRC/ Eclipse (3.2M3) understands, that it has to add the rt.jar file to the classpath. The problem is, that the

Re: Testing a webapp with perl

2007-08-14 Thread Jochen Wiedmann
On 8/14/07, Roland Asmann [EMAIL PROTECTED] wrote: I am working an a plugin that access a webapp that is written in Perl. The plugin seems to work alright, but I can't really test everything I want on the webapp. Does anybody know of a webserver that can run Perl and has the possibility to

Re: source:jar includes resources?

2007-09-05 Thread Jochen Wiedmann
On 9/5/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: I noticed that jar built by source:jar includes resources. Is there any reason for this? I surely hope it does! They are added to the jar file, which makes them sources. Is there any way to prevent it? Don't put the resources into a

Build javadoc of dependencies?

2007-09-05 Thread Jochen Wiedmann
Hi, I have a project which is structured like this: +- parent | +- core | +- webapp (In practice, it's a little bit more complex, but the picture is sufficient to show the use case.) When running the javadoc plugin, I get the javadocs of the separate

Re: Build javadoc of dependencies?

2007-09-06 Thread Jochen Wiedmann
On 9/6/07, Heinrich Nirschl [EMAIL PROTECTED] wrote: You could set up a fourth project with packaging pom that serves as parent for the other three (i.e. the other tree projects are modules of the new project). The Javadoc plugin's aggregate function should work then. Right, but I couldn't

Re: XML entities or alternative?

2007-09-10 Thread Jochen Wiedmann
On 9/10/07, Wayne Fay [EMAIL PROTECTED] wrote: Not presently. The idea of snippets has been under discussion on dev@ lately. Feel free to chime in. Do you have a pointer? I tried to search for snippets -jira -svn commit on Nabble, but didn't find something that sounded relevant to me.

Why is my site.xml ignored?

2007-09-12 Thread Jochen Wiedmann
Hi, I've got a project, which I am currently moving to Maven. Historically, the directory src is used for Java sources and this cannot be changed easily. Not now, at least. Obviously, src/site would be an unfortunate choice, which is why I am using the directory site. Therefore, my POM contains

Next version of the site plugin? (Was: Why is my site.xml ignored?)

2007-09-12 Thread Jochen Wiedmann
Hi, answering my own question: I see, that this is a bug in the current version of the site plugin and that the bug has been fixed in the trunk. Any ideas, why the next version will be released? Thanks, Jochen -- Look, that's why there's rules, understand? So that you think before you break

Re: Any advantage of utisng plexus-compiler-eclipse ?

2007-09-24 Thread Jochen Wiedmann
On 9/24/07, nicolas de loof [EMAIL PROTECTED] wrote: Is there any compiler to target 1.3 with source 1.5 ? There is no limitation for that in the class file format. From my experience, you are better off using the retrotranslator plugin. Jochen -- Look, that's why there's rules, understand?

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread Jochen Wiedmann
Emmanuel Venisse wrote: You can add java proxy properties in wrapper.conf Thanks! -- View this message in context: http://www.nabble.com/Configure-Continuum-to-use-an-HTTP-proxy-tf4514961.html#a12877931 Sent from the Continuum - Users mailing list archive at Nabble.com.

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread Jochen Wiedmann
Ashley Williams-5 wrote: Does this mean you got it to work? I added the proxy properties as Emmanuel suggested, even changed the property names to camel case and it still refused to work... No, this means I wanted to be polite. :-) In fact, I can't see it working even after adding

Re: speed comparisons from maven 2 to Ant?

2006-05-12 Thread Jochen Wiedmann
Mick Knutson wrote: Does anyone have speed comparisons between maven 2 and Ant? What for? It is quite obvious, that a well written Ant script is much faster. If you use Maven, then you need to be convinced by other advantages. Jochen

Re: How to notify developers that test(s) fail?

2006-05-22 Thread Jochen Wiedmann
Dave Hoffer wrote: I am working on generating the surefire test reports and I have found that a recent file check-in has broke 1 test. How can I continue with the build process and notify the developer that he broke the build? Ideally, this hate mail could go to just the offending developer

Re: Eclipse Compiler Options

2006-05-31 Thread Jochen Wiedmann
rich09 wrote: My Question, is there an option I can enable to get the compiler working like in eclipse? May be http://jira.codehaus.org/browse/MCOMPILER-8 helps? Jochen - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Free book on maven 2.0

2006-06-01 Thread Jochen Wiedmann
On 6/1/06, Brett Porter [EMAIL PROTECTED] wrote: Well, then - the users have spoken! http://maven.apache.org/articles.html Btw, is the printed book available for sales somewhere? Have found no pointer on the Mergere site and Amazon doesn't know it. -- Whenever you find yourself on the side

Multiproject: Merge Javadoc's into parents site?

2006-06-12 Thread Jochen Wiedmann
Hi, I have a project (Apache XML-RPC) with three subprojects (common, client, server), each of which are building a jar file. The site is created by the parent project. Now I'd like to integrate the Javadoc's into the site. But how to do that? Regards, Jochen -- Whenever you find yourself on

Status of maven-changes-plugin

2006-06-12 Thread Jochen Wiedmann
Hi, what is the status of the maven-changes-plugin? (See http://maven.apache.org/plugins/maven-changes-plugin/howto.html I can't get it working, which isn't too surprising, as the module is neither ob ibiblio, nor in the snapshot repository, nor in the SVN. Or did I miss something?

Re: Multiproject: Merge Javadoc's into parents site?

2006-06-12 Thread Jochen Wiedmann
Maria Odea Ching wrote: The aggregate parameter specifies that all the generated javadocs of the different modules will Thanks for the hint, Odea. Indeed, that seems to work. For the record, I had to force using the latest version of the javadoc plugin by adding a version2.0/version. Jochen

Question on maven-plugin-testing-harness

2006-06-15 Thread Jochen Wiedmann
Hi, I am attempting to write a plugin test by using the maven-plugin-testing-harness. I have created the following test-POM and am trying to invoke it through File testPom = new File( getBasedir(), src/test/it1/pom.xml ); ValidatorMojo vm = (ValidatorMojo) lookupMojo( xml:validate, testPom

Re: Question on maven-plugin-testing-harness

2006-06-16 Thread Jochen Wiedmann
Maria Odea Ching wrote: I don't think you need to include the goalPrefix (xml) when you lookup the mojo in your test case when you use the testing harness. It should be: ValidatorMojo vm = (ValidatorMojo) lookupMojo( validate, testPom ); Thanks, that worked! Jochen

More questions on maven-plugin-testing-harness

2006-06-16 Thread Jochen Wiedmann
Hi, thanks to Odea's help, I managed to get a few steps further. However, I have to return with another question in the end. My plugin contains the following variable: /** * The base directory, relative to which directory names are * interpreted. * * @parameter

Re: RE : More questions on maven-plugin-testing-harness

2006-06-16 Thread Jochen Wiedmann
Olivier Lamy wrote: setVariableValueToObject( vm , basedir, new File( getBasedir() ) ); Before vm.execute(); Thanks, that worked like a charm! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

plugin-testing-harness (3)

2006-06-19 Thread Jochen Wiedmann
Hi, I am about to write a test case for MJAR-20. Below you find my unit test and my pom. Unfortunately, when I try to execute the unit test, I receive the following exception: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in

Re: plugin-testing-harness (3)

2006-06-20 Thread Jochen Wiedmann
On 6/21/06, Maria Odea Ching [EMAIL PROTECTED] wrote: Did you check that you have the correct goal name when you looked up the mojo? :) There seems to be nothing wrong with your configuration.. That's been the problem when you wrote me the last time, wasn't it? :-) But test-jar is right,

Difference between assembly:assembly and assembly:attached

2006-06-20 Thread Jochen Wiedmann
Hi, can anyone explain me the difference between assembly:assembly and assembly:attached? Background: I am looking for a workaround to MNG-1682. I'll quote my comment from there. The attached project can be used to reproduce the problem. When install is invoked in the subproject, then

Re: Difference between assembly:assembly and assembly:attached

2006-06-20 Thread Jochen Wiedmann
Edwin Punzalan wrote: They do the same thing... but differs in when you use them. assembly:attached is used inside poms, i.e. mvn package assembly:assembly is the command-line version , i.e. mvn assembly:assembly Thanks, that sounds like something I can understand. :-)

How to test a secondary mojo with the testing harness?

2006-06-20 Thread Jochen Wiedmann
Hi, I have a mojo, which is started like this: plugin artifactId../artifactId executions execution goals goal.../goal /goals configuration ... /configurations /execution /executions /plugin

Re: Maven best practices - company-wide local repository?

2006-06-21 Thread Jochen Wiedmann
On 6/21/06, Aleksei Valikov [EMAIL PROTECTED] wrote: Do you do anything similar? Are there drawbacks? What is the recommended approach? We use Proximity for exactly the same reason. -- Whenever you find yourself on the side of the majority, it is time to pause and reflect. (Mark Twain)

Re: Adding hibernate generated resources to JAR?

2006-06-21 Thread Jochen Wiedmann
On 6/21/06, Edwin Punzalan [EMAIL PROTECTED] wrote: You can place your generated resources anywhere in target... but to include it in your package, you need to tell the resources plugin where to look for the resources... which is configured in your pom.xml Shouldn't the Hibernate plugin to

Re: Adding hibernate generated resources to JAR?

2006-06-21 Thread Jochen Wiedmann
On 6/21/06, Edwin Punzalan [EMAIL PROTECTED] wrote: Depends on the plugin author... if the generated resources is required inside the classes directory, then I guess its more sensible to make the output directory default to target/classes... than to add another resource programmatically. If

Re: how to generate -sources.jar on install/deploy

2006-06-28 Thread Jochen Wiedmann
On 6/28/06, Nicolas De Loof [EMAIL PROTECTED] wrote: I'd like my projects to automatically generate the -sources.jar when running mvn install or deploy. I've lokked for this at maven-sources-plugin but there is no doc. How to include sources jars in my build process ? build plugins

Re: jaxp

2006-06-28 Thread Jochen Wiedmann
Mykel Alvis wrote: In the tradition of laziness that we're currently espousing here, has anyone written a jaxp plugin? What should that plugin do? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [m2] problem with manifest entries with new war plugin

2006-06-28 Thread Jochen Wiedmann
Mark Reynolds wrote: I read MWAR-34 and MWAR-35 but it is not clear to me what the intended behavior is as a result of fixing those bugs. Is it no longer supposed to add any of these by default? Can you tell me, which version of the maven-archiver is used? (Use the -X flag.) Jochen

Re: Problem with maven-changes-plugin

2006-07-05 Thread Jochen Wiedmann
The current version is 2.0.2-SNAPSHOT, which works for me with Maven 2.0.4. Unfortunately, and AFAIK, there is no snapshot available somewhere. In other words, you need to fetch the sources from http://svn.apache.org/repos/maven/sandbox/plugins/maven-changes-plugin (URL written from memory)

Asymmetric parentship

2006-07-31 Thread Jochen Wiedmann
Hi, I am considering how to implement a real integration test for a plugin. The test harness is good for some purposes, but sometimes it is insufficient. This applies, in particular, when testing the dependencies, which are introduced by the plugin. Here's my idea: I create the following

Re: Status of maven-changes-plugin

2006-08-04 Thread Jochen Wiedmann
On 8/4/06, Jimisola Laursen [EMAIL PROTECTED] wrote: Either way, I can get the source code since the svn link is broken. The plugin was moved from the sandbox to http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/ -- My wife Mary and I have been married for forty-seven

repository vs. pluginRepository

2006-08-08 Thread Jochen Wiedmann
Hi, according to http://maven.apache.org/ref/current/maven-model/maven.html I may use both repositories repository.../repository /repositories and pluginRepositories pluginRepository.../pluginRepository /pluginRepositories But how are these related? Or

Re: Profile Activation Feature

2006-08-20 Thread Jochen Wiedmann
ccadete wrote: but how can it be activated for 1.5, or better. Vote for http://jira.codehaus.org/browse/MNG-1910 Relatively trivial patch, but ignored since more than 7 months. :-( Jochen - To unsubscribe, e-mail:

Re: AW: installing sources to local repository by means of install plugin

2006-08-24 Thread Jochen Wiedmann
Gunzenreiner Simon wrote: I tried to use install:install-file like this: mvn install:install-file -DgeneratePom=true -Dpackaging=jar -DgroupId=myGroupId -Dversion=myVersion -DartifactId=myArtifactId -Dclassifier=sources -Dfile=myArtifactId-myVersion-sources.jar but it didn't install my

Re: Installing third party libraries

2006-09-05 Thread Jochen Wiedmann
Dudu wrote: When I install a third part library, the poom is not generated automatically. Is right this behavior? -DgeneratePom=true - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Two questions about install:install-file

2006-09-19 Thread Jochen Wiedmann
Stefan Arentz wrote: In this case I'm installing spring, which also comes with a spring-src.jar. Is it possible to install the sources too using the above command? No need to. Simply drop them into the right directory. Using install:install-file is only required for the usual jar's and

Re: Who is the maintainer of the fop:fop project found on repo1.maven.org?

2006-09-20 Thread Jochen Wiedmann
Barrie Treloar wrote: The problem that Jorg points out is still outstanding is what naming conventions should be used to indicate that this fixes a problem with an already released version of the artifact. There is no problem. If the artifact is actually modified, then it's a different

Re: Who is the maintainer of the fop:fop project found on repo1.maven.org?

2006-09-20 Thread Jochen Wiedmann
Markus KARG wrote: If Carlos is able to upload it while I seem not to be, he actually is in the role of the maintainer. Where am I going wrong with that assumption? Your assumption is, that he is able to change files in the repository. The answer is he isn't. Ok, he may be able to do that

Re: Who is the maintainer of the fop:fop project found on repo1.maven.org?

2006-09-20 Thread Jochen Wiedmann
Markus KARG wrote: So the policy is A bug cannot be fixed?! The policy is A bug can be fixed in the next version. What else did you expect? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Who is the maintainer of the fop:fop project found on repo1.maven.org?

2006-09-20 Thread Jochen Wiedmann
Markus KARG wrote: But it would be beneficial for you since I would change it in a way that FOP is valid for everyone, so you can remove your workarounds. Since in your case the Class-Path isn't taken into account anyways as you wrote, what have you lost? It is strange that you as the

Version 2 of the maven-jaxme-plugin

2006-11-02 Thread Jochen Wiedmann
Hi, I'd like to ask the users of the maven-jaxme-plugin for feedback on the proposed version 2. The updated version is available from the Maven snapshot repository on people.apache.org: http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/jaxme This version is slightly

maven-plugin-testing-harness: Nonexistent component

2006-11-14 Thread Jochen Wiedmann
Hi, in order to fix some bugs in the javacc plugins JTBMojo, I wrote a little integration test, based on the maven-plugin-testing-harness. However, I am unable to get it running, because I always receive the following error message: [ERROR] Nonexistent component:

Announce: Maven 2 Plugins for Axis2

2006-11-15 Thread Jochen Wiedmann
Hi, I'd like to announce the availability of the following plugins: axis2-aar-maven-plugin - Generates an Axis 2 service archive (aar file). axis2-wsdl2code-maven-plugin - Generates code from an WSDL. axis2-java2wsdl-maven-plugin - Creates an WSDL from a Java class See

Re: Release plugin: source jar includes sources twice.

2006-11-16 Thread Jochen Wiedmann
On 11/16/06, Timo Wolf [EMAIL PROTECTED] wrote: globalse/... and the complete source code, which is strange. This is possibly related to http://jira.codehaus.org/browse/MSOURCES-6 Do you have a resource with org as the base directory? Jochen -- My wife Mary and I have been married for

Re: Release plugin: source jar includes sources twice.

2006-11-16 Thread Jochen Wiedmann
On 11/16/06, Timo Wolf [EMAIL PROTECTED] wrote: org is the first package under /src/main/java I do not have an org directory on the base directory. You misunderstood me. Do you have any resource specifications in the POM? -- My wife Mary and I have been married for forty-seven years and

Re: Release plugin: source jar includes sources twice.

2006-11-16 Thread Jochen Wiedmann
On 11/16/06, Timo Wolf [EMAIL PROTECTED] wrote: resource targetPathorg/targetPath filteringfalse/filtering directory${basedir}/src/main/java/org/directory That is exactly as I expected. There is one thing I do understand: You put

Re: How can I resolve ${...} in assembly descriptors?

2006-11-17 Thread Jochen Wiedmann
On 11/17/06, Christian Goetze [EMAIL PROTECTED] wrote: I'd like to pass in something either via the environment or via -D on the mvn command line, and have that be visible within the assembly description. How do I do that? Use a filtered resource to create the actual assembly descriptor. In

Re: Has anyone been able to get the java2wsdl plugin to work?

2006-11-17 Thread Jochen Wiedmann
On 11/17/06, Eric Helfrich [EMAIL PROTECTED] wrote: If someone couuld include a pom fragment or pom where they got this plugin to work it would be *most* helplful. Which java2wsdl plugin? -- My wife Mary and I have been married for forty-seven years and not once have we had an argument

Re: Has anyone been able to get the java2wsdl plugin to work?

2006-11-18 Thread Jochen Wiedmann
On 11/18/06, Eric Helfrich [EMAIL PROTECTED] wrote: sorry - -stupid me -- the maven 2 axis 2 plugin. Serves me right for trying to get something real accomplished in an otherwise BS day If so, I am the one to respond. Could you please provide more details, preferrably by filing a bug at

How not to deploy a project?

2006-11-22 Thread Jochen Wiedmann
Hi, I have a parent project (Apache XML-RPC) with several childs: common, client, server, and tests. When deploying, they are all transmitted to the server. For obvious reasons, I do not want the tests to be published, so I remove the tests folder from the repository later on. However, the best

Re: Warnning on org.apache.axis2:axis2-kernel:pom:1.1?

2006-11-26 Thread Jochen Wiedmann
On 11/26/06, jiangshachina [EMAIL PROTECTED] wrote: I used axis2-kernel-1.1.jar as dependency, but had the following warning, POM for 'org.apache.axis2:axis2-kernel:pom:1.1:compile' is invalid. It will be ignored for artifact resolution. This is a known issue. Unfortunately it can only be

Unable to deploy site to dav:https

2006-11-29 Thread Jochen Wiedmann
Hi, I am trying to deploy a plugin site to the Mojo repository, which has an URL like dav:https:.. Unfortunately I get an error PKIX path building failed. I assume, that the site is using a self certified certificate or something like that and that I have to tell Maven to accept the certificate.

Re: Unable to deploy site to dav:https

2006-11-29 Thread Jochen Wiedmann
On 11/29/06, Dan Tran [EMAIL PROTECTED] wrote: this may help http://docs.codehaus.org/display/HAUSMATES/WebDAV Thanks, it did! -- My wife Mary and I have been married for forty-seven years and not once have we had an argument serious enough to consider divorce; murder, yes, but divorce,

Migrating site.xml from Maven 1 to Maven 2

2006-11-29 Thread Jochen Wiedmann
Hi, the site.xml in Maven 1 used to contain entries like external-refs ant.apache.org href=http://ant.apache.org/; ant href=/ which I could use in xdocs for references like a hrefkey='link.ant' Is this feature available in Doxia? If so, how do I configure the link list?

Re: JAXB2 versus Maven2

2007-01-11 Thread Jochen Wiedmann
On 1/11/07, Franz Fehringer [EMAIL PROTECTED] wrote: It seems, that http://repo1.maven.org/maven2/ is still stuck with 2.0EA3? Who can take care of this? Use the sun java repository for Maven. See https://maven-repository.dev.java.net/ -- My wife Mary and I have been married for

Re: JAXB2 versus Maven2

2007-01-11 Thread Jochen Wiedmann
On 1/11/07, Franz Fehringer [EMAIL PROTECTED] wrote: I cannot use this, see my recent (few minutes ago) posting regarding Re: calling vote for 2.0.5 (Maven2 cannot access HTTPS (SSL) repositories from behind proxies/firewalls). Use a Maven proxy like Proximity to access the Sun repository.

Re: changing phase of javadoc:jar and sources:jar

2007-01-11 Thread Jochen Wiedmann
On 1/11/07, DJP JEAN-PROST Dominique [EMAIL PROTECTED] wrote: I would like my team to deploy to my repository the following jars : binaries (of course), sources and javadoc. As javadoc generation is a bit time costly, I would like to get it generated only on the deploy phase, so that,

Proposal: maven-asf-plugin

2007-01-11 Thread Jochen Wiedmann
Hi, after finding myself to do this again and again for projects, I came to the following idea: How about a special maven-asf-plugin that simplifies Apache projects (in particular, may be Maven itself)? Things this plugin could do: - Provide resources, in particular the latest LICENSE.txt and

Re: Proposal: maven-asf-plugin

2007-01-11 Thread Jochen Wiedmann
On 1/11/07, Brett Porter [EMAIL PROTECTED] wrote: These can be done with the asf parent POM (though we haven't moved the configuration up there yet, it's already possible). A POM cannot provide code. For example, it cannot provide a jar file with the current LICENSE.txt or NOTICE.txt. A

Same source, different deliverables

2007-01-17 Thread Jochen Wiedmann
Hi, I'd like to know suggested solutions for the following scenario: We have a jar file, which is used in different projects since quite some time. One of the projects is so old, that it is still using Java 1.2. Other projects are using later Java versions, up to 1.5. The jar files development

Re: Best plugin for making property files from templates?

2007-01-25 Thread Jochen Wiedmann
On 1/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hei, my issue is that I have template property files containing substitution variables. What would be the best maven2 plugin to make property files filled with real values to include in jars, wars and ears? See

Re: Maven 2.0 Plugin for ZIP Archive

2007-01-27 Thread Jochen Wiedmann
On 1/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am looking for a Maven 2.0 plugin that would help me prepare a ZIP archive. maven-assembly-plugin -- How fast can a year go? As fast as your childs first year. - To

Re: How to attach the sources to a SNAPSHOT install?!

2007-01-29 Thread Jochen Wiedmann
On 1/29/07, Siegfried Goeschl [EMAIL PROTECTED] wrote: 1) the maven-install-plugin has no option/target to do this Of course it has. Simply add a section like the following to your POM: plugin groupIdorg.apache.maven.plugins/groupId

Dynamic dependencies

2007-01-31 Thread Jochen Wiedmann
Hi, I have a plugin (maven-jaxme-plugin), which currently has a static dependency on jaxme-0.5.2.jar. From time to time I add a bugfix to the dependency, which I would like to use in the plugin. However, it isn't very manageable to update the plugin anytime I update the dependency. So I am

Re: Dynamic dependencies

2007-01-31 Thread Jochen Wiedmann
On 2/1/07, Tom Huybrechts [EMAIL PROTECTED] wrote: you can just add a dependency/ element to the plugin's configuration to override the original dependency Is it really that simple? That means, I won't need to change the plugin at all? Thanks, Jochen -- How fast can a year go? As fast as

Re: Activation a profile from another profile

2007-02-01 Thread Jochen Wiedmann
Anybode care to answer? I have the very same problem. (See the Jakarta commons-parent POM.) On 1/23/07, Janecek Jan [EMAIL PROTECTED] wrote: Hi, is it possible to trigger profile activation by activating another profile? I have several profiles defined that can be divided to few sets that

Two questions on maven-plugin-testing-harness

2007-02-09 Thread Jochen Wiedmann
Hi, I am currently trying to use the maven-plugin-testing-harness for testing a report plugin. Two questions came up so far: 1.) When I run the test, I receive the following exception: java.lang.NullPointerExceptionjava.lang.NullPointerException at

Re: Two questions on maven-plugin-testing-harness

2007-02-11 Thread Jochen Wiedmann
Hi, Edwin, first of all, thanks for your reply. On 2/11/07, Edwin Punzalan [EMAIL PROTECTED] wrote: How do I creare this parameter? I suppose, it's an instance of DefaultArtifactRepository, but how do I configure it? I'm pretty sure the testing harness can take care of expressions

Name transformation

2007-02-11 Thread Jochen Wiedmann
Hi, I currently have a patch for the xml-maven-plugin, which suggests the following: The plugin currently reads a set of files and transforms them. The result is stored in a different directoy. Currently there is no possibility to transform the name. The patch suggests to make the extension

Configuring a parameter

2007-02-14 Thread Jochen Wiedmann
Hi, I have a Mojo, where I would like to only depend on the Plexus role (say MyComponent). I would want the user to select and configure the actual implementation by specifying the role-hint and the configuration. For example, I could imagine that this looks like plugin

Re: [m2] Configuring a parameter

2007-02-14 Thread Jochen Wiedmann
Hi, Franz, On 2/14/07, franz see [EMAIL PROTECTED] wrote: Get the container by following the Accessing the Plexus Container section of [1]. Then do the look up. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook thanks for the hint, I wasn't aware of this

Re: [m2] maven embedder

2007-02-14 Thread Jochen Wiedmann
On 2/15/07, Jason van Zyl [EMAIL PROTECTED] wrote: live. That's where we're planning the official IDE integration for Maven. What about M2Eclipse? You call this official? -- How fast can a year go? As fast as your childs first year.

Re: Using maven-changes-plugin

2007-02-21 Thread Jochen Wiedmann
On 2/21/07, Jeff Mutonho [EMAIL PROTECTED] wrote: Anyone using the maven-changes-plugin ?May you share your configuration for this plugin , in your reporting section. As in http://maven.apache.org/plugins/maven-changes-plugin/usage.html -- Emacs 22 will support MacOS and CygWin. It is

Re: Using maven-changes-plugin

2007-02-21 Thread Jochen Wiedmann
On 2/21/07, Jeff Mutonho [EMAIL PROTECTED] wrote: version2.0-beta-3-SNAPSHOT/version Why do you want to use a snapshot version? I'd simply remove the version number, as shown on the usage page. If so, you have posted the wrong question. Your question should be How do I use plugins

Re: [ANN] Artifactory - new Maven 2 proxy repository

2007-03-05 Thread Jochen Wiedmann
On 3/5/07, Nigel Magnay [EMAIL PROTECTED] wrote: Fingers crossed that artifactory hits the sweet spot... What I dislike with Artifactory, after reading through the docs, is that it stores the artifacts in a database. That has, of course, its merits, but currently I find myself fiddling with

URL inheritance when parent project is at the same level

2007-03-14 Thread Jochen Wiedmann
Hi, after using Maven 2 for quite some time now, I have found two typical layout styles for a multiproject: pom.xml (Parent, with modules section) A/pom.xml(Subproject) B/pom.xml(Subproject) vs. pom.xml (Modules section)

Re: Restricting maven build from accessing central repo

2007-03-19 Thread Jochen Wiedmann
On 3/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there a way by which we can stop maven from accessing the central repository - http://repo1.maven.org/maven2/org/apache/maven/plugins/ to download plugins Configure a mirror:

Using dependency versions in a property file

2007-11-21 Thread Jochen Wiedmann
Hi, it hit me again: I have a property file, which contains version number of dependencies (in order to build the classpath, depending on the JDK version). That property file is maintained manually, of course an ugly thing. But I have no idea how to create it automatically. Any suggestions?

Re: Using dependency versions in a property file

2007-11-21 Thread Jochen Wiedmann
On Nov 21, 2007 9:18 AM, Juven Xu [EMAIL PROTECTED] wrote: I don't quite understand your situation, why not config version number in pom file and use Maven-IDE plugin to generate classpath file? The version number *is* in the pom file: It is part of the dependency specification. What is the

Re: Using dependency versions in a property file

2007-11-21 Thread Jochen Wiedmann
On Nov 21, 2007 9:32 AM, Juven Xu [EMAIL PROTECTED] wrote: You want to create pom file automatically? or just want to create classpath file automatically? I want to create a file like dependency.1=xercesImpl-2.7.1.jar dependency.2=xalan-2.4.0.jar ... -- Look, that's why

Re: how to skip snapshot verification in release plugin ?

2008-01-09 Thread Jochen Wiedmann
On Jan 9, 2008 10:02 AM, nicolas de loof [EMAIL PROTECTED] wrote: Can I tell the release plugin to ignore this one during release checks ? I do not know, whether you can. But the recommended way is to take the current snapshot, define your own version number (for example 20080109) deploy it to

Re: Excluding files from JAR with maven-jar-plugin 2.2-SNAPSHOT failed

2008-01-12 Thread Jochen Wiedmann
On Jan 12, 2008 3:59 PM, supareno [EMAIL PROTECTED] wrote: [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-jar-plugin:2.2-SNAPSHOT (found static expression: '**/*.xsd' which may act as a default value). Configuration problem on your side, use

Copyright Symbol broken in Javadoc

2008-01-19 Thread Jochen Wiedmann
Hi, if you have a look at http://people.apache.org/~jochen/commons-fileupload/site/apidocs/index.html then you'll find that the copyright symbol at the page bottom is broken. Does anyone have an explanation for that? I did not do any configuration on the javadoc plugin, apart from

Re: Copyright Symbol broken in Javadoc

2008-01-20 Thread Jochen Wiedmann
On Jan 19, 2008 5:25 PM, Vincent Siveton [EMAIL PROTECTED] wrote: The bottom uses #169; for the copyright. So I guess UTF-8 is used in command line. See http://www.nabble.com/Handling-of-encoding-in-commons-parent-to14975629.html for my conclusions. -- Look, that's why there's rules,

Re: Best practices for seperate releases of parent and modules

2008-01-21 Thread Jochen Wiedmann
On Jan 21, 2008 10:42 AM, [EMAIL PROTECTED] wrote: Is it advisable to move the commons-parent to another subdirectory or is this layout the preferred way? I was experiencing with the former, but gave it up. The reason is that far too many plugins are not suitable to use it. Examples include:

Re: Best practices for seperate releases of parent and modules

2008-01-21 Thread Jochen Wiedmann
On Jan 21, 2008 11:00 AM, [EMAIL PROTECTED] wrote: But when you release the parent, do you also release all the submodules or do you run mvn with non-recursive? If the parent hasn't changed (in other words, if it hasn't a SNAPSHOT version), then I am happy to release the submodules only. To

  1   2   3   >