[ANNOUNCE] fitnesse-maven-plugin 1.0-beta-1

2007-08-10 Thread Philippe Kernevez
Hi everyone, The fitnesse plugin team is pleased to announce the release of the 1.0-beta-1. http://mojo.codehaus.org/fitnesse-maven-plugin/index.html FitNesse is an acceptance testing framework and wiki. This plugin allows to run fitnesse during your build (re

Re: [m2] taglist question

2007-08-10 Thread Dennis Lundberg
You can use the Regexp module [1] like this: or the GenericIllegalRegexp [2] like this: Read more: [1] http://checkstyle.sourceforge.net/config_misc.html#Regexp [2] http://checkstyle.sourceforge.net/config_misc.html#GenericIllegalRegexp Mick Knutson wrote: I hav

Re: [m2] taglist question

2007-08-10 Thread Mick Knutson
I have checkstyle. How do I do it in Checkstyle? On 8/10/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > > Mick Knutson wrote: > > I want to get a tag list of all the System.out.println(...) statements > there > > are and I want it to show up as: > > > > > > System.out.println("some print stat

Re: [m2] taglist question

2007-08-10 Thread Dennis Lundberg
Mick Knutson wrote: I want to get a tag list of all the System.out.println(...) statements there are and I want it to show up as: System.out.println("some print statement); NOT: ("some print statement); What is the purpose of that? Do you want to avoid having System.out calls in your code?

[m2] taglist question

2007-08-10 Thread Mick Knutson
I want to get a tag list of all the System.out.println(...) statements there are and I want it to show up as: System.out.println("some print statement); NOT: ("some print statement); -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http:/

Re: What is the best way to consolidate the site from a multi-project project

2007-08-10 Thread ChuckC
Thanks. This works. dvicente wrote: > > yes you add this section in your root pom : > > > > loganalyzer.site > Maven Project Website > file:///C:\temp\site > > > > Maven nw knows where to d

Re: maven-ant-tasks-2.0.7 settings file read hangs at install-provider

2007-08-10 Thread Hervé BOUTEMY
Hi Mykel, Ok, I studied your case more deeply: you've just found a bug! :) For remote repositories defined in pom.xml, settings file is taken into account but not for remote repositories defined in build.xml... I filed a Jira issue, with a testcase and fix: http://jira.codehaus.org/browse/MANTT

Re: How to activate profile for certain packaging?

2007-08-10 Thread John Casey
Unfortunately, Maven 2.0.x doesn't support that particular type of profile activation. We're working on a feature in the trunk (2.1- SNAPSHOT, currently) that would allow you to bring in custom profile activators via build extensions, however. A custom activator could give you an avenue for

Re: Assembly plugin question

2007-08-10 Thread John Casey
I think this is *almost* right, and should work like a champ, though I haven't ever tried it either. What you'll need to do is have a project that looks like this: my-assembly-descriptor | +- pom.xml | +- src | +- main | +- resources | +- assembl

Re: Dependency project classes getting included in the resulting jar

2007-08-10 Thread Jörg Schaible
Farhan Sarwar wrote: > Hey Guys, > > > > Am experiencing a strange behavior, which I am not able to understand > why.Basically I have got two projects A and B where project A has a > dependency on the Project B, also I have a parent POM from which both > these projects are being inherited, the

Re: [ANNOUNCE] Archiva 1.0 Beta 1 Release

2007-08-10 Thread allan ramirez
thanks for this :) its been a while On 8/10/07, Maria Odea Ching <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta > 1. > > Archiva is a build artifact repository manager for use with build tools such > as Maven, Continuum an

Dependency project classes getting included in the resulting jar

2007-08-10 Thread Farhan Sarwar
Hey Guys, Am experiencing a strange behavior, which I am not able to understand why.Basically I have got two projects A and B where project A has a dependency on the Project B, also I have a parent POM from which both these projects are being inherited, the compilation and everything works fine

Documentation/Presentation Materials...

2007-08-10 Thread Andrew Close
hi all, we've done an informal presentation on Maven to one of the development teams here at work. they liked what they saw and our manager wants a 'more polished' presentation that we can give to the other development teams and upper management. does anyone out there already have a presentation

Re: maven-jar-plugin index=true ignoring files in META-INF/

