upper and lower case for MEAT-INF and WEB-INF

2006-08-11 Thread Claus Schroeder
Hi, I have started setting up maven 2 to be used with an ear and subsequent ejb, war and jars. I have noticed a strange thing looking into the ear file and the war files. In the ear file the MANIFEST.MF (which is named Manifest.mf according to WinZip) and the application.xml file have the pa

BuildDate/Time

2006-08-11 Thread Douglas Ferguson
Is there an alternative to using this http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html? It's all I could find and it seems a bit "clunky". __ Douglas W. Ferguson EPSIIA - Another Fiserv Connection Development Office Phone:

[m2] Configuring the scp executable

2006-08-11 Thread Daniel Serodio
I found documentation on how to configure the scp executable at http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html, but it doesn't work for Maven2: [INFO] Error deploying artifact: While configuring wagon for 'vulcano': Unable to apply wagon configuration. Cannot find setter nor f

multi module site generation - module links not showing in index.html

2006-08-11 Thread Jan Vissers
Wondering whether this is default behavior. When I generate the site for a multi module project the contained modules are displayed at the upper-left of the index.html page - but it is 'plain' text and no hyperlink. How come? -

Re: link to module sites - and aggregated javadoc

2006-08-11 Thread Jan Vissers
Hi - without the site:stage, but with the aggregate configuration element in javadoc set to true, "site" will generate the javadoc at the top level for me. Sam Merrell wrote: I get the same issue without aggregating my javadocs. On 8/11/06, Jan Vissers <[EMAIL PROTECTED]> wrote: Maven 2.0.4

Codehaus

2006-08-11 Thread Douglas Ferguson
Where can I find documentation on the codehaus plugins? I stumbled upon the codehaus dependency plugin when the apache one didn't seem to work. __ Douglas W. Ferguson EPSIIA - Another Fiserv Connection Development Office Phone: 512-329-0081 ext.

Re: ignoring a file

2006-08-11 Thread Jesus M. Rodriguez
In our process we have a file that gets auto incremented with a version number for our rpm (redhat package manager). This file gets checked in once the rpm file is built. Each build will checkin an updated version of the "version" file. If we don't ignore it we get into an infinite build loop. j

Re: Plugin not using project dependencies

2006-08-11 Thread kapadia
All, If anyone can shed light on this problem I would appreciate it. I would rather not redeclare the dependencies in my plugin section if the project (pom) already has declared them at the top. Thanks, Sujan kapadia wrote: > > All, > > I'm having a problem where the plugins are not using

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Carlos Sanchez
Kohsuke is right, although old stuff may be under javax.xml and com.sun.xml we see better fit under javax.xml.something and as they manage com.sun.* they can do however they want there (and we are not involved in this later case). On 8/11/06, Kohsuke Kawaguchi <[EMAIL PROTECTED]> wrote: Franz Fe

Resource Plugin

2006-08-11 Thread Douglas Ferguson
I can't find any documentation on how to change the default location of the resources plugin. I checked out the code and it declares ${project.resources}. But this is a list of resource objects. I'd like to just change the directory from ${basedir}/src/main/resources -> ${basedir}/${someotherdi

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Kohsuke Kawaguchi
Franz Fehringer wrote: Hello, Are there any current activities for enabling JAXB2 support in Maven2? In http://www.ibiblio.org/maven2/javax/xml/ there are jaxb-api jaxb-impl jaxb-xjc, but they still contain only 2.0EA3. Since 17. of july there is an additional subdirectory bind, but there are

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Carlos Sanchez
The reference API is under javax.xml.bind in http://www.ibiblio.org/maven2/javax/xml/bind/ and sun implementation under com.sun.xml.bind On 8/11/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: I am not interested in "javax.xml instead of java.xml.bind", i am only interested in a working (and curr

Re: Changes report - maven 2.0.4

2006-08-11 Thread Dennis Lundberg
Jan Vissers wrote: Cannot use this report, cause it cannot be located. Tried several things here: according to documentation: org.apache.maven.plugins maven-changelog-plugin The plugin has not yet been released, so it's only available as a snapshot. Please read this

Re: Using Maven 1.0.2 with JDK 1.5

2006-08-11 Thread Andrew Birchall
Hey thanks a lot for the reply. I tried it again this today and guess what? It worked! Computers are just plain strange sometimes Cheers Andy - Original Message - From: "Helck, Christopher" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Thursday, August 10, 2006 10:24 PM Subj

Plugin not using project dependencies

2006-08-11 Thread kapadia
All, I'm having a problem where the plugins are not using the project-level dependencies. I have to redeclare the dependency within the ... for it to find the classes it needs. I would like to have the dependency declared once for the project and have the plugins see these dependencies. For ex

RE: Optional Goals & Dependencies

2006-08-11 Thread Douglas Ferguson
I've gotten some of this behavior to work using profiles, however I still need to be able to have compile/test compile/test/jar/assemble all use a subdirectory based on a property. I could override the configurations for all these plugins, but I was curious if there is anyway to set ${basedir} whic

Tests fail in eclipse, OK on command line

2006-08-11 Thread Dave Syer
This seems to be the opposite to what most people report on this list (where the usual explanation is that they have a non-standard directory layout). I have a completely standard directory layout, but Eclipse keeps modifying my .classpath so the test classes and resources go to the wrong directo

Re: Building dependant projects as well?

2006-08-11 Thread Jesse McConnell
kenney is actually working on adding that functionality this week I think so its on the horizon :) jesse On 8/11/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Barrie Treloar a écrit : > On 8/11/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: >> Dependent projects aren't build for the moment

