[m2] assembly and use of dependencySet excludes

2006-07-18 Thread Barrie Treloar
For those that may be trying to work out how excludes works I'm posting to the list. There is probably a JIRA issue (I haven't looked) that will address pattern matching of excludes, there are comments in the code to indicate that this would be a good feature. To summarize my problem: I have a

RE: [M2] Difference between 'mvn test' and 'mvn install'

2006-07-18 Thread Jörg Schaible
Jakub Pawlowicz wrote on Monday, July 17, 2006 8:06 PM: Hi Jörg, Unfortunately this does not work for me, probably, because all my modules have the same version. I've installed maven-project-plugin snapshot version and my tests fail in the same place as before. Then start with -X and look

Command line help for a particular goad/lifecycle/plugin using -help or similar?

2006-07-18 Thread Tarun Ramakrishna
Hi all, (Maven newbie, so please excuse me) I find myself continually referring to the online plugin documentation for options passed to the standard maven plugins such as the achetype plugin, etc. It really isn't possible to readily memorize all the -Doptions passed to a plugin. Is there a

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Sebastien Pennec
Thanks for you answer, Edwin, I don't really understand what's the common point between filtering files and inserting variables in xdoc files... To make a download page, I can surely make a filter, or just do so that the assembly plug-in copies the zip/tar files directly in the folder that

Re: RE : Web site generation for multiple projects

2006-07-18 Thread Andrew Chapman
If you're not using version 2.0-beta-5 of the site plugin then I recommend you try it. I had problems with module and parent links with a similar configuration to yourself but it all worked fine once I started using beta-5. I would also recommend the latest version of the project reports plugin

Re: how to copy resources while building war

2006-07-18 Thread AK
Hi, I have config files stored inside modules, because these files are used to configure these modules. These configs are not used by the modules themselves (and are not packed inside jars), just by the their clients. If I have another web app or client app, I'll have to make these config

Re: overwrite when changing profile

2006-07-18 Thread Kees de Kooter
On 7/15/06, Kees de Kooter [EMAIL PROTECTED] wrote: On 7/14/06, David Beckedorff [EMAIL PROTECTED] wrote: This doesn't appear to scale if you have both dev, test, prod environments and multiple app server environments e.g. jboss, tomcat, oc4j, weblogic. I'd like to be able to do: mvn

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Edwin Punzalan
filtering is the same as processing variables into their values. What I'd do is create a folder where the unfiltered xdocs are placed, and then configure the resources plugin so that it will copy/filter those files to the folder that the assembly expects it to be. Sebastien Pennec wrote:

RE: how to copy resources while building war

2006-07-18 Thread Andrew-A . Davies
I believe that assembly plugin could be used. Also could run ant targets -Original Message- From: AK [mailto:[EMAIL PROTECTED] Sent: 18 July 2006 07:58 To: users@maven.apache.org Subject: Re: how to copy resources while building war Hi, I have config files stored inside modules,

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Sebastien Pennec
ok, I'll try that. Thanks! Edwin Punzalan a écrit : filtering is the same as processing variables into their values. What I'd do is create a folder where the unfiltered xdocs are placed, and then configure the resources plugin so that it will copy/filter those files to the folder that the

Re: overwrite when changing profile

2006-07-18 Thread Kees de Kooter
Jira issu submitted: MRESOURCES-24 (please vote!!) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Command line help for a particular goad/lifecycle/plugin using -help or similar?

2006-07-18 Thread Jörg Schaible
Tarun Ramakrishna wrote on Tuesday, July 18, 2006 9:31 AM: Hi all, (Maven newbie, so please excuse me) I find myself continually referring to the online plugin documentation for options passed to the standard maven plugins such as the achetype plugin, etc. It really isn't possible to

Re: Command line help for a particular goad/lifecycle/plugin using -help or similar?

2006-07-18 Thread Tarun Ramakrishna
Hi Joerg, Wow.. think of a feature and its already done. :-). Thanks for the pointer! Tarun On 7/18/06, Jörg Schaible [EMAIL PROTECTED] wrote: Tarun Ramakrishna wrote on Tuesday, July 18, 2006 9:31 AM: Hi all, (Maven newbie, so please excuse me) I find myself continually referring to

