Re: Why does site require installation of artifacts?

2007-03-30 Thread Damien Lecan
It seems to be a bug http://jira.codehaus.org/browse/MJAVADOC-116 Vote for it Damien 2007/3/29, Joerg Hohwiller [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, can someone explain why I can do a mvn package to a multiproject that has inter-module-dependencies

[m2] plugin dependencies and classifier

2007-03-30 Thread Alessio Pace
Hi, let's say I have project project-xxx which is built using the plugin plugin-yyy, which in turn may depends either on the dependency project-zzz.jar or project-zzz-jdk14.jar (using classifier) The fact is that the choice of the dependency for the plugin should be guided by the project-xxx

[m2] Add file from target/classes/META-INF/tlds to /WEB-INF/tlds in resulting war

2007-03-30 Thread muffl0n
I wrote a plugin that generates a TLD-File from annotations of specified classes. It puts the resulting tld-file (assuming foo.tld) to target/classes/META-INF/tlds/foo.tld In the war-file it is packed into /WEB-INF/classes/META-INF/tlds/foo.tld. That works but is quite uncommon. Is there a way to

Re: eclipse and maven discrepancies

2007-03-30 Thread Thorsten Heit
Hi Rolf, The errors i get are in the target/surefire-report dir in two files. i give the contents of the xml file *snip* failure type=javax.naming.NameNotFoundException message=EntityManagerFactories not bound javax.naming.NameNotFoundException: EntityManagerFactories not bound at

How to build multiple webapps that share resources

2007-03-30 Thread Doug Tanner
I am currently in the process of refactoring our code in order to switch from building with ant to maven. How can I share resources, such as property files, between multiple webapps? Current directory structure: Webapps -src -java -webapp1 -webapp2

Re: exec-maven-plugin: Swing app disappears immediately?

2007-03-30 Thread Jerome Lacoste
On 3/23/07, jason r tibbetts [EMAIL PROTECTED] wrote: I haven't tried this, but from reading http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html I believe that cleanupDaemonThreads

Re: SCM SVN Connection String Problem

2007-03-30 Thread Emmanuel Venisse
It seems to be fixed in latest code, we have a test for the parsing of this scm url. If you don't use a password in your scm url, svn will use the password stored in the svn registry. Emmanuel Job de Noo a écrit : Hi, i'm using maven 2.0.4-maestro-1.1 with scm plugin 1.0-beta-4. Job On

Re: Changelog-plugin re-uploaded?

2007-03-30 Thread Roland Asmann
I was already at home when I posted this, but here's an actual copy of the generated table: Timestamp Author Details 2007-03-27 18:20:24 author: pom.xml v 1.19 Updated changelog-plugin so that it will work on

maven-antrun-plugin: Need phase indenedence and/or conditional processing

2007-03-30 Thread Farrukh S. Najmi
I am using maven-antrun-plugin in my pom to run a java program. I do not need it to be tied to any phase. All I need is to be able to run it on demand by specifying an appropriate goal and some command line options using -D. So far I am able make it work but only if it is tied to a phase. See my

ant mojo properties

2007-03-30 Thread Ben Tatham
Hello all, I have noticed some weirdness in ant mojos. If you define properties in the pom.xml that get passed to the ant script through the ant mojo, then you cannot access those properties except inside of targets. In other words, if I have a property in my ant script like this at the top

Configure buildnumber and Subversion/Subclipse

2007-03-30 Thread Pankaj Tandon
Hi, We need to incoporate build numbers into our codebase and so started looking at the buildnumberr plugin. It looks great and works fine if we configure it to spit out an incremental number like so: configuration doCheckfalse/doCheck doUpdatefalse/doUpdate

How to tie a issueNumber to a buildNumber

2007-03-30 Thread Pankaj Tandon
Hi all, I was wondering if anyone out there knew how to tie an issue number/bug number/requirement number to a buildnumber as returned by the buildnumber plugin for Maven2? (I mean without having to manage the relationship in our application, that is). As a related question: Is there a way I can

[m2] transitive dependencies and classifier: profiles or sub-modularization?

2007-03-30 Thread Alessio Pace
Hi, I had asked this question on the #maven channel but I got no answer and since it is crucial for me in order to complete the mavenization of fractal.objectweb.org, I ask it here again: I have a classifier issue. I have a module A, which depends on module B (which was extracted from A code

Cannot find setter nor field in org.apache.maven.plugin.ear.JavaModule for 'javaModule'

2007-03-30 Thread Mirko Djuric
Hi, When trying to bulid my project (used Maven version 2.0.4) I got this error. What might be a problem? Mirko [INFO] [INFO] Building CTP Enterprise Archive [INFO]task-segment: [clean, install] [INFO]

Re: maven-antrun-plugin: Need phase indenedence and/or conditional processing

2007-03-30 Thread Napoleon Esmundo Ramirez
Hello, As far as NOT binding a goal to a phase is concerned, all you have to do is configure the plugin and don't declare any execution. In your case, instead of placing configuration inside execution, place it directly under plugin, and remove executions then you can explicitly invoke it using

Re: maven-antrun-plugin: Need phase indenedence and/or conditional processing