2007-08-10 Thread Zarick Lau
On 8/10/07, Max Bowsher <[EMAIL PROTECTED]> wrote: > Zarick Lau wrote: > > Dear users and developers, > > > > I have a module with this files > > /src/main/resources/META-INF/persistence.xml > > /src/main/resources/log4j.xml > > > > In the pom, I have set true for the maven-jar-plugin > > After pac

Re: [m2] urgent issue with modules and sub-modules for initial builds

2007-08-10 Thread Tomislav Stojcevich
I'm having the same issue. Perhaps the cause is the same as whatever fixed http://jira.codehaus.org/browse/MNG-2434? Is anybody else experiencing this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Maven 2 documentation portion of the site is horribly broken

2007-08-10 Thread EJ Ciramella
U - any of the "jump-to-location-on-page" links are similarly broken. Thanks for the workaround, I'm looking forward to the real fix. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 12:13 PM To: Maven Users List Subject: Re: Maven 2 documen

Re: [m2] WHere can I find a list of all the standard maven properties?

2007-08-10 Thread Andrew Williams
If you want to reference resources from child builds you should make a shared jar to include these files and reference them through the classpath in child projects. Andy On 28 Jul 2007, at 23:25, Mick Knutson wrote: I am actually looking for something like ${project.home} as I have multip

Re: Trying to compile using jav 1.3 when I've 1.5

2007-08-10 Thread Thorsten Heit
Hi, When i try to user mvn compile I'm getting the following error, any help [INFO] [compiler:compile] [INFO] Compiling 127 source files to F:\build\cougar_common\target \classes [INFO] -- -- [ERROR] BUILD FAILURE [INFO]

Re: Maven 2 documentation portion of the site is horribly broken

2007-08-10 Thread Wayne Fay
Looks like the links are broken thanks to a recent update of the site. Fortunately, they are easy for you to fix in your browser until the site is updated again (hopefully *very* soon) with proper links. Let's take the jar plugin as an example: Current link is: http://maven.apache.org/plugins/inde

Re: Maven 2 documentation portion of the site is horribly broken

2007-08-10 Thread Wendy Smoak
On 8/10/07, EJ Ciramella <[EMAIL PROTECTED]> wrote: > Can someone please either enlighten me as to what I'm doing wrong or fix > the site? Almost 90% of the links anywhere don't work. Considering > this is the ONLY source for m2 documentation, this is a huge failure. > > http://maven.apache.org/p

Maven 2 documentation portion of the site is horribly broken

2007-08-10 Thread EJ Ciramella
Can someone please either enlighten me as to what I'm doing wrong or fix the site? Almost 90% of the links anywhere don't work. Considering this is the ONLY source for m2 documentation, this is a huge failure. http://maven.apache.org/plugins/index.html None of those links work anymore for me.

Re: maven-jar-plugin index=true ignoring files in META-INF/

2007-08-10 Thread Max Bowsher
Zarick Lau wrote: > Dear users and developers, > > I have a module with this files > /src/main/resources/META-INF/persistence.xml > /src/main/resources/log4j.xml > > In the pom, I have set true for the maven-jar-plugin > After package as a jar, the log4j.xml is listed but > META-INF/persistence.x

maven-jar-plugin index=true ignoring files in META-INF/

2007-08-10 Thread Zarick Lau
Dear users and developers, I have a module with this files /src/main/resources/META-INF/persistence.xml /src/main/resources/log4j.xml In the pom, I have set true for the maven-jar-plugin After package as a jar, the log4j.xml is listed but META-INF/persistence.xml is not listed in the "META-INF/IN

Re: properties

2007-08-10 Thread Eric Redmond
On 8/10/07, John Coleman <[EMAIL PROTECTED]> wrote: > > Hi, > > > > How do I return the value of the active profiles id as a property in my > pom.xml. Add a property to each profile with a specific property name (eg: Profile 'dev': dev Profile 'test': test How do I override the propert

RE: Continuum Emails

2007-08-10 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you for your help. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 2:50 AM To: [EMAIL PROTECTED] Subject: Re: Continuum Emails No. In conf/plexus.xml, you must have something like that:

Re: [1.1-beta-1] How does the XML-RPC API work?

2007-08-10 Thread Michael Meyer
Hi Emmanuel, works great. Thanks! Emmanuel Venisse wrote: 1) the url is http://server:8080/continuum/xmlrpc 2) you use an old version of the client, the one to use is: org.apache.maven.continuum continuum-xmlrpc-client 1.1-beta-1 and a sample client is available there: http://svn.apac