Re: Maven book: feedback

2006-07-18 Thread Henning P. Schmiedehausen
Sebastien Arbogast [EMAIL PROTECTED] writes: OTOH there's already open documentation on the Maven wiki and in Maven's svn. It's not because it's open that people contribute more or that the quality is better... IMHO, Wiki is too open, SVN is not open enough. A CMS would be a

Re: Eclipse Plugins

2006-07-18 Thread Fabrizio Giustina
On 7/18/06, Scott Goldstein [EMAIL PROTECTED] wrote: On the Maven 2 website, there's information about a Maven plugin which will build an eclipse project from a pom. My question is how this might work for an Eclipse project that is building an Eclipse RCP application. At the moment the maven

Re: Please review maven-eclipse-plugin

2006-07-18 Thread MacHershell
Where can I get the org.apache.maven.plugins:maven-plugins:2-SNAPSHOT (on which maven-eclipse-plugin depends)? -- View this message in context: http://www.nabble.com/Please-review-maven-eclipse-plugin-tf1957911.html#a5374800 Sent from the Maven - Users forum at Nabble.com.

Re: Please review maven-eclipse-plugin

2006-07-18 Thread Edwin Punzalan
Its in SVN: http://svn.apache.org/repos/asf/maven/plugins/trunk/pom.xml Brett said he'd deploy it... not sure if its done already or not yet. But it should be in apache snapshots repo when deployed: http://snapshots.maven.codehaus.org/maven2 MacHershell wrote: Where can I get the

prepare:release failure for flat layout project structure

2006-07-18 Thread Ciprian Duma
Hi, I have flat structure for my projects that looks like this: parent module1 module2 the parent lists the modules modules module../module1/module module../module2/module /modules and each module links to the parent parent groupIdorg.cd.test/groupId

[m1] how to set testmatchpattern from maven.xml

2006-07-18 Thread Nicolas De Loof
Hello, I'd like to run some tests in my multiproject maven.xml (thos tests will run on my continuum server) I've setup a goal in my parent maven.xml that uses reactor to execute test:match : maven:reactor basedir=${maven.multiproject.basedir} banner=Run CI tests

Re: Please review maven-eclipse-plugin

2006-07-18 Thread Stéphane Bouchet
Hi, I don't have any problem to download it from snapshot repo. Testing the maven-eclipse-snapshot right now. Stéphane. Edwin Punzalan a écrit : Its in SVN: http://svn.apache.org/repos/asf/maven/plugins/trunk/pom.xml Brett said he'd deploy it... not sure if its done already or not yet.

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Alexander Hars
Hi, If you are successful at doing that, could you post your solution? Thanks, Alexander Sebastien Pennec wrote: ok, I'll try that. Thanks! Edwin Punzalan a écrit : filtering is the same as processing variables into their values. What I'd do is create a folder where the unfiltered xdocs

Re: Accessing the build number

2006-07-18 Thread Pete
Hi Luasz, 1) Is there any chance you could send me your mojo source code and descriptor files, I am quite new to MOJOs. 2) Using you MOJO how would you then access this value. I am trying to think of a way of accessing the build timestamp in a filter.properties file e.g. filter.properties

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Sebastien Pennec
Alexander, Until now, I've been successful at filtering the values, but no satisfying site is generated yet. I have this in my pom: resources resource directorysrc/site/xdoc/directory targetPathgenerated-site/targetPath

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Andrew Williams
why not use src/site/xdoc as the targetPath and use, say src/site/unfiltered-xdoc as the source? That way you do not need to reconfigure the site-plugin... Andy Sebastien Pennec wrote: Alexander, Until now, I've been successful at filtering the values, but no satisfying site is generated

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Sebastien Pennec
I've tried that, and it doesn't seem to work, mainly because the ressource plug-in's targetPath tag does directly to the ${project.build.outputDirectory} folder. It might work using ../src/site/xdoc but then it wouldn't work anymore if the target dir is modified. Here is what works for me:

