Re: How can I prevent SLF4J's infamous “multiple bindings” warning at build time for maven build?

2018-04-11 Thread Nick Stolwijk
/how-can-i-prevent-slf4js-infamous-multiple-bindings-warning-at-build-time > > Is it possible achieve something like this via maven build also ? >

How can I prevent SLF4J's infamous “multiple bindings” warning at build time for maven build?

2018-04-11 Thread Debraj Manna
I have seen a similar question being answered in stackoverflow https://stackoverflow.com/questions/25335497/how-can-i-prevent-slf4js-infamous-multiple-bindings-warning-at-build-time Is it possible achieve something like this via maven build also ?

Re: A maven plugin to add dynamically a repository at build time

2018-04-09 Thread Nicolas Brasey
gt; > And your maven command should like: > mvn -Drepo.name=some.repo.name -Drepo.url=relevant.url > > > What do you say? > > YG > > > > > -Original Message- > From: Nicolas Brasey [mailto:nicolas.bra...@gmail.com] > Sent: Monday, April 09, 2018 20:41 &

RE: A maven plugin to add dynamically a repository at build time

2018-04-09 Thread Golan, Yaron
dynamically a repository at build time Hi, In my continuous integration solution, I need to have a maven repository which is calculated based on the git branch name. For example, I have a naming convention which is used to calculate the maven repo URL, something similar to this: Branch name

A maven plugin to add dynamically a repository at build time

2018-04-09 Thread Nicolas Brasey
Hi, In my continuous integration solution, I need to have a maven repository which is calculated based on the git branch name. For example, I have a naming convention which is used to calculate the maven repo URL, something similar to this: Branch name -> Git Repo URL: ---

Re: Possible to alter project.distributionManagement.repository.url at build time?

2016-07-05 Thread Dan Tran
Hi Mirko, I have something similar as well. I was hoping can do it as part of release:repare release:perform to instrument dynamic stagingId for our Artifactory deployment Thanks -D On Tue, Jul 5, 2016 at 2:17 PM, Mirko Friedenhagen wrote: > Hello Dan, > we use a

Re: Possible to alter project.distributionManagement.repository.url at build time?

2016-07-05 Thread Mirko Friedenhagen
Hello Dan, we use a property in distributionManagement which has is set in settings.xml (may be overridden on the CLI), something like: ${distribution.snapshot.url} Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)

Re: Possible to alter project.distributionManagement.repository.url at build time?

2016-07-04 Thread Dan Tran
quick prototype shows I can make changes to maven project, but deploy plugin does not see my changes. so is not possible? Thanks -Dan On Mon, Jul 4, 2016 at 5:14 PM, Dan Tran wrote: > Hi I have a need to push a key/value pair into release URL > > is maven project immutable

Possible to alter project.distributionManagement.repository.url at build time?

2016-07-04 Thread Dan Tran
Hi I have a need to push a key/value pair into release URL is maven project immutable once constructed? Thanks -Dan

Re: Improving project build time

2012-09-17 Thread Kristian Rosenvold
for the project is around 32mins. We want to improve this time. Please suggest different ways of reducing the build time. The projects contains total 22 module. when we run the mvn clean and install without tests it takes around 1 min 22 seconds. But when we run with Tests it takes around 32 mins

Re: Improving project build time

2012-09-17 Thread Barrie Treloar
On Mon, Sep 17, 2012 at 5:26 PM, Kristian Rosenvold kristian.rosenv...@gmail.com wrote: You should probably be looking into parallelizing your tests :) . Or looking at what your tests are doing. 32 minutes sounds like you are doing integration type testing and not unit tests. Pull the

Re: Improving project build time

2012-09-17 Thread Clebert Suconic
That's one thing I always thought that maven should have an explicit spot for integration tests. We also had to create a separate profile. Having them into a more standard place would make it cleaner IMO. That's a feature request I know. But does it make sense? Sent from my iPhone On Sep 17,

RE: Improving project build time

