Re: [m2] surefire questions/remarks

2006-05-30 Thread Wim Deblauwe
Hi Brett, maybe I did not use the correct terms, I ment to say "the default classloader" and not the "default classloading mechanism". It is just a bit frustrating, because I really want to change to Maven 2 because of all the goodies in there, but if I can't run my unit tests, then I can't chang

Re: m2: renaming file before including in jar

2006-05-30 Thread Trygve Laugstøl
Jacob Hoeflaken wrote: Thanx. This certainly helps. But just curious: The complete scenario is like this: We've developed a web application which contains a spring.properties property file. The properties in this file differ depending on the type of build (test, production) and the phase (test,

Re: m2: renaming file before including in jar

2006-05-30 Thread Edwin Punzalan
There is a goal in jar plugin -> test-jar which creates the jar for your tests. You can use that as a dependency for your integration tests you need only put the classifier test in declaring it as a dependency. Jacob Hoeflaken wrote: Thanx. This certainly helps. But just curious: The

[M2] Dashboard functionality

2006-05-30 Thread Rik Bosman
To All, My company is currently selecting a tool for comparing the various deliverables of the codebase for some projects delivered from India. Currently I run reports on the codebase of these projects using Maven, (pmd, simian, checkstyle, etc. ). Might be very handy to compare the results usin

Source/Javadoc Artifact?

2006-05-30 Thread Stefan Arentz
Is there a standard for a source code or javadoc artifact? The reason I'm asking is that I use the idea plugin to generate an IDEA project. That works great, it nicely adds all the dependencies to the IDEA project so you are ready to go without having to do any extra configuration. One thing tha

Re: [maven2] Generating several artifacts per project ?

2006-05-30 Thread sol myr
Thanks very much for all those useful replies :) - Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.

Re: Source/Javadoc Artifact?

2006-05-30 Thread Jorg Heymans
This works out of the box for the eclipse plugin, you just do mvn eclipse:eclipse -DdownloadSources=true , perhaps the idea plugin has a similar switch ? On 5/30/06, Stefan Arentz <[EMAIL PROTECTED]> wrote: Is there a standard for a source code or javadoc artifact? The reason I'm asking is t

Mail notification

2006-05-30 Thread -- jarl
Did I miss out something, or isnt it possible to configure Maven/Continuum to send notifications only to developers that have checked in something since last successful build? -jarl -- View this message in context: http://www.nabble.com/Mail+notification-t1703634.html#a4624072 Sent from the Co

Re: Source/Javadoc Artifact?

2006-05-30 Thread Trygve Laugstøl
Jorg Heymans wrote: This works out of the box for the eclipse plugin, you just do mvn eclipse:eclipse -DdownloadSources=true , perhaps the idea plugin has a similar switch ? This should work for the latest IDEA plugin sources too, but I don't remember right now it has been released. -- Trygv

Re: Mail notification

2006-05-30 Thread Emmanuel Venisse
It isn't possible actually and I'm not sure it's a good idea to send a notification to latest committers because an error can be the result of a change in a dependency and not an error in the commit. Emmanuel -- jarl a écrit : Did I miss out something, or isnt it possible to configure Maven/C

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-30 Thread Chandrika
Thanks for your reply... I m able to invoke ant form maven:))) -- View this message in context: http://www.nabble.com/Unable+to+locate+local+repository+in+Mac-OSX-t1698478.html#a4625037 Sent from the Maven - Users forum at Nabble.com.

Re: m2: renaming file before including in jar

2006-05-30 Thread Jacob Hoeflaken
Thanx all. I think I can get this working now. -- View this message in context: http://www.nabble.com/m2%3A+renaming+file+before+including+in+jar-t1699650.html#a4625234 Sent from the Maven - Users forum at Nabble.com. - To unsu

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-30 Thread Leo L
Hi Chandrika and Kennye! I have the same problem and your conversation helps a lot, but any of you has a build.xml and a pom.xml configuration to deploy an application So i can see how to deploy my app.. Regards, Leo 2006/5/30, Chandrika <[EMAIL PROTECTED]>: Thanks for your reply... I

Re: confirm unsubscribe from users@maven.apache.org