Re: [M2] Insert variables in xdoc/apt files

2006-07-18 Thread Sebastien Pennec
... I've been too fast on the ctrl-enter shortcut, sorry. So, here is what works for me: In the POM: resources resource directorysrc/site/xdocTemplates/directory targetPathgenerated-site/targetPath filteringtrue/filtering /resource

Maven2 documentation.

2006-07-18 Thread Bill Manuel
Hello all, I have used maven 1.0 in the past to manage my builds. I have not used it in a while and I am trying to get maven 2 working. I am working on web application and only have one module with is packages as a war. I have that part working fine, but I am having trouble creating an ear

Re: Maven2 documentation.

2006-07-18 Thread Jeff Mutonho
On 7/18/06, Bill Manuel [EMAIL PROTECTED] wrote: Hello all, I have used maven 1.0 in the past to manage my builds. I have not used it in a while and I am trying to get maven 2 working. I am working on web application and only have one module with is packages as a war. I have that part

Re: Maven2 documentation.

2006-07-18 Thread Emmanuel Venisse
Jeff Mutonho a écrit : On 7/18/06, Bill Manuel [EMAIL PROTECTED] wrote: Hello all, I have used maven 1.0 in the past to manage my builds. I have not used it in a while and I am trying to get maven 2 working. I am working on web application and only have one module with is packages as a

How to create variable in pom file?

2006-07-18 Thread Kapil Gupta\(CT\)
Hi, Is it possible to create an environment variable in a pom file? I want to create a variable in parent pom which can be accessed in child pom files. Thanks Regards, Kapil

Re: How to create variable in pom file?

2006-07-18 Thread Tung Nguyen
You can use properties: properties variable-name1value1/variable-name1 variable-name2value2/variable-name2 . /properties - Original Message From: Kapil Gupta(CT) [EMAIL PROTECTED] To: users@maven.apache.org Sent: Tuesday, July 18, 2006

Re: Accessing the build number

2006-07-18 Thread Lukasz Szelag
Pete, Unfortunately, the sourcecode belongs to my employer so I won't be able to send it to you :( However, the Mojo is really simple. What you need to do is to define a member variable of type Artifact (see my previous post) and then you can access the version, etc. by invoking some methods on

Re: Maven2 documentation.