2012-09-17 Thread Danny Thomas
project build time That's one thing I always thought that maven should have an explicit spot for integration tests. We also had to create a separate profile. Having them into a more standard place would make it cleaner IMO. That's a feature request I know. But does it make sense? Sent from my iPhone

Re: Improving project build time

2012-09-17 Thread John Kramer
I understand your point, and agree that I might be nice to have a bit more of a standard place for integration tests. However, one point that should be mentioned is that there are frequently multiple levels of integration tests (in container, out of container, ui, etc). Thus it might not be so

Re: Improving project build time

2012-09-17 Thread Hanmay Udgiri
thx guys for your comments.. yes we have integration tests included in the build. I have tried running them parallel but the tests are not atomic so are not working as expected. we have some DB call where we are using thread sleep,is there anything by which this can be improved Also we have any

Re: Improving project build time

2012-09-17 Thread John Kramer
I would suggest that you make sure that your tests are idempotent (http://geekswithblogs.net/dthakur/archive/2004/11/19/15282.aspx) and independent and deterministic. This will not only allow you to run tests in parallel, but it will also help maintainability a lot. It is also a red flag that

Re: Improving project build time

2012-09-17 Thread Clebert Suconic
Option one: You could have one separate project for each integration layer? I was just looking into something like, I just arrived in a project.. want to run the integration tests... then I could just do: cd /proper-integration-directory mvn integration-tests mvn tests:integration-tests

Excessive build time using maven assembly plugin

2012-06-19 Thread jredden
Fellow developers, Has anyone seen the behavior of revisiting of every object in the install/package process looking for EJBs and the like(?). Is there a better plugin? Missing attributes? Code snippet: plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration

Re: Excessive build time using maven assembly plugin

2012-06-19 Thread Wayne Fay
artifactIdmaven-compiler-plugin/artifactId Missing plugin version (unless declared somewhere else?). groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.10/version Old plugin version. artifactIdmaven-assembly-plugin/artifactId Missing plugin version

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread Alex Lopez
You could deploy in place or unpacked or something similar, there is more than one way to deploy or test your webapp without it having to be packed into the WAR, which is what takes most of the build time for us too. Em 13-05-2011 01:42, Ron Wheeler escreveu: On 12/05/2011 12:53 PM, javadaisy

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread Marc Rohlfs
Java memory settings are not defined like system properties - You shouldn't use '-D'. Try this: set MAVEN_OPTS=-Xms=1024M -Xmx=1024M This might not solve Your problem, but it should fix the memory reservation/allocation. BTW: I wouldn't modify the mvn.bat. Just set the MAVEN_OPTS as an

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread javadaisy
Bunch of thanks to all for sharing the info. Yes my war is very big. Its size is almost 62MB. It builds in 7 mins than other machines. It uses 30 dependencies and xml resources. -- View this message in context: http://maven-users.828.n2.nabble.com/help-how-to-reduce-the-build-time-using-mvn

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread Wayne Fay
Bunch of thanks to all for sharing the info.  Yes my war is very big.  Its size is almost 62MB.  It builds in 7 mins than other machines.  It uses 30 dependencies and xml resources. 7 minutes is a long time just to build what is essentially a zip file. Perhaps invest in some SSD hardware and

RE: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread EJ Ciramella
build takes 7 min? Could you break that apart and extract portions to a different build and just rely on dependencies? -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Friday, May 13, 2011 4:30 PM To: Maven Users List Subject: Re: help - how to reduce the build time

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread Ron Wheeler
Getting the 70 dependencies out of the build will yield the biggest ROI. Ron On 13/05/2011 4:29 PM, Wayne Fay wrote: Bunch of thanks to all for sharing the info. Yes my war is very big. Its size is almost 62MB. It builds in 7 mins than other machines. It uses 30 dependencies and xml

RE: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread EJ Ciramella
to reduce the build time using mvn and cargo Getting the 70 dependencies out of the build will yield the biggest ROI. Ron On 13/05/2011 4:29 PM, Wayne Fay wrote: Bunch of thanks to all for sharing the info. Yes my war is very big. Its size is almost 62MB. It builds in 7 mins than other

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread Ron Wheeler
Message- From: Ron Wheeler [mailto:rwhee...@artifact-software.com] Sent: Friday, May 13, 2011 5:08 PM To: users@maven.apache.org Subject: Re: help - how to reduce the build time using mvn and cargo Getting the 70 dependencies out of the build will yield the biggest ROI. Ron On 13/05/2011 4:29

Re: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread John Singleton
: help - how to reduce the build time using mvn and cargo Getting the 70 dependencies out of the build will yield the biggest ROI. Ron On 13/05/2011 4:29 PM, Wayne Fay wrote: Bunch of thanks to all for sharing the info. Yes my war is very big. Its size is almost 62MB. It builds in 7 mins

RE: help - how to reduce the build time using mvn and cargo

2011-05-13 Thread EJ Ciramella
, 2011 5:24 PM To: users@maven.apache.org Subject: Re: help - how to reduce the build time using mvn and cargo By this time on a Friday 3s look like 7s. We had to remove over 70 out of our build. It made lots of things better. Some dependencies such as CXF for Web services are huge and getting them

help - how to reduce the build time using mvn and cargo

2011-05-12 Thread javadaisy
=-DXms_1024M -DXmx=1024M in mvn.bat. It didn't work Thanks in advance. -- View this message in context: http://maven.40175.n5.nabble.com/help-how-to-reduce-the-build-time-using-mvn-and-cargo-tp4390836p4390836.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread Anders Hammar
this message in context: http://maven.40175.n5.nabble.com/help-how-to-reduce-the-build-time-using-mvn-and-cargo-tp4390836p4390836.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail

RE: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread Martin Gainty
the build time using mvn and cargo From: and...@hammar.net To: users@maven.apache.org Seriously, what kind of answer are you expecting to this question? There isn't any magic configuration like -DreduceBuildTime=true. /Anders On Thu, May 12, 2011 at 18:53, javadaisy javada...@gmail.com wrote

Re: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread John Singleton
://maven.40175.n5.nabble.com/help-how-to-reduce-the-build-time-using-mvn-and-cargo-tp4390836p4390836.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

RE: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread EJ Ciramella
. -- View this message in context: http://maven.40175.n5.nabble.com/help-how-to-reduce-the-build-time-using-mvn-and-cargo-tp4390836p4390836.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe

Re: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread javadaisy
Thanks for pointing me to the right direction. For clean and compile it takes around 1Min and it takes around 3 1/2 mins for packaging the war file. -- View this message in context: http://maven.40175.n5.nabble.com/help-how-to-reduce-the-build-time-using-mvn-and-cargo-tp4390836p4391561.html

Re: help - how to reduce the build time using mvn and cargo

2011-05-12 Thread Ron Wheeler
dependencies or less (typically 5 dependencies) to get all of the 90+ officially sanctioned libraries. Big help at run-time as well. Ron Thanks in advance. -- View this message in context: http://maven.40175.n5.nabble.com/help-how-to-reduce-the-build-time-using-mvn-and-cargo

Jar Signing eats up build time

2010-04-07 Thread fgfggf fgfggf
We have a legacy project that is pretty heinous in terms of build time and this is severely affecting delivery times. There are many pieces of refactoring to break this down into a more manageable build, that need to be done, but one quick win is to sort out the signing of dependencies

Auto Generate Text File at Build Time

2009-10-28 Thread dpark
How do I go about auto generating a text file during my build? (ignored by CVS) Is there a plugin for this? Thanks, DP -- View this message in context: http://www.nabble.com/Auto-Generate-Text-File-at-Build-Time-tp26097319p26097319.html Sent from the Maven - Users mailing list archive

RE: Auto Generate Text File at Build Time

2009-10-28 Thread Edelson, Justin
Subject: Auto Generate Text File at Build Time How do I go about auto generating a text file during my build? (ignored by CVS) Is there a plugin for this? Thanks, DP -- View this message in context: http://www.nabble.com/Auto-Generate-Text-File-at-Build-Time-tp26097319p2 6097319.html Sent from

Re: Auto Generate Text File at Build Time

2009-10-28 Thread Michael Remijan
To: users@maven.apache.org Sent: Wed, October 28, 2009 11:01:44 AM Subject: Auto Generate Text File at Build Time How do I go about auto generating a text file during my build? (ignored by CVS) Is there a plugin for this? Thanks, DP -- View this message in context: http://www.nabble.com/Auto

Is it possible to use a build time property for resource filtering?

2009-04-09 Thread Torben S. Giesselmann
? Is it impossible to set new properties at build time and have those filtered? Thanks in advance! Best regards, - Torben -- Torben S. Giesselmann tsg-sw...@foogoo.net A clear conscience is usually the sign of a bad memory

RE: Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-26 Thread Brian E. Fox
. -Original Message- From: les.hazlew...@anjinllc.com [mailto:les.hazlew...@anjinllc.com] On Behalf Of Les Hazlewood Sent: Wednesday, February 25, 2009 5:56 PM To: users@maven.apache.org Subject: Conditional plugin execution based on build time behavior - Maven profiles not sufficient? Hi

Re: Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-26 Thread Wendy Smoak
On Wed, Feb 25, 2009 at 3:56 PM, Les Hazlewood l...@hazlewood.com wrote: I have a build that must run every 5 minutes or so in a Continuous Integration server.  It must do this because it downloads information that exists outside of a Maven artifact repository or any build environment and

Re: Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-26 Thread Jason van Zyl
Not sure if this works in 2.x (it should, I know it works in 3.x) but I'll make an enforcer rule, or small plugin in the validate phase, which will detect the changed. Based on the outcome set the skip deploy option programmatically. Not the most efficient as the build will still happen

Re: Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-26 Thread Les Hazlewood
I _just_ saw a maven.deploy.skip property that the existing 2.4 deploy plugin will check. I'm perfectly fine with doing what you suggest Jason, thanks very much for the recommendation (I don't care about the minor inefficiency in this case). But, that property can be set programmatically via