DB connection details

2006-08-11 Thread Shute, James
Hi, I've got a Maven1 project building under Continuum, but now have some unit tests that need to connect to a database. When I just run the tests on my box via Maven then I leave the username / password blank so it uses the integrated security and picks up the username / password of the current

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Franz Fehringer
I am not interested in "javax.xml instead of java.xml.bind", i am only interested in a working (and current) Maven2/JAXB2 combination (and a fix for MNG-2305). Greetings Franz Wayne Fay schrieb: You should probably file the "javax.xml instead of java.xml.bind" issue on JIRA under MEV if you

Re: link to module sites - and aggregated javadoc

2006-08-11 Thread Sam Merrell
I get the same issue without aggregating my javadocs. On 8/11/06, Jan Vissers <[EMAIL PROTECTED]> wrote: Maven 2.0.4. Trying to create a site for multi module project where the module links are actually shown. Using the following command: site:stage -DstagingDirectory= the module link

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Wayne Fay
You should probably file the "javax.xml instead of java.xml.bind" issue on JIRA under MEV if you actually expect someone to "fix" it. Otherwise its just lots of talk on the Users list... Wayne On 8/11/06, Franz Fehringer <[EMAIL PROTECTED]> wrote: IIUC the point was, that the groupId should

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Malachi de Ælfweald
Yeah, I definitely agree that it should be under javax instead of com.sun -- but that's just because com.sun is supposedly reserved for Sun internal; whereas javax is reserved for JCP-authorized extensions. Regarding the proxy bit.. So it seems like the correct solution would be if there is a wa

RE: Change profiles when defining a default profile - issue - Maven2.0 - GOOD SOLUTION.

2006-08-11 Thread Bogdan Matiu
Thanks, Max. This solved my problem. Bogdan Matiu - Senior Software Engineer -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: August 10, 2006 5:57 PM To: Maven Users List Subject: Re: Change profiles when defining a default profile - issue - Maven2.0. Use a property

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Franz Fehringer
IIUC the point was, that the groupId should be javax.xml and not java.xml.bind (the link given for this currently yields Application error (Rails)) . I reported the proxies/settings.xml error as MNG-2305. Greetings Franz Malachi de Ælfweald schrieb: Yeah, I definitely agree that it should b

Re: Trouble with EAR file build

2006-08-11 Thread Stephane Nicoll
What do you mean by 'virtualHost' directive? You can't build because you need the parent pom (in the parent directory). Invoking install on the parent directory should help but you need mavan 2.0.5-SNAPSHOT. s/ On 8/11/06, Alex Turner <[EMAIL PROTECTED]> wrote: I would like to add a virtualHos

Re: Simple Problem with exec plugin

