Re: Best practices for avoiding duplicate configuration files

2009-04-28 Thread Dominic Mitchell
On 27 Apr 2009, at 21:32, Frédéric Camblor wrote: This is only a point of view but... Isn't the problem coming from the slf4f framework ? I don't really know this logging framework, but it astonishes me that it complains about multiple configuration in the classpath. Generally, framework

Re: Maven Changes Report Plugin problem

2009-04-28 Thread Olivier Lamy
Hi, We can help you if you provide logs or a sample project which reproduce the issue. Thanks, -- Olivier 2009/4/27 Alexander Vaysberg w...@vaisberg.de: Hi, I have a Problem with Maven Changes Report Plugin. I have the changes.xml file, but if I generate pages with site, i have not the data

how to define license?

2009-04-28 Thread REMIJAN, MICHAEL J [AG/1000]
When building the project's site with 'mvn site' I can't figure out how to configure the license. Project Information Project License on the website maven builds the page says No project license is defined for this project So how do I define a license? Thanks, Mike

Re: dependency to run jetty on a dependent project

2009-04-28 Thread ZsJoska
Thanks, basically this is the web service client's pom.xml. does not define any type of direct dependency to the myProject-ws project since the dependency is through the web service How could I make the wsimport goal from myProject-wsclient to depend from the jetty:run goal in the myProject-ws

mvn deploy puts snapshots into releases directory

2009-04-28 Thread Jan Torben Heuer
Hi, When I deploy my artifact (version 1.0-SNAPSHOT), maven puts it in the /releases directory although I set up both, repository and snapshotrepository in the parent pom: distributionManagement repository idftp/id

Easy way to switch skipTests flag for integration-test phase

2009-04-28 Thread aldana
Hi, by default my integration tests should not be run implicitly, so I set skiptrue/skip. Is there a way to tell surefire plugin to switch the skip test flag for the integration-test phase by passing a command-line? Maybe by passing the execution-id? I know it can be done by profiles, but I

repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository

2009-04-28 Thread Andrea Libero Valori
Hi, I'm following Apache ServiceMix tutorial 3 (Apache Camel), and I'm experiencing a problem running maven in ubuntu 9.04 as a normal user. Until yesterday everything was working correctly, but this morning maven seemed to not be able anymore to connect to its central repository. Maven was

Re: how to define license?

2009-04-28 Thread Wayne Fay
When building the project's site with 'mvn site' I can't figure out how to configure the license. Project Information Project License on the website maven builds the page says No project license is defined for this project  So how do I define a license? Google maven pom license brought me

release:perform problem with ssh/scp

2009-04-28 Thread Wes Wannemacher
I am having a lot of trouble trying to perform a release. I have my public/private keys setup and if I try to log into the target host on the command line, I don't have any problems. However, when I try to do a release:perform for the project I am trying to release, I am hung up because maven says

Re: repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository

2009-04-28 Thread Dennis Lundberg
This usually happens when you don't have a connection to the internet. Andrea Libero Valori wrote: Hi, I'm following Apache ServiceMix tutorial 3 (Apache Camel), and I'm experiencing a problem running maven in ubuntu 9.04 as a normal user. Until yesterday everything was working correctly, but

checkstyle plugin: indeterminate resource loading and MalformedURLException

2009-04-28 Thread Brad Fritz
I am trying to debug sporadic problems with the Maven Checkstyle plugin in a multi-module build--probably the same ones described in MCHECKSTYLE-106 [1]. Looks like there might be two problems: indeterminate Plexus resource loading and poor URL handling by the checkstyle plugin. At this point,

Re: release:perform problem with ssh/scp

2009-04-28 Thread Wes Wannemacher
Wes, I think what you should do is try to run deploy:deploy manually, that should leave the prompt open for you to type in yes... As for why Jsch is not picking up the existing known_hosts entry, that's a mystery. -W On Tue, Apr 28, 2009 at 12:29 PM, Wes Wannemacher w...@wantii.com wrote: I am

Re: release:perform problem with ssh/scp

