Re: m2 DocBook Directory

2006-03-19 Thread Wilfred Springer
Hi Brett, I ran the command that you requested; here are the results: [INFO] [INFO] Building Blammo Logging [INFO]task-segment: [help:describe] (aggregator-style) [INFO] --

Re: Maven 2 and java 1.5 Annotations

2006-03-19 Thread Gianfranco Oldani
Hello Subhash, Thanks a lot it works. You have probably more experience than me with JUnit 4 and maven. I would ask you another question. I have written my test class as described in the cookbook (for 4.0) by Kent Beck, Erich Gamma on the JUnit web site but I have still to prefix all my testing

Re: javancss-maven-plugin - Exception

2006-03-19 Thread Subhash Chandran
Adding it to my dependency will not work. My application compile classpath will not be available to the javancss plugin. Yes, I can add it to the javancss maven plugin pom.xml. But if the same is done by the maintainers of javancss maven plugin, it will benefit all. While writing this mail, I sear

Re: how to instal internal repository?

2006-03-19 Thread Wendy Smoak
On 3/19/06, Devraj Brahmachari <[EMAIL PROTECTED]> wrote: > i tried doing that by writing the contents in settings.xml as an element > nested within the settings element...but the error message says > > Error reading settings.xml: Unrecognised tag: 'repositories' (position: > START_TA > G seen ...

Re: how to instal internal repository?

2006-03-19 Thread Alexandre Poitras
I don't think you can send attachment on this list. Anyway, my guess is that you didn't use a profile (you have to when you specify it in settings.xml). Just put the ... entry in your project pom.xmland everything should work fine. On 3/19/06, Devraj Brahmachari <[EMAIL PROTECTED]> wrote: > > > he

Re: how to instal internal repository?

2006-03-19 Thread Devraj Brahmachari
hello... attched is the settings.xml file..pls advise where is the error... DEVRAJ BRAHMACHARI Center of Excellence - SOA South Block L&T Infotech Powai Mumbai "Alexandre Poitras" <[EMAIL PROTECTED]> 03/20/2006 09:43 AM Please respond to "Maven Users List" To "Maven Users Li

Re: how to instal internal repository?

2006-03-19 Thread Alexandre Poitras
Please post the problematic section of your settings.xml or we can't really help you. On 3/19/06, Devraj Brahmachari <[EMAIL PROTECTED]> wrote: > hi > i tried doing that by writing the contents in settings.xml as an element > nested within the settings element...but the error message says > > Erro

Re: java.lang.NoSuchMethodException - org.apache.maven.surefire.Runner

2006-03-19 Thread A S Praj
Hi Wayne, As I said earlier am new Maven 2, as well as Build and Packaging java files, am exploring Maven 2 directly and downloading some Opensource files from net and trying to build it. In that way, I have taken some Source and trying to build it. With that Opensource there where some build

RE: how to instal internal repository?

2006-03-19 Thread Devraj Brahmachari
hi i tried doing that by writing the contents in settings.xml as an element nested within the settings element...but the error message says Error reading settings.xml: Unrecognised tag: 'repositories' (position: START_TA G seen ...\r\n\t\r\n\r\n\t... @35:16) Line: 35 Column: 16 pls advi

Re: Javadoc plugin reads SCCS directories?

2006-03-19 Thread Maria Odea Ching
Hi Serge, Try this one and see if it works: *.SCCS.* Thanks, Odea Sergei Dubov wrote: Hi guys, It is turning a bit into a struggle... Javadoc pluging allows stupid javadoc to browse through SCCS directories. How do I make it stop doing that? **/SCCS/** does not work. Thanks, Serge -

Re: changelog-maven-plugin - range configuration not working as expected

2006-03-19 Thread allan ramirez
Or maybe you build it from source. -allan On 3/20/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote: > > Which version of the plugin are you using? > > I've tried your configuration on the latest SNAPSHOT plugin and it does > generate the report 90days prior. > > Try the latest from svn or wait for it

Re: changelog-maven-plugin - range configuration not working as expected

2006-03-19 Thread Edwin Punzalan
Which version of the plugin are you using? I've tried your configuration on the latest SNAPSHOT plugin and it does generate the report 90days prior. Try the latest from svn or wait for it to be released. To test the latest from svn, please see: http://maven.apache.org/guides/development/guid

Re: javancss-maven-plugin - Exception

2006-03-19 Thread Wayne Fay
add jaxen as a dependency to your pom or directly to the plugin itself jaxen jaxen 1.1-beta-8 compile Wayne On 3/19/06, Subhash Chandran <[EMAIL PROTECTED]> wrote: > My pom.xml has: > > > org.codehaus.mojo > javancss-maven-plugin > 2

Re: Need help with , , etc.

2006-03-19 Thread Howard Lewis Ship
When you get a chance, you can pull the latest HiveMind source from SVN and build and experiment. On 3/19/06, Brett Porter <[EMAIL PROTECTED]> wrote: > On 3/20/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > Does true mean skip the normal mojo? I can't quite track > > why one is false, the

Re: [M2] surefire

2006-03-19 Thread Alexandre Poitras
No, didn't think about it. I knew there was a way :) Thank! On 3/19/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: > On 3/20/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > Am I the only one who find it very annyoing the fact that Surefire try > > to construct every classes on the src/test/jav

Re: DESPERATE: JBoss EJB3 embeddable container fails under surefire?

2006-03-19 Thread Chris Richardson
Dan, I also had a problem using maven2 to run the EJB3/JBoss microcontainer tests for the example from my book. It got this error: Caused by: java.net.MalformedURLException: no protocol: and at java.net.URL.(URL.java:567) at java.net.URL.(URL.java:464) at java.net.URL.

Re: Need help with , , etc.

2006-03-19 Thread Brett Porter
On 3/20/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Does true mean skip the normal mojo? I can't quite track > why one is false, the other true. It's a gross hack to work around it. The test mojo takes a skip parameter to honour -Dmaven.test.skip=true. So, in this definition, the default

Re: Need help with , , etc.

2006-03-19 Thread Howard Lewis Ship
I On 3/19/06, Brett Porter <[EMAIL PROTECTED]> wrote: > Hi Howard, > > I answered this question for you here: > http://mail-archives.apache.org/mod_mbox/maven-users/200511.mbox/[EMAIL > PROTECTED] true 1.3 1.3 false 1.5 1.5 test-compile

Re: MAVEN_OPTS - Is there a overview page

2006-03-19 Thread Gunther Popp
Right, user.language and user.country are used by the Java Locale class (which is part of the JDK and hence not specific to maven. For details, take a look at http://java.sun.com/j2se/1.5.0/docs/api/java/util/Locale.html. CU, Gunther Andreas Guther schrieb: I see. Something like "MAVEN_OPT

Re: m2 DocBook Directory

2006-03-19 Thread Brett Porter
what version of the site plugin? mvn help:describe -Dplugin=site what version was it working in before? Cheers, Brett On 3/20/06, Wilfred Springer <[EMAIL PROTECTED]> wrote: > Hi all, > > AFAIK, in the past I was able to make sure that the doxia DocBook > support kicked in by placing files in s

Re: Need help with , , etc.

2006-03-19 Thread Brett Porter
Hi Howard, I answered this question for you here: http://mail-archives.apache.org/mod_mbox/maven-users/200511.mbox/[EMAIL PROTECTED] I filed: http://jira.codehaus.org/browse/MCOMPILER-15 as a result. You might like to watch/vote for it. It should be something we are able to support properly, but

RE: Checkstyle plugin

2006-03-19 Thread Andreas Guther
If this is an issue it might be worth voting for it to get it resolved. Andreas -Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Thursday, March 16, 2006 11:06 AM To: Maven Users List Subject: Re: Checkstyle plugin The second site was generated with maven 1. The m1

Re: [M2] surefire

2006-03-19 Thread Barrie Treloar
On 3/20/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > Am I the only one who find it very annyoing the fact that Surefire try > to construct every classes on the src/test/java path even when they > aren't test case or suit? The problem with this approach is that I > can't put my stub implementa

Re: DESPERATE: JBoss EJB3 embeddable container fails under surefire?

2006-03-19 Thread Jacek Laskowski
2006/3/19, Dan Greening <[EMAIL PROTECTED]>: > I am pulling my hair out. Before you lose all your hair, could you share what exception/error message you're getting? I haven't used JBoss and M2, but I don't think it really matters. Jacek -- Jacek Laskowski http://www.laskowski.org.pl ---

DESPERATE: JBoss EJB3 embeddable container fails under surefire?

2006-03-19 Thread Dan Greening
I am pulling my hair out. If you have gotten maven2 surefire plugin (or anything else) to initiate a JBoss EJB3 embeddable container, I am desperate for your POM. I am trying very hard to get the JBoss EJB3 embeddable container to operate under the surefire-plugin, under the test phase. I

[M2] changelog-plugin dependency on netbeans has moved!

2006-03-19 Thread Andreas Guther
I am currently trying to get the changelog plug-in to work. org.codehaus.mojo changelog-maven-plugin I get an error message while maven 2 tries to download the netbeans dependency file as displayed in the following. Any ideas how to solve that problem? Thanks in advance, Andreas [INFO] snaps

Re: Need help with , , etc.

2006-03-19 Thread Howard Lewis Ship
OK, moving the element from the parent POM to the module POM fixes things; it works as expected. So my question is: How can I set this behavior in the parent POM? On 3/19/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > OK, I'm getting very twisted up on configuration. > > I want to compile m

[m2] How to get the plugin's root path

2006-03-19 Thread Adrian Herscu
Hi all, I am writing an ANT-based plugin which needs to validate a set of XML files. I would like to have the schema files packaged inside the plugin JAR and wondered how to reference those files. Please help, Adrian. - To unsu

RE: MAVEN_OPTS - Is there a overview page

2006-03-19 Thread Andreas Guther
I found this thread that explains a little bit more about the MAVEN_OPTS settings: Andreas -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Sunday, March 19, 2006 9:19 AM To:

Need help with , , etc.

2006-03-19 Thread Howard Lewis Ship
OK, I'm getting very twisted up on configuration. I want to compile my production code for JDK 1.3, and my test code for JDK 1.5. As I understand it, the following should do that: org.apache.maven.plugins maven-compiler-plugin

Re: Maven 2 and java 1.5 Annotations

2006-03-19 Thread Wendy Smoak
On 3/19/06, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > Hi all, > I use maven 2 and it need to compile sources with annotations (JUnit 4.0 > annotations) and I get always this message: > > notations are not supported in -source 1.3 > (try -source 1.5 to enable annotations) > @Before public v

Re: Maven 2 and java 1.5 Annotations

2006-03-19 Thread Subhash Chandran
Your pom.xml: ... org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 ... ... And verify that in ur PATH environment variable u have JDK 1.5 bin folder.

Re: MVN and JUnit 4.0

2006-03-19 Thread Gianfranco Oldani
Hi Kaare, Thanks a lot for your answer. But I currently not use Eclipse and its a problem related to the compilation of annotated source in the maven 2 build process. DO I miss something in your answer? Regards Gianfranco OLDANI Mob: +41787330350 Web: www.gfoldani.com Original Message

Maven 2 and java 1.5 Annotations

2006-03-19 Thread Gianfranco Oldani
Hi all, I use maven 2 and it need to compile sources with annotations (JUnit 4.0 annotations) and I get always this message: notations are not supported in -source 1.3 (try -source 1.5 to enable annotations) @Before public void setUp() I use JDK 1.5.0_04. Somebody can help? Thanks for help

javancss-maven-plugin - Exception

2006-03-19 Thread Subhash Chandran
My pom.xml has: org.codehaus.mojo javancss-maven-plugin 2.0-alpha1-SNAPSHOT I get this Exception when running this report: [INFO] Generate "JavaNCSS Report" report. [INFO] [ERROR] FATAL E

[m2] problem w/ antcall in ANT-based mojo

2006-03-19 Thread Adrian Herscu
Hi all, When using antcall in an ANT-based mojo the build fails with [ERROR] BUILD ERROR [INFO] - --- [INFO] Failed to execute: Executing Ant script: /my/plugin/path/mymojo.build.xml [my-target]: Failed to execute. my/projec

Re: [M2] Maven Generated Reports

2006-03-19 Thread Boris Lenzinger
I have a working setup for jdepend. Here are my sections: org.codehaus.mojo jdepend-maven-plugin 2.0-beta-1-SNAPSHOT central Maven Plugin Repository http://repo1.maven.org/maven2 default false never

RE: [M2] Maven Generated Reports

2006-03-19 Thread Andreas Guther
Found it: http://mojo.codehaus.org/using-sandbox-plugins.html -Original Message- From: Andreas Guther Sent: Sunday, March 19, 2006 9:40 AM To: Maven Users List Subject: RE: [M2] Maven Generated Reports Wayne, What are your setting for plugin repositories to get the jdepend plugin?

RE: MAVEN_OPTS - Is there a overview page

2006-03-19 Thread Andreas Guther
I see. Something like "MAVEN_OPTS=-Duser.language=en -Duser.country=US" would also not be Maven specific, I suppose. I saw this in another thread. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Sunday, March 19, 2006 9:19 AM To: Maven Users List Subject: Re: MAVE

RE: [M2] Maven Generated Reports

2006-03-19 Thread Andreas Guther
Run, Thanks for asking! I only had time this morning to read the thread. Right now I am fighting against memory problems with generating javadoc from over 2200 classes. :( This is a very informative thread about reports etc. Thanks for all the input! Andreas -Original Message- From:

RE: [M2] Maven Generated Reports

2006-03-19 Thread Andreas Guther
Wayne, What are your setting for plugin repositories to get the jdepend plugin? Andreas Guther www.markettools.com Ph. (415) 462-2092 -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Saturday, March 18, 2006 7:54 PM To: Maven Users List Subject: Re: [M2] Maven Generat

[M2] surefire

2006-03-19 Thread Alexandre Poitras
Am I the only one who find it very annyoing the fact that Surefire try to construct every classes on the src/test/java path even when they aren't test case or suit? The problem with this approach is that I can't put my stub implementations of abstract classes there unless they have a default constr

Re: [M2] Maven Generated Reports

2006-03-19 Thread Rune Flobakk
Worked like a charm here too! Thanks! And the reports are more nice-looking than the jcoverage reports I got in my Maven 1 projects. Yep, you are correct Boris, I'm from Norway. Was just kidding around about the German/Swedish/European decimal number thingie, Hope no one took it seriously :)

Re: MAVEN_OPTS - Is there a overview page

2006-03-19 Thread Wendy Smoak
On 3/19/06, Andreas Guther <[EMAIL PROTECTED]> wrote: > So far I could not find a page that lists all available options that can > be set with MAVEN_OPTS and I wonder if such one exists. These aren't Maven specific, they're just the normal JVM options that you can see with: java -X Look in m

MAVEN_OPTS - Is there a overview page

2006-03-19 Thread Andreas Guther
Here is another information hunter problem: The MAVEN_OPTS environment variable often works wonders, for example increasing the memory for a huge code base finally helped me getting my build done. So far I could not find a page that lists all available options that can be set with MAVEN_OPTS and

m2 DocBook Directory

2006-03-19 Thread Wilfred Springer
Hi all, AFAIK, in the past I was able to make sure that the doxia DocBook support kicked in by placing files in src/site/docbook, but nothing is happening now. I'm not even sure if DocBook support is invoked at all. Any clues? Thanks

Re: [M2] Maven Generated Reports

2006-03-19 Thread Subhash Chandran
Thanks for the cobertura tip! It works like a magic!! I had spent so much time trying to make it work for me! Regards, Subhash. On 3/19/06, Boris Lenzinger <[EMAIL PROTECTED]> wrote: > > I Use cobertura plugin with Maven 2 and it works fine. > > > org.codehaus.mojo > cobert

Re: [M2] Maven Generated Reports

2006-03-19 Thread Boris Lenzinger
I Use cobertura plugin with Maven 2 and it works fine. org.codehaus.mojo cobertura-maven-plugin 2.0-20060130.214008-3 (I had to add this in the pluginRepositories section): CodeHaus http://snapshots.maven.codehaus.org/maven2 default

Re: MVN and JUnit 4.0

2006-03-19 Thread Kaare Nilsen
Hi.. There could possibly be more than one way of doing this, but the solution in this blog : http://jroller.com/page/eu?entry=running_junit_4_test_cases would at least work /Kaare On 17/03/06, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > Hello, > Somebody can help me to make maven 2 run with