test-jar's and eclipse:eclipse

2007-06-21 Thread Mikael Andersson
Hi all I wonder if there is a way of having the test jars generated with jar:test-jar added to the eclipse classpath when doing a eclipe:elclipse. Many thanks, Mike

multi module webapp debug with hotdeploy question.

2007-03-15 Thread Mikael Andersson
Hi, I wonder if anyone have a nice solution to the following nuisance. I have a multi module maven project in which one of the modules is the webapp and the other contains services and utilities libraries. I would like to be able to debug the code, and update a class in any module and have that

Re: multi module webapp debug with hotdeploy question.

2007-03-15 Thread Mikael Andersson
maven = maven2 On 15/03/07, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, I wonder if anyone have a nice solution to the following nuisance. I have a multi module maven project in which one of the modules is the webapp and the other contains services and utilities libraries. I would like

Re: Howto debug filtered webapp, advice wanted

2007-01-09 Thread Mikael Andersson
Hi, thanks for the info. I'll check it out. On 08/01/07, Dan Hardiker [EMAIL PROTECTED] wrote: Hi, Have you tried Remote Debugging in IDEA? Essentially you choose whether to connect over a socket or shared memory, and then put some extra parameters on the Java runtime (e.g. into the

Re: Howto debug filtered webapp, advice wanted

2007-01-08 Thread Mikael Andersson
know about IntelliJ, but with Eclipse WTP you can debug applications not deployed by the IDE. You only have do start the server within the IDE, but not deploy through it. On 1/6/07, Mikael Andersson [EMAIL PROTECTED] wrote: Hi I have a little webapp which has some resources filtered I have two

Howto debug filtered webapp, advice wanted

2007-01-06 Thread Mikael Andersson
Hi I have a little webapp which has some resources filtered I have two profiles dev and prod, currently the different profiles specify different property files to be used when filtering the webapp resources. My problem is that I don't know how to debug the application, can't deploy the

Re: [jety6 plugin] Can't start plugin on Windows, get build error.

2006-10-03 Thread Mikael Andersson
Solved. Turns out I was using the old plugin, arghh. Should be artifactId maven-jetty-plugin ! http://www.nabble.com/Maven2-plugin-problems-in-Windows%3A-IllegalStateException-tf2375083.html - Mike On 02/10/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, I'm having problems in Windows

[jety6 plugin] Can't start plugin on Windows, get build error.

2006-10-02 Thread Mikael Andersson
Hi, I'm having problems in Windows with something which works on Linux. When running, mvn clean jetty6:run on Windows I get this stack trace: [ERROR] BUILD ERROR [INFO] [INFO] Failure Embedded error: Multiple exceptions

Re: Configuring the inputHtml component, looking for information

2006-08-18 Thread Mikael Andersson
Sorry, managed to post to the wrong mailing list. - Mike On 17/08/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, I am looking for information about configuring the way HTML is generated by the inputHtml component. E.g. instead of bold generating an inline style sheet declaration

Configuring the inputHtml component, looking for information

2006-08-17 Thread Mikael Andersson
Hi, I am looking for information about configuring the way HTML is generated by the inputHtml component. E.g. instead of bold generating an inline style sheet declaration, is it possible to get inputHtml/kupu to generate a span with a css class instead class=boldText instead of style=font-weight:

izpack maven2 plugin

2006-07-12 Thread Mikael Andersson
Does anyone know if there is any ongoing work on a maven2 plugin for izpack? Had a look at codehaus but couldn't spot anything there, the only thing I have found is the maven1 plugin. Regards Mike

Streaming a lot of data to the browser in a custom component problem

2006-06-30 Thread Mikael Andersson
Hi, I am running into some problems when trying to stream files back to the browser via a simple custom component. The problem is that I get OutOfMemory exceptions when the files grow large in size. The code in the renderer is really simple: BufferedReader buffReader = new

Re: Streaming a lot of data to the browser in a custom component problem

2006-06-30 Thread Mikael Andersson
Ops, sorry sent this to the wrong mailing list. Please ignore it, posting to myfaces list now.. On 30/06/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, I am running into some problems when trying to stream files back to the browser via a simple custom component. The problem is that I get