2009-04-28 Thread Wes Wannemacher
That worked! Thanks! -Wes On Tue, Apr 28, 2009 at 2:24 PM, Wes Wannemacher w...@wantii.com wrote: Wes, I think what you should do is try to run deploy:deploy manually, that should leave the prompt open for you to type in yes... As for why Jsch is not picking up the existing known_hosts

Re: release:perform problem with ssh/scp

2009-04-28 Thread Wes Wannemacher
On Tue, Apr 28, 2009 at 2:26 PM, Wes Wannemacher w...@wantii.com wrote: That worked! Thanks! -Wes No problem... Upon looking into this a little bit further, it seems like the problem is the new hashed known_hosts file. The latest release of ubuntu turns the hashing of known_hosts on, where

Duplicate folder structure during site-deploy

2009-04-28 Thread Michael
Hi folks, I recently installed Ubuntu 8.04.2 Server (Linux mika-server 2.6.24-23-server #1 SMP Wed Apr 1 22:22:14 UTC 2009 i686 GNU/Linux) in VirtualBox 2.2.2 to test SVN, articact and site deployment, trying to gain some experience before I get a root server. I set up my project to deploy

Incompatible initial and maximum heap sizes specified

2009-04-28 Thread johnnyCash
Have just tried to install MAVEN 2.1.0 and set all my system variables. Every different version of MAVEN_OPTS results in ... C:\Users\Johnmvn --version Error occurred during initialization of VM Incompatible initial and maximum heap sizes specified It is currently a user variable ...

Re: Easy way to switch skipTests flag for integration-test phase

2009-04-28 Thread Stephen Connolly
define a property with value true. use that property as the value of skip, then the CLI can override the property value 2009/4/28 aldana ald...@gmx.de Hi, by default my integration tests should not be run implicitly, so I set skiptrue/skip. Is there a way to tell surefire plugin to switch

Re: Best practices for avoiding duplicate configuration files

2009-04-28 Thread Nick Stolwijk
- it is not very elegant as any project depending on A or B would have to not forget to exclude the sub-module containing the log files (any dependent project would have the same problem as the project C has) ; This is not a very good point, as jar files should never be adjusted after

Re: Duplicate folder structure during site-deploy

2009-04-28 Thread Michael
Michael wrote: Hi folks, I recently installed Ubuntu 8.04.2 Server (Linux mika-server 2.6.24-23-server #1 SMP Wed Apr 1 22:22:14 UTC 2009 i686 GNU/Linux) in VirtualBox 2.2.2 to test SVN, articact and site deployment, trying to gain some experience before I get a root server. I set up my

converting Jetty based EJB Application to WebLogic 10?

2009-04-28 Thread Mick Knutson
I have a web application that is running Hibernate EJB's inside of Jetty. I am now trying to convert this to run in WebLogic. Does anyone have experience doing this? I see at least 1 weblogic plugin, but am not sure what it does, or what I might need it to do for such a conversion:

jetty:run class path

2009-04-28 Thread Don Hosek
Hmm, I've got a spring application context XML file stored in src/main/ resources But it's not being found in the classpath when I do mvn jetty:run. Checking the target/classes directory when I run it, I see the file there, but it's not being found by the jetty container. What should I be

Is there a tool or plugin to scan a project and suggest Maven dependencies?

2009-04-28 Thread David M. Karr
I seem to remember seeing some mention somewhere of a tool or plugin that can scan a project and suggest some or all of the required Maven dependencies for the project. Can someone point me to that, if I'm remembering this correctly?

Re: Easy way to switch skipTests flag for integration-test phase

2009-04-28 Thread aldana
Oh that sounds simple and good :) Stephen Connolly-2 wrote: define a property with value true. use that property as the value of skip, then the CLI can override the property value 2009/4/28 aldana ald...@gmx.de Hi, by default my integration tests should not be run implicitly,

Re: Incompatible initial and maximum heap sizes specified

2009-04-28 Thread Brett Randall
Google finds a number of Sun JDK bugs for this error message - which JDK/version are you using? As a workaround, try setting -Xms and -Xmx to the same value if you can tolerate that setting. Brett On Wed, Apr 29, 2009 at 6:01 AM, johnnyCash deniseandjohn.di...@tiscali.co.uk wrote: Have just

Re: Is there a tool or plugin to scan a project and suggest Maven dependencies?

2009-04-28 Thread Nick Stolwijk
I think you mean the dependency:analyze goal[1]. [1] http://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Tue, Apr 28, 2009 at 11:39 PM, David M. Karr

Re: jetty:run class path

2009-04-28 Thread Brett Randall
Which mechanism are you using in Spring to load the context? What error/stack-trace do you get? Note that if you are using Spring MVC and a DispatcherServlet, it expects by default to find the context file under WEB-INF directly, so your source path would be

Re: Incompatible initial and maximum heap sizes specified

2009-04-28 Thread Wayne Fay
It is currently a user variable ... MAVEN_OPTS=-Xms256m -Xmx512m That may need to be in quotes MAVEN_OPTS=-Xms ... -Xmx ... Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands,

Issues with archetype:create-from-project

2009-04-28 Thread mraible
I've been using archetype:create-from-project to create archetypes and have noticed some issues: 1. The generated archetype has a version of 1.0-SNAPSHOT. I want the archetype's version to be the same as my project. 2. When I have an empty property (e.g. jdbc.password/jdbc.password), it's

RE: Issues with archetype:create-from-project

2009-04-28 Thread Martin Gainty
With regards to #1 I noticed the same behaviour a few weeks back with building the new axis 2.1.5 distro the workaround was to change all versions with SNAPSHOT suffix e.g. 1.4.1-SNAPSHOT (version number) and replace with 1.4.1. I also had to change the folder name from

Re: Is there a tool or plugin to scan a project and suggest Maven dependencies?

2009-04-28 Thread David M. Karr
Nick Stolwijk wrote: I think you mean the dependency:analyze goal[1]. [1] http://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html That was it, thanks. On Tue, Apr 28, 2009 at 11:39 PM, David M. Karr davidmichaelk...@gmail.com wrote: I seem to remember seeing some mention

Re: jetty:run class path

2009-04-28 Thread Don Hosek
It's being loaded using context-param param-namecontextConfigLocation/param-name param-valueapplicationContext.xml/param-value /context-param in the web.xml file. My servlet.xml is under WEB-INF and that doesn't seem to be the problem. The

RE: Issues with archetype:create-from-project

2009-04-28 Thread Martin Gainty
(version number) and replace with 1.4.1. I also had to change the folder name from ${user.home}\.m2\repository\org\apache\maven\plugins\maven-aar-plugin\1.4.1-SNAPSHOT to ${user.home}\.m2\repository\org\apache\maven\plugins\maven-aar-plugin\1.4.1 after replacing all occurences of string

RE: jetty:run class path

2009-04-28 Thread Edelson, Justin
As Brett said below, this file would be in /src/main/webapp/WEB-INF/applicationContext.xml. Files in /src/main/resources ultimately end up as classpath resources, not servlet context resources and XmlWebApplicationContext defaults to ServletContextResource if not resource prefix is provided. To

Re: repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository

2009-04-28 Thread Andrea Libero Valori
I have a fully working connection to the internet, I tried starting firefox and lynx from command line: all goes well. I think that maven (and only maven in my system) can't resolve addresses, this is the line that make me think that: Caused by: java.net.UnknownHostException: repo1.maven.org I

Re: jetty:run class path

2009-04-28 Thread Brett Randall
The FNFE is pretty clear about where Spring is expecting to find your context file based on your configuration. Note that this file is optional for Spring MVC, otherwise for that config you need to have applicationContext.xml under WEB-INF and therefore in src/main/webapp/WEB-INF by default. This

Tools for test/dev of Maven

2009-04-28 Thread kartikvashishta
To help facilitate, among other things, development and test of maven, I have provided a free root account on a sparc Solaris 10. About 50g of space, in this, I am able to provide. This is no spam. Installing software made for Solaris 10 may not be unimportant. You may, AS USER 'unix' TELNET TO

Re: dependency to run jetty on a dependent project

2009-04-28 Thread Grant Rettke
On Tue, Apr 28, 2009 at 8:52 AM, ZsJoska zsjo...@gmail.com wrote: How could I make the wsimport goal from myProject-wsclient to depend from the jetty:run goal in the myProject-ws module. Why not create a POM that references these two projects a sub-modules. You can initiate the goals in the