2007-03-30 Thread Wayne Fay
I would not use maven-antrun-plugin in this case. Instead I would just use Ant with a build.xml file. Then if you need to use this Ant task during your build, you can call it from m-a-p. Wayne On 3/30/07, Farrukh S. Najmi [EMAIL PROTECTED] wrote: I am using maven-antrun-plugin in my pom to

Re: How to build multiple webapps that share resources

2007-03-30 Thread John J. Franey
You can: 1) First parameterize the properties using webapp.property=${my.build.webapp.property} 2) define the properties in the parent pom: properties property my.build.webapp.propertyvalue-for-webapp-propertye/my.buiild.webapp.property /property /properties 3) turn on resource

Question on arguments

2007-03-30 Thread Chris Russell
Hello, Can someone tell me what the following arguments do and why I would use (or remove) them: --batch-mode --non-recursive In my project I have one parent pom and 4 child poms: top level --- child 1 --- child 2 --- child 3 --- child 4 I'm not sure which parameters I should have on each

Re: Linux build Windows build asynchron

2007-03-30 Thread Emmanuel Hugonnet
Jerome Lacoste wrote: On 3/20/07, Christian Clauss [EMAIL PROTECTED] wrote: Hello everybody, I'm trying to do an asynchron build process. I have to build my files on a Linux environment and on a Windows environment. Actually these two build processes run one and then the other. I copy the

Re: Question on arguments

2007-03-30 Thread Emmanuel Venisse
Chris Russell a écrit : Hello, Can someone tell me what the following arguments do and why I would use (or remove) them: --batch-mode --non-recursive They are mvn arguments, run 'mvn -h' and you'll see all arguments. -B,--batch-mode Run in non-interactive (batch) mode

Maven Version Number parameter

2007-03-30 Thread rking999
Hi, I am performing Maven releases through a continuous integration server. This works fine with the --batch-mode parameter. However, is there a way to specify as an argument, the required version number? This is to allow automated releases without the need for manual interaction. thanks in

Re: Maven local repository location

2007-03-30 Thread Eric Redmond
Try a field in your mojo with an expression = ${settings.localRepository} Eric On 3/29/07, Rahul Khot [EMAIL PROTECTED] wrote: Is there a way to access maven local repository location in the plugin or in the pom.xml. I have tried the following vars: ${maven.repo.local}

Re: Changelog-plugin re-uploaded?

2007-03-30 Thread Roland Asmann
Okay, so I made some changes to the plugin and the maven-scm modules so everything runs fine again. Who or where should I send the patch so that some of these fixes can be merged into the necessary modules for a next release? Thanks, Roland On Friday 30 March 2007 15:39, Roland Asmann wrote:

Clirr-plugin

2007-03-30 Thread Roland Asmann
I made some changes to the plugin and was wondering how to contribute them to the team... Could someone tell me whom I should contact? Thanks, -- Roland Asmann CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien FN 266155f, Handelsgericht Wien Tel.:

Re: Schedule I've created isn't working

2007-03-30 Thread Anoop kumar V
Continuum would only build if there was anything checked into your source control repository. If you are using Continuum 1.0.3 then there is no way to force a build even if there is no new code / changes to the VCS. Not sure if v1.1 has a way though. If that is indeed the case then you can use

Re: eclipse and maven discrepancies

2007-03-30 Thread Rolf Strijdhorst
Hi Thorsten, this is not a junit test but a testng. Transactions are handled in the testmethods themselves. The error messages are not describing the real error. The problem is that for some reason during the maven execution of the test. Testng and the embeddable ejb container have some

Re: Clirr-plugin

2007-03-30 Thread Jochen Wiedmann
On 3/30/07, Roland Asmann [EMAIL PROTECTED] wrote: I made some changes to the plugin and was wondering how to contribute them to the team... Could someone tell me whom I should contact? Create an issue on http://jira.codehaus.org/browse/MOJO and assign it to me. Jochen -- My cats know

Re: Clirr-plugin

2007-03-30 Thread Roland Asmann
I've created an issue, but I'm not sure on how to assign it to you... The issue can be found here: http://jira.codehaus.org/browse/MOJO-723 On Friday 30 March 2007 20:40, Jochen Wiedmann wrote: On 3/30/07, Roland Asmann [EMAIL PROTECTED] wrote: I made some changes to the plugin and

Re: Cannot find setter nor field in org.apache.maven.plugin.ear.JavaModule for 'javaModule'

2007-03-30 Thread Wayne Fay
Upgrade to Maven 2.0.5. Run mvn -U ... to upgrade all your plugins. Email back if this continues to fail with the same error. Wayne On 3/30/07, Mirko Djuric [EMAIL PROTECTED] wrote: Hi, When trying to bulid my project (used Maven version 2.0.4) I got this error. What might be a problem?

how to get build number?

2007-03-30 Thread raghurajan . x . gurunathan
Hi All I'm using march 27 th continuum 1.1 snapshot is there any way to get continuum build number into maven ??? Thanks, Raghu - This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or

Re: how to get build number?

2007-03-30 Thread Emmanuel Venisse
not yet. It won't be available in 1.1-alpha-1 but probably in alpha-2 Emmanuel [EMAIL PROTECTED] a écrit : Hi All I'm using march 27 th continuum 1.1 snapshot is there any way to get continuum build number into maven ??? Thanks, Raghu