Re: site/apidocs/apidocs/index.html of zero length (was Re: Different dir structure for javadoc:javadoc vs. site goals - is this expected?)

2006-02-09 Thread Brett Porter
1) and 2) are the same. I just filed it under MJAVADOC in JIRA. Building those libraries requires all the other Maven libraries - run mvn install from the top level of "components/branches/maven-2.0.x". Cheers, Brett On 2/10/06, Chris Markle <[EMAIL PROTECTED]> wrote: > Brett, > > > Right! Yes,

Re: changing names of individual reports?

2006-02-09 Thread Chris Markle
Brett, Please make a feature request for this feature. Done: Provide mechanism to change names of project (and possibly other) reports, etc. in site --- Key: MSITE-87 URL: http://jira.code

Re: site/apidocs/apidocs/index.html of zero length (was Re: Different dir structure for javadoc:javadoc vs. site goals - is this expected?)

2006-02-09 Thread Chris Markle
Brett, Right! Yes, I get the empty file too. I thought the problem was with apidocs/index.html which is fine. OK we are on the same page now - yeah! So just to repeat myself: 1) the site/apidocs/apidocs/... structure should not be created; and 2) index.html should not be zero-length These is

Re: site/apidocs/apidocs/index.html of zero length (was Re: Different dir structure for javadoc:javadoc vs. site goals - is this expected?)

2006-02-09 Thread Brett Porter
Right! Yes, I get the empty file too. I thought the problem was with apidocs/index.html which is fine. - Brett On 2/10/06, Chris Markle <[EMAIL PROTECTED]> wrote: > Brett, > > > I'm using a stock Maven 2.0.2 with javadoc installed. > > Does it work under the site? Using javadoc:javadoc? > > Don't

site/apidocs/apidocs/index.html of zero length (was Re: Different dir structure for javadoc:javadoc vs. site goals - is this expected?)

2006-02-09 Thread Chris Markle
Brett, I'm using a stock Maven 2.0.2 with javadoc installed. Does it work under the site? Using javadoc:javadoc? Don't let my subject confuse you and to that end I am changing it. My original message asked about the directory structure (which I am sorta no longer worried about) _AND_ also ab

RE: deploying from windows via putty

2006-02-09 Thread Jörg Schaible
Tony Burdett wrote on Thursday, February 09, 2006 6:20 PM: > Hi, > > I'm having some problems deploying artifacts to a remote server from > Windows. I have the following entry in my projects POM: > > repo-aux > Fluxion aux repository > > scp://deanmoor.ncl.

Re: changing names of individual reports?

2006-02-09 Thread Wim Deblauwe
> > > Hey it's not really a big deal just inconsistency drives me nuts! > > Chris > I agree with you. Maybe the names should be made consistent by default, and some naming convention could be put on the maven website? regards, Wim

Re: Different dir structure for javadoc:javadoc vs. site goals - is this expected?

2006-02-09 Thread Brett Porter
I'm using a stock Maven 2.0.2 with javadoc installed. Does it work under the site? Using javadoc:javadoc? - Brett On 2/10/06, Chris Markle <[EMAIL PROTECTED]> wrote: > Brett, > > > Both have been fixed in the plugin's SVN. I believe the empty index > > was already fixed in the previous release o

Re: changing names of individual reports?

2006-02-09 Thread Brett Porter
right. On 2/10/06, Chris Markle <[EMAIL PROTECTED]> wrote: > Brett, > > > I think a good general solution would be to allow you to feed > > overriding resources to the site plugin, and to document the > > properties used to internationalise the various pieces of text so that > > you can customise

Re: Jdepend maven 2 plugin

2006-02-09 Thread Carlos Sanchez
Only the two Maven Snapshots are required. On 2/9/06, javed mandary <[EMAIL PROTECTED]> wrote: > At the following in your POM: > > > > repo-ibiblio-mirror > Ibiblio Mirror > http://mirrors.dotsrc.org/maven2 > > > Maven

Re: Different dir structure for javadoc:javadoc vs. site goals - is this expected?

2006-02-09 Thread Chris Markle
Brett, Both have been fixed in the plugin's SVN. I believe the empty index was already fixed in the previous release of the javadoc plugin. I tried downloading, building and running the latest javadoc plug-in from SVN and I am still seeing the zero-length apidocs/index.html in my test enviro

how to defined pom.xml scope variable?

2006-02-09 Thread William wang
hi: in ant build.xml we can define a variable refer in furture like this: refer like this: but in maven 2.x pom.xml ,how to define a similar pom variable refer in furture? thanks.