2006-05-30 Thread viking
> Hi! This is the ezmlm program. I'm managing the > users@maven.apache.org mailing list. > > I'm working for my owner, who can be reached > at [EMAIL PROTECTED] > > To confirm that you would like > >[EMAIL PROTECTED] > > removed from the users mailing list, please send an empty reply > to this

RE: [M2] Dashboard functionality

2006-05-30 Thread Vincent Massol
Hi Rik, We implemented this in the dashboard for maven1. However this does not exist for m2 yet. There are some thought on this on http://docs.codehaus.org/display/MAVEN/Maven+Dashboard (I've put a diagram of how I would view an architecture for this). I don't think much work has been done on th

Getting Started / Problem with plugin

2006-05-30 Thread Francois Vandewalle
I am using the "Getting Started" tutorial and have a problem when I type the following: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app Can somebody help me? I get the following: [INFO] Scanning for projects... [INFO]

Re: Getting Started / Problem with plugin

2006-05-30 Thread ben short
Hi, I just tried it and to works ok for me. Try mvn -e archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app Also, are you behind a proxy? Can you see http://repo.mergere.com/maven2/ in your browser? Ben On 5/30/06, Francois Vandewalle <[EMAIL PROTECTED]> wrote: I am using the "

javadoc 2.0 plugin: doc-files/* not being copied!

2006-05-30 Thread Rob Dickens
Dear Maven Users, I'm finding that they only get copied if the project involves modules, and aggregate is set to true. Has anyone got this to work in a project which doesn't involve modules? Thanks, Rob ps Have checked http://jira.codehaus.org/browse/MJAVADOC but no such issue has been r

M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
Hello, How do i set the classpath used during compile without using dependencies (which in my understanding involves copying the jars to the local repository, writing poms ...)? As an example lets say my sources use functionality from C:\Programme\Saxon\saxon8.jar. Thanks for help Franz

Re: Source/Javadoc Artifact?

2006-05-30 Thread Jamie Bisotti
On 5/30/06, Trygve Laugstøl <[EMAIL PROTECTED]> wrote: Jorg Heymans wrote: > This works out of the box for the eclipse plugin, you just do > mvn eclipse:eclipse -DdownloadSources=true , perhaps the idea plugin has a > similar switch ? This should work for the latest IDEA plugin sources too, but

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Milos Kleint
"you don't" could be a short answer. maven is based round dependencies and repositories, if you don't see a point in using them, you probably don't want to use maven. regards. Milos Kleint On 5/30/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: Hello, How do i set the classpath used during co

M2 - Including custom application.xml in EAR file

2006-05-30 Thread Guillaume Bilodeau
Hi all, Since Maven 2.0 doesn't support application.xml generation for the J2EE 1.2 specification (I understand, this is 2006 after all), I'm trying to include a custom-built application.xml file in my EAR but with no success. I'm using a project with multiple modules following a flat directory

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
Perhaps my question was a bit misleading, what i meant is this: I do not want to disregard the dependencies or the repository, i only want to add some jars not in the repository to my compile classpath. Greetings Franz Milos Kleint schrieb: "you don't" could be a short answer. maven is base

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Milos Kleint
2 option there then: 1. use the install:install-file goal to upload the file to the local repository 2. declare the dependency with scope system and put the absolute path to the jar there.. both have impact on reproducibility of your build though.. Milos On 5/30/06, Franz Fehringer <[EMAIL PRO

Maven 1.0.2 Junit problem

2006-05-30 Thread Matt Campbell
When running maven test goal, i receive the following errors. Has anyone had this problem or know how to solve this problem. The tests work fine when ran from ant 1.6.5. build:start: console: console:help: java:prepare-filesystem: java:compile: [echo] Compiling to build/classes java:jar-resour

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread ben short
You should add the jars to your local repos. http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html On 5/30/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: Perhaps my question was a bit misleading, what i meant is this: I do not want to disregard the dependencies or the reposit

Rar Plugin and dependencies

2006-05-30 Thread Carsten Karkola
Hallo, I have some subprojects with rar specified. There are some dependencies specified, that need to be included in the ear. I'd like to include these dependencies (like axis) only once in the ear and not in every rar archive. This way works fine with ejb archives. But with rar archives I get

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
Thanks Franz Milos Kleint schrieb: 2 option there then: 1. use the install:install-file goal to upload the file to the local repository 2. declare the dependency with scope system and put the absolute path to the jar there.. both have impact on reproducibility of your build though.. Milos

Re: Getting Started / Problem with plugin

2006-05-30 Thread Francois Vandewalle
Hello Ben, first of all, thank you for helping me! I am behind a proxy and I am not able to open the link in my browser. When I try the line you suggest, I get the following: + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: '

Re: Getting Started / Problem with plugin

2006-05-30 Thread ben short
I should of mentioned that the -e will print stack traces. this might help you diagnose the problem. Ben On 5/30/06, ben short <[EMAIL PROTECTED]> wrote: Hi, I just tried it and to works ok for me. Try mvn -e archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app Also, are you behi

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Piéroni Raphaël
The option 1 is the better as you can also use deploy:deploy-file (or similar) on your internal (enterprise) repository Raphaël 2006/5/30, Milos Kleint <[EMAIL PROTECTED]>: 2 option there then: 1. use the install:install-file goal to upload the file to the local repository 2. declare the depe

RE: Maven2, AspectJ and Clover

2006-05-30 Thread Vincent Massol
Hi Roland, I don't see a problem unless you're using aspectj on bytecode and you wish to have the aspectified code to be under Clover. This won't be possible as Clover works on source code. The Clover plugin will automatically generate a parallel build tree and modify the maven source path so tha

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
Which xml tag contains the absolute path i.e. what have i to substitute in C:\Programme\Saxon\saxon8.jar for xmltag? Greetings Franz Milos Kleint schrieb: 2 option there then: 1. use the install:install-file goal to upload the file to the local repository 2. declare the dependency with sc

Re: attach mojo plugin to the build lifecycle

2006-05-30 Thread cristal
Very nice, Edwin. It works in the way I wanted. This is the answer I've been looking for. Thanks very much. -- View this message in context: http://www.nabble.com/attach+mojo+plugin+to+the+build+lifecycle-t1682566.html#a4627843 Sent from the Maven - Users forum at Nabble.com. ---

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
Thanks for advice. What is meant by packaging i.e. what would be a sensible setting in -Dpackaging= ? Greetings Franz ben short schrieb: You should add the jars to your local repos. http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html On 5/30/06, Franz Fehringer <[EMAIL P

Re: Getting Started / Problem with plugin

2006-05-30 Thread ben short
François, Take a look at you settings.xml, there should be a bit in there that you need to uncomment and configure to make maven use a proxy. optional true http proxyuser proxypass proxy.host.net 80 local.net,some.host.com Ben On 5/30/06, Francois V

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Roland Asmann
Is it a .jar-file? Then make it 'jar'! :-) On Tuesday 30 May 2006 16:23, Franz Fehringer wrote: > Thanks for advice. > What is meant by packaging i.e. what would be a sensible setting in > -Dpackaging= ? > > Greetings > > Franz > > ben short schrieb: > > You should add the jars to your local rep

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Franz Fehringer
Thanks Franz Roland Asmann schrieb: Is it a .jar-file? Then make it 'jar'! :-) On Tuesday 30 May 2006 16:23, Franz Fehringer wrote: Thanks for advice. What is meant by packaging i.e. what would be a sensible setting in -Dpackaging= ? Greetings Franz ben short schrieb:

RE: Maven2, AspectJ and Clover

2006-05-30 Thread Roland Asmann
Hi Vincent, Indeed running AspectJ AFTER Clover works. I'm using that for now, so that I at least have SOME Clover data. The thing I would like though, is to run AspectJ BEFORE Clover runs, so I also have Clover data on the AspectJ-sources! As I see it, there are 2 ways to do this: 1) AspectJ w

maven Website - I'm struggling getting the information I seek

2006-05-30 Thread Marc Weber
Hello I'm using mvn for 2 month now and I'm till struggling finding the finding the documentation on the maven.apache.org website. An example: I was looking for the filename of the user profile setting file (settings.xml) .. I got this two pages using google and menu: http://maven.apache.org/mav

Multiproject Site

2006-05-30 Thread Aaron Freeman
I have a multi-module project that I am trying to deploy the site for. When I run the site-deploy command it generates all the project sites and looks like it is copying all the sites out the the web server, but it actually only copies the parent project site and none of the sub-project sites. It

Re: M2 compile classpath (FAQ?)

2006-05-30 Thread Wayne Fay
Search user list for systemPath and you're bound to find numerous examples of system scoped dependency declarations from pom files. Wayne On 5/30/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: Which xml tag contains the absolute path i.e. what have i to substitute in C:\Programme\Saxon\saxon8.

Re: M2 - Including custom application.xml in EAR file

2006-05-30 Thread Wayne Fay
Hi GB, Here's how my EAR is configured; the application.xml is properly included. File located here: ProjectEAR\src\main\resources\META-INF\application.xml pom.xml: org.apache.maven.plugins maven-ear-plugin true

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-30 Thread Wayne Fay
I don't know what app servers you guys are running, but we have discussed most of them on this list at some point I'm sure, esp JBoss, Tomcat, etc. Search the Maven User list archive at Nabble for "deploy " and you're bound to find examples. Wayne On 5/30/06, Leo L <[EMAIL PROTECTED]> wrote: H

RE: Multiproject Site

2006-05-30 Thread Pauquette, Bryan
What version of maven are you using? -Original Message- From: Aaron Freeman [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 10:59 AM To: Maven Subject: Multiproject Site I have a multi-module project that I am trying to deploy the site for. When I run the site-deploy command it ge

Re: Default goals with maven 2

2006-05-30 Thread Richard Wallace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emmanuel Venisse wrote: > I'm agree with Andreas, but if you want to change it, you'll need to do > it in each project in project screen. > > Emmanuel > > Andreas Guther a écrit : >> I am not so sure if having a "clean deploy" in an automated build i

Re: Rar Plugin and dependencies

2006-05-30 Thread Wayne Fay
I can't tell if you're running M2 or M1... But in M2, to exclude a dependency from being included in a package, we use the provided tag to override the default "compile" scope. Provided tells the packager that this dependency/artifact/library will be provided by the app server etc, and so it does

Re: Multiproject Site

2006-05-30 Thread Aaron Freeman
I'm using Maven 2. I saw that there was a multiproject:site-deploy for Maven 1, but I didn't see a similar thing for Maven 2. On 5/30/06, Pauquette, Bryan <[EMAIL PROTECTED]> wrote: What version of maven are you using? -Original Message- From: Aaron Freeman [mailto:[EMAIL PROTECTED] Se

Re: Maven 1.0.2 Junit problem

2006-05-30 Thread Lukas Theussl
You need to add ant-optional to your dependencies. HTH, -Lukas Matt Campbell wrote: When running maven test goal, i receive the following errors. Has anyone had this problem or know how to solve this problem. The tests work fine when ran from ant 1.6.5. -

RE: Multiproject Site

2006-05-30 Thread Pauquette, Bryan
If its not 2.0 > then the command is maven multiproject:site -Original Message- From: Pauquette, Bryan Sent: Tuesday, May 30, 2006 11:15 AM To: Maven Users List Subject: RE: Multiproject Site What version of maven are you using? -Original Message- From: Aaron Freeman [mailto:

RE: [M2] questions about migrating to maven

2006-05-30 Thread Carlos.Fernandez
Carlos, --> re FILTERING PROPERTIES FILES FOR ENVIRONMENTS My suggestion is to externalie that configuration options in a way that your artifact is always the same, and only configuration changes. You can do reading your config files from the classpath or better using JNDI.

Re: [M2] questions about migrating to maven

2006-05-30 Thread Craig McDaniel
On 5/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Carlos, --> re FILTERING PROPERTIES FILES FOR ENVIRONMENTS My suggestion is to externalie that configuration options in a way that your artifact is always the same, and only configuration changes. You can do reading your config files from

Re: Maven 1.0.2 Junit problem

2006-05-30 Thread Matt Campbell
which version of ant optional should i be using. The most recent version in ibibio is 1.5 On 5/30/06, Lukas Theussl <[EMAIL PROTECTED]> wrote: You need to add ant-optional to your dependencies. HTH, -Lukas Matt Campbell wrote: > When running maven test goal, i receive the following errors. >

Re: Rar Plugin and dependencies - (MVN 2.0.4)

2006-05-30 Thread Carsten Karkola
If I use "provided" the dependencies will never be included, my problem is 1. projects: rar1: dependency to my-jar rar2: dependency to my-jar ejb1: dependency to my-jar ear: dependency to rar1, rar2 2. inside the ear: ejb1.jar rar1.rar rar2.rar lib/my-jar.jar 3. This works f

Re: JUG in Europe

2006-05-30 Thread Peter Pilgrim
Jason van Zyl wrote: Hi, If anyone belongs to a JUG in Europe I will be in the area from June 19th to July 14th. So far it looks like there will be presentations in London, Dublin, Torino, Oslo and Paris. If you belong to a JUG and would like a presentation on Maven I'd be happy to oblige :-)

Re: Rar Plugin and dependencies - (MVN 2.0.4)

2006-05-30 Thread Roland Asmann
Set the scope to provided ONLY on the rar-projects, NOT on the EAR. On Tuesday 30 May 2006 18:02, Carsten Karkola wrote: > If I use "provided" the dependencies will never be included, my problem is > 1. projects: > rar1: dependency to my-jar > rar2: dependency to my-jar > ejb1: dependency

Re: Maven 1.0.2 Junit problem

2006-05-30 Thread Lukas Theussl
Hmm, sorry, it seems like the class org/apache/tools/ant/util/TeeOutputStream is only available in ant 1.6. Maven 1.0.2 uses ant 1.5.3 so I guess that won't work for you. Any chance you can try a 1.1-beta? [1] Cheers, -Lukas [1] http://people.apache.org/~aheritier/maven/1.X/snapshots/ Matt

RE: [maven2] Generating several artifacts per project ?

2006-05-30 Thread Chris Hilton
I didn't see the "right" answer go by for this (or what I thought was right), so I hope I'm not repeating something. In one of my projects that needs a secondary jar with a subset of classes, I've done the following: maven-antrun-plugin pa

Re: JUG in Europe

2006-05-30 Thread Emmanuel Venisse
Hi, I think you'll have one (perhaps two) event at Paris and one interview for http://www.tv4it.net/ by Didier Girard. Emmanuel Jason van Zyl a écrit : Hi, If anyone belongs to a JUG in Europe I will be in the area from June 19th to July 14th. So far it looks like there will be presentati

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-30 Thread Leo L
Hi Wayne! I´m using Jboss4.0.2 can you help how can i configure my build.xml. I followed what you said abou packing with maven and deploy with and worried how maven works with ant. I get that, but i have a problem in my build.xml, i saw many examples and i couldn´t success yet... Can you help me

Re: [M2] questions about migrating to maven

2006-05-30 Thread Carlos Sanchez
On 5/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Carlos, --> re FILTERING PROPERTIES FILES FOR ENVIRONMENTS My suggestion is to externalie that configuration options in a way that your artifact is always the same, and only configuration changes. You can do reading your config files from

Bypass compliation error

2006-05-30 Thread RobJac
I am not able to build a project since there are some uncompilable class files in my project. How do I by pass compilation failures in my project and let maven compile the other java files in my project that are actually compilable and build a project for me with the compiled files alone? -- View

Re: Bypass compliation error

2006-05-30 Thread ben short
Have a look at the compiler plugin. there is a excludes parameter for the plugin. But I dont know how to use it. Maybe comment out the source code that makes the classes fail? Or if the files are checked into source control remove them from your local machine. Neither are good sloutions. Ben ht

How to get all the tests run even if an error occur in a maven multiproject

2006-05-30 Thread emerson cargnin
How do i get a maven multiproject to run all tests, even in case of a failure or error? A multiproject stops in the project that failed, and I want all the projects to runm to get all the errors/failures in cruisecontrol.I know I could use maven.test.failure.ignore and the error correspondent, but

Re: How to get all the tests run even if an error occur in a maven multiproject

2006-05-30 Thread Roland Asmann
Use '-Dmaven.test.failure.ignore=true'. Roland On Tuesday 30 May 2006 19:09, emerson cargnin wrote: > How do i get a maven multiproject to run all tests, even in case of a > failure or error? > A multiproject stops in the project that failed, and I want all the > projects to runm to get all the

Re: How to get all the tests run even if an error occur in a maven multiproject

2006-05-30 Thread emerson cargnin
I know I can use it (and maven.test.error.ignore), the problem is that the build doens't fail at the end... On 30/05/06, Roland Asmann <[EMAIL PROTECTED]> wrote: Use '-Dmaven.test.failure.ignore=true'. Roland On Tuesday 30 May 2006 19:09, emerson cargnin wrote: > How do i get a maven multip

Re: Bypass compliation error

2006-05-30 Thread RobJac
i have checked it out, the exclude parameter tries to remove that file from the build and thus avoid compiling that file. This leads to more maintainance of the pom xml since i need to keep adding files to the pom xml which are not compilable and then remove it once it becomes compilable. -- View

Re: Multiproject Site

2006-05-30 Thread Aaron Freeman
It is Maven 2.0, so the muliproject:site command just gets "The plugin 'org.apache.maven.plugins:maven-multiproject-plugin' does not exist or no valid version could be found" On 5/30/06, Pauquette, Bryan <[EMAIL PROTECTED]> wrote: If its not 2.0 > then the command is maven multiproject:site -

Defining a new package tpye

2006-05-30 Thread anita kulshreshtha
Hi, I am writing a plugin that defines a new package type (say 'xar') using these instructions - http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html I use this plugin in a project as : ... xar .. .

Re: building twice - version 1.0.3

2006-05-30 Thread josh . steele
Hi all, Thanks for the responses. I actually avoid using "refresh" to keep this from happening - I instead, as you mentioned, click the Show Proejcts link to get an update on the status. However, this isn't my problem. Even from a freshly setup continuum project, if I click on the "Bui

Re: maven Website - I'm struggling getting the information I seek

2006-05-30 Thread Stefan Arentz
On 5/30/06, Marc Weber <[EMAIL PROTECTED]> wrote: Hello I'm using mvn for 2 month now and I'm till struggling finding the finding the documentation on the maven.apache.org website. Same here. I started using Maven 2 about a month ago. It has been *extremely* painful because of the complete chao

Re: How to get all the tests run even if an error occur in a maven multiproject

2006-05-30 Thread Marcel Schutte
Try 'mvn -fae test'\, I think that is what you need. For a complete list of options see 'mvn -h'. Marcel --- emerson cargnin <[EMAIL PROTECTED]> wrote: > I know I can use it (and maven.test.error.ignore), the problem is > that > the build doens't fail at the end... > > > On 30/05/06, Roland As

Re: How to get all the tests run even if an error occur in a maven multiproject

2006-05-30 Thread Marcel Schutte
Sorry, I missed the maven version you're using. This info is for M2. --- Marcel Schutte <[EMAIL PROTECTED]> wrote: > Try 'mvn -fae test'\, I think that is what you need. For a complete > list of options see 'mvn -h'. > > Marcel > > --- emerson cargnin <[EMAIL PROTECTED]> wrote: > > > I know I

releasing modules with SNAPSHOT build plugins

2006-05-30 Thread Mike Perham
I have a SNAPSHOT of the war plugin that I built and deployed to fix a blocker for us that has not been released. In my POM, I refer to it like this: maven-war-plugin 2.0.1-20060525.222101-1 I did this specifically so the release plugin would not think it

Re: Defining a new package tpye

2006-05-30 Thread Piéroni Raphaël
Hello Anita, are the mojos you bind to your new packaging using the javadoc class tag that enable the dependency resolution ? For more information about the dependency resolution in mojos, please check the maven book from mergere. Hope this helps. Raphaël 2006/5/30, anita kulshreshtha <[EMAIL

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-30 Thread Wayne Fay
Unfortunately I don't use JBoss, so I'm not much help. My OC4J samples won't give you any useful info! Wayne On 5/30/06, Leo L <[EMAIL PROTECTED]> wrote: Hi Wayne! I´m using Jboss4.0.2 can you help how can i configure my build.xml. I followed what you said abou packing with maven and deploy wi

Re: How to get all the tests run even if an error occur in a maven multiproject

2006-05-30 Thread emerson cargnin
Yes, I noticed :) does anyone know how to do that with maven 1.0.2??? On 30/05/06, Marcel Schutte <[EMAIL PROTECTED]> wrote: Sorry, I missed the maven version you're using. This info is for M2. --- Marcel Schutte <[EMAIL PROTECTED]> wrote: > Try 'mvn -fae test'\, I think that is what you need.

[M2] Problem deploying with maven 2 and Ant

2006-05-30 Thread Leo L
Hi all! I´m using Jboss4.0.2 and i still get an errorcan you help how can i configure my build.xml. I followed what a maven list fellow said about packing with maven and deploy with ant, and just worry how maven works with ant. I get that, but i have a problem in my build.xml, i saw many examples

Re: [M2] Problem deploying with maven 2 and Ant

2006-05-30 Thread Wayne Fay
1. Does it work in ant only ie "ant buildDeploy"? Until this works, there's really no need to test in Maven. 2. Is the command "scp" available on the command line, in your system path? Type "scp" and make sure it works. Wayne On 5/30/06, Leo L <[EMAIL PROTECTED]> wrote: Hi all! I´m using Jboss

Re: Bypass compliation error

2006-05-30 Thread Wayne Fay
Easy solution: Stop writing code that doesn't compile. ;-) How in the world did you manage to get in this situation, with multiple files that just don't compile for some reason or another at any given time in a project? Wayne On 5/30/06, RobJac <[EMAIL PROTECTED]> wrote: i have checked it out

Re: Unable to locate local repo in Mac-OSX(how to call ant from maven)

2006-05-30 Thread Roland Asmann
You could try using the jboss-maven-plugin, like this: org.codehaus.mojo jboss-maven-plugin /path/to/jboss And then run one of its goals (deploy / harddeploy) Roland On Tuesday 30 May 2006 21:02, Wayne Fay wrote: > Unfortunately I don't use

Re: [M2] Problem deploying with maven 2 and Ant

2006-05-30 Thread Roland Asmann
Or just forget about the ant-part and use the jboss-maven-plugin! (See also this thread: Unable to locate local repo in Mac-OSX(how to call ant from maven)) org.codehaus.mojo jboss-maven-plugin /path/to/jboss And then run one of its goals (depl

Re: Bypass compliation error

2006-05-30 Thread ben short
Easy solution: Stop writing code that doesn't compile. ;-) Hehe Yes that was my other thought. Ben On 5/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote: Easy solution: Stop writing code that doesn't compile. ;-) How in the world did you manage to get in this situation, with multiple files that ju

Re: [M2] Problem deploying with maven 2 and Ant

2006-05-30 Thread Leo L
But, for a remote deploy is also that configuration like local /path/to/jboss ... and the protocol, user, server ??? Regards, Leo 2006/5/30, Roland Asmann <[EMAIL PROTECTED]>: Or just forget about the ant-part and use the jboss-maven-plugin! (See also this thread: Unable to loc

Re: [M2] Problem deploying with maven 2 and Ant

2006-05-30 Thread Wayne Fay
I'm really not sure why you can't have a "maven solution" to the problem and an "ant solution" to the problem that both work but don't depend on one another. They are different "products" -- yes you can call Ant from Maven but obviously its not perfect. I would give up this "pointless" goal and

date in manifest

2006-05-30 Thread raghurajan . x . gurunathan
Hi All If i want to make entry of build date to mani-fest files how do i do that? i know how to make entry to mani-fest but don't know what maven variable has the value for date ?? Anyone knows it , please advise? Thanks, Raghu

Re: [M2] Dashboard functionality

2006-05-30 Thread Rik Bosman
Vincent, Thanks for the answer (and the link). So it will be a feature for the future. I'm happy with the work the maven team has done on the core projects. More important of course! I'll try to create "something" on my own. If time allows... Rik

Hammurapi plugin?

2006-05-30 Thread Henrik Mejlgaard
Does anyone have a Hammurapi plugin for Maven 2? Regards, Henrik

Re: Hammurapi plugin?

2006-05-30 Thread Wayne Fay
Never seen/heard of any such plugin for M2, but if you get inspired, please contribute it back for the benefit of others! Wayne On 5/30/06, Henrik Mejlgaard <[EMAIL PROTECTED]> wrote: Does anyone have a Hammurapi plugin for Maven 2? Regards, Henrik

RE: Multiple source directories (again)

2006-05-30 Thread hamdard
I think where you have to do: . you also have to specify the same for testSourceDirectory, e.g.: . and then rest is same... -- View this message in context: http://www.nabble.com/Multiple+source+directories+%28again%29-t501592.html#a4635171 Sent from the Maven - Users forum at Nabble.com.

Re: date in manifest

2006-05-30 Thread Julian Wood
You can use the maven-buildNumber-plugin. http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html Near the bottom it tells you how to use a timestamp. There was some talk of making the build date a more globally available property (negating the need for this plugin), but I don

Re: [m2]How to get files into test classpath?

2006-05-30 Thread hamdard
Thanks Trygve The workaround works! Here's my configuration that binds the generated sources and the test sources to the compiler plugin. This way maven compiles them and put the .classes to the executable (target) directory. . . org.apache.maven.plugins maven-compiler-plugin

changelog site problems

2006-05-30 Thread Julian Wood
I'm having an issue with the maven-changelog-plugin, which seems to have just crept up over the past few days, after working fine. I'm building it from svn, creating 2.0-SNAPSHOT, using rev. 410386. Is it working for other people? It seems the reports section of the plugin is somehow screwi

Site plugin changes?

2006-05-30 Thread Julian Wood
I've noticed the site plugin has changed somewhat, though I can't find the list of changes, or when exactly this happened, or even if it has happened. I'm using 2.0-beta-5, which in my repo was added May 16, so that's about consistent with when things were working okay. Funny thing is, spec

Re: Site plugin changes?

2006-05-30 Thread Brett Porter
The default index page went to the project-info-reports-plugin - so you should be using 2.0 of that. The images all went to skins. It's possible some got trimmed. Either those images need to be added to tall skins, or the report should be copying them into the project itself. Since the changes on

Re: changelog site problems

2006-05-30 Thread Ole-Martin Mørk
I got the same error last week when building from svn as well. I wasn't sure if it was suppose to work, so I didn't bother wasting too much time on it.. On 5/31/06, Julian Wood <[EMAIL PROTECTED]> wrote: I'm having an issue with the maven-changelog-plugin, which seems to have just crept up over

Re: [m2] assembly from parent

2006-05-30 Thread Barrie Treloar
Now Maven is calling the assembly plugin in each module. It then fails because there is no package-all.xml in the module src tree (package-all.xml lives in the parent src). Is this the expected behaviour? Probably, because your modules all specify this pom as the parent right? So it gets inheri

Defining a new package tpye

2006-05-30 Thread anita kulshreshtha
Raphaël, Thanks. I do not use dependency resolution in mojo. I want maven to download dependencies (dep1 in the example below). If I replace the packaging type with 'jar' maven downloads dep1 and its dependencies. Thanks Anita Hello Anita, are the mojos you bind to your new packaging using

Re: [m2] assembly from parent

2006-05-30 Thread Deane Morrow
Hi, On 5/31/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: > Now Maven is calling the assembly plugin in each module. It then fails > because there is no > package-all.xml in the module src tree (package-all.xml lives in the > parent src). > > Is this the expected behaviour? Probably, because yo

problems with eclipse plugin?

2006-05-30 Thread Dan Adams
I've got 2 questions about the plugin for eclipse: - How come on the site there is no 0.0.9 version listed but it is listed in the update manager? - How come v0.0.9 doesn't seem to work? For instance, you can an error if you try to do Maven > Enable on a project. - How come v0.0.7 isn't in the upda

  1   2   >