Re: Why Continuum?

2006-02-22 Thread Adrian Herscu
So where Atlassian wants to take you today? Torsten Curdt wrote: On 22.02.2006, at 08:34, Johnson, Jonathan wrote: For instance Continuum does not have the feature yet to invoke builds based on SCM changes. Huh? ...it queries the SCM periodically to check for changes. If there are

Re: maven scm vs subclipse

2006-02-22 Thread Pieter Vandepitte
thx guys, i was also thinkin that way but was not sure if this was a common thought :) It's also better to use subclipse because of the nice interface for comparing versions, committing, etc... best regards Pieter Vandepitte wrote: Hi, I can't figure out what I should use: maven scm for

Re: Changelog error linking to scm url

2006-02-22 Thread Brian Burridge
What I meant was that in CVS the source code is in the src directory. I've already set the src code path in the POM. But in cvs its in a /src directory, to the SCM link isn't working. It links to the viewcvs url I've provided and then tacks on the package and class name, but I need /src/ in

Strange scp error

2006-02-22 Thread Larry Feigen
I'm trying to use scp to deploy from one Linux machine to another and I'm seeing an inexplicable error. Maybe someone here can explic it. :-) Looking on the server, I can see that the pom does indeed upload fine, but the md5 file didn't make it. When I changed to using ftp, everything went

Maven2: Compile fails because Maven cannot resolve source dependency

2006-02-22 Thread Jay Pillai
Maven Gurus: Operating System: Windows XP JDK: 1.5 Maven Version: 2.0.2 I am encountering the following numerous errors as part of the compilation. Compiling 697 source files to D:\PROJ_MAVEN\trunk\src\main\classes [INFO]

[m2] how to use optional in pom ?

2006-02-22 Thread Nicolas De Loof
Hello, I've just trying to migrate my project to maven2. It is a shared component, so I have to setup a well designed POM to make transitive dependencies works as expected. It defines optional classes to be use with other librairies, that I've marked in POM as optionaltrue/optional If I do

Re: continuum scheduled forced build

2006-02-22 Thread Matthew Vanbiervliet
I've just seen that there was an open issue about this... Anyway, your suggestions are welcome :-) On 2/22/06, Matthew Vanbiervliet [EMAIL PROTECTED] wrote: Hi, Is there a way to force Continuum to build a project even if there are no changes in the source repository ? What I try to

Re: [m2] how to use optional in pom ?

2006-02-22 Thread Emmanuel Venisse
Whick project failed? your shared component project or a project that use it? Emmanuel Nicolas De Loof a écrit : Hello, I've just trying to migrate my project to maven2. It is a shared component, so I have to setup a well designed POM to make transitive dependencies works as expected. It

Re: [m2] runtime error

2006-02-22 Thread Allan Ramirez
Hi there, http://docs.codehaus.org/display/MAVENUSER/FAQs-1 and look for the question How do I resolve the plugin name does not exist or no valid version error? This might helps -allan __

Re: [m2] answered: including generated build sources - was How to include Java files generated by XDoclet ?

2006-02-22 Thread Allan Ramirez
Hi Ruel, Blaise is using Maven 1.1-beta-2 so he cannot use that. -allan Ruel Loehr wrote: Use the build helper plugin. http://mojo.codehaus.org/build-helper-maven-plugin/ Ruel Loehr JBoss QA -Original Message- From: Blaise Gosselin [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: Can anyone help with this error?

2006-02-22 Thread Emmanuel Venisse
Hmm, that's weird. We have some problems with jdo/jpox and in your case, i don't know if it's a pb with jdo/jpox or with derby. What is your OS? I think will use something else in 1.1 Emmanuel Punkin Head a écrit : Sorry for the length it took to reply to this, I was out for a couple of

Re: Filtering webapp resources

2006-02-22 Thread Allan Ramirez
I think these will help http://jira.codehaus.org/browse/MWAR-12 http://jira.codehaus.org/browse/MNG-1683 -allan Xavier Frisaye wrote: Hi everybody, I want to filter webapp resources (the files under WEB-INF directory). I find there is already an issue/update to be able to do this kind of