Re: Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-26 Thread Les Hazlewood
Hi Wendy, Thanks very much for the feedback, I certainly appreciate it. Yes, our CI server definitely supports executing a script. We could just take our logic, throw it in a groovy script, and if the .xsd files have changed, have that groovy script just kick off the maven build. I wanted to

Re: Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-26 Thread Jason van Zyl
All works fine, but you need to use version 2.4 of the deploy plugin. Full working example is here: http://people.apache.org/~jvanzyl/les.tgz There's a plugin and a project that uses the plugin. Build/install the plugin, then mvn clean deploy the test project and you'll see it doesn't

Re: Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-26 Thread Jason van Zyl
All works fine, but you need to use version 2.4 of the deploy plugin. Full working example is here: http://people.apache.org/~jvanzyl/les.tgz There's a plugin and a project that uses the plugin. Build/install the plugin, then mvn clean deploy the test project and you'll see it doesn't

Re: Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-26 Thread Les Hazlewood
Beautiful - I just tested with 2.4 and it works wonderfully. Thanks to all who contributed to this thread! Cheers, Les On Thu, Feb 26, 2009 at 11:48 AM, Jason van Zyl jvan...@sonatype.comwrote: All works fine, but you need to use version 2.4 of the deploy plugin. Full working example is

Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-25 Thread Les Hazlewood
Hi folks, Here's what I'm trying to achieve: I have a build that must run every 5 minutes or so in a Continuous Integration server. It must do this because it downloads information that exists outside of a Maven artifact repository or any build environment and must regularly check to see if

