Hi there,
Subject line is rather long, but I think this is easily possible in
maven. Because of transitive nature of dependencies, many times we end
including multiple versions of same artifact/group combo.
Is there any plugin that will dump the information if it sees multiple
versions of same ar
I see lot of discussion using maven eclipse plugin to import the project
in eclipse. I am wondering why we need to do this as m2eclipse seems to
be working perfectly fine and works directly with pom file.
So far, m2eclipse has worked flawlessly for me. Is there a preferred
plugin to use because of
On Tue, 2011-07-05 at 18:43 +0200, Erik Bertelsen wrote:
> mvn dependency:tree -Dverbose | grep conflict
Barrie/Eric,
Thanks for the help. This is sort of the thing I was looking for.
Regards,
- Niranjan
-
To unsubscribe, e-m
Hi folks,
I have been researching options for setting up internal maven repository
- free software. Based on my research it seems like nexus is most
recommended choice.
Wondering if people here have any opinions/suggestions.
Ours is a small setup with less than 20 developers. Ideally we would
l
task. Based on what you said, it
seems to be possible.
Other information was very helpful.
thanks for the help,
Niranjan
On Thu, 2011-07-07 at 13:16 +0930, Barrie Treloar wrote:
> On Thu, Jul 7, 2011 at 12:59 PM, Niranjan Rao wrote:
> > Hi folks,
> >
> > I have bee
I am curious to know how do others do their "package" phase or final
builds.
We have standard profiles for developer, qa and production each
specifying environment specific entries and use resource filtering to
get data in right place.
When you run package phase, maven runs the unit tests. We d
Hi Folks,
I would like to generate a property file during build time that I can
use for triaging. My goal is this property file should have following
information
1. Build Number
2. Active Profiles
3. Time stamp
4. Git version signature
Is there any plugin (or set of plugins) I can use to gen
Don't know about maven plugin that will do this, but one way to do this
something like follows which builds firefox xpi file which is basically
gzip. Please make sure you adjust the phase according to your need.
org.apache.maven.plugins
maven-antrun-plugin
process-resources
run
Hi there,
It looks like I might be getting bitten by the bug as mentioned at
http://jira.codehaus.org/browse/WAGON-253.
My symptoms were contents of known_hosts file were disappearing except
for the one server. As a result all other builds were failing as they
could not connect/ssh to source
can try?
Regards,
Niranjan
On 09/11/2011 04:42 PM, Benson Margulies wrote:
The quickest solution is to use a
element in the POM to call out the version of the wagon plugin that
you want.
On Sun, Sep 11, 2011 at 7:18 PM, Niranjan Rao wrote:
Hi there,
It looks like I might be getting bitten
Hi there,
Using cargo plugin version 1.1.2. It works great if I deploy it as
standard jar. However we want to deploy to root of the tomcat server.
After googling for sometime, easiest solution seems to be just to rename
the WAR file to ROOT. This fails with the exception
org.codehaus.cargo.c
Hi there,
I am using site-deploy in the hudson build to deploy generated
documents. I have setup the build machine properly does password less
ssh/scp to required hosts properly if I login as hudson user.
However wagon-ssh insists on writing a new key to known_hosts during
build time. It's
. Also, it just
happens that exactly this problem was recently raised and we're (well,
Ali is) working on solving it. Search the archive and join the fixing.
/Anders
On Wed, Sep 14, 2011 at 19:59, Niranjan Rao wrote:
Hi there,
Using cargo plugin version 1.1.2. It works great if I deploy it
Posted this question to stackoverflow first, but then figured chances of
question read by knowledgeable people is much higher here.
We use maven/m2e/eclipse combo for our work. We start with importing
master maven pom file in eclipse and our projects get imported. Our
source control system is
Hi folks,
I am not much of maven expert and many members of my team are even more
inexperienced when it comes to maven. So we are trying to keep it as
simple as possible for developers. The team is geographically
distributed in multiple locations.
In order to keep it simple, we have set up "
After banging my head for half an hour, I finally figured what was
wrong. I was trying to use org.xerial:sqlite-jdbc version 3.7.2 on maven
3. This jar is part of central repository and I was able to to see when
I went to local nexus mirror.
However maven was not "seeing" it. Any time I tried
Greetings,
Looking for ideas/suggestions to sanity test the web application. I had
a junit test working in eclipse, but it does not work when running mvn
test. My eventual goal was to run this test as integration test on jenkins.
My web application needs access to a properties file to read
Greetings,
I have set maven enforcer plugin with dependency convergence. Usually I
solve these errors with exclusion entries.
With recent upgrade to selenium 3.0.1 I am getting dependency
convergence error that I am not sure how to resolve. It's selenium-java
that has two conflicting depende
tible, right?
Regards,
Curtis
--
Curtis Rueden
LOCI software architect - http://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden
On Fri, Nov 18, 2016 at 12:32 PM, Niranjan Rao wrote:
Greetings,
I have set maven enforcer plugin with dependency conver
A little white space will help you a lot in getting answers. Its very
difficult read one long monologue.
Its not at all clear why it needs to be done this way? Company policy,
Security restrictions etc? Also it looks like everyone is getting sudo
permissions on the server which sounds dangerou
I have a master POM file which defines common stuff such as common
dependencies like junit and compiler settings.
The compiler settings are set to treat warning as error using
maven-compiler-plugin and Werror as compiler argument. I have a new
module which declares the master pom as parent pom
-generated.
Kind regards
Karl-Heinz Marbaise
On 5/9/14 2:59 AM, Niranjan Rao wrote:
I have a master POM file which defines common stuff such as common
dependencies like junit and compiler settings.
The compiler settings are set to treat warning as error using
maven-compiler-plugin and Werror a
Found the answer, you need to use combine.self="override" in the
compiler plugin settings. More details at
http://stackoverflow.com/questions/1771561/maven-is-it-possible-to-override-the-configuration-of-a-plugin-already-defined
On 05/08/2014 05:59 PM, Niranjan Rao wrote:
I have a
Since this was not a maven question directly, I tried posting this at
stackoverflow first at
https://stackoverflow.com/questions/27068654/how-to-enforce-verify-spring-scope-annotation-on-spring-beans.
Did not get much traction.
We do use spring and its dependency injection mechanism using
ann
Hi there,
I would like to know the difference between eclipse:eclipse goal and directly
importing pom file as eclipse project. I have seen lot of references saying use
eclipse:eclipse goal to generate eclipse project file and then import the
created project. Since eclipse allows you to import p
Greetings,
I am using maven-enforcer-plugin to ensure only one version of jar files
is loaded. In case of conflicts, I normally would use exclusions to weed
out unwanted jars. Normally I would pick latest version of library.
I am not clear how to solve following problem reported by maven enf
It sounds like you have multiple repositories defined on same nexus
instance. This is similar to setup we have. We have repositories for
third party libraries we use as well as a mirror of maven central for
the stuff we need.
Key difference between the setup you have and my setup is we have on
Hi folks,
We need to deploy the war file to multiple servers from hudson. I tried
google search and experimenting a little with not much of luck. Normally
we execute
mvn -Ptrunk clean package cargo:redeploy -DskipTests=true
Internally in code hierarchy, we have a qa deployer module that is
Hi Folks,
I know we can store the repository passwords in settings.xml in ~/.m2
directory.
In our case, this is turning out to be bit difficult. Our settings.xml
has some interesting configuration and rather than asking every
developer to duplicate it in his/her machine, we commit one file a
Greetings,
We have bunch of profiles and corresponding resource filtering which all
works great. One frequent problem that we encounter team members often
forget to add new values in profile/filter property file of other
profiles than the one they are currently using. Naturally results are
di
Am I missing something?
Regards,
Niranjan
On 12/21/2012 12:32 PM, Stephen Connolly wrote:
http://developer-blog.cloudbees.com/2012/11/maven-profiles-and-maven-way.html
Please don't do maven the way you are doing it
On Friday, 21 December 2012, Niranjan Rao wrote:
Greetings,
We have
Hi there,
I am looking for a best (and/or correct) way to avoid duplication of
cargo declarations when using multiple servers, but same set of
applications. Only thing that changes is destination server and it's
password.
Current scenario
One master pom, lot of modules. Web applications sc
32 matches
Mail list logo