Re: Revision number in manifest.mf

2006-02-22 Thread Emmanuel Venisse
A user on maven user list provided a maven plugin for this feature. I'm in discussion with him to include his plugin in maven-scm project and if he's ok, this plugin will be available in next release of maven-scm. Emmanuel Max a écrit : Hi Emmanuel, The .svn/entries file will be on the

Re: continuum scheduled forced build

2006-02-22 Thread Emmanuel Venisse
I fixed this problem in svn but i need to do some more tests before the release of Continuum 1.0.3 Emmanuel Matthew Vanbiervliet a écrit : I've just seen that there was an open issue about this... Anyway, your suggestions are welcome :-) On 2/22/06, Matthew Vanbiervliet [EMAIL PROTECTED]

Re: Maven2: Compile fails because Maven cannot resolve source dependency

2006-02-22 Thread Edwin Punzalan
It should be: dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version1.0.4/version /dependency The groupId should be as specified by the dependency artifact... not your project. ^_^ Jay Pillai wrote: Maven Gurus: Operating System: Windows XP JDK:

Re: how-to profiles and environment depending settings

2006-02-22 Thread Edwin Punzalan
From what you've stated, the link you gave is most appropriate. I'd suggest using a string replacement using properties inside a profile. solo turn wrote: hi, what would you recommend to use for deploying differrent settings to different environments? a dedicated file for every

Re: how to customize the announce email generated from changes plugin

2006-02-22 Thread Allan Ramirez
If I recall correctly, you should create a .vm in your resource directory for example project +--- src +---main +---resources +---templateDir +---mytemplate.vm and configure changes plugin build ... plugins plugin

RE: How to build Beehive pageflows in Maven2, maven plugin or antrun

2006-02-22 Thread Kevin Wang
Yes, I have changed it in another way, It seems can work now, like this: POM.xml--- plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasecompile/phase configuration

[m2] java version

2006-02-22 Thread Pieter Vandepitte
Perhaps a simple question for the maven gurus :) How do I set the java version against which maven2 compiles/tests/... ? is there some tag in the pom file? kind regards Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Re: [m2] java version

2006-02-22 Thread Jurgen Lust
Hi Pieter, That's a configuration setting of the compiler plugin: build plugins plugin artifactIdmaven-compiler-plugin/artifactId versionRELEASE/version configuration compilerVersion1.4/compilerVersion source1.4/source target1.4/target

Re: [m2] java version

2006-02-22 Thread Pieter Vandepitte
okay, shame on me, found an answer to my question in the docs :) add following to the build tag: plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

Re: [m2] java version

2006-02-22 Thread Allan Ramirez
Please refer to this link http://maven.apache.org/plugins/maven-compiler-plugin/howto.html Jurgen Lust wrote: Hi Pieter, That's a configuration setting of the compiler plugin: build plugins plugin artifactIdmaven-compiler-plugin/artifactId versionRELEASE/version

Re: tests are running 3 times when i generate my site

2006-02-22 Thread David Sag
unfortunately cobertura is not working again as it now demands maven 2.0.3 to run and breaks my builds. i was at home last night so had access to svn, checked out the latest maven2 from the trunk and built it and cobertura ran runs ok now when i go mvn site I am now again getting the the skin

Re: continuum scheduled forced build

2006-02-22 Thread Matthew Vanbiervliet
Ok thank you. And how will we be able to activate it ? Will it be a new option to check ? A new argument ? On 2/22/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: I fixed this problem in svn but i need to do some more tests before the release of Continuum 1.0.3 Emmanuel Matthew Vanbiervliet

Re: Multi-project woes

2006-02-22 Thread javed mandary
Hi Matt, if i understand correctly you have defined the child modules but have you defined the parent of of your child modules inside of the child module POM files ? In each child module POM there needs to be something like this: project[ ] parent

Re: [m2] Cannot generate test report with failing tests