Re: Jdepend maven 2 plugin

2006-02-09 Thread javed mandary
At the following in your POM: repo-ibiblio-mirror Ibiblio Mirror http://mirrors.dotsrc.org/maven2 Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ true

Re: changing names of individual reports?

2006-02-09 Thread Chris Markle
Brett, I think a good general solution would be to allow you to feed overriding resources to the site plugin, and to document the properties used to internationalise the various pieces of text so that you can customise the site via that. WDYT? My Maven foo is not strong enough to give you mean

Re: changing names of individual reports?

2006-02-09 Thread Chris Markle
Allan, I think if you would change the artifactId in their pom. Why would you want to do that anyway? Two reasons... The first one is that I was trying to make a Maven2-generated site look "close" to a Maven1-generated site and these reports had different names between 1 and 2. The second is

Re: maven + java.class.path

2006-02-09 Thread Dion Gillard
So, are the tests being forked? On 2/10/06, Davis Ford <[EMAIL PROTECTED]> wrote: > Hello Dion, > > Thanks for responding. I should clarify -- the unit tests I am > running are testing some code that use > System.getProperty("java.class.path") -- and this code depends on the > fact that the call

Re: maven + java.class.path

2006-02-09 Thread Davis Ford
Hello Dion, Thanks for responding. I should clarify -- the unit tests I am running are testing some code that use System.getProperty("java.class.path") -- and this code depends on the fact that the call to System.getProperty("java.class.path") will include "." which is the current directory - whe

Re: maven + java.class.path

2006-02-09 Thread Dion Gillard
Why does your test need the classpath of the app that is running it? The java.class.path property is set by the JVM when it's launched. Are you forking your tests? On 2/10/06, Davis Ford <[EMAIL PROTECTED]> wrote: > Hi, I searched high and low on google, etc. and the mailing list > archives. Th

Re: [mvn] sample webapp

2006-02-09 Thread devosc
2 days straight now and still no closer. org.apache.catalina.ant.DeployTask I've got no idea what the versioning should be, the jar in tomcat-5.5 does not have it in the filename, http://ibiblio.org/pub/packages/maven2/org/apache/ doesnt even mention catalina, the only thing that does have a numb

Re: is there a plugin for building and publishing jars with a different extension?

2006-02-09 Thread Brad O'Hearne
John, Thanks for the reply! I wish I would have had that information yesterday. I ended up writing a plugin to handle wsr's, and modified the EAR plugin to support wsr's, so I guess mission accomplished. But I really do appreciate your reply. Brad On Feb 9, 2006, at 4:59 PM, John Tolent

RE: Multiproject inheritance