Re: [m2][site] Skin developmetn advice wanted

2006-05-19 Thread Mikael Andersson
/siterenderer/resources/default-site.vm On 5/4/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, I can't find a velocity template in the plugin jar file? The content of my site plugin jar file: [EMAIL PROTECTED] tmp2]$ jar -tf ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0

Re: [m2][site] Skin developmetn advice wanted

2006-05-19 Thread Mikael Andersson
-a-skin.html On 19/05/06, Vance Karimi [EMAIL PROTECTED] wrote: You are right to add the configuration to your pom. Have a look at http://maven.apache.org/plugins/maven-site-plugin/howto.html section How to change the site template. -Original Message- From: Mikael Andersson [mailto:[EMAIL

Re: [m2][site] Skin developmetn advice wanted

2006-05-19 Thread Mikael Andersson
. -Original Message- From: Mikael Andersson [mailto:[EMAIL PROTECTED] Sent: Friday, 19 May 2006 9:36 PM To: Maven Users List Subject: Re: [m2][site] Skin developmetn advice wanted Hi, just tried modifying the default-site.vm template, but the changes didn't come

[m2] idea plugin problems with xmlbeans-jsr-173-api dependency

2006-05-17 Thread Mikael Andersson
Hi Just ran a mvn -U idea:idea and the updated plugin fails to build! With the below error message: [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1)

Re: [m2] idea plugin problems with xmlbeans-jsr-173-api dependency

2006-05-17 Thread Mikael Andersson
you have to install it in your local repo by hand. -Tim Mikael Andersson schrieb: Hi Just ran a mvn -U idea:idea and the updated plugin fails to build! With the below error message: [ERROR] BUILD ERROR [INFO] [INFO

Re: Changing Skin Of Site

2006-05-15 Thread Mikael Andersson
Hi Add this to your site.xml : skin groupIdorg.apache.maven/groupId artifactIdmaven-classic-skin/artifactId version1.0/version /skin http://maven.apache.org/plugins/maven-site-plugin/howto.html You may need to update your site plugin ( mvn -U site:site ), since the 2.0version was

Re: [m2] Site plugin 2.0-SNAPSHOT , can not find the parent pom warning and some other things

2006-05-13 Thread Mikael Andersson
Just stumbled over the relativePath element, which I assume will solve my warning, a case of rtfm there... On 12/05/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi When I try to run mvn site:site in a child module I get the following warning message: [WARNING] Unable to load parent project

[m2] Site plugin 2.0-SNAPSHOT , can not find the parent pom warning and some other things

2006-05-12 Thread Mikael Andersson
Hi When I try to run mvn site:site in a child module I get the following warning message: [WARNING] Unable to load parent project from repository: Could not find the model file '/scratch/usr/workspace/rssgen/rssgen-core/../pom.xml'. It is looking for the parent pom in the wrong place, to work

Re: [m2][site] Skin developmetn advice wanted

2006-05-04 Thread Mikael Andersson
On 04/05/06, Alexandre Poitras [EMAIL PROTECTED] wrote: You should put the velocity template under /meta-inf/maven/site.vm. Start from the one you found in the site plugin sources. Work #1 in my case. On 5/3/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, I have the 2.0-SNAPSHOT of the site

Re: [m2][site] Skin developmetn advice wanted

2006-05-04 Thread Mikael Andersson
On 5/4/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, I can't find a velocity template in the plugin jar file? The content of my site plugin jar file: [EMAIL PROTECTED] tmp2]$ jar -tf ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-SNAPSHOT/maven- site-plugin-2.0

[m2][site] Skin developmetn advice wanted

2006-05-03 Thread Mikael Andersson
Hi, I have the 2.0-SNAPSHOT of the site plugin running with the skins stuff working. I downloaded a the default skins jar file and had a look. I suspected it to contain a velocity template or something but it didn't; just css, images and some other stuff. I am about to ask one of the web guys

Re: [m2] help creating site with multiple modules

2006-05-03 Thread Mikael Andersson
Hi When using the current version of the site plugin and running site:site on the root/parent module, the site plugin will process the child modules as well. When deploying the site the child modules site will be but in the parent modules site directory under the name of the artifactId. Ex:

Re: [m2] help creating site with multiple modules

2006-05-03 Thread Mikael Andersson
PROTECTED] wrote: Thanks. But how do you use a common site.xml with the child modules, for instance? I don't want to have to copy and paste it and then maintain it in 5 different modules. On Wed, 2006-05-03 at 19:48 +0100, Mikael Andersson wrote: Hi When using the current version of the site

Re: [m2][surefire-report-plugin] Not picking up the surefire reports when generating html.

2006-04-27 Thread Mikael Andersson
[EMAIL PROTECTED] wrote: hmm weird why there isnt any xml file on your surefire-reports? surefire-report parses those xml files to generate the report allan Mikael Andersson wrote: Hi, the surefire-report-plugin isn't picking up the surefire report files when generating the surefire

Re: [m2][surefire-report-plugin] Not picking up the surefire reports when generating html.

2006-04-27 Thread Mikael Andersson
Hi, Solved. Generated a site again after not messing around with it for a while, noticed that it downloaded/updated some plugins and now it works (xml files are generated). Hope I didn't waste to much of your time. - Micke On 26/04/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi

[m2][surefire-report-plugin] Not picking up the surefire reports when generating html.

2006-04-26 Thread Mikael Andersson
Hi, the surefire-report-plugin isn't picking up the surefire report files when generating the surefire-report.html file. The HTML file says that there was 0 tests run. pom: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-report-plugin/artifactId

[m2][site] Strange behaviour using site:deploy with scp.

2006-04-24 Thread Mikael Andersson
Hi, when I use use site:deploy with scp (on Linux), something strange happens. The site isn't deployed to the specified location, but in a somewhat strange location! From the pom: distributionManagement site idmaven_html/id urlscp:[EMAIL PROTECTED]

Re: [m2][site] Strange behaviour using site:deploy with scp.

2006-04-24 Thread Mikael Andersson
doh! :) You are absolutely right, thanks. Thanks agian, Micke On 24/04/06, Arik Kfir [EMAIL PROTECTED] wrote: isn't it supposed to be scp://[EMAIL PROTECTED]/directory/dir2/dir3?? On 4/24/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, when I use use site:deploy with scp (on Linux

