Re: maven antrun plugin 1.7 ignores second execution

2012-02-24 Thread Kai Hackemesser
mvn integration-test. Wait. I think I got it. Will try Monday at work. Cheers, Kai 2012/2/25 Wayne Fay > > that matches the target of the first execution. However the second > > execution never appears in the log nor is a file created for it. What am > I > ... > > 5. > >

maven antrun plugin 1.7 ignores second execution

2012-02-23 Thread Kai Hackemesser
Hello, I have problems getting my second antrun target to run. Below is the plugin configuration I use. Its purpose is to start an Apache httpd server before integration tests and kill it later. The executables and folders are set profile and os specific. The first execution I can see in the mave

Deployment in Repository without version in file name?

2011-02-15 Thread Kai Hackemesser
Hello, I was asked if it is possible to deploy a file into the repository without the version suffix added to it? In this case a war file should be retrieved from the Nexus repository into a Tomcat wepapps folder using wget, and they are looking for a way where the file doesn't need to be renamed.

Re: Maven 3.0 jar assembly: classpath in runnable jar manifest is missing

2011-02-07 Thread Kai Hackemesser
OK, thanks for testing. > > > > > Regards, > > Stevo. > > > > On Mon, Feb 7, 2011 at 8:28 PM, Dennis Lundberg > wrote: > >> On 2011-02-07 00:27, Kai Hackemesser wrote: > >>> Hi there, > >>> > >>> We try to migrate to Mave

Maven 3.0 jar assembly: classpath in runnable jar manifest is missing

2011-02-06 Thread Kai Hackemesser
Hi there, We try to migrate to Maven 3.0 here but one assembly causes us headache. In the project we try to build a runnable jar that depends on libraries that are assembled into a lib folder. Under Maven 2(.2.1) we have no problem with that, the runnable jar works as designed. The same project b

Re: Override 'provided' dependency in maven assembly?

2010-09-21 Thread Kai Hackemesser
We tried it in the pom we want to build, but no success. The setting in the parent pom should stay untouched. 2010/9/22 Wayne Fay > > we have the case that we have a managed dependency to jug:jug.jar > :provided > > in our managed dependency pom. Now one of our applications should include > > th

Override 'provided' dependency in maven assembly?

2010-09-21 Thread Kai Hackemesser
Hi there, we have the case that we have a managed dependency to jug:jug.jar :provided in our managed dependency pom. Now one of our applications should include that jar as it gets deployed to a place where jug is not provided. When we set the scope in the pom in question to 'runtime' the maven ass

Writing a plugin, intercepting resource plugin...

2010-07-22 Thread Kai Hackemesser
Hello, I am thinking about a plugin, that when present in a maven pom plugins set should automatically adds some special source and target folder to the resources plugin, so that some special resources are copied without having to configure them in the resources plugin itself. How do I do that ?

Plugin Development: how to make a multi value parameter available via command line args

2010-02-23 Thread Kai Hackemesser
Hi there, Does anybody know an example of how to annotate / evaluate a multivalue parameter exposed via command line and plugin configuration? I haven't found a general syntax for that. Cheers, Kai

Re: Begginer's question: How can I use an other Mojo in my own plugin?

2010-02-23 Thread Kai Hackemesser
n... I can't remember > exactly what you need to inject... somebody (Benjamin maybe) might have it > on the tip of their tongue... otherwise you'll have to wait while I look it > up > > Sent from my [rhymes with tryPod] ;-) > > > On 23 Feb 2010, at 00:50, Kai Hackeme

Re: Begginer's question: How can I use an other Mojo in my own plugin?

2010-02-22 Thread Kai Hackemesser
; @parameter expression="${project.artifacts}" or something similar... you're > making your life more complex by trying to depend on a separate plugin > > -Stephen > > On 22 February 2010 21:59, Kai Hackemesser >wrote: > > > Hi, James, > > > > that tip

Re: Begginer's question: How can I use an other Mojo in my own plugin?

2010-02-22 Thread Kai Hackemesser
roject :) > > http://code.google.com/p/mojo-executor/ > > James > > > Kai Hackemesser wrote: > >> Hi, >> >> I would like to execute another Mojo (the ResolveDependenciesMojo) from >> inside my own Mojo. I wasn't yet successful in adding it with the &

Begginer's question: How can I use an other Mojo in my own plugin?

2010-02-21 Thread Kai Hackemesser
Hi, I would like to execute another Mojo (the ResolveDependenciesMojo) from inside my own Mojo. I wasn't yet successful in adding it with the @component annotation. What is a proper way to do that? Cheers, Kai

learning about dependencies of a plugin

2010-02-18 Thread Kai Hackemesser
Hi there, I'm writing my first plugin. My plugin will have a dependency to another library/artifact that needs to be added to the classpath when the plugin executes its work. How can I find the artifact that the plugin is depending to, when the plugin is running? The maven-dependency-plugin resolv

M2Eclipse 0.9.9.200909092308 - Maven Project builder is running endless

2009-09-28 Thread Kai Hackemesser
Hi, Do you know how to stop M2Ecklipse Project builder from running in all the time? As soon as it reaches the end it starts from begin with info: Maven Builder: AUTO_BUILD requireFullBuild I get each time this warning 29/09/09 12:50:27 PM: [WARN] 'reporting.plugins.plugin.version' is missing for

Re: Problems with latest m2eclipse

2009-09-27 Thread Kai Hackemesser
Just found it. the setting for the Maven runtime in the builder configuration dialog was hidden because the configuration window was a little too small. Looks like an eclipse issue.

Problems with latest m2eclipse

2009-09-27 Thread Kai Hackemesser
Hello, I just updated my eclipse configuration today, and it is complaining now about things that aren't absolutely understandable to me. The plugins mentioned in the output below aren't defined by my project and should be use whatever is default. The project has an extra m2 builder defined to cal

How to use subversion in an ant task in maven?

2008-11-16 Thread Kai Hackemesser
Hi, can anyone show me an example how to use an svn ant task in maven? where can I get the svnant library in a repository? Cheers, Kai

Re: Using two 'central' repository mirrors?

2007-07-19 Thread Kai Hackemesser
complex setup. I would suggest consolidating things to a single mirror, ideally by simply setting up the existing "local central repo mirror" to proxy to the "real" Central. Is there a reason you can't set this up? Wayne On 7/19/07, Kai Hackemesser <[EMAIL PROTECTED]>

Re: (2.0.7) LinkageError: Class org/xml/sax/XMLReader violates loader constraints

2007-07-19 Thread Kai Hackemesser
t... HTH, -Lukas [1] http://mail-archives.apache.org/mod_mbox/maven-doxia-dev/200706.mbox/browser Kai Hackemesser wrote: hi there! Since I upgraded to Maven 2.0.7 my maven surefire tests fail with exceptions like this: java.lang.LinkageError: Class org/xml/sax/XMLReader viola

Using two 'central' repository mirrors?

2007-07-19 Thread Kai Hackemesser
Hi there, The company I'm currently working at has its own local 'central' repository mirror, which doesn't proxy to any outer repository. They have deployed their local code there. How should I set up my settings to access a real outer mirror for update first and if this fails lookup (becaus

(2.0.7) LinkageError: Class org/xml/sax/XMLReader violates loader constraints

2007-07-19 Thread Kai Hackemesser
hi there! Since I upgraded to Maven 2.0.7 my maven surefire tests fail with exceptions like this: java.lang.LinkageError: Class org/xml/sax/XMLReader violates loader constraints at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:5