2006-02-22 Thread Adrian Herscu
From the surefire description (http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html): testFailureIgnore (Optional) boolean ${maven.test.failure.ignore} - Set this to true to ignore a failure during testing. Its use is *NOT RECOMMENDED*, but quite convenient on

Re: [m2] Cannot generate test report with failing tests

2006-02-22 Thread Yann Le Du
Probably because if you do so you'll not be warned of test failures, which is not what you want in a normal build. 2006/2/22, Adrian Herscu [EMAIL PROTECTED]: From the surefire description (http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html): testFailureIgnore (Optional)

RE: [m2] Cannot generate test report with failing tests

2006-02-22 Thread Krishnan A S
Normally applications are supposed to pass the JUNIT (Java) tests before building ... in that case its mandatory for the test to be passed ... If u wana run tests against the WAR file built then this may be helpful for u (if u run the tests again after deployment) Thanks Regards, A.S.KRISHNAN,

RE: [m2] Cannot generate test report with failing tests

2006-02-22 Thread Krishnan A S
This applies for Java - Junit tests not for the ones like HttpUnit tests (which are done after deployment). In that case HttpUnit tests have to be done in a separate task (new pom.xml) Thanks Regards, A.S.KRISHNAN, AZTEC, BANGALORE. -Original Message- From: Yann Le Du [mailto:[EMAIL

Re: [m2] how to use optional in pom ?

2006-02-22 Thread Stephen Duncan
What version of Maven are you using? There are bugs about this, but they all appear to have been resolved prior to 2.0.2. -Stephen On 2/22/06, Nicolas De Loof [EMAIL PROTECTED] wrote: Hello, I've just trying to migrate my project to maven2. It is a shared component, so I have to setup a

Re: Multi-project woes

2006-02-22 Thread Stephen Duncan
Is the repository information defined in the parent POM? Do the child POMs have all the information they need to retrieve the parent POM from your remote repository? Usually my parent POM has the definition of the repositories, so, to get the parent the first time, I have to define the

Adding Build Time to Projects Summary Page

2006-02-22 Thread Richard C. L. Li
Hi, Is there any way to add a column of the ending date and time of the latest build in the project summary page? Thanks, Richard Li

RE: Maven 2.0: Referring to another projects classes using maven

2006-02-22 Thread Gerard Garrigan
Hello, I took some advice and added the jars from the external projects (B and C) as dependencies in project A. I'm still getting the same problem as before when I create a jar of project A. The required classes from projects B and C are not available when I run project A. Using Ant you can just

Re: Maven 2.0: Referring to another projects classes using maven

2006-02-22 Thread Du,Guo
You may install your jar files of Project B and C to local repository and then add the dependency in your project A. http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html Kind regards, Du, Guo - Original Message - From: Gerard Garrigan [EMAIL PROTECTED] To:

RE: Multi-project woes

2006-02-22 Thread Koranda Matthew James
I have a mirror in my settings.xml as follows: mirror idmaven-proxy/id nameMaven-Proxy Mirror/name urlhttp://mydomain:/repository//url mirrorOfcentral/mirrorOf /mirror This points to my internal repository which is served by

Re: site plug-in error if src folders do not exist

2006-02-22 Thread Igor Bljahhin
Hello, I have the same problem. There is no src folder in my EAR subproject and PMD report fails on it. Igor On 2/13/06, Shukla, Sanjay [EMAIL PROTECTED] wrote: I am wondering if this is a know error for the site plug-in, throws an error if src folders do not exist. Src folders are absent as

Re: Multi-project woes

2006-02-22 Thread Alexandre Poitras
A proxy is not a repository, you need to define a repository to be able to deploy to your internal repository but you can always do some test using your local repository. I think you are trying to define a super pom from what I understand. I have never tried it myself but what you are trying to

Re: Multi-project woes

2006-02-22 Thread Stephen Duncan
No, it's not incorrect. It's just how I do it. My internal repsoitory is just a repository of my stuff, not a mirror of central. I don't know of any reason your stuff shouldn't be working. If your parent POM is in your repository, it should download it and use it. Could you send the output of

Re: Multi-project woes

2006-02-22 Thread Du,Guo
You may add your internal repository defination to all the poms so you could always resolve the dependency and it doesn't depends on the local settings. You can easily build all the project any where inside your company. This would also works well for m2eclipse because it cannot read local

eclipse maven multiproject

2006-02-22 Thread Manisha Sur
Hi , I have a maven multiproject with the following directory structure under a trunk folder: maven subproject1 maven subproject2 maven subproject3 .. maven subprojectN maven.xml project.xml project.properties 1) I have copied this trunk folder under the eclipse workspace folder i.e.

Re: [m2] Newbie dependency question

2006-02-22 Thread Alexandre Poitras
On 2/21/06, Dave Hoffer [EMAIL PROTECTED] wrote: Alexandre, I have some further questions below... -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 9:52 PM To: Maven Users List Subject: Re: [m2] Newbie dependency question

Re: [m2] Newbie dependency question

2006-02-22 Thread Alexandre Poitras
whoops I pushed send by accident here the true email On 2/22/06, Alexandre Poitras [EMAIL PROTECTED] wrote: On 2/21/06, Dave Hoffer [EMAIL PROTECTED] wrote: Alexandre, I have some further questions below... -Original Message- From: Alexandre Poitras [mailto:[EMAIL

Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-22 Thread andrew cooke
thanks. however, it seems the plugin is too restrictive still - http://mojo.codehaus.org/jdbc-maven-plugin/introduction.html andrew Wayne Fay wrote: Looks like there's also a maven-jdbc-plugin that you could potentially use. But I've never used it myself. This email thread has some more

Re: Can anyone help with this error?

2006-02-22 Thread Punkin Head
We're using it on an XP machine...although we're planning on moving to Solaris eventually. On 2/22/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: Hmm, that's weird. We have some problems with jdo/jpox and in your case, i don't know if it's a pb with jdo/jpox or with derby. What is your OS?

Re: [m2] Broken source repository link

2006-02-22 Thread Wendy Smoak
On 2/22/06, Adrian Herscu [EMAIL PROTECTED] wrote: http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven-compiler-plugin from the compiler plugin (http://maven.apache.org/plugins/maven-compiler-plugin/source-repository.html) is broken. What is the right URL?

RE: WAS5 / WAS6 / Maven2

2006-02-22 Thread hermod.opstvedt
Hi We are currently working on an ant plugin using these, and will submit them to the community when we feel they are fit for it. Hermod -Original Message- From: Denis Fuenzalida [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 6:56 PM To: Maven Users List Subject: Re: WAS5 /

Re: [m2] ant tasks and SNAPSHOTs

2006-02-22 Thread Christian Piccardi
Brett Porter brett.porter at gmail.com writes: It's missing the timestamp, indicating to me that jar.pom might be turning off the build numbering? In which case it is correct to always use -SNAPSHOT but is a bug if that isn't being redownloaded when it changes. - Brett On 10/25/05,

Re: getting subversion revision number

2006-02-22 Thread Geoffrey De Smet
Maybe it can be made it more generic to also include the buildDate? All these properties should be namespaced I believe, like ${build-helper.buildDate} ${build-helper.buildNumber} etc The buildDate might depend on a mojo property buildDateFormat, defaulted to MM dd hh:mm -- With kind

RE: Re: getting subversion revision number

2006-02-22 Thread Brian E. Fox
I would be more likely to use the build date althought I might consider the scm version also. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet Sent: Wednesday, February 22, 2006 8:32 AM To: users@maven.apache.org Subject: Re: getting subversion

RE: How to setup FTP-based internal repository ?

2006-02-22 Thread Dixit, Sandeep (ProSource Solutions)
Okay. After lot's of trial and error, I was able to move forward one step. Below is what I did: 1. copied wagon-ftp-1.0-alpha-6.jar, oro-2.0.8.jar and commons-net-1.4.1.jar to MAVEN_HOME/lib folder 2. Per the repository setup created a repository idcentral/id

Re: [m2] how to use optional in pom ?

2006-02-22 Thread Nicolas De Loof
Sorry, du to PATH error I was running maven 2.0, not 2.0.2 It works fine now. Stephen Duncan a écrit : What version of Maven are you using? There are bugs about this, but they all appear to have been resolved prior to 2.0.2. -Stephen On 2/22/06, Nicolas De Loof [EMAIL PROTECTED] wrote:

Configuring schedules in pom

2006-02-22 Thread Michael Böckling
Hi! Is there a way I an specify the default schedules to use in my project POM, instead of having it to configure in Continuum for every project that I import? Maybe even in a parent POM? That would be great! Bye, Michael -- Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel P:

Resources target directory and eclipse:eclipse

2006-02-22 Thread Paul Hepworth
For our project, we need to have some properties files that are external to our ejb-jar that we deploy. We also need to apply filtering to these files in the standard resource manner. I have the following in my pom.xml resources resource directorysrc/main/external-resources/directory

eclipse plugin hiding source of compilation error

2006-02-22 Thread Jake Pezaro
the project in question does not fail when run from the command line, however when run from eclipse it produces the following error: is there a way to get the eclipse pluging to show what the error is or do run it in debug mode? Compiling 918 source files to

WSAD5 to JBoss

2006-02-22 Thread Bertrand Tignon
Hi ! I'm a Maven newbie. My project is developped with WSAD5, and I'd like to test the deployment of my project. Unfortunately, I don't have any access to a WAS. I've been told JBoss deployement is close to WAS deployment. So questions are : - is it possible to deploy a J2EE application

[m2] Logging level

2006-02-22 Thread hermod.opstvedt
Hi I have searched around, and I can't find any place where I can specify the logging level of Maven 2 - That is the output from maven2. Currently it is logging from INFO, but I want to turn it down to ERROR. Hermod * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

[M2 : site] Newbie question on how to generate site with test errors

2006-02-22 Thread Michael Masters
How can I get the site to generate when there are unit test failures? When there are failures it doesn't generate the site and stops after running the test. thanks, Mike

RE: Why Continuum?

2006-02-22 Thread Johnson, Jonathan
Continuum checks for changes and builds on a time based schedule. An alternate (and better) approach would be to build after changes have been applied. Continuous integration tools have the ability to listen or get notified by the SCM system when changes have been made. You can configure the

ODP: WSAD5 to JBoss

2006-02-22 Thread Piotr Smolinski
Hi, Maven here is not necessary. WAS and JBoss are both J2EE servers. You can do development using WSAD and deploy aplication to any compliant server. Of course, you must create additional deployment descriptors, because those you click in WSAD forms are aplicable to WAS only (ibm-*-ext.xmi

Re: getting subversion revision number

2006-02-22 Thread Wouter de Vaal
Neat! Works like a charm, thank you very much. Wouter On 2/21/06, Julian Wood [EMAIL PROTECTED] wrote: OK I just went over this plugin and there were some snapshot problems remaining, which are now solved. Now all you need to do is place the plugin in your pom and add the pertinent snapshot

Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Kees de Kooter
Anyone? This is my current setup: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration archive indextrue/index manifest

How to activate Plugin Repository?

2006-02-22 Thread Dixit, Sandeep (ProSource Solutions)
In my settings.xml, I have the following: profile idmyConfig-dev/id repositories repository releases enabledtrue/enabled updatePolicyalways/updatePolicy checksumPolicywarn/checksumPolicy /releases

Re:ODP: WSAD5 to JBoss

2006-02-22 Thread Bertrand Tignon
Thank you for reply. If you have some links where it describes the files to change, it would be great. [ else, I'll ask my friend google ;o) ] Bertrand. -- Initial Header --- From : quot;Piotr Smolinskiquot; [EMAIL PROTECTED] To : quot;Maven Users Listquot;

overwrite when changing profile

2006-02-22 Thread Wouter de Vaal
Hi, In my project I have created several profiles for different environments like profile idenv-local/id activation property nameenv/name

Re: ODP: WSAD5 to JBoss

2006-02-22 Thread ian . roughley
On the same topic of J2EE and JBoss, I have been trying to obtain the plugin's to create EJB3 and PAR files. I see that MOJO-98 MOJO-99 (http://jira.codehaus.org/browse/MOJO-98 http://jira.codehaus.org/browse/MOJO-99) say they are fixed in version 2.0.1 (I am running 2.0.2). But when I try

Proxy settings question

2006-02-22 Thread Dave Hoffer
I understand that if I need to run maven2 from behind a proxy I need to configure the following section in my settings.xml file: proxy activetrue/active protocolhttp/protocol hostproxy.somewhere.com/host port8080/port usernameproxyuser/username

Declaration of an array in project.properties file

2006-02-22 Thread rturnbull
Hello to all, I'm trying to make a variable in the project.properties file that an array. This array will then be looped through with a forEach from the jelly:core library. Is it possible to declare or even use arrays in the project.properties file?? Please let me know as I have the code

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Mang Jun Lau
The addClasspath tag only adds a class-path entry to the manifest file if you have dependencies specified in your POM. _Mang Lau Kees de Kooter [EMAIL PROTECTED] 02/22/2006 10:51 AM Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc

Re: [M2 : site] Newbie question on how to generate site with test errors

2006-02-22 Thread Yann Le Du
http://jira.codehaus.org/browse/MOJO-107 2006/2/22, Michael Masters [EMAIL PROTECTED]: How can I get the site to generate when there are unit test failures? When there are failures it doesn't generate the site and stops after running the test. thanks, Mike

Re: Proxy settings question

2006-02-22 Thread Emmanuel Venisse
.pac files aren't supported yet. You must download and edit your .pac file. Your proxy host/port is defined in it. Emmanuel Dave Hoffer a écrit : I understand that if I need to run maven2 from behind a proxy I need to configure the following section in my settings.xml file: proxy

Re: Proxy settings question

2006-02-22 Thread Yann Le Du
Open your proxy.pac . It goes through some rules - probably depending on IPs - and eventually returns the proxy host and port, e.g. ' return PROXY 20.140.15.83:3128; ' -- host = 20.140.15.83 ; port = 3128 - Yann 2006/2/22, Dave Hoffer [EMAIL PROTECTED]: I understand that if I need to run

Declaration of an array in project.properties file - More information on what I'm doing

2006-02-22 Thread rturnbull
Here is a code snippet from the maven.xml file that I have created where I'm trying to use the array project xmlns:ant=jelly:ant xmlns:maven=jelly:maven xmlns:j=jelly:core goal name=testingscript j:forEach var=currentDeployHost items=${testing.array}

Re: Declaration of an array in project.properties file

2006-02-22 Thread Doug Douglass
Ryan, Sounds like you're using maven 1...lists/arrays are not directly supported. Instead, specify the property value as a delimited string (e.g., foo.property=1,2,3,4,5) and use the jelly util:tokenize[1] tag to split the property into a variable based on a delimiter (e.g., comma). Then you

Re: Declaration of an array in project.properties file

2006-02-22 Thread rturnbull
Thanks Doug! So from my code snippet would this be correct?? project.properties file testing.array.list=1,2,3,4,5 maven.xml goal name=testingscript jutil:tokenize var=${testing.array.list} delim=,/ jcore:forEach var=currentDeployHost

Re: Declaration of an array in project.properties file

2006-02-22 Thread rturnbull
Thanks Doug, I was able to figure it out EXCELLENT! Ryan Doug Douglass wrote: Ryan, Sounds like you're using maven 1...lists/arrays are not directly supported. Instead, specify the property value as a delimited string (e.g., foo.property=1,2,3,4,5) and use the jelly

Re: Declaration of an array in project.properties file

2006-02-22 Thread Doug Douglass
GREAT!!! FYI: I see in the doco for forEach that the items attribute accepts a comma-separated String. I've never tried it, but it could save you a line of jelly. Cheers, Doug rturnbull wrote: Thanks Doug, I was able to figure it out EXCELLENT! Ryan

pmd : how to use custom ruleset ?

2006-02-22 Thread François-Xavier Busch
Hi, I try to use the pmd plugin for maven2 but it fails with the error : Embedded error: Failure executing PMD for: ... MyClass.java Encountered { variable = at line 13, column 3. Was expecting one of: abstract ... boolean ... My class looks like that : public class MyClass extends

[m2] Trouble accessing test resources after moving to Maven2 from Ant

2006-02-22 Thread Wayne Fay
I am trying to convert a multi-module project that we have traditionally used Ant to build and run tests into Maven2. I've already done this successfully for some other internal projects and been very happy with it. However, I'm running into a new problem with this particular project. Several of

RE: pmd : how to use custom ruleset ?

2006-02-22 Thread Giles, Nick
I have the same problem, and it's a bug in the core grammar of PMD (http://sourceforge.net/tracker/index.php?func=detailaid=1339470group_id=56262atid=479921). It doesn't look like it's getting fixed any time soon, but there's a patch at http://jira.codehaus.org/browse/MPMD-16 that works with

Re: [m2] Trouble accessing test resources after moving to Maven2 from Ant

2006-02-22 Thread Emmanuel Venisse
test resources must be in src/test/resources You can load your resources with this code : getClass().getResource( com/myproject/util/test.txt ); or getClass().getResourceAsStream( com/myproject/util/test.txt ); or public static File getTestFile( String path ) { return new File(

Re: How add url link to dependencies

2006-02-22 Thread raghurajan . x . gurunathan
Thanks for your reply, Can u give some example for this? Please Thanks, Raghu Yann Le Du [EMAIL PROTECTED] 02/21/2006 07:31 PM Please respond to Maven Users List To: Maven Users List users@maven.apache.org cc: Subject:Re: How add url link to

Re: Changelog error linking to scm url

2006-02-22 Thread Dennis Lundberg
Brian, Can you post the scm section of your POM here? -- Dennis Lundberg Brian Burridge wrote: What I meant was that in CVS the source code is in the src directory. I've already set the src code path in the POM. But in cvs its in a /src directory, to the SCM link isn't working. It links to

Re: [m2] Trouble accessing test resources after moving to Maven2 from Ant

2006-02-22 Thread Wayne Fay
Thanks Emmanuel. I knew it was something simple like that. Wayne On 2/22/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: test resources must be in src/test/resources You can load your resources with this code : getClass().getResource( com/myproject/util/test.txt ); or

Help with the Mevenide Plugin

2006-02-22 Thread Matteo Melani
I am running eclipse 3.1 with the Mevenide plugin but the POM synchronization feature does not seems to work. In the POM Synchronization window Mevenide just shows a part of the project.xml (POM) file, the dependencies. The sourceDirectory node is shown as a type resource and not as type

Re: [m2] Secure Passwords in the settings.xml

2006-02-22 Thread Thomas Van de Velde
What's the status on securing passwords? Has this been implemented? Cheers, Thomas On 7/16/05, Brett Porter [EMAIL PROTECTED] wrote: It is actually planned, and there is a partial implementation using a JKS keystore lying around but there is more work to be done. There still needs to be a

Setting pom properties in mojo

2006-02-22 Thread Sachin Patel
How can I set a property in a mojo so that it is accessible in a pom? For example I have a dependency... dependency groupIdeclipse/groupId artifactIdorg.eclipse.wst.server.core/artifactId version${version}/version /dependency I have a mojo that needs to dynamically set the

RE: SPAM: Strange scp error

2006-02-22 Thread John Wells
Except we are using 2.0.2?!? John Wells (Aziz) [EMAIL PROTECTED] -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 22, 2006 4:09 AM To: Maven Users List Subject: Re: SPAM: Strange scp error What is your maven version? This problem was fixed

Maven2 plugin for validating XML?

2006-02-22 Thread Tim Dysinger
Is there such a thing? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Kees de Kooter
I have a _lot_ of dependencies in my POM. But nothing is appearing in my manifest. On 2/22/06, Mang Jun Lau [EMAIL PROTECTED] wrote: The addClasspath tag only adds a class-path entry to the manifest file if you have dependencies specified in your POM. _Mang Lau

Re: [m2] Secure Passwords in the settings.xml

2006-02-22 Thread Thomas Van de Velde
I found the issue in jira (http://jira.codehaus.org/browse/MNG-553) Is there a workaround for this so that we can at least use Maven for non automated builds? I've tried to pass a password on the command line using -Dpassword= and made the following change to settings.xml: server

Re: Maven2 plugin for validating XML?

2006-02-22 Thread Wayne Fay
Validating XML as in... Well formed test? XML data compiles with DTD test? XML schema complies with defined XSD test? another test? What **exactly** are you looking for? Wayne On 2/22/06, Tim Dysinger [EMAIL PROTECTED] wrote: Is there such a thing?

Check out from subversion with maven 2.0

2006-02-22 Thread thenew05
I have been following the book, Pragmatic Project Automation, Chapter 3. The recommendation a build process is: 1. Delete the last build 2. Check out the current project 3. Run the build Is there a maven 2.0 solution to checking out the code from the repository. I know I can have the

Re: Correct usage of addClasspath tag for maven-jar-plugin

2006-02-22 Thread Mang Jun Lau
I'm not really sure what's wrong. Your POM seems to be correct. Do you have dependencies that do not have a provided scope? These are excluded from the classpath. Otherwise I'm not sure what's wrong. Anyone else have any ideas? _Mang Lau Kees de Kooter [EMAIL PROTECTED] 02/22/2006

Re: Check out from subversion with maven 2.0

2006-02-22 Thread Emmanuel Venisse
mvn scm:checkout -DconnectionUrl=your_scm_url Emmanuel [EMAIL PROTECTED] a écrit : I have been following the book, Pragmatic Project Automation, Chapter 3. The recommendation a build process is: 1. Delete the last build 2. Check out the current project 3. Run the build Is there a maven

how to create web project for eclipse using maven eclipse plugin

2006-02-22 Thread Amit Khurana
Hi Guys I am using maven eclipse plugin to create projects compatible for eclipse. It works fine for simple java projects but not for web project. Running mvn eclipse:eclipse for web project creates following enteries in .project projectDescription namesearch-app/name comment/

[m2] Multi-project plugin inheritence

2006-02-22 Thread Matt McGill
I'm sure this has been answered before, and I apologize for not being able to find the solution on my own. The only information I was able to locate referred to [m1], and I am not familiar enough with either incarnation of maven to pick out what's useful. I have a mutli-project build,

Get system/environment variable into MOJO help

2006-02-22 Thread Thanh T.
Hi all, I was able to get the POM properties and project into mojo thanks to Dan Tran and Alexandre Poitras for the help. Now I couldn't get the environment variables into mojo. Here's my question where can I get a list parameter expression. For example if I want to pass in the project build

Re: [m2] Secure Passwords in the settings.xml

2006-02-22 Thread Brett Porter
System properties are not substituted into settings.xml at the moment. Depending on the protocol being used, you may be able to omit the password and be prompted for it (I think only scp supports this at the moment). - Brett On 2/23/06, Thomas Van de Velde [EMAIL PROTECTED] wrote: I found the

Re: [m2] ant tasks and SNAPSHOTs

2006-02-22 Thread Brett Porter
localCopy is because you've installed your own version which will be used until the version update is next forced. If it is updating the build number but still using the installed version, that is a bug to be filed. - Brett On 2/23/06, Christian Piccardi [EMAIL PROTECTED] wrote: Brett Porter

Re: tests are running 3 times when i generate my site

2006-02-22 Thread Brett Porter
On 2/22/06, David Sag [EMAIL PROTECTED] wrote: unfortunately cobertura is not working again as it now demands maven 2.0.3to run and breaks my builds. Sorry, that was the only way to resolve the issue. i was at home last night so had access to svn, checked out the latest maven2 from the

  1   2   >