m2 site and skins info sought

2006-04-11 Thread Mikael Andersson
Hi, I would like to know how to get started using the updated site plug in and the skins feature, I have read a couple of posts about it but I can't get it to work properly ( can't get m2 to find the snapshot verison of the site plugin). I tried with todays SVN version of the maven-site-plugin but

Re: m2 site and skins info sought

2006-04-11 Thread Mikael Andersson
Just deleted the site plugin in my local repository and re-downloaded it and got a different error message regarding the deploy issue I had, have to catch a bus now but will have a look later on. On 11/04/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, I would like to know how to get

Re: m2 site and skins info sought

2006-04-11 Thread Mikael Andersson
But the docs/ directory doesn't contain any files. Cheers, Micke On 11/04/06, Mikael Andersson [EMAIL PROTECTED] wrote: Just deleted the site plugin in my local repository and re-downloaded it and got a different error message regarding the deploy issue I had, have to catch a bus now but will have

Re: simple way of changin scope for dependencies?

2006-04-01 Thread Mikael Andersson
://maven.apache.org/guides/introduction/introduction-to-profiles.html I think the dependenciesManagement section is what you are looking for. On 3/31/06, Mikael Andersson [EMAIL PROTECTED] wrote: Hi, I have a pom used with the jetty6 plugin and myfaces (via the archetype), for the jetty plugin to work

simple way of changin scope for dependencies?

2006-03-31 Thread Mikael Andersson
Hi, I have a pom used with the jetty6 plugin and myfaces (via the archetype), for the jetty plugin to work properly I had to change from provided to compile for a depency and add a couple of tomcat jars. I wonder if there is a nice and simple way of changing the scope of certain dependencies

How to customise the, by maven2, generated site

2006-01-31 Thread Mikael Andersson
Hi, I would like some advice of how to customise the site maven2 generates. I have seen one blog which suggests taking a copy of the default velocity template, modify that and then override the template directory. http://blogs.sun.com/roller/page/wilfred?entry=customing_maven_2_site_layout I