2006-07-18 Thread Andrew Chapman
I would differentiate between building an ear for the purposes of deploying the war for integration testing, and building an ear for distribution / release. The latter I would create a separate project for, whilst the former I would bind to the pre-integration-test phase of the war project (using

Re: Maven 2 jasper-reports-plugin

2006-07-18 Thread Doug Douglass
Matt, Since no one has responded...I haven't used this plugin, but it is in the Mojo Sandbox, from which we do use other plugins. The following should help you out with repository access issues: http://mojo.codehaus.org/using-sandbox-plugins.html I don't see a snapshot deployed to the above

Identifying versions of jar files

2006-07-18 Thread Andrew-A . Davies
Title: Identifying versions of jar files Hi, Can anyone tell me how to accurately identify the version of a particular jar file ? I have been provided with a number of jars and need to place them in to a maven 2 repo, but want to ensure I get the correct version number. TIA Andy

RE: Identifying versions of jar files

2006-07-18 Thread Jason.Yankus
Andy: Sadly, if the author doesn't put the API version in the jar's manifest file or it's not built into the name of the jar itself you're not going to have a good chance at discerning the version. Your mileage may vary; however, these are generally the only two ways of which I'm aware.

RE: Identifying versions of jar files

2006-07-18 Thread Andrew-A . Davies
I seem to recall a recent Maven User group I attended in london talking about MD5 checksums. Can't remember if this was a feature that was going to be exposed with upcoming repository manager. A -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 18 July 2006

RE: Identifying versions of jar files

2006-07-18 Thread Jörg Schaible
[EMAIL PROTECTED] wrote on Tuesday, July 18, 2006 3:40 PM: Andy: Sadly, if the author doesn't put the API version in the jar's manifest file or it's not built into the name of the jar itself you're not going to have a good chance at discerning the version. Your mileage may vary;

RE: Identifying versions of jar files

2006-07-18 Thread Jason.Yankus
Right, I didn't think of that. That would assuredly work, but I don't know if it's automated. -jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 9:42 AM To: users@maven.apache.org Subject: RE: Identifying versions of jar files I

Re: Sample project using M2/EJB3/TestNG for using jboss embeddable container

2006-07-18 Thread Srepfler Srgjan
Marco Mistroni wrote: hi darren, there are problems with surefire-2.0.. i have mailed testng mailiing lists.. if you run maven -x with both surefire-2.2 and surefire-2.0 you'llnoticd that with 2.2 there are plenty of jars being loaded in jboss, while with 2.0there areonly 3.. that was as far as

SOLVED Re: [M2] Difference between 'mvn test' and 'mvn install'

2006-07-18 Thread Jakub Pawlowicz
Hi Jörg, I used the -X switch and I found that 'mvn test' uses module's target/classes directory where 'mvn install' uses module's jar. And then I discovered, that Spring does not handle wildcard patterns (eg applicationContext*.xml) when looking for contexts packaged in other jars. So

war including excluded transitive jars

2006-07-18 Thread David Smiley
I'm experiencing something that obviously shouldn't be happening but I can't figure out why. I realized my war was getting loaded up with all sorts of jars that shouldn't be there. Even Ant! To debug maven, I know to use -X and so I do that to view the dependency tree get resolved... and my

Re: SOLVED Re: [M2] Difference between 'mvn test' and 'mvn install'

2006-07-18 Thread Daniel Serodio
Jakub Pawlowicz wrote: Hi Jörg, I used the -X switch and I found that 'mvn test' uses module's target/classes directory where 'mvn install' uses module's jar. And then I discovered, that Spring does not handle wildcard patterns (eg applicationContext*.xml) when looking for contexts packaged

Re: war including excluded transitive jars

2006-07-18 Thread David Smiley
Oh... I figured out a clue to the problem. I've been using jetty (6.0.0rc0) to test out my webapp. Jetty only loads the jars I want into its webapp classloader. I found out that the jars that were getting into the generated war at war:war were jetty's dependencies! So by having the jetty

html2dox for maven2

2006-07-18 Thread Aaron Ingram
I'd like to produce doxygen/javadoc pages for my site and I'd like them to be in the same style as what mvn site generates. Given that I'm new to maven2, is there an equivalent to html2dox? - Yahoo! Music Unlimited - Access over 1 million

Re: SOLVED Re: [M2] Difference between 'mvn test' and 'mvn install'

2006-07-18 Thread Jakub Pawlowicz
Hi Daniel, I've just started a new thread on the Spring forums. http://forum.springframework.org/showthread.php?t=27048 Regards, Jakub Pawlowicz On Jul 18, 2006, at 4:33 PM, Daniel Serodio wrote: Jakub Pawlowicz wrote: Hi Jörg, I used the -X switch and I found that 'mvn test' uses module's

profile inheritance problem

2006-07-18 Thread ertnutler
i have a multi-module project that looks like this: -- parent |-- profiles.xml |-- pom.xml |-- childProjectJar |--profiles.xml |--pom.xml |-- childProjectEjb |-- profiles.xml |-- pom.xml one profile is defined in parent/profiles.xml, and environment

Re: [m1] how to set testmatchpattern from maven.xml

2006-07-18 Thread Lukas Theussl
Did you try j:set var= value= scope=parent/ HTH, -Lukas Nicolas De Loof wrote: Hello, I'd like to run some tests in my multiproject maven.xml (thos tests will run on my continuum server) I've setup a goal in my parent maven.xml that uses reactor to execute test:match :

Re: [M1] EJB Plugin 1.6 vs 1.7.2 - does not compile java files

2006-07-18 Thread Lukas Theussl
Did you set the maven.ejb.client.generate variable? If yes, you should probably file a JIRA issue (preferably with reproducible test case attached). -Lukas Benoit Xhenseval wrote: Hello I'm upgrading to maven 1.1 (steady step towards m2... when I'll have time!) I noticed that the ejb