2006-08-11 Thread Nick Veys
How are your dependencies defined? Looking at the java exec mojo: /** * Executes the supplied java class in the current VM with the enclosing project's * dependencies as classpath. * * @goal java * @requiresDependencyResolution runtime * @execute phase="validate" * @author mailto:[EMAIL PROTECTE

How to use doxia-module-twiki?

2006-08-11 Thread Zeltner Martin
Hi! I'd like to write my documentation by using the twiki language, but I can't find any doc how to declare the "doxia-module-twiki" in my pom that "mvn site" will render my twiki files in "src/site/twiki" to "target/site". Can anyone help me? Thanks for any help in advance! Cheers, Martin

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Franz Fehringer
Regarding the location (javax.xml.bind versus java.xml) i had a mail sent by [EMAIL PROTECTED] in mind saying . . . Please note, that the policy for the groupId is "javax.xml" and "com.sun.xml" only. See also http://www.mavenregistry.com/search/artifacts?hl=en&q=jsr173&btnG=Search+Registry . .

Re: Maven 2.0.4 - multi module reporting

2006-08-11 Thread Jan Vissers
Well... this has been a journey, which appears to have become a deception. My conclusions after a day trying to figure the reporting (surefire, checkstyle, jdepend, javancss, cobertua, pmd, jxr, changes, changelog) are: * multi-module reporting 'out-of-the-box' isn't behaving properly,

RE: Want to create a second jar for obfuscated classes

2006-08-11 Thread Chris Hilton
This is different than the way you want to do it, but generally I use antrun invocations to build my secondary artifacts (also influenced by the fact we're migrating from Ant, anyway, so it's easy to copy over). For you, it might look something like: org.apache.maven.plugins

Re: Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Malachi de Ælfweald
We should be using the latest version of JAXB, which is 2.0.2 as per the website. Personally, I was not aware that the jars made it onto ibilio -- I thought they were supposed to be hosted at java.net? Out of curiousity, why would javax.xml.bind be incorrect for XML Databinding? Malachi On 8/1

Changes report - maven 2.0.4

2006-08-11 Thread Jan Vissers
Cannot use this report, cause it cannot be located. Tried several things here: according to documentation: org.apache.maven.plugins maven-changelog-plugin And according to some 'rumours' about relocation of the plugin: org.codehaus.mojo changes-maven-plug

Re: incorrect war file structure

2006-08-11 Thread Jeff Mutonho
On 8/9/06, Pete Marvin King <[EMAIL PROTECTED]> wrote: Hello Jeff, Sorry about the example, the correct one should be [...] configurations WEB-INF true **/properties

Surefire reports and multiple module projects - multi module (aggregated) reporting not 'ready for prime time'?

2006-08-11 Thread Jan Vissers
Maven 2.0.4 (Surefire) Aggregation doesn't seem to be working. I don't get a toplevel surefire report. I do get surefire reports for each contained module. Is this a known issue? Note also that I need to use a 'site:stage -DstagingDirectory=' when creating the site, because otherwise the

link to module sites - and aggregated javadoc

2006-08-11 Thread Jan Vissers
Maven 2.0.4. Trying to create a site for multi module project where the module links are actually shown. Using the following command: site:stage -DstagingDirectory= the module links are shown, but the aggregated javadoc page on the toplevel is empty. Here is the reports section of my

Re: Maven 1.1-beta3 & maven-artifact-plugin 1.8

2006-08-11 Thread Arnaud HERITIER
Ok, I'll close this issue and I'll add a note on the m1 homepage. http://people.apache.org/~aheritier/m1-stage-site/maven-1.x/ We'll release this new version ASAP Arnaud On 8/11/06, Siegfried Goeschl <[EMAIL PROTECTED]> wrote: Hi Arnaud, works like a charm now :-) Cheers, Siegfried

Re: Problem with changelog report

2006-08-11 Thread lore
dennisl-2 wrote: > > lore wrote: >> Hi! >> I'm trying to generate the changelog report but I've some problems. >> First I tryed to use the plugin in the last released version: >> org.codehaus.mojo >> changelog-maven-plugin >> >> but there were problems in the urls pointing to th

Is it possible to transform XDOC to OpenOffice (SXW or ODT)?!

2006-08-11 Thread Siegfried Goeschl
Hi folks, is there any plugin or XSLT around to transform XDOC to an OpenOffice format?! I think there was some work done in Forrest for SXW Cheers, Siegfried Goeschl - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: ignoring a file

2006-08-11 Thread Emmanuel Venisse
It doens't support this feature. Why do you want to ignore a file? Emmanuel Jesus M. Rodriguez a écrit : Is there a way to get Continuum to ignore a file during builds? I'm trying to switch from cruisecontrol to continuum and need the ability to ignore a file. In cruisecontrol I do this usin

RE: [m2] How to get artifact and Maven project for dependencies and tran