Re: How to activate profile for certain packaging?

2007-08-10 Thread Michael Meyer
Hi if you have access to the source code of the plugin you can do something like this: /** * The packaging of this project. * * @parameter expression="${project.packaging}" * @required * @readonly */ private String packaging; public void execute() throws

Re: How to activate profile for certain packaging?

2007-08-10 Thread Tim Kettler
You could create a war specific parent pom with the plugin execution defined. -Tim Gisbert Amm schrieb: Michael Meyer schrieb: Hi, does this work? project.packaging war Unfortunately not. I'll describe my problem more generally instead of asking how to fix my obviously wr

Re: Trying to compile using jav 1.3 when I've 1.5

2007-08-10 Thread Rodrigo Madera
Try this in your pom.xml: maven-compiler-plugin 1.6 1.6 Regards, Rodrigo On 8/10/07, Arun P Johny <[EMAIL PROTECTED]> wrote: > > Hi all, > > When i try

Re: Assembly plugin question

2007-08-10 Thread Adam
Is there any way to do it with a configuration like this by adding the plugin abd descriptor to a super POM and to have it inherit down without having to specify the assembly in each project. Right now this is in the super POM: maven-assem

Trying to compile using jav 1.3 when I've 1.5

2007-08-10 Thread Arun P Johny
Hi all, When i try to user mvn compile I'm getting the following error, any help [INFO] [compiler:compile] [INFO] Compiling 127 source files to F:\build\cougar_common\target\classes [INFO] [ERROR] BUILD FAILURE [INFO] --

Re: Tests fail (class not found) when running against non-standard local repository location

2007-08-10 Thread metabaron
I had a similar problem with maven-weblogic-plugin. Then I found out that it was a problem with the white spaces in Documents and Settings so I added something like this: ${HOMEDRIVE}/Docume~1/User/.m2/repository in the settings.xml and it worked perfectly. Wayne Fay wrote: > > I don't conside

Re: How to activate profile for certain packaging?

2007-08-10 Thread Gisbert Amm
Michael Meyer schrieb: Hi, does this work? project.packaging war Unfortunately not. I'll describe my problem more generally instead of asking how to fix my obviously wrong approach: I need to execute a specific, home grown deployment preparation plugin only for projects th

Re: Maven and Sun Java System Application Server

2007-08-10 Thread BISO
I used netbeans 5.5.1 and it gave me the same error message. now I am using glassfish v2 instead of sun application server and everything works fine. Thanks a lot Grog BISO Greg Morgan wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > BISO wrote: >> Dears, >> >> I am trying to

Re: Disable logins for continuum?

2007-08-10 Thread Jesse McConnell
if you are on the new 1.1 versions then just assign System Administrator to the Guest user and you should be good to go.. assign the Continuum Project Group Administrator to Guest as well jesse On 8/10/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > What is your version? > > Luke Matthews a

Re: [1.1-beta-1] How does the XML-RPC API work?

2007-08-10 Thread Emmanuel Venisse
1) the url is http://server:8080/continuum/xmlrpc 2) you use an old version of the client, the one to use is: org.apache.maven.continuum continuum-xmlrpc-client 1.1-beta-1 and a sample client is available there: http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-xmlrpc/cont

RE: [m2] project.version in multiple modules

2007-08-10 Thread Jörg Schaible
Hi Mick, Mick Knutson wrote on Saturday, July 28, 2007 11:30 PM: > I have over 50 modules in my project and they all have headers like: > > org.delta.esp.dap.c2.services > 1.0.0.0 > c2-ear > ear > > org.delta.esp.dap > c2 > 1.0.0.0 > > > > Now

[ANNOUNCE] Archiva 1.0 Beta 1 Release

2007-08-10 Thread Maria Odea Ching
Hi Everyone, The Maven Archiva team is pleased to announce the release of Archiva 1.0Beta 1. Archiva is a build artifact repository manager for use with build tools such as Maven, Continuum and Ant. It has features like repository search and browse, securing repositories, identifying unknown arti