Re: Conditional plugin execution based on build time behavior - Maven profiles not sufficient?

2009-02-25 Thread Brett Porter
I can see a few options. The best solution is to find some way to get your CI server to detect the XSD changes as a trigger for the build instead. From a Maven point of a view, you might be looking at building a conditional deploy plugin. Extending the current one and providing limited

How to copy the resource files into my packaged folder in the build time?

2008-10-20 Thread sean.chen(陈思淼)
I define my own pakcaging type just like ear but have some customer file type process.but sometimes, the project have some resources outside the project. I should copy that resources to that, in ant, i just use copy tag it works. but in maven, how can i copy the file to the folder? Is the antrun

Is there a standard way to provide build time properties to an application?

2008-07-25 Thread Brewster, Richard
The general idea is to create a properties file and package it in the jar or war on the classpath, so it can be read at runtime. Thanks, Richard Brewster Senior Associate Perrin Quarles Associates [EMAIL PROTECTED] (434) 817-2640

Re: Is there a standard way to provide build time properties to an application?

2008-07-25 Thread Manuel EVENO
You mean dynamically create the properties file before packaging ? On Fri, Jul 25, 2008 at 4:05 PM, Brewster, Richard [EMAIL PROTECTED]wrote: The general idea is to create a properties file and package it in the jar or war on the classpath, so it can be read at runtime. Thanks, Richard