archetypes

2006-07-18 Thread Laurent GRANIE
Hi, I want to generate the structure of a plexus component. There is an archetype : E. Venisse deploy it on http://snapshots.repository.codehaus.org. How do I configure my maven2 settings to search on central and on this particular repository? Does archetype work with profiles settings? Why

Re: archetypes

2006-07-18 Thread Wendy Smoak
On 7/18/06, Laurent GRANIE [EMAIL PROTECTED] wrote: I want to generate the structure of a plexus component. There is an archetype : E. Venisse deploy it on http://snapshots.repository.codehaus.org. You can use -DremoteRepositories on the command line to tell it where to look. *

RE: prepare:release failure for flat layout project structure

2006-07-18 Thread Mike Perham
Certainly looks that way. It looks like a Maven SCM bug. What SCM system are you using? -Original Message- From: Ciprian Duma [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 5:21 AM To: Maven Users List Subject: prepare:release failure for flat layout project structure Hi, I

Excluding java files in war

2006-07-18 Thread Jeff Mutonho
My war file is being created with the source files (i.e java files) in it.I have defined the following in my pom to exclude *.java files , but doesn't seem to be working resources resource directoryJavaSource/directory

How to use war:exploded in multi module

2006-07-18 Thread raghurajan . x . gurunathan
Hi All, I have a multi module with single parent as like Parent - SubEjbModule - SubWarModule - Ear Everything works fine for me with this when in ran mvn -e clean deply it creates ejb.jar.war and ear no problem. But here if i want

Re: prepare:release failure for flat layout project structure

2006-07-18 Thread Ciprian Duma
I use CVS for the test projects. I tried several times with the same result, unfortunatelly when running mvn with trace on, it doesn't give more information. On 7/18/06, Mike Perham [EMAIL PROTECTED] wrote: Certainly looks that way. It looks like a Maven SCM bug. What SCM system are you

Re: prepare:release failure for flat layout project structure

2006-07-18 Thread dan tran
try to have relative path on your modules parent groupIdorg.cd.test/groupId artifactIdparent/artifactId version1.0-SNAPSHOT/version relativePath../parent/pom.xml/relativePath /parent On 7/18/06, Mike Perham [EMAIL PROTECTED] wrote: Certainly looks that way. It looks

Re: prepare:release failure for flat layout project structure

2006-07-18 Thread Ciprian Duma
I just tried but the result is the same :(. Does the scm url play any role? They look like this: .../cvs-repo:pre_dev/maven-tests/module1 .../cvs-repo:pre_dev/maven-tests/module2 .../cvs-repo:pre_dev/maven-tests/parent On 7/18/06, dan tran [EMAIL PROTECTED] wrote: try to have relative path

Re: prepare:release failure for flat layout project structure

2006-07-18 Thread dan tran
I guess you stuck http://jira.codehaus.org/browse/MRELEASE-138 release plugin expects child projects are under parent project -D On 7/18/06, Ciprian Duma [EMAIL PROTECTED] wrote: I just tried but the result is the same :(. Does the scm url play any role? They look like this:

RE: Excluding java files in war

2006-07-18 Thread Mike Perham
Try using warSourceExcludes in the war config. -Original Message- From: Jeff Mutonho [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 11:45 AM To: Maven Users List Subject: Excluding java files in war My war file is being created with the source files (i.e java files) in it.I

Re: Excluding java files in war

2006-07-18 Thread Jeff Mutonho
On 7/18/06, Mike Perham [EMAIL PROTECTED] wrote: Try using warSourceExcludes in the war config. Thanx.Had that already but I think my mistake was also having this resources resource directoryJavaSource/directory

RE: [m2] dependencyManagement question ?

2006-07-18 Thread Ruel Loehr
There is a related JIRA ... http://jira.codehaus.org/browse/MNG-1577 Feel free to vote for it. Ruel Loehr JBoss QA -Original Message- From: David Smiley [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 10:50 AM To: users@maven.apache.org Subject: Re: [m2]

Weblogic Deployment

2006-07-18 Thread Pauquette, Bryan
I have a maven 2.0.4 build creating an ear file that I would like to deploy to a weblogic 8.1.x container via a mvn command line. Where do I start? I have tried getting the maven-weblogic-plugin installed but this doesn't seem to be working for me. I have tried the following... mvn

Re: Weblogic Deployment

2006-07-18 Thread ertnutler
delete /org/codehaus/mojo/maven-weblogic-plugin from your local repository and run your mvn command again. i don't know why, but if there's a pom in that directory but no jar file, maven doesn't go to the remote repo again. it just fails. deleting the local directory has always solved this

Eclipse Plugin

2006-07-18 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to know if the eclipse plugin is not only capable of creating WTP project files but also the different J2EE projects like EJB, EAR and the well? Anyone know how to create these? Thanks Markus Wolf - -- emedia-solutions wolf Wedeler

Re: Eclipse Plugin

2006-07-18 Thread Fabrizio Giustina
The eclipse plugins create the appropriate configuration files depending on the package of the project. Just use a ear o ejb packaging in your pom and run eclipse:eclipse as usual fabrizio On 7/18/06, Markus Wolf [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I

Cleaning up Build History

2006-07-18 Thread Jason.Yankus
Greetings: Continuum 1.0.3, running on FC-4. I've had a great experience running Continuum for our newer Maven 2 builds; however, I've been integrating our existing ant builds into Continuum with some difficulty. The root cause of the difficulty is somewhat outside the scope of this list

ant task artifact:deploy hanging ant builds.

2006-07-18 Thread Jason.Yankus
Greetings: Maven 2.0.4, Ant 1.6.5, Windows XP (also occurs on RH FC-4) I've integrated a number of our existing Ant builds with the maven dependency resolution mechanism. They are drawing their dependencies from our proxy repository without difficulty. I'm having trouble with the deployment

Surefire reporting in html

2006-07-18 Thread EJ Ciramella
So I've configured my maven-surefire-report-plugin but I can't seem to get any html output. What lifecycle goal is this plugin associated with? How do I get html?

Re: Cleaning up Build History

2006-07-18 Thread Jesse McConnell
ya, that is a known problem that is getting fixed in continuum 1.1 which is under development right now :) my understanding is that you can click the build all button and that ought to reset those builds, at least I saw emmanuel mention that not too long ago. cheers! jesse On 7/18/06, [EMAIL

RE: Surefire reporting in html

2006-07-18 Thread EJ Ciramella
Actually at the bottom of the mvn 2 output, I see this: [WARNING] Unable to locate Test Source XRef to link to - DISABLED Anything in the reporting docs say everything is optional: http://maven.apache.org/plugins/maven-surefire-report-plugin/report-mojo .html What am I doing wrong?

RE: Cleaning up Build History

2006-07-18 Thread Jason.Yankus
Thanks for the quick reply. Running a build all didn't get rid of the old in progress status builds, but that may simply be because I bounced continuum since the in progress build hung. I suppose it's not really a problem, just an aesthetic issue with having a messy build history. -jason

[m2] How to fix/customize Checkstyle report output?

2006-07-18 Thread KC Baltz
The checkstyle report produced by the site plugin has some lines that are way to wide, with content I don't care about. How can I go about either wrapping the lines or removing the content entirely? The content in question is the list of options to each checkstyle rule. K.C.

RE: Surefire reporting in html

2006-07-18 Thread EJ Ciramella
Where is the configuration page for the surefire plugin? (not the surefire reporting plugin) -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 3:52 PM To: Maven Users List Subject: RE: Surefire reporting in html Actually at the bottom of the

application.xml generation.

2006-07-18 Thread Pauquette, Bryan
When I attempt to deploy my mvn 2.04 generated ear into a weblogic container the container throws a deployment exception due to a missing DOCTYPE header in the application.xml that was generated by maven. weblogic.management.DeploymentException: Error while loading descriptors: Error processing

[m2] version resolution

2006-07-18 Thread Beyer,Nathan
Is there a guide, document or piece of code that I can look at to determine the precedence of arbitrary version numbers? For example, given an arbitrary artifact with the following possible versions, what would be the order of precedence? 10.0.0, 2.1.10, 1.0.0, 1.1.0, 1.0-alpha-1, 1.0-RC1,

RE: Surefire reporting in html

2006-07-18 Thread EJ Ciramella
Better yet - is there a way to condense all the reports into one comprehensive page (instead of each module having its own page)? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 4:44 PM To: Maven Users List Subject: RE: Surefire reporting in

Re: application.xml generation.

2006-07-18 Thread Wayne Fay
Apparently Weblogic requires a DOCTYPE header at the top of the application.xml file: http://e-docs.bea.com/wls/docs81/programming/app_xml.html You will either need to create your own application.xml with the proper header and use it instead of the Maven-generated one, or patch the EAR/WAR code

Re: Cleaning up Build History

2006-07-18 Thread Emmanuel Venisse
It isn't only a build all click to do, but it's a two steps workaround. 1- restart continuum (it will reinitialize project state, but not in interface) 2- click on build all button After these two steps, all will be ok. Emmanuel Jesse McConnell a écrit : ya, that is a known problem that is

Re: Eclipse Plugin

2006-07-18 Thread Markus Wolf
The eclipse plugins create the appropriate configuration files depending on the package of the project. Just use a ear o ejb packaging in your pom and run eclipse:eclipse as usual I've done exaclty that but I cant deploy my EAR project to an 'eclipse managed server'. Therefore my question.

Re: Weblogic Deployment

2006-07-18 Thread Ralf Quebbemann
You have to checkout the Weblogic Maven plugin from the mojo codehaus subversion repository and build and install the plugin manually. Checkout the website at http://mojo.codehaus.org/weblogic-maven-plugin. You can access the SVN at:

RE: Surefire reporting in html

2006-07-18 Thread Mike Perham
Report aggregation is hit and miss currently. Javadoc, javancss and clover for instance have home-grown aggregation support but there is no standard way to do it. For most reporting plugins, the answer is no. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent:

Re: Cleaning up Build History

2006-07-18 Thread Jesse McConnell
well, you heard the man :) On 7/18/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: It isn't only a build all click to do, but it's a two steps workaround. 1- restart continuum (it will reinitialize project state, but not in interface) 2- click on build all button After these two steps, all will

NPE for Ant plugin example

2006-07-18 Thread Chris Wall
I attempted to create the hello example outlined here: http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html But, Im getting the following. See attached pom.xml. Maven 2.0.2. Known issue? [INFO] Scanning for projects... [INFO]

provided is invalid vs package mypackage does not exist

2006-07-18 Thread Matthias Wessendorf
Hi, I have a strange problem... My project depends on a JAR (jstl-1.2.jar) file that contains a package (javax.servlet.jsp.jstl.sql). The Jar is beeing downloaded by Maven (as expected). See: snip Downloading:

How to use maven2 to start hsqldb ?

2006-07-18 Thread Yin AnPing
Hi, guys I want to write a ant mojo plugin to start hsqldb in server mode, here is the ant script target name=run-server java classname=org.hsqldb.Server fork=true arg line=-database.0 ${maven.hsql.database} -dbname.0 ${ maven.hsqldb.dbname}/ classpath

Parameterizing version

2006-07-18 Thread Tom Harris
I am trying to run an install goal with a version parameter on the command line. Maven (version 2) applies the version parameter to the JAR created in the build directory but changes it to the value of version in the POM. I've tried removing the version tag from the POM but then Maven fails.

RE: Surefire reporting in html

2006-07-18 Thread EJ Ciramella
Actually, with a bit of configuration of the surefire plugins, I seem to be able to do this. I simply change the output of the tests to all point to the same folder in the parent directory, then the reporting plugin looks there. Looks ok to me, is there anything wrong with this approach?

Converting AppFuse to a Maven 2 Project

2006-07-18 Thread Matt Raible
Hello all, I'm starting to convert AppFuse to be a Maven 2 project, and (hopefully) use Maven 2's archetype system to allow users to create new projects. Initially, I'm thinking of a directory structure that contains many different modules, maybe something like this: hibernate ibatis core