Maven in Zurich

2007-08-10 Thread Jason van Zyl
For anyone in Zurich next week and interested in learning about Maven: http://blogs.sonatype.com/jvanzyl/2007/08/10/1186745448788.html Thanks, Jason -- Jason van Zyl Founder and PMC Chair, Apache Maven jason at sonatype dot com --

[1.1-beta-1] How does the XML-RPC API work?

2007-08-10 Thread Michael Meyer
Hi I'm using continuum-1.1-beta-1. And I would like to use the XML-RPC API to check the build state. When I run the following code I a get an exception stating that there were parsing errors: ProjectsReader pr = new ProjectsReader( new URL(http://server:8080/continuum) ); projects = pr.rea

Re: [m2] project.version in multiple modules

2007-08-10 Thread alexkli
Hi, I have the same problem. If you use the Maven release plugin (mvn release:prepare and mvn release:perform) it will ask you for each version number for the release and for the version number after the release. That makes it a bit easier, although he will ask you for each project, so you will h

Re: maven-clean-plugin: does true work for you?

2007-08-10 Thread Max Bowsher
Barrie Treloar wrote: > With mvn 2.0.7 and maven-clean-plugin:2.1.1 > > In my parent plugin > > > > > maven-clean-plugin > true > > > > logs > false > > >

Re: What is the best way to consolidate the site from a multi-project project

2007-08-10 Thread dvicente
yes you add this section in your root pom : loganalyzer.site Maven Project Website file:///C:\temp\site Maven nw knows where to deploy the site. after that, mvn site site:deploy a

Re: Building offline

2007-08-10 Thread Matthias Wessendorf
Hi, I am having troubles with mvn ... -o (with maven 2.0.7) says not able to download (but, really, the file is in my local repo) The dependency is a -SNAPSHOT (for what's worth) Luckily, when traveling by train, I had maven 2.0.4 on my box as well. A change to use 2.0.4 works fine. So, is this

properties

2007-08-10 Thread John Coleman
Hi, How do I return the value of the active profiles id as a property in my pom.xml. How do I override the property values in profiles.xml on a per user basis? I thought I could put them in ${user.home}/build.properties, but that seems not to work?! TIA John Eurobase International Li

Re: [maven-antrun-plugin] How can we set the maven.plugin.classpath ?

2007-08-10 Thread Gerald Reinhart
Hi, In fact i didn't tell you all the truth :) : In order to make a generic behavior of my modules, I built pom parent with: // org.apache.maven.plugins maven-antrun-plugin sun tools 1.0 system

Re: [maven-antrun-plugin] How can we set the maven.plugin.classpath ?

2007-08-10 Thread Tim Kettler
Hi, just tested with this pom: 4.0.0 my-test-app my-test-group 1.0-SNAPSHOT org.apache.maven.plugins maven-antrun-plugin org.apache.ant ant-junit 1.7.0

[maven-antrun-plugin] How can we set the maven.plugin.classpath ?

2007-08-10 Thread Gex Dev
Hi, I'm using maven-antrun-plugin in order to call specific ant targets those ant targets needs a specific jar on the ant classpath. I don't understand how works the maven.plugin.classpath ( http://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html) in this plugin : - is it

Re: How to define as to which phase the goal is to be executed

2007-08-10 Thread Insitu
"Farhan Sarwar" <[EMAIL PROTECTED]> writes: > Another quick question, Where to define/configure as to which phase the > Mojo/goal is to be executed, so far with what I have read it seems that it's > the Mojo class file which has this annotation for @phase (at class level) to > tell MAVEN about the

Re: Assembly plugin question

2007-08-10 Thread Tim Kettler
Hi, -- Beware: Untested Instructions -- :-) I. Create a new project, put the assembly descriptors you want to have available across projects in 'src/resources/assemblies' and install/deploy the artifact to your local/internal repository. II. In your projects configure the plugin like this:

Re: How to check for goals in each phase

2007-08-10 Thread Insitu
"Farhan Sarwar" <[EMAIL PROTECTED]> writes: > Hey guys, > > > > Wanted to know if there is a way to determine the goals configured to be > executed in each of life-cycle phases? > > Hello, Maybe this link can answer your questions. Look also in sonatype's and devzuz's books: http://maven.ap