/how-can-i-prevent-slf4js-infamous-multiple-bindings-warning-at-build-time
>
> Is it possible achieve something like this via maven build also ?
>
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 ?
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
&
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
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:
---
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
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)
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
Hi I have a need to push a key/value pair into release URL
is maven project immutable once constructed?
Thanks
-Dan
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
: 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
, 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
=-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
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
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
://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
.
--
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
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
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
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
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
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
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 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
.
-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
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
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
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
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
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
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
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
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
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
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
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
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
Hi,
I don't think so but it will be a useful plugin.
Rémy
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
/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
.
*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
[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
!-- ===--
!-- Build Number Plugin --
!-- ===--
!--
This mojo is designed to get a unique build number for each
/resources/directory
filteringtrue/filtering
includes
includeVersion.txt/include
/includes
/resource
in Version.txt
build-time= ${BUILDTIME}
.
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
/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
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
time property, which I can use in pom files
my-property${build time}my-property
BR//Rex
Does maven has build time property, which I can use in pom files
my-property${build time}my-property
BR//Rex
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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
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
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
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
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
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
91 matches
Mail list logo