2006-08-11 Thread Dave Syer
> Actually, getDependencyArtifacts() is always empty for me, wheras getDependencies() is just the > dependencies declared in the pom. Is that right? I think that is right, and I found a reference to @requiresDependencyResolution that helped a bit - if @requiresDependencyResolution is included i

Re: Maven 1.1-beta3 & maven-artifact-plugin 1.8

2006-08-11 Thread Siegfried Goeschl
Hi Arnaud, works like a charm now :-) Cheers, Siegfried Goeschl Arnaud HERITIER wrote: I just deployed the SNAPSHOT of the version 1.8.1. You can test it with maven 1.1 beta 3 maven plugin:download -DgroupId=maven -DartifactId=*maven-artifact-plugin* -Dversion=*1.8.1*-SNAPSHOT -Dmaven.r

RE: [m2] How to get artifact and Maven project for dependencies and tran

2006-08-11 Thread Dave Syer
> the diff between project.getDependencies() and > project.getDependencyArtifacts() is basically that getDependencies() > returns also transitive dependencies Actually, getDependencyArtifacts() is always empty for me, wheras getDependencies() is just the dependencies declared in the pom. Is that

Re: Eclipse bundle howto

2006-08-11 Thread Stéphane Bouchet
Hi, i take a look to your How-To. it looks very promising for building Eclipse RCP apps. But did you take a look to the last snapshot of eclipse-plugin ?? there is some neww feature very nice being developped by fabrizio : http://jira.codehaus.org/browse/MECLIPSE-92 Cheers, Stéphane. Martin

RE: [m2] How to get artifact and Maven project for dependencies and tran

2006-08-11 Thread Dave Syer
> the diff between project.getDependencies() and > project.getDependencyArtifacts() is basically that getDependencies() > returns also transitive dependencies Doesn't seem to work for me (with maven-plugin-api 2.0) - I only get the direct dependencies (declared in the pom). Is this a surprise to

Maven2 versus JAXB2 (on ibiblio)

2006-08-11 Thread Franz Fehringer
Hello, Are there any current activities for enabling JAXB2 support in Maven2? In http://www.ibiblio.org/maven2/javax/xml/ there are jaxb-api jaxb-impl jaxb-xjc, but they still contain only 2.0EA3. Since 17. of july there is an additional subdirectory bind, but there are several things wrong/mi

RE: [m203] Get names of all transitive dependencies in a mojo

2006-08-11 Thread Dave Syer
> Check out the dependency plugin. It has all the code you need. Would someone be able to summarise what the code in dependency plugin is doing. It seems very complex (and would certainly be useful to others), but I don't follow it very well. It seems to be doing project.getArtifacts() and t

Re: maven-plugin-testing-harness: getting an ArtifactRepository for my t

2006-08-11 Thread Dave Syer
> Both good ideas - please put them in JIRA so they don't get forgotten :) MNG-2494 - the url in the plugin dev guide MNG-2495 - the javadocs for test harness I wasn't sure which component to select for the second one. It went in "Plugin API". -- View this message in context:

RE: exclusion of transitive dependencies

2006-08-11 Thread Jörg Schaible
Laurie Harper wrote on Friday, August 11, 2006 2:33 AM: > I'm trying to add Weblets to a project which can use the > current MyFaces > release or the RI and, due to errors in the Weblets POM, I'm > ending up > with unwanted transitive dependencies. I'm trying to correct for this > using the depend

Re : Maven and Selenium?

2006-08-11 Thread Julien HENRY
Hi, It's true that jWebUnit API is not easier than Selenium-RC API (except some very usefull assertions). But one of it's main advantage is to be compatible with different testing engines. Once your tests are written with jWebUnit, they could be executed thanks to HtmlUnit on your integration s

Re: m2 release:prepare fails to build subproject that depends previously builded ejb projects

2006-08-11 Thread Markku Saarela
Hi, I resolved this problem. Earlier in m2 when you include dependency with type ejb to project and that project was included to another ear project than were this dependent project is originally located also this another ear get this dependency ejb project as it's ejb module. So when you ins

Re: maven-plugin-testing-harness: getting an ArtifactRepository for my t

2006-08-11 Thread Brett Porter
Both good ideas - please put them in JIRA so they don't get forgotten :) - Brett On 11/08/06, Dave Syer <[EMAIL PROTECTED]> wrote: > However, if you prefer the private field injection you can also use > the helpers in the abstract test case (setFieldForObject, I think). setVariableValueToObje