This is the scenario, I have one application and I want to deploy it to 3
different locations.
For each location I have a filter file and a run script.
e.g filter-London.properties, London.sh,
and
filter-NewYork.properties, NewYork.sh
Is it possible to use a templateRunScript.sh, and generate
Hello Mr./Ms. users@maven.apache.orgmailto:users@maven.apache.org,
I have been getting the following errors while executing man package for
Jenkins plug-in.
The error log is attached here.
Thanks in advance !!!
Mit freundlichen Grüßen / Best regards
Sudhakar Nannapaneni
Robert Bosch GmbH
Hi,
I create a maven archetype. My sources are in UTF-8, unix format but in the
created archetype the files have Windows format. (I work on a Windows PC.) So I
added the encoding property into the upper pom:
project.build.sourceEncodingUTF-8/project.build.sourceEncoding
But I can't see any
Hi,
I have been getting the following errors while executing “man
package” for Jenkins plug-in.
The error log is attached here.
IIRC I have seen that error when using Java 7 for packaging a
Hudson/Jenkins plugin. Try to use Java 6 instead, that should do the
trick.
HTH
Thorsten
Everything is stored in the sonatype-work/nexus folder. Copy that folder to
another machine and you have duplicated your entire instance.
On Thu, Apr 26, 2012 at 10:01 PM, hujirong jirong...@gmail.com wrote:
The one I am using in my test environment is not professional, but a free
one. I don't
In first case :
no matter what is the id of the requested repo it will go the url mentioned.
In the second case :
Only requests for repo with id thirdparty will do tthe url mentioned.
And more details are on the link which is mentioned before.
What we did was , created a virtual repo and put
Hi,
I have this weird error that keep coming up after a simple mvn clean
install.
Maven goes out on this error while reading test results and never goes
to the package, install etc goal...
Would you guys know what this could come from?
Thank you very much for your help,
Alexis.
Tests run:
-Original Message-
From: Matt Walsh
Sent: Friday, April 27, 2012 9:26 AM
To: users@maven.apache.org
Subject: RE: Maven failed with error while reading test results
Doesn't look like maven failed. Your tests failed, which caused your
build to fail, then Jenkins failed looking for
Doesn't look like maven failed. Your tests failed, which caused your
build to fail, then Jenkins failed looking for results.
Maybe you've configured your Jenkins build to do it's post processing
even on failure?
Matt
-Original Message-
From: Alexis Morelle
Please refer to
D:\Jenkins-slave\workspace\jobname\modulename\target\surefire-reports
for the individual test results.
Does the log literally say jobname and modulename? If so, this
suggests an error in how Jenkins is calling your Maven build (to me at
least).
[JENKINS] Archiving
I understand how Maven resolves dependencies (and transitive
dependencies) at compile time, but does it bring anything to the table
at run time?
For example, if I have in my application dependency list two versions of
log4J (let's say version 8 and version 15), will I deploy both
The thing is that if I add -fn for example (never fail), the build ends
successfully.
Anyway I just saw something even more strange with the following log.
It says: [INFO] Error for project: CMS - XML Engine Implementation
(during install)
But then: [INFO] Internal error in the plugin manager
Lol don't consider that, that was a lame attempt to obfuscate few
internal details as asked by my company...
See my next answer for more details with normal logs, sorry about that.
Alexis.
Le 27/04/2012 17:37, Wayne Fay a écrit :
Please refer to
On Fri, Apr 27, 2012 at 11:40 AM, J.V. jvsr...@gmail.com wrote:
I understand how Maven resolves dependencies (and transitive dependencies)
at compile time, but does it bring anything to the table at run time?
For example, if I have in my application dependency list two versions of
log4J
D:\Jenkins-slave\workspace\jobname\modulename\target\surefire-
reports\result.xml
Invalid byte 2 of 3-byte UTF-8 sequence.
This would lead me to believe there's a BOM (Byte-Order-Mark) error in the
result.xml file.
Does the surefire plugin generate BOMs??
-Original Message-
On 27/04/2012 11:40 AM, J.V. wrote:
I understand how Maven resolves dependencies (and transitive
dependencies) at compile time, but does it bring anything to the table
at run time?
It makes your artifacts that your run-time environment will execute.
It is a build tool.
For example, if I have
Hi Jorg, thank for your response
the dependences are different becouse i usually test the application in my
machine with tomcat instead in production i use websphere 7 and soon i will
have also another production envrionment for another customer with jboss
enterprice edition
so i would like to
I though of that (add the problem long time ago with a pom file) but
that's not the issue, I've tried several things
(-Dproject.reporting.outputEncoding=UTF-8 and stuff like that).
Anyway, I've looked more closely at the file which contains tons of test
results and some of them are a big mess
You're talking about missing dependencies to libraries, not Maven
modules, it that correct?
Did you try going to Project Properties Deployment Assembly ? Is
Maven Dependencies shown? If not, click on Add Java Build Path
Entries Maven Dependencies Finish
Then, to be safe, remove the
On Fri, Apr 27, 2012 at 8:40 AM, J.V. jvsr...@gmail.com wrote:
I understand how Maven resolves dependencies (and transitive dependencies)
at compile time, but does it bring anything to the table at run time?
For example, if I have in my application dependency list two versions of
log4J (let's
Another way to handle this might be to set the conflicting libraries as
provided on both systems and make up run-time jars that are installed
in the container's (tomcat or Websphere) shared library.
This way you could run the same WARs on both environments.
You would just need an assembly
hi, i am trying to build a war file . Now is there a way by which
one can exclude certain files from a jar which is included inside this
war ?
e.g for building a war file say sample.war , i include myjar.jar as a
dependency but want to exclude myjar.jar/somefolder/somefile in it
inside this
On 27 April 2012 11:29, pranay agarwal streetfi...@gmail.com wrote:
hi, i am trying to build a war file . Now is there a way by which
one can exclude certain files from a jar which is included inside this
war ?
Don't put them in the JAR in the first place?
e.g for building a war file say
For webapps, Maven is completely out of the picture at runtime. If
you're running a (console) app from within the project folder - i.e. you
have the pom.xml - you may use the Exec Maven Plugin:
http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html
But in any case, you shouldn't have two
this is the issue (that only one artifact is picked). How does it know
to pick the right one?
What if log4j ver 1.2.15 has a method that log4j 1.2.10 does not have?
also what if both jars have a method with the same signature but
function differently?
In this case you need both jars and at
Do you remember the blog post or have other resources that would point
to how to control the runtime classpath?
thanks
J.V.
On 4/27/2012 9:53 AM, Benson Margulies wrote:
On Fri, Apr 27, 2012 at 11:40 AM, J.V.jvsr...@gmail.com wrote:
I understand how Maven resolves dependencies (and
On 4/27/2012 10:04 AM, Ron Wheeler wrote:
On 27/04/2012 11:40 AM, J.V. wrote:
I understand how Maven resolves dependencies (and transitive
dependencies) at compile time, but does it bring anything to the
table at run time?
It makes your artifacts that your run-time environment will execute.
On 4/27/2012 10:04 AM, Ron Wheeler wrote:
On 27/04/2012 11:40 AM, J.V. wrote:
I understand how Maven resolves dependencies (and transitive
dependencies) at compile time, but does it bring anything to the
table at run time?
It makes your artifacts that your run-time environment will execute.
On 27 April 2012 12:19, J.V. jvsr...@gmail.com wrote:
this is the issue (that only one artifact is picked). How does it know to
pick the right one?
What if log4j ver 1.2.15 has a method that log4j 1.2.10 does not have?
You use 1.2.15.
also what if both jars have a method with the same
On 27 April 2012 12:27, J.V. jvsr...@gmail.com wrote:
On 4/27/2012 10:04 AM, Ron Wheeler wrote:
On 27/04/2012 11:40 AM, J.V. wrote:
I understand how Maven resolves dependencies (and transitive
dependencies) at compile time, but does it bring anything to the table at
run time?
It makes
You can either be god-like or trust that Tomcat will be.
You only need to do it once.
It takes a bit of time but, at the end, you know what you are running in
production and developers don't have to worry about getting a
MethodNotFound at run-time.
It is not as bad as you think if you have a
On 27/04/2012 3:37 PM, Hilco Wijbenga wrote:
On 27 April 2012 12:19, J.V.jvsr...@gmail.com wrote:
this is the issue (that only one artifact is picked). How does it know to
pick the right one?
What if log4j ver 1.2.15 has a method that log4j 1.2.10 does not have?
You use 1.2.15.
also what
On 27 April 2012 12:47, Ron Wheeler rwhee...@artifact-software.com wrote:
On 27/04/2012 3:37 PM, Hilco Wijbenga wrote:
On 27 April 2012 12:19, J.V.jvsr...@gmail.com wrote:
this is the issue (that only one artifact is picked). How does it know
to
pick the right one?
What if log4j ver
hi, i am trying to build a war file . Now is there a way by which
one can exclude certain files from a jar which is included inside this
war ?
Yes but it is a hassle (with dependency:unpack and assembly etc).
e.g for building a war file say sample.war , i include myjar.jar as a
Another way to handle this might be to set the conflicting libraries as
provided on both systems and make up run-time jars that are installed
in the container's (tomcat or Websphere) shared library.
This way you could run the same WARs on both environments.
You would just need an assembly
The Maven team is pleased to announce the release of the Maven Site Plugin 2,
version 2.4
The Maven Site Plugin is a plugin that generates a site for the current project.
http://maven.apache.org/plugins/maven-site-plugin-2.4
You should specify the version in your project's plugin
Hi,
The Mojo team is pleased to announce the release of the
extra-enforcer-rules version 1.0-alpha-3.
Apache's Maven Enforcer Plugin is used to apply and enforce rules on
your Maven projects.
The Enforcer plugin ships with a set of standard rules
The Mojo project hosts this project to provide
On Fri, April 27, 2012 12:19 pm, J.V. wrote:
this is the issue (that only one artifact is picked). How does it know
to pick the right one?
What if log4j ver 1.2.15 has a method that log4j 1.2.10 does not have?
also what if both jars have a method with the same signature but
function
At runtime, everyone everywhere needs multiple versions of the same jar
at runtime, but this may need may not be possible (maybe OSGi addresses
this).
If you start out with the basics like Spring/Hibernate, you will get two
versions of log4j downloaded as transitive dependencies.
It is not
On 4/27/2012 1:37 PM, Hilco Wijbenga wrote:
On 27 April 2012 12:19, J.V.jvsr...@gmail.com wrote:
this is the issue (that only one artifact is picked). How does it know to
pick the right one?
What if log4j ver 1.2.15 has a method that log4j 1.2.10 does not have?
You use 1.2.15.
also what
If I have a log4j exclusion in every dependency section, that would
look quite messy. Is there a way to globally do this?
We have dozens of dependencies, just looks like there would be an easier
way. Nearly everything depends on log4j so that is a lot of work to add
to every dependency. Not
On 4/27/2012 3:26 PM, Manfred Moser wrote:
On Fri, April 27, 2012 12:19 pm, J.V. wrote:
this is the issue (that only one artifact is picked). How does it know
to pick the right one?
What if log4j ver 1.2.15 has a method that log4j 1.2.10 does not have?
also what if both jars have a method
42 matches
Mail list logo