Re: Maven plugins that can check for hardcoded (un-externalized) strings at build time? (i18n)

2008-01-31 Thread Rémy Sanlaville
Hi, I don't think so but it will be a useful plugin. Rémy

Maven plugins that can check for hardcoded (un-externalized) strings at build time? (i18n)

2008-01-29 Thread jonathanyu
For internationalization purposes, are there any Maven plugins that would check during build time for strings that aren't externalized to a resource (.property) file? For example, if I have code like this: System.out.println(hello); //$NON-NLS-1$ System.out.println(world); is there a maven

Re: how can I to use build time in pom files

2008-01-22 Thread Rex Huang
/resource in Version.txt build-time= ${BUILDTIME} -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/BLiNCMagazine http://tahoe.baselogic.com

Re: how can I to use build time in pom files

2008-01-21 Thread Rex Huang
. *http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html* Regards, Mark Rex Huang wrote: Does maven has build time property, which I can use in pom files my-property${build time}my-property BR//Rex

RE: how can I to use build time in pom files

2008-01-21 Thread nicklist
[mailto:[EMAIL PROTECTED] Sent: Mon 1/21/2008 5:02 PM To: Maven Users List Subject: Re: how can I to use build time in pom files I found information of maven-buildnumber-plugin here: http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html it's works! Rex On Jan 18, 2008 3:33 PM, Mark

Re: how can I to use build time in pom files

2008-01-21 Thread Mick Knutson
!-- ===-- !-- Build Number Plugin -- !-- ===-- !-- This mojo is designed to get a unique build number for each

Re: how can I to use build time in pom files

2008-01-21 Thread Rex Huang
/resources/directory filteringtrue/filtering includes includeVersion.txt/include /includes /resource in Version.txt build-time= ${BUILDTIME}

Re: how can I to use build time in pom files

2008-01-21 Thread Mick Knutson
. such as: in pom.xml properties BUILDTIME${buildNumber}/BUILDTIME /properties resource directorysrc/main/resources/directory filteringtrue/filtering includes includeVersion.txt/include /includes /resource in Version.txt build

Re: how can I to use build time in pom files

2008-01-21 Thread Mick Knutson
/directory filteringtrue/filtering includes includeVersion.txt/include /includes /resource in Version.txt build-time= ${BUILDTIME} -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http

Re: how can I to use build time in pom files

2008-01-18 Thread Mark Eramo
Rex, Have a look at the Maven build number plugin. It may be able to do what you need. *http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html* Regards, Mark Rex Huang wrote: Does maven has build time property, which I can use in pom files my-property${build time}my

Re: how can I to use build time in pom files

2008-01-18 Thread amit kumar
time property, which I can use in pom files my-property${build time}my-property BR//Rex

how can I to use build time in pom files

2008-01-18 Thread Rex Huang
Does maven has build time property, which I can use in pom files my-property${build time}my-property BR//Rex

Build time resolution of properties files

2007-05-17 Thread Ian Petzer
Hi, I'm trying to build a WAR which includes a properties file at build time. This properties file will vary according to the environment that it is being built for. (dev, test, prod). This would ideally be added during something like the process-resources stage, so that I can point my eclipse

enforcing plugin writting guidelines at build time

2007-03-16 Thread Jerome Lacoste
On 3/15/07, Jerome Lacoste [EMAIL PROTECTED] wrote: Hi, further care must be taken when writing plugins considering that maven can be embedded. Maven sort of acts as a container for code. And maven itself can be embedded. This isn't limited to embedding. As I said Kaare yesterday, maven

generating an admin jsp at build time

2006-12-01 Thread Jeff Mutonho
I would like to create a sort of administration jsp that gets bundled into my application war during build time.The administration jsp would probably look like this : HTML BODY This application was build on %= new java.util.Date() % /BODY /HTML but instead of new java.util.Date() , it would

Re: generating an admin jsp at build time

2006-12-01 Thread David Delbecq
HTML BODY This application was build on @@SomeBuildDateProperty@@ /BODY /HTML And use the ant filtering rules to replace content between @@ (see ant docs) Jeff Mutonho a écrit : I would like to create a sort of administration jsp that gets bundled into my application war during build

Re: generating an admin jsp at build time

2006-12-01 Thread Jeff Mutonho
On 12/1/06, David Delbecq [EMAIL PROTECTED] wrote: HTML BODY This application was build on @@SomeBuildDateProperty@@ /BODY /HTML And use the ant filtering rules to replace content between @@ (see ant docs) Thanx David.Ended up being this simple : tstamp prefix=build format

Re: Modifying a web application's web.xml at build time

2006-10-30 Thread Carlos A. Carnero Delgado
On 10/29/06, Wendy Smoak [EMAIL PROTECTED] wrote: ... That is, the auth filter is different in the live environment, when running the integration tests, and when running 'local' on my workstation. That's nice, but I think it will not help me. Your method, using properties, can change which

Modifying a web application's web.xml at build time

2006-10-29 Thread Carlos A. Carnero Delgado
using a filter tag in web.xml) is disabled using comments. Is there a way of modifying the web.xml at build time using Maven profiles? Are profiles the solution? I think that the ideal solution would involve maintaining a single web.xml that could be modified at build time. Best regards, Carlos