2006-02-09 Thread Brian E. Fox
I would ask, is there a way to do exactly the opposite? Ie define a plugin to execute for all children, but not for the parent? -Original Message- From: Prasad Kashyap [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 5:16 PM To: users@maven.apache.org Subject: Re: Multiproject

Re: changing names of individual reports?

2006-02-09 Thread Brett Porter
This isn't easily possible at the moment. The report names are defined in the report code itself, and often internationalised. I think a good general solution would be to allow you to feed overriding resources to the site plugin, and to document the properties used to internationalise the various

Re: changing names of individual reports?

2006-02-09 Thread Allan Ramirez
Hi Chris, I think if you would change the artifactId in their pom. Why would you want to do that anyway? -allan Chris Markle wrote: I am generating some via the site goal. I get these as expected: # Project Reports * Changes Report Plugin * JavaDocs * Maven Surefire Report

Re: Jdepend maven 2 plugin

2006-02-09 Thread Allan Ramirez
Hi Brian, Please refer to this guide http://maven.apache.org/guides/development/guide-testing-development-plugins.html Regards, -allan Brian Burridge wrote: Do I have to define something to tell Maven to go to that repository? When it fails it seems to indicate that it only checked the one re

Re: [m2] ignore known hosts

2006-02-09 Thread Stephen Duncan
Sorry, it's always worked for me to do the following: Open a command prompt and run: cd %HOMEPATH% mkdir .ssh And then from there the known_hosts file is created automatically when you say "yes" to trust the source. -Stephen On 2/9/06, Luca Gmail <[EMAIL PROTECTED]> wrote: > Sorry for the insis

Re: maven + java.class.path

2006-02-09 Thread Davis Ford
Hi, I searched high and low on google, etc. and the mailing list archives. This means either my problem is unique, or I'm just doing something very dumb. I know maven is supposed to handle dependencies like jar files with the xml, but this is a case where: A unit test is run that introspects the

Re: Jdepend maven 2 plugin

2006-02-09 Thread Brian Burridge
Do I have to define something to tell Maven to go to that repository? When it fails it seems to indicate that it only checked the one repository. Reason: Unable to download the artifact from any repository org.codehaus.mojo:jdepend-maven-plugin:pom:2.0-beta-1-SNAPSHOT from the specified remote

Re: assembly:assembly plugin problem

2006-02-09 Thread dan tran
are you running snapshot assembly plugin, what about -X output? -Dan On 2/9/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Hi > > I have problem to make assembly:assembly plugin working for me, i dont > know is something i'm doing wron, or anything else?? > > any one has any idea ?? > >

Re: Jdepend maven 2 plugin

2006-02-09 Thread Brian Burridge
oops, sorry this isn't in reply to our jdepends discussion. I replied to the wrong email! sorry, brian On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> wrote: > > I built it from source, and think I've gotten to the problem, which is > that it doesn't like my scm url. > > Maybe you'll be able to hel

Re: Errors using changelog plugin

2006-02-09 Thread Brian Burridge
I built it from source, and think I've gotten to the problem, which is that it doesn't like my scm url. Maybe you'll be able to help me with this. We use an ext connection of ssh, so that I can checkout an app like this: cvs -z3 -d:ext:[EMAIL PROTECTED]:*/dir/cvs /* checkout PROJECTNAME When I is

assembly:assembly plugin problem

2006-02-09 Thread raghurajan . x . gurunathan
Hi I have problem to make assembly:assembly plugin working for me, i dont know is something i'm doing wron, or anything else?? any one has any idea ?? Here is my project +EAR Module - - Pom.xml - - descriptor.xml In my pom.xml i have ;

Re: Jdepend maven 2 plugin

2006-02-09 Thread Brian Burridge
I built it from source, and think I've gotten to the problem, which is that it doesn't like my scm url. Maybe you'll be able to help me with this. We use an ext connection of ssh, so that I can checkout an app like this: cvs -z3 -d:ext:[EMAIL PROTECTED]:*/dir/cvs/* checkout PROJECTNAME When I is

Re: [m2] path relative to parent/reactor pom.xml

2006-02-09 Thread Wendy Smoak
On 2/9/06, Damian Krzeminski <[EMAIL PROTECTED]> wrote: > What's the recommended way of specifying paths that are always relative to > parent pom (regardless if > I am building from parent directory or from any of the subprojects > directories)? > > All my subprojects are sharing the same checks

Re: Jdepend maven 2 plugin

2006-02-09 Thread Carlos Sanchez
because they are snapshots, and go to other repo http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> wrote: > Why is it that when I go to > http://www.ibiblio.org/maven2/org/codehaus/mojo/I don't see either the > findbugs or jdepends plugins i

Re: Need help with maven-compiler-plugin

2006-02-09 Thread Wendy Smoak
On 2/9/06, Helck, Christopher <[EMAIL PROTECTED]> wrote: > I'm experiencing a weird problem when compiling my source code. I'm not > sure if the problem is with the compiler or maven. In the past (maven1) > the -X switch would print the actual command used to invoke the > compiler. I could cut and

Re: Jdepend maven 2 plugin

2006-02-09 Thread Brian Burridge
This is the first time I've used Maven in over a year, so the first time I've tried these plugins with this repository. brian On 2/9/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > > Have you changed your repositories? it should look into the snapshot repo > > On 2/9/06, Brian Burridge <[EMAIL PR

Re: Jdepend maven 2 plugin

2006-02-09 Thread Brian Burridge
Why is it that when I go to http://www.ibiblio.org/maven2/org/codehaus/mojo/I don't see either the findbugs or jdepends plugins in there? Brian On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> wrote: > > This is the first time I've used Maven in over a year, so the first time > I've tried these plug

Re: is there a plugin for building and publishing jars with a different extension?

2006-02-09 Thread John Tolentino
You can use <|finalName|> in your build. It will rename your target artifact. For deploying, try jboss-maven-plugin. - John Brad O'Hearne wrote: I need to build a JBoss wsr file with maven. Granted, there's probably no plugin to build and deploy "wsr" files specifically. But a wsr file is no

RE: eclipse compiler

2006-02-09 Thread Jay H. Hartley
Rolf, In looking through the M2 CompilerMojo, I found that it just wraps Jason van Zyl's Plexus Compiler package. (http://plexus.codehaus.org) That appears to support 'eclipse' as a compiler variation, so I'm thinking you can just set the compilerId parameter to 'eclipse' instead of the default '

Re: [m2] eclipse-plugin - attaching source jars, debugging, committing changes

2006-02-09 Thread Brett Porter
This is definitely a possibility. You'll find the IDE won't let you edit the sources that was downloaded, but when it comes to checking it out there are a few options. 1) we are planning something like "workspaces" in a future version that will let you bootstrap projects and lay them out in your f

Re: [m2] Is a new version of the site plugin coming?

2006-02-09 Thread Brett Porter
The release is coming this month. - Brett On 2/10/06, Guilherme Silveira <[EMAIL PROTECTED]> wrote: > Agree... > > 2006/2/9, Adam Winer <[EMAIL PROTECTED]>: > > Is there going to be a new version of the site plugin > > soon? The latest on ibiblio is 2.0b4, which is fairly > > ancient, and is tot

Re: properties on a windows platform

2006-02-09 Thread Arnaud HERITIER
Did you tried with double-quotes : org.apache.jetspeed.server.home="F:/Platform/Apache Software Foundation/Tomcat 5.5/" Or you can try with the short name (8.3) org.apache.jetspeed.server.home=F:/Platform/Apache~1/Tomcat~1/ Arnaud On 2/10/06, Garner Andrews <[EMAIL PROTECTED]> wrote: > By the w

Re: [m2] Is a new version of the site plugin coming?

2006-02-09 Thread Guilherme Silveira
Agree... 2006/2/9, Adam Winer <[EMAIL PROTECTED]>: > Is there going to be a new version of the site plugin > soon? The latest on ibiblio is 2.0b4, which is fairly > ancient, and is totally out-of-sync with the docs > that are at: >http://maven.apache.org/plugins/maven-site-plugin/ > > It's ra

RE: properties on a windows platform

2006-02-09 Thread Garner Andrews
By the way, I have tried using backslashes, (e.g. F:/Platform/Apache\ Software\ Foundation/Tomcat\ 5.5/) and I still get the following error: 'F:\Platform\Apache' is not recognized as an internal or external command, operable program or batch file. Thanks again, Garner C. Garner Andrews Enter

properties on a windows platform

2006-02-09 Thread Garner Andrews
Hello all, On a Windows platform, when you have a long directory name that includes spaces, what is the proper syntax to use in the properties files? My example: >From my build.properties in my user home directory: org.apache.jetspeed.server.home = F:/Platform/Apache Sof

Re: Jdepend maven 2 plugin

2006-02-09 Thread Carlos Sanchez
Have you changed your repositories? it should look into the snapshot repo On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> wrote: > I get the same errors: > > [INFO] Failed to resolve artifact. > > GroupId: org.codehaus.mojo > ArtifactId: jdepend-maven-plugin > Version: 2.0-beta-1-SNAPSHOT > > Reaso

Re: Jdepend maven 2 plugin

2006-02-09 Thread Brian Burridge
I get the same errors: [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: jdepend-maven-plugin Version: 2.0-beta-1-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:jdepend-maven-plugin:pom:2.0-beta-1-SNAPSHOT from the specified re

Re: Different dir structure for javadoc:javadoc vs. site goals - is this expected?

2006-02-09 Thread Chris Markle
Brett, Another post gave me the clue as to what I was doing wrong... In: 3) changed pom to call for new plugin ala: org.apache.maven.plugins maven-javadoc-plugin maven-javadoc-plugin-2.0-beta-4-SNAPSHOT I should have version "2.0-beta-4-S

[m2] eclipse-plugin - attaching source jars, debugging, committing changes

2006-02-09 Thread Ruel Loehr
I am exploring a development scenario using M2 within an IDE and would like some thoughts on it. The use case is a follows: Given a multi module build with 2 modules, A and B. B has a declared dependency on A. My repository has a snapshot of A as well as a corresponding source jar. A

Re: Jdepend maven 2 plugin

2006-02-09 Thread Carlos Sanchez
Instructions in the site are wrong org.codehaus.mojo jdepend-maven-plugin 2.0-beta-1-SNAPSHOT something similar to findbugs org.codehaus.mojo findbugs-maven-plugin 1.0-SNAPSHOT On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> w

Re: Multiproject inheritance

2006-02-09 Thread Prasad Kashyap
Nevermind. I used the false on the itself. I used to use it on the before and that is why it didn't work. Thanks for reading though. Cheers Prasad On 2/9/06, Prasad Kashyap <[EMAIL PROTECTED]> wrote: > I have a parent pom whose packaging is set to "pom". It also executes > a plugin in it's . >

maven + java.class.path

2006-02-09 Thread Davis Ford
Hi, I wrote some code that uses the class path string from: System.getProperty("java.class.path"); When I build with Maven on the command line it, this code: System.out.println(System.getProperty("java.class.path"); produces this output: C:\Program Files\Apache Software Foundation\Maven 1.0.2\

Multiproject inheritance

2006-02-09 Thread Prasad Kashyap
I have a parent pom whose packaging is set to "pom". It also executes a plugin in it's . However, the child project is also inheriting and executing the same plugin. I don't want this to happen. What can I do to prevent this ? Thank you in advance. Cheers Prasad ---

[m2] Is a new version of the site plugin coming?

2006-02-09 Thread Adam Winer
Is there going to be a new version of the site plugin soon? The latest on ibiblio is 2.0b4, which is fairly ancient, and is totally out-of-sync with the docs that are at: http://maven.apache.org/plugins/maven-site-plugin/ It's rather more difficult to use Maven when the docs that *do* exist do

Re: Jdepend maven 2 plugin

2006-02-09 Thread Brian Burridge
I have the same problem with the find bugs plugin. Here is the error message: Caused by: org.apache.maven.plugin.InvalidPluginException: Unable to build project for plugin 'org.apache.maven.plugins:maven-findbugs-plugin': POM ' org.apache.maven.plugins:maven-findbugs-plugin' not found in repositor

Re: Jdepend maven 2 plugin

2006-02-09 Thread Carlos Sanchez
Then please post the output. May it be a timeout with ibiblio being slow? On 2/9/06, Brian Burridge <[EMAIL PROTECTED]> wrote: > I'm not sure if this is what he means, but I tried to add that plugin to my > POM today, and when I ran mvn site, it was unable to download jpend into my > repository. >

Re: Jdepend maven 2 plugin

2006-02-09 Thread Brian Burridge
I'm not sure if this is what he means, but I tried to add that plugin to my POM today, and when I ran mvn site, it was unable to download jpend into my repository. brian On 2/9/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > > What do you mean with " the plugin not connect to repository."? > > On

Re: Jdepend maven 2 plugin

2006-02-09 Thread Carlos Sanchez
What do you mean with " the plugin not connect to repository."? On 2/9/06, Silva, Vandermi Joao Da <[EMAIL PROTECTED]> wrote: > > > > I would like to know, how can I configure in the my POM.xml the jdepend > plugin report, because I try insert the configuration below , but the plugin > not conne

Re: Errors using changelog plugin

2006-02-09 Thread Emmanuel Venisse
It's probably, 2.0-beta-1, you can find it in maven logs with -X parameter. It seems this old version isn't compatible with maven 2.0. We'll release a new version in few weeks, but if you need it, you can build it from sources. Emmanuel Brian Burridge a écrit : I am using Maven 2.0 and I don

Re: [m2] Wagon fails with HTTP destination

2006-02-09 Thread Matthew L Daniel
If anyone else is interested in this drama, please vote for: http://jira.codehaus.org/browse/WAGONHTTP-7 > wagon-http dos not handle HTTP 204 No Content code as success http://jira.codehaus.org/browse/WAGONHTTP-8 > wagon-http does not MKCOL for missing parent resources during deploy -- /v\atth

Re: Errors using changelog plugin

2006-02-09 Thread Brian Burridge
I am using Maven 2.0 and I don't know what version of changelog. I am calling it like this in the POM: **org.codehaus.mojochangelog-maven-plugin** I ran it with the -X -e and didn't get much other information: [WARNING] Error loading report org.apache.maven.changelog.ChangeLogReport - Abstra

Re: Best Practice: JDK target for continuum and maven

2006-02-09 Thread Emmanuel Venisse
Veerman, Christiaan a écrit : If the JAVA_HOME = C:\svn\jdk1.5.0_06\bin\javac.exe; changing the target of a jdk via source and target to '1.4', how does one resolve the physical location of the jdk? it will use the 1.5 compiler but will compile for 1.4 jdk. compilerVersion isn't necessary.

Re: Different dir structure for javadoc:javadoc vs. site goals - is this expected?

2006-02-09 Thread Chris Markle
Brett, Both have been fixed in the plugin's SVN. I believe the empty index was already fixed in the previous release of the javadoc plugin. I wanted to try testing this so I tried to download and build from src... Having some trouble with Maven finding my newly built plugin... Can I review t

Re: jar install question

2006-02-09 Thread Ole Ersoy
Wendy, You are right. It was not generating the pom, and when I added the -U to the command like this: mvn -U install:install-file -Dfile=/home/ole/Desktop/facelets-1.0.10/facelets-1.0.10/jsf-facelets.jar -DgroupId=jsf-facelets -DartifactId=jsf-facelets -Dversion=1.0.10 -Dpackaging=jar -Dgenerat

[m2] Eclipse plugin with POM-type projects

2006-02-09 Thread Chris Tucker
Hi, I've been using m2 and maven-eclipse-plugin for some time for developing EJB3 apps. I've found it useful to have POM type projects responsible for managing my ear build, in a structure something like: mymodule +- mymodule-build-config (type: POM) +- mymodule-ear (type: ear) +

Re: pmd 3.5 @ ibiblio missing something?

2006-02-09 Thread Carlos Sanchez
Yep, we'll fix it asap On 2/9/06, Guilherme Silveira <[EMAIL PROTECTED]> wrote: > is it missing something: > http://www.ibiblio.org/maven2/pmd/pmd/maven-metadata.xml > > 1.04 > 1.1 > 1.2.1 > 1.3 > 1.9 > 2.1 > 2.3 > 3.0 > 3.2 > 3.4 > > > Att > > Guilherme Silveira > -- > Guilherme Silveira >

pmd 3.5 @ ibiblio missing something?

2006-02-09 Thread Guilherme Silveira
is it missing something: http://www.ibiblio.org/maven2/pmd/pmd/maven-metadata.xml 1.04 1.1 1.2.1 1.3 1.9 2.1 2.3 3.0 3.2 3.4 Att Guilherme Silveira -- Guilherme Silveira -- [EMAIL PROTECTED] Caelum - Ensino e Solucoes em Java www.caelum.com.br --

changing names of individual reports?

2006-02-09 Thread Chris Markle
I am generating some via the site goal. I get these as expected: # Project Reports * Changes Report Plugin * JavaDocs * Maven Surefire Report * Source Xref Is there a way to change the names of these in the resulting site? For example if I wanted "Maven Surefire Report" to be

Need help with maven-compiler-plugin

2006-02-09 Thread Helck, Christopher
I'm experiencing a weird problem when compiling my source code. I'm not sure if the problem is with the compiler or maven. In the past (maven1) the -X switch would print the actual command used to invoke the compiler. I could cut and paste it into test script and debug from there. Is there a way t

RE: [mvn] sample webapp

2006-02-09 Thread KC Baltz
To reference javax.servlet, after in your pom, add: javax.servlet servlet-api 2.4 provided That tells it you need servlet-api to compile, but it's provided for you at runtime by th

Re: [mvn] sample webapp

2006-02-09 Thread Emmanuel Venisse
http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20use%20external%20dependencies? Emmanuel devosc a écrit : Hi, I would like to start using mvn, but I'm having problems getting started. my-webapp/ my-webapp/pom.xml my-webapp/src/main/java/mypackage/Hello.java my-webapp/s

Re: Resolving Parent POM

2006-02-09 Thread Michael Böckling
Ok, I found the solution. The thing is, the pre-configured repository "central" has the property snapshot=false set, thus it is not possible to resolve snapshot dependencies using central. Even if one configures a mirror in settings.xml with mirrorOf=central, pointing to a maven-proxy that DOES

[mvn] sample webapp

2006-02-09 Thread devosc
Hi, I would like to start using mvn, but I'm having problems getting started. my-webapp/ my-webapp/pom.xml my-webapp/src/main/java/mypackage/Hello.java my-webapp/src/main/resources my-webapp/src/main/webapp/hello.jsp my-webapp/src/main/webapp/images my-webapp/src/main/webapp/WEB-INF/web.xml Hell

deploying from windows via putty

2006-02-09 Thread Tony Burdett
Hi, I'm having some problems deploying artifacts to a remote server from Windows. I have the following entry in my projects POM: repo-aux Fluxion aux repository scp://deanmoor.ncl.ac.uk/var/www/fluxions/repo-aux I'm using PuTTY and pscp

Re: Where are Maven2 command line args documented?

2006-02-09 Thread Chris Markle
KC, Have you tried: mvn -help Yeah I had... I was hoping for a more detailed description. Especially around the area of the update-related arguments. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

RE: [m2] ignore known hosts

2006-02-09 Thread Luca Gmail
Sorry for the insistence, but im becoming crazy!!! Somebody can suggets me how create a right known_hosts file? _ From: luca rasconi [mailto:[EMAIL PROTECTED] Sent: giovedì 9 febbraio 2006 16.48 To: Maven Users List Subject: Re: [m2] ignore known hosts i did it. it doesn

Re: Resolving Parent POM

2006-02-09 Thread Michael Böckling
Yes, I'm aware of that, and I thought that maven would use this metadata to resolve the latest unique version. In conjunction with maven-proxy, however, this does not seem to work Hi Michael, the "real" version name is stored in com/giniality/tam/tam-maven-parent/1.0-SNAPSHOT/maven-metad

RE: Multi modules project

2006-02-09 Thread Samuel Liard
Hi, May be I can use in module B: A But... My directories are like : | |--ModuleA | |-src |--ModuleB |-src I use a project.properties : maven.multiproject.basedir=../ But I have an error : Failed to validate POM (I just add tags :( ) an idea ? Samuel --- Samuel Liard <[EMA

Re: How to make Continuum respect maven installation-wide settings.xml?

2006-02-09 Thread Christian Mouttet
Wow, cool! That sounds very nice. -chris Am Donnerstag, 9. Februar 2006 17:36 schrieb Emmanuel Venisse: > Seems to be fixed locally. I'll can't full test with proxy but seems ok. > profiles and mirrors are ok. > > Need to do some more tests before to commit fixes. > > Emmanuel *

notifications

2006-02-09 Thread Brian E. Fox
Does continuum reread the notifications from the pom or is it only when I add a project?

RE: Where are Maven2 command line args documented?

2006-02-09 Thread KC Baltz
Have you tried: mvn -help K.C. -Original Message- From: Chris Markle [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 10:23 PM To: Maven Users List Subject: Where are Maven2 command line args documented? Where are Maven2 command line args documented? Chris ---

Re: How to make Continuum respect maven installation-wide settings.xml?

2006-02-09 Thread Emmanuel Venisse
Seems to be fixed locally. I'll can't full test with proxy but seems ok. profiles and mirrors are ok. Need to do some more tests before to commit fixes. Emmanuel Christian Mouttet a écrit : Hi Michael, my settings.xml is in Emmanuels' hands too :-) -chris Am Donnerstag, 9. Februar 2006 14:

Re: Resolving Parent POM

2006-02-09 Thread Christian Mouttet
Hi Michael, the "real" version name is stored in com/giniality/tam/tam-maven-parent/1.0-SNAPSHOT/maven-metadata.xml. -chris Am Donnerstag, 9. Februar 2006 17:23 schrieb Michael Böckling: > It's me again, but I have just a simple question this time: > does maven automatically resolve to the late

Resolving Parent POM

2006-02-09 Thread Michael Böckling
It's me again, but I have just a simple question this time: does maven automatically resolve to the latest unique version of a deployed artifact? Because if a project references a parent project that has a SNAPSHOT version, and the SNAPSHOT version is unique (like maven-parent-1.0-20060201.1225

Re: Errors using changelog plugin

2006-02-09 Thread Emmanuel Venisse
Brian Burridge a écrit : I am getting the following errors when I attempt to use the changelog plugin. Is there a setting somewhere that can make this more verbose? mvn -X -e What is versions of maven and changelog plugin? [WARNING] Error loading report org.apache.maven.changelog.Cha

[m2] path relative to parent/reactor pom.xml

2006-02-09 Thread Damian Krzeminski
What's the recommended way of specifying paths that are always relative to parent pom (regardless if I am building from parent directory or from any of the subprojects directories)? All my subprojects are sharing the same checkstyle.xml file. I am trying to configure my checkstyle plugin in par

AW: Local repositories and POM/Checksum.

2006-02-09 Thread Grothaus, Christoph
Not install-file, but deploy-file! mvn deploy:deploy-file -DgroupId=GROUP_ID -DartifactId=ARTIFACT_ID -Dversion=VERSION -DgeneratePom=true -Dpackaging=jar -DrepositoryId=REPO_ID -Durl=scp://your.repo.host/PATH/TO/REPO -Dfile=PATH/TO/JAR Greets Christoph -Ursprüngliche Nachricht- Von: J

Re: [m2] ignore known hosts

2006-02-09 Thread luca rasconi
i did it. it doesn't work! but there isn't an env variable namend USER_HOME. there is one named HOMEPATH whom value is C:\Documents and Settings\. i created USER_HOME=C:\Documents and Settings\ and a dir .ssh within the file known_hosts copied from another host which use ssh to connect to the

Local repositories and POM/Checksum.

2006-02-09 Thread Joern Huxhorn
Hi. I'm trying to put some third-party jars installed as described in http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html into our company repository. After install there is neither a pom nor a sh1 file beside the jar. Maven expects both while downloading from a repositor

RE: M2.0.2 PMD , enum and JDK 1.5

2006-02-09 Thread Mike Perham
I forgot to document the targetJdk config element. ... 1.5 Fixed in SVN. -Original Message- From: javed mandary [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 8:13 AM To: Maven Users List Subject: M2.0.2 PMD , enum and JDK 1.5 Hi all, am currently having a pr

Errors using changelog plugin

2006-02-09 Thread Brian Burridge
I am getting the following errors when I attempt to use the changelog plugin. Is there a setting somewhere that can make this more verbose? [WARNING] Error loading report org.apache.maven.changelog.ChangeLogReport - AbstractMethodError: canGenerateReport() [WARNING] Error loading report org.apache

Re: M2.0.2 PMD , enum and JDK 1.5

2006-02-09 Thread Wim Deblauwe
The jdk setting is independent for each plugin, so you have to tell the PMD plugin that you are using JDK 1.5 in your code. regards, Wim 2006/2/9, javed mandary <[EMAIL PROTECTED]>: > > Hi all, > am currently having a problem when running site with m2.0.2 , I > have configured PMD in r

Re: referencing a sar and a wsr archive that have been deployed to the repository

2006-02-09 Thread Brad O'Hearne
I was mistaken -- it wasn't a problem with getting the dependency. The problem was that the maven EAR plugin doesn't support archives of type wsr. Brad John Tolentino wrote: Define the element in your dependency as sar or war. - John Brad O'Hearne wrote: Using the maven sar plugin, and a

Antw: LinkageError in Surefire-Plugin in spite of forking

2006-02-09 Thread Stefan Rademacher
Hello, I solved the problem. As far as I know, in the latest version the surefire plugin has forking as a default setting. In my pom I still configured the plugin explicitly, as mentioned below. For some reason, the explicit setting of once leads to an error, during the test execution. Bye, Stefa

RE: Multiproject support in Maven 2

2006-02-09 Thread Brian E. Fox
I do exactly this and I use the dependency-maven-plugin: http://mojo.codehaus.org/dependency-maven-plugin I unpack the war to the output location during the generate-sources phase. -Original Message- From: "Cristiano V. Gavião" [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 20

Re: maven scm with subversion: Cannot copy path '.' into its own child '../tags/0_1'

2006-02-09 Thread German de la Cruz
thanks julian for your replying... if I make svn copy . ../tags/tapestry4-playroom-0_1 I obtain the same error, but if I make... svn copy -m "comment..." https://localhost/svn/repos/tapestry4-playroom/trunk https://localhost/svn/repos/tags/0_1 I works perfectly tapestry4-playroom is a svn wor

M2.0.2 PMD , enum and JDK 1.5

2006-02-09 Thread javed mandary
Hi all, am currently having a problem when running site with m2.0.2 , I have configured PMD in reporting tag: - POM extract-- org.apache.maven.plugins maven-pmd-plugin

RE: [m2] os dependency

2006-02-09 Thread Frank Russo
You should probably look at using profiles. You can set an enviroment variable that is passed into the call for the build that will activate the profile you want. One profile will be for windows, and one for linux. See http://maven.apache.org/guides/introduction/introduction-to-profiles.html f

[m2] os dependency

2006-02-09 Thread Bedin, Stephane \(GE Healthcare\)
Hi, I have a java library to is a wrapper (uses JNI). ex: myjarforwin.jar (associated with myjarforwin.dll) and myjarforlinux.jar (associated with myjarforlinux.so). Is it a way to explain in pom.xml that - on windows that dependency is on myjarforwin.jar and shall set a system property named

Re: How to make Continuum respect maven installation-wide settings.xml?

2006-02-09 Thread Christian Mouttet
Grüetzi Michael, it seems that you have the same problem as I have. You may take a look at http://jira.codehaus.org/browse/CONTINUUM-488 where a lot of comments and trials are listed. What's your system? If Linux - what distribution? Emmanuel sucessfully tested it with Fedora 4. For my SuSE SL

  1   2   >