Re: Problem creating a self-executing signed jar
I think your main problem is that you try to squeeze everything into one Maven project. Try using more than one Maven project (one for the jar and then another one for the zip) and you'll see that things become much easier (and much more the mAven way). /Anders On Mon, Feb 22, 2010 at 17:45, Michael Remijan wrote: > I'm trying to convert an ANT project to Maven and I'm having trouble > configuring Maven to do what I need. Here are the basic steps I need: > > 1) Create a "jar-with-dependencies" jar. > 2) Sign the jar > 3) Create a ZIP distribution with the signed jar. > > So far I've been able to configure the maven-assembly-plugin to create the > "jar-with-dependencies" and I've been able to configure the > maven-jarsigner-plugin to sign the "jar-with-dependencies" jar. > > However, when I configure another execution of maven-assembly-plugin to run > my own assembly descriptor to build the ZIP file I want, it always runs > BEFORE the jar is signed. How do I get this execution to run AFTER the > jarsigner plugin? > > Mike
SVN maven-release-plugin
Hi How can I get source (to be able to build), for maven-release-plugin? Checkout from http://svn.apache.org/viewvc/maven/release/trunk, revision HEAD, Fully recursive, Externals included Repository moved permanently to '/viewvc/maven/release/trunk/'; please relocate Any help appreciated. -- View this message in context: http://old.nabble.com/SVN-maven-release-plugin-tp27699557p27699557.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Begginer's question: How can I use an other Mojo in my own plugin?
ahh you want the dependencies of your plugin... as distinct from the dependencies of the project your plugin is running in... 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 Hackemesser wrote: Ok, I can try that. How can I get the dependencies of the current plugin? I tried to get them with pluginManager.getPluginDefinitionForPrefix("myprefix", session, project).getDependencies() but that returned only an empty list. Cheers, Kai 2010/2/23 Stephen Connolly depending on another maven plugin is a bad plan. Due to issues with how Maven 2 loads plugins, the first version of a plugin loaded in a multi-module build is the only version that is loaded. Maven 3 will fix this somewhat, but in essence your build will be completely unpredictable if you try to depend on another plugin. IIRC getting the resolved dependencies is actually quite easy from within maven (just annotate the mojo with @requiresDependencyResolution scope where scope is the scope you require and then I think annotate a field with @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 is almost good! But this one executes the mojo, and I want to have the mojo object accessible, as I want to access a field. In more details, I want to call the getResults() method on ResolveDependenciesMojo to get hold of the dependencies. The actual scenario: I want to build a classpath string containing some dependencies of the plugin and the dependencies of the current project. Or I need a list of resolved jar files for the same set of dependencies. Cheers, Kai - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Newbie Question
Hi Jeremy, The maven-release-plugin forks to do the release. So I think you have to use an additional -Dparameters="-Pversion" (See http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#arguments ). Be aware I'm not totally sure it will work for profiles since I never needed it, although I did a lot of releases with this plugin; Btw, shouldn't this profile be always on? Is there cases where you don't want to generate this file? Cheers. 2010/2/23 Jeremy Banks > Hi All > > I've picked up a system set up by someone else and there's an aspect > of it that's not quite working properly, which I was hoping someone > may be able to help me with. > > We're building a flex project using maven. The project has 5 modules. > > One of the modules has a profile that uses the maven-antrun-plugin to > copy a file and then substitute some properties in to it in the > generate-sources phase. We are using it to insert the pom version and > an environment variable containing the subversion revision in to a > file that reports on the version of the software. > > The module in question is building an swc which is a dependency in > some of the other modules. > > What's happening is if I run compile or install or deploy in the > module in question then the file copy and substitution works. If > however I call the release targets (i.e. "mvn release:prepare > release:perform -Dresume=false -P version") it doesn't work. > > If I look at the release repository for the module itself and open up > the sources.jar I can verify that the substitution hasn't worked, as > the source file hasn't been updated. > > So I guess my question is that in this case it appears that > generate-sources isn't being called as part of the release targets, is > this correct? Any suggestions on how to make what is intended here > work? > > Below is the section of the pom that performs the copy and substitution. > > Regards > > Jeremy Banks > > > > version > > > >maven-antrun-plugin > > >version >generate-sources > > >value="${project.basedir}" /> > > value="${env.SVN_REVISION}" /> > file="${project_basedir}/src/main/flex/net/.../VersionTemplate._as" > tofile="${project_basedir}/src/main/flex/net/.../Version.as" > overwrite="true" /> > file="${project_basedir}/src/main/flex/net/.../Version.as" > token="%SVNVERSION%" value="${svn_revision}" /> > file="${project_basedir}/src/main/flex/net/.../Version.as" > token="%SVNURL%" value="${pom_version}" /> > > > > run > > > > > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Baptiste MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
Re: Plugin name abbreviated to 's'?
That's quite funny. Thanks! On Mon, Feb 22, 2010 at 5:33 PM, Brett Porter wrote: > Seems like a slight bug in the default plugin prefix calculation, which is > supposed to recognise 'maven-*-plugin' and '*-maven-plugin' > > You can correct this by passing the configuration to the > maven-plugin-plugin. > > http://maven.apache.org/plugins/maven-plugin-plugin/examples/generate-descriptor.html > > On 23/02/2010, at 12:10 AM, Benson Margulies wrote: > >> [INFO] [s:endian-variable {execution: getEndianFlag}] >> >> Can anyone explain where the 's' comes from? The plugin's full name is >> a com.basistech:maven-plugins. >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> > > -- > Brett Porter > br...@apache.org > http://brettporter.wordpress.com/ > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Begginer's question: How can I use an other Mojo in my own plugin?
Ok, I can try that. How can I get the dependencies of the current plugin? I tried to get them with pluginManager.getPluginDefinitionForPrefix("myprefix", session, project).getDependencies() but that returned only an empty list. Cheers, Kai 2010/2/23 Stephen Connolly > depending on another maven plugin is a bad plan. Due to issues with how > Maven 2 loads plugins, the first version of a plugin loaded in a > multi-module build is the only version that is loaded. > > Maven 3 will fix this somewhat, but in essence your build will be > completely > unpredictable if you try to depend on another plugin. > > IIRC getting the resolved dependencies is actually quite easy from within > maven (just annotate the mojo with @requiresDependencyResolution scope > where > scope is the scope you require and then I think annotate a field with > @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 is almost good! But this one executes the mojo, and I want to > have > > the mojo object accessible, as I want to access a field. In more details, > I > > want to call the getResults() method on ResolveDependenciesMojo to get > hold > > of the dependencies. > > The actual scenario: I want to build a classpath string containing some > > dependencies of the plugin and the dependencies of the current project. > Or > > I > > need a list of resolved jar files for the same set of dependencies. > > > > Cheers, > > Kai >
Newbie Question
Hi All I've picked up a system set up by someone else and there's an aspect of it that's not quite working properly, which I was hoping someone may be able to help me with. We're building a flex project using maven. The project has 5 modules. One of the modules has a profile that uses the maven-antrun-plugin to copy a file and then substitute some properties in to it in the generate-sources phase. We are using it to insert the pom version and an environment variable containing the subversion revision in to a file that reports on the version of the software. The module in question is building an swc which is a dependency in some of the other modules. What's happening is if I run compile or install or deploy in the module in question then the file copy and substitution works. If however I call the release targets (i.e. "mvn release:prepare release:perform -Dresume=false -P version") it doesn't work. If I look at the release repository for the module itself and open up the sources.jar I can verify that the substitution hasn't worked, as the source file hasn't been updated. So I guess my question is that in this case it appears that generate-sources isn't being called as part of the release targets, is this correct? Any suggestions on how to make what is intended here work? Below is the section of the pom that performs the copy and substitution. Regards Jeremy Banks version maven-antrun-plugin version generate-sources run - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Plugin name abbreviated to 's'?
Seems like a slight bug in the default plugin prefix calculation, which is supposed to recognise 'maven-*-plugin' and '*-maven-plugin' You can correct this by passing the configuration to the maven-plugin-plugin. http://maven.apache.org/plugins/maven-plugin-plugin/examples/generate-descriptor.html On 23/02/2010, at 12:10 AM, Benson Margulies wrote: > [INFO] [s:endian-variable {execution: getEndianFlag}] > > Can anyone explain where the 's' comes from? The plugin's full name is > a com.basistech:maven-plugins. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > -- Brett Porter br...@apache.org http://brettporter.wordpress.com/ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Begginer's question: How can I use an other Mojo in my own plugin?
depending on another maven plugin is a bad plan. Due to issues with how Maven 2 loads plugins, the first version of a plugin loaded in a multi-module build is the only version that is loaded. Maven 3 will fix this somewhat, but in essence your build will be completely unpredictable if you try to depend on another plugin. IIRC getting the resolved dependencies is actually quite easy from within maven (just annotate the mojo with @requiresDependencyResolution scope where scope is the scope you require and then I think annotate a field with @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 is almost good! But this one executes the mojo, and I want to have > the mojo object accessible, as I want to access a field. In more details, I > want to call the getResults() method on ResolveDependenciesMojo to get hold > of the dependencies. > The actual scenario: I want to build a classpath string containing some > dependencies of the plugin and the dependencies of the current project. Or > I > need a list of resolved jar files for the same set of dependencies. > > Cheers, > Kai > > 2010/2/22 James William Dumay > > > Hey Kai, > > You might want to checkout the Mojo Executor project :) > > > > 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 > >> @component > >> annotation. What is a proper way to do that? > >> > >> Cheers, > >> Kai > >> > >> > >> > > > > - > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > >
Re: Begginer's question: How can I use an other Mojo in my own plugin?
Hi, James, that tip is almost good! But this one executes the mojo, and I want to have the mojo object accessible, as I want to access a field. In more details, I want to call the getResults() method on ResolveDependenciesMojo to get hold of the dependencies. The actual scenario: I want to build a classpath string containing some dependencies of the plugin and the dependencies of the current project. Or I need a list of resolved jar files for the same set of dependencies. Cheers, Kai 2010/2/22 James William Dumay > Hey Kai, > You might want to checkout the Mojo Executor project :) > > 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 >> @component >> annotation. What is a proper way to do that? >> >> Cheers, >> Kai >> >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: Simple profile question
Well... that is our use case. I guess what I did not mention (but is implicit) is that there are essentially two mutually exclusive groups here. I see now that there is no support for this as there are tickets regarding grouping of profiles. I did manage to solve my use case, however. I switched my approach from using profile IDs to active the profile, to using parameters/properties on the command line. So profile A is activated by the absence of a parameter, and profile B is activated by the presence of a parameter. Likewise for profiles C and D. I hope there are plans to increase the flexibility of profiles in future releases. Perhaps the Hamcrest API could easily provide this. Regards, Collin On Fri, Feb 19, 2010 at 4:44 PM, Tobias Gierke < tobias.gie...@code-sourcery.de> wrote: > > Why do you need to have 4 different profiles ? > > Regards, > Tobias >
Problem creating a self-executing signed jar
I'm trying to convert an ANT project to Maven and I'm having trouble configuring Maven to do what I need. Here are the basic steps I need: 1) Create a "jar-with-dependencies" jar. 2) Sign the jar 3) Create a ZIP distribution with the signed jar. So far I've been able to configure the maven-assembly-plugin to create the "jar-with-dependencies" and I've been able to configure the maven-jarsigner-plugin to sign the "jar-with-dependencies" jar. However, when I configure another execution of maven-assembly-plugin to run my own assembly descriptor to build the ZIP file I want, it always runs BEFORE the jar is signed. How do I get this execution to run AFTER the jarsigner plugin? Mike
Maven-invoker-plugin: reactor build order in multi-module build
Hi all, I have an couple of integration tests ("it-with-a" and "it-with-b") run using the maven-invoker-plugin. Each of these integration tests depends on some dependencies of their own ("a" and "b", respectively). Unfortunately, Maven does not consider these dependencies when determining the reactor build order during a multi-module build: aggregator | +--a | +--b | \--module | +--src/it | +--it-with-a | \--it-with-b Even though "it-with-a" depends on module "a" and "it-with-b" depends on module "b", Maven happily chooses a build order of "module", "a", "b". Of course, this could be solved by making "module" itself depend on both "a" and "b". Alas, this is not possible. I cannot have "a" and "b" on the classpath at the same time (the two modules build two versions of the same project; this results in name clashes). Is there a way to overcome this problem? FWIW, the maven-failsafe-plugin doesn't help; I would need to "test" classpaths: on with "a" and one with "b". :-( Best wishes, Andreas Sewe - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Plugin to check if something changed since the last tag?
I believe you can do this with scm:diff, passing in startScmVersion and startScmVersionType. But why would you want to do this vs. using your SCM's native diff command is beyond me. Justin On 2/22/10 7:55 AM, Wim Deblauwe wrote: > Hi, > > is there such a thing as a plugin that checks if there have been any changes > in the trunk of your project, since the last release you have done? I want > to know this to avoid that you release a module in your project when nobody > really checked in any code to that module, and so a release is not really > needed. > > regards, > > Wim > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: RCP
it depends what RCP you are using... for netbeans: http://netbeans.org/community/magazine/html/04/maven.html for eclipse: http://tycho.sonatype.org/ m. Dňa 22.02.2010 13:28, Michael Hüttermann wrote / napísal(a): > Hello, > > what is the recent recommended way to build RCP apps? > Is a how-to available which is up-to-date ? > > Thanks in advance. > > > Michael > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Cargo Still Active Project?
Oh, wait. I think I found it. If you want to subscribe to one of the Cargo mailing lists, you have to go here: http://xircles.codehaus.org/projects/cargo/lists On Mon, Feb 22, 2010 at 9:16 AM, Jim Collings wrote: > I can't seem to subscribe to any of their lists. Is there a magic trick to > this? > > Jim C. > > Hi. This is the qmail-send program at mail.codehaus.org. > I'm afraid I wasn't able to deliver your message to the following addresses. > This is a permanent error; I've given up. Sorry it didn't work out. > > : > ezmlm-reject: fatal: Sorry, I don't accept commands in the subject > line. Please send a message to the -help address shown in the the > ``Mailing-List:'' header for command info (#5.7.0) > > --- Below this line is a copy of the message. > > Return-Path: > Received: (qmail 5248 invoked by uid 89); 22 Feb 2010 14:04:22 - > Received: from unknown (HELO ey-out-1920.google.com) (74.125.78.144) > by mail.codehaus.org with SMTP; 22 Feb 2010 14:04:22 - > Received: by ey-out-1920.google.com with SMTP id 4so626262eyg.4 > for ; Mon, 22 Feb 2010 06:04:25 -0800 (PST) > DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; > d=gmail.com; s=gamma; > h=domainkey-signature:mime-version:received:date:message-id:subject > :from:to:content-type; > bh=GKZqx2pMqCASTyRaiEY9UxG7pbJmdZaRwMm3Xe/b3rU=; > b=gMNdu0ho0zT4ppus7vs4IM/G/FeW0i1hoZTkGg/4Edh2vumf4FNFjI49QZ1G70sors > fEFUJeZoQexRdjWNnMQm6H4RiOnoVm1jJ+5Whpfput2IDchWqp+ScSKd3D6HFwJZ37aZ > hFAnN9HAjTy72ePNUyTCTcZ2k3PcAHaY38NKU= > DomainKey-Signature: a=rsa-sha1; c=nofws; > d=gmail.com; s=gamma; > h=mime-version:date:message-id:subject:from:to:content-type; > b=UkPheoVtlWBjQtM7elgjXX2XYSbWuJUjnK67aR2f3sRUqXYuLQy2UDbjW71oquBubh > bq65Pz7YkzYDh+ODkuFht/P4n3x6nYPbg66dZaUvn16EnP4NKsfWlhQJSE6cnRuhrVU6 > 2g2Ln1G9Fl/1mdXwhWXQzSh5klBN5vsxgZOQg= > MIME-Version: 1.0 > Received: by 10.216.86.82 with SMTP id v60mr512904wee.180.1266847465362; Mon, > 22 Feb 2010 06:04:25 -0800 (PST) > Date: Mon, 22 Feb 2010 09:04:25 -0500 > Message-ID: <8e3bcb0c1002220604i6a488740n48879cc0a2d6d...@mail.gmail.com> > Subject: subscribe > From: Jim Collings > To: d...@cargo.codehaus.org > Content-Type: text/plain; charset=ISO-8859-1 > > - Show quoted text - > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Cargo Still Active Project?
I can't seem to subscribe to any of their lists. Is there a magic trick to this? Jim C. Hi. This is the qmail-send program at mail.codehaus.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : ezmlm-reject: fatal: Sorry, I don't accept commands in the subject line. Please send a message to the -help address shown in the the ``Mailing-List:'' header for command info (#5.7.0) --- Below this line is a copy of the message. Return-Path: Received: (qmail 5248 invoked by uid 89); 22 Feb 2010 14:04:22 - Received: from unknown (HELO ey-out-1920.google.com) (74.125.78.144) by mail.codehaus.org with SMTP; 22 Feb 2010 14:04:22 - Received: by ey-out-1920.google.com with SMTP id 4so626262eyg.4 for ; Mon, 22 Feb 2010 06:04:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=GKZqx2pMqCASTyRaiEY9UxG7pbJmdZaRwMm3Xe/b3rU=; b=gMNdu0ho0zT4ppus7vs4IM/G/FeW0i1hoZTkGg/4Edh2vumf4FNFjI49QZ1G70sors fEFUJeZoQexRdjWNnMQm6H4RiOnoVm1jJ+5Whpfput2IDchWqp+ScSKd3D6HFwJZ37aZ hFAnN9HAjTy72ePNUyTCTcZ2k3PcAHaY38NKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UkPheoVtlWBjQtM7elgjXX2XYSbWuJUjnK67aR2f3sRUqXYuLQy2UDbjW71oquBubh bq65Pz7YkzYDh+ODkuFht/P4n3x6nYPbg66dZaUvn16EnP4NKsfWlhQJSE6cnRuhrVU6 2g2Ln1G9Fl/1mdXwhWXQzSh5klBN5vsxgZOQg= MIME-Version: 1.0 Received: by 10.216.86.82 with SMTP id v60mr512904wee.180.1266847465362; Mon, 22 Feb 2010 06:04:25 -0800 (PST) Date: Mon, 22 Feb 2010 09:04:25 -0500 Message-ID: <8e3bcb0c1002220604i6a488740n48879cc0a2d6d...@mail.gmail.com> Subject: subscribe From: Jim Collings To: d...@cargo.codehaus.org Content-Type: text/plain; charset=ISO-8859-1 - Show quoted text - - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re : RCP
Hi, You can try Tycho plugins: http://tycho.sonatype.org/ Regards, Julien - Message d'origine > De : Michael Hüttermann > À : users@maven.apache.org > Envoyé le : Lun 22 Février 2010, 13 h 28 min 11 s > Objet : RCP > > Hello, > > what is the recent recommended way to build RCP apps? > Is a how-to available which is up-to-date ? > > Thanks in advance. > > > Michael > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Plugin name abbreviated to 's'?
[INFO] [s:endian-variable {execution: getEndianFlag}] Can anyone explain where the 's' comes from? The plugin's full name is a com.basistech:maven-plugins. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Plugin to check if something changed since the last tag?
Hi, is there such a thing as a plugin that checks if there have been any changes in the trunk of your project, since the last release you have done? I want to know this to avoid that you release a module in your project when nobody really checked in any code to that module, and so a release is not really needed. regards, Wim
RCP
Hello, what is the recent recommended way to build RCP apps? Is a how-to available which is up-to-date ? Thanks in advance. Michael - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: tomcat blocks maven
Because I'm doing integration testing and I want to test my application after doing a real install. D/ On Feb 22, 2010, at 1:21 AM, Anders Hammar wrote: > Why aren't you using a real maven plugin to start tomcat and to deploy to > tomcat? > http://mojo.codehaus.org/tomcat-maven-plugin/ > or > http://cargo.codehaus.org/Maven2+plugin > > /Anders > > On Sun, Feb 21, 2010 at 17:33, Douglas Ferguson > wrote: > >> I have a pre-integration-test execution of the ant task plugin that >> installs my snapshot so that the integration tests can run against the new >> snapshot. >> >> After my install script exits maven hangs. I tracked this down to the fact >> that my install script stops and starts tomcat. >> If I stop tomcat at the end of my install script maven runs fine. >> >> My work around is to call a wrapper script that calls install then stop >> tomcat. >> Then start tomcat in a separate execution with "fork=true" >> >> Even though I have a work around I'd like to get to the bottom of this for >> 2 reasons >> >> 1) I can't for the life of me think of what tomcat/maven could be doing to >> cause this >> 2) It would be nice to test the real world install script and not one that >> restarts tomcat (i.e. what if I'm masking a bug) >> >> D/ >> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org