Re: Modifying a web application's web.xml at build time

2006-10-29 Thread Wendy Smoak
On 10/29/06, Carlos A. Carnero Delgado [EMAIL PROTECTED] wrote: Is there a way of modifying the web.xml at build time using Maven profiles? Are profiles the solution? I think that the ideal solution would involve maintaining a single web.xml that could be modified at build time. Sure. I do

Re: Modifying a web application's web.xml at build time

2006-10-29 Thread 向秦贤
in web.xml) is disabled using comments. Is there a way of modifying the web.xml at build time using Maven profiles? Are profiles the solution? I think that the ideal solution would involve maintaining a single web.xml that could be modified at build time. Best regards, Carlos. -- nick grah windows just

Re: Modifying a web application's web.xml at build time

2006-10-29 Thread 向秦贤
Hi, Maybe doing conditional subtasks in your case is good idea. And refering to this segment mentioned before has no bad effect.:) which use replaceregexp, with in ant, should available in m2. there are two codes as follows, one in firefox. and one in text. Regards, Qinxian !-- slim down

Re: Build time classpath using my java plugin

2006-07-13 Thread Trygve Laugstøl
TimHedger wrote: OK, so now I'm using the exec-plugin instead of my own code - great. But I've lost the control I had over when the exec step happened. I am using the plugin to generate SOAP wrappers for some Java code using glue (themindelectric). This step involves running a Java class with

Re: Build time classpath using my java plugin

2006-07-12 Thread TimHedger
build. How can I get this control with the exec plugin? -- View this message in context: http://www.nabble.com/Build-time-classpath-using-my-java-plugin-tf1914923.html#a5292877 Sent from the Maven - Users forum at Nabble.com

Re: Build time classpath using my java plugin

2006-07-11 Thread TimHedger
to the compile phase of the build. Can someone point out my mistake? -- View this message in context: http://www.nabble.com/Build-time-classpath-using-my-java-plugin-tf1914923.html#a5274398 Sent from the Maven - Users forum at Nabble.com

Re: Build time classpath using my java plugin

2006-07-11 Thread Tim Kettler
replace goalexec/goal with goaljava/goal TimHedger schrieb: You're right - I did some unnecessary work! (I took my approach from the idlj plugin, that basically puts some wrapper stuff around running the main method on a Java class - I guess that was done that way for convenience rather than

Re: Build time classpath using my java plugin

2006-07-11 Thread TimHedger
Doh! (Thank you) -- View this message in context: http://www.nabble.com/Build-time-classpath-using-my-java-plugin-tf1914923.html#a5281234 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Build time classpath using my java plugin

2006-07-10 Thread Trygve Laugstøl
TimHedger wrote: I've written a plugin (in Java) that explicitly invokes the main method of a Java class directly from within the jvm that maven is already running. My plugin is behaving/configured as I expect, but I have a classpath problem when control switches from my plugin code to the main

Build time classpath using my java plugin

2006-07-09 Thread TimHedger
plugin), how do I get this classpath be active in the running JVM? -- View this message in context: http://www.nabble.com/Build-time-classpath-using-my-java-plugin-tf1914923.html#a5242414 Sent from the Maven - Users forum at Nabble.com

[m2]How to reduce Build Time in Maven 2.0.3

2006-07-06 Thread narayan dhumale
changes in web-1.0. Can anybody shortcut to this procedure so that my build time can b reduced???  The pom of web-1.0 is looks like this project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http

Re: Adding Build Time to Projects Summary Page

2006-02-24 Thread Richard C. L. Li
Not possible even by altering the Summary.vm template? Emmanuel Venisse wrote: No, it isn't possible. File an issue for this feature. Emmanuel Richard C. L. Li a écrit : Hi, Is there any way to add a column of the ending date and time of the latest build in the project summary page?

Re: Adding Build Time to Projects Summary Page

2006-02-24 Thread Emmanuel Venisse
you can but you'll need to readd it in continuum-web.jar because this file is always unpack at each restart. $date.format('medium',$latestBuild.endTime) Emmanuel Richard C. L. Li a écrit : Not possible even by altering the Summary.vm template? Emmanuel Venisse wrote: No, it isn't

Re: Adding Build Time to Projects Summary Page

2006-02-23 Thread Emmanuel Venisse
No, it isn't possible. File an issue for this feature. Emmanuel Richard C. L. Li a écrit : Hi, Is there any way to add a column of the ending date and time of the latest build in the project summary page? Thanks, Richard Li

Adding Build Time to Projects Summary Page

2006-02-22 Thread Richard C. L. Li
Hi, Is there any way to add a column of the ending date and time of the latest build in the project summary page? Thanks, Richard Li

speed up build time

2004-03-15 Thread thorsten maus
hi there .. we are developing an application using the multiproject plugin ... i would be interested in your ways to speed up the build process ... 1. is it possible to execute only parts of a multiproject 2. how do i tell maven not to compile all sources over and over again ??? -- Thorsten

build time

2004-02-24 Thread thorsten maus
hi guys .. im actually having a multiproject with 4 subproject ... for each subproject the ejbdoclet as well as the hibernatedoclet ist working .. although not needed for each ... the altogether build time is about 4-5 minutes is there any way to speed the build process up

Re: build time

2004-02-24 Thread Kevin Hagel
thorsten maus wrote: hi guys .. im actually having a multiproject with 4 subproject ... for each subproject the ejbdoclet as well as the hibernatedoclet ist working .. although not needed for each ... the altogether build time is about 4-5 minutes is there any way to speed the build