Re: Compiler Plugin Extension

2006-11-22 Thread Markus Wolf
You can always add dependencies directly to the plugin node, but this assumes that you have the artifacts available in your repo. thats no opinion, because there are no artifacts available (but I could possibly create some...) I've seen that the maven-eclipse-plugin in the snapshot could

Re: Exclude modules from site

2006-11-22 Thread JC Walmetz
Maybe I can open an issue in JIRA ? It looks like a bug ! JC Walmetz wrote: Hi, I've tried several configuration artifactIdmaven-site-plugin/artifactId configuration moduleExcludesmoduleExcludetransferobject.sdo.test/moduleExclude/moduleExcludes /configuration This one is

RE: Don't add dependency?

2006-11-22 Thread jiangshachina
Hi Jörg, Thanks very much! You released one of my agony. a cup of Java, cheers! Sha Jiang Jörg Schaible wrote: jiangshachina wrote on Wednesday, November 22, 2006 2:38 AM: Hi guys, I found the key. In management-1.0.pom, I excludes jta from hibernate dependency. At beginning, I

[m2] where can I find the core sources repository

2006-11-22 Thread SoftwareEngineering Hauschel
Hi all, is there a readable public cvs/svn repository for the core plugIns? Fredy

Re: [m2] where can I find the core sources repository

2006-11-22 Thread SoftwareEngineering Hauschel
Found it! http://maven.apache.org/scm/scms-overview.html sorry! 2006/11/22, SoftwareEngineering Hauschel [EMAIL PROTECTED]: Hi all, is there a readable public cvs/svn repository for the core plugIns? Fredy -- Mit freundlichen Grüßen Fred Robert Hauschel +49 179 6917092

generate JAR and all dependecy jars to a folder automatically

2006-11-22 Thread thorsten
Hi, is there any possibility with maven (or a different tool) to create a folder with the JAR of the project and all necessary JAR dependency files to run the application? Right now i have to copy the other JAR files manually ;-( Regards, Thorsten example: pom.xml ?xml version=1.0? project

Re: generate JAR and all dependecy jars to a folder automatically

2006-11-22 Thread Martin Vysny
On Wed, 2006-11-22 at 10:20 +0100, [EMAIL PROTECTED] wrote: Hi, is there any possibility with maven (or a different tool) to create a folder with the JAR of the project and all necessary JAR dependency files to run the application? Right now i have to copy the other JAR files manually ;-(

Re: site-deploy

2006-11-22 Thread Francois Le Fevre
Dear Paul, I have configured my pom as you said. But it doesn't work. Could you have a look to my pom? Or to the fulltrace of mvn site-deploy? You can see that it use evrytime wagon *1.0-alpha-5* It seems that the ewtensions is not well read. Thanks again for your help. If you need more

Missing Plugin

2006-11-22 Thread Anthony Ryan
Hi all, I'm having a problem with some missing plugins. When I run 'mvn install' when creating an archetype I get: The plugin 'org.apache.maven.plugins:maven-jar-plugin' does not exist or no valid version can be found I thought I had the latest version (2.1 I think), but I decided to run 'mvn

Re: site-deploy

2006-11-22 Thread Francois Le Fevre
Dear Paul, Here an extract of my log when running mvn site-deploy -X -e Sincerly [] [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-repository-metadata:jar:2.0 from the repository. [DEBUG]

different sources for maven compiling and Eclipse building

2006-11-22 Thread Marie Sauvage
Hi ! I have to use 2 different sources directories : one for Eclipse project building and one for maven compiling, because of a transition phase of annotation processing. I thought of using profiles (one for the mvn eclipse:eclipse and one for mvn) but we can't define multiple

Multiple Assemblies via profiles

2006-11-22 Thread Mirko Leschikar
Hi, I have a project that contains many modules. And I also wanted to have some assemblies where some modules are simply extracted in the jar file. I tested it with one: parent pom: ... build plugins plugin artifactIdmaven-assembly-plugin/artifactId configuration

Re: Changing WAR default goal

2006-11-22 Thread coutant
http://maven.apache.org/plugins/maven-war-plugin/exploded.html Above link suggests following configuration : plugin groupIdorg.apache.maven/groupId artifactIdmaven-war-plugin/artifactId version2.1/version

Re: Multiple Assemblies via profiles

2006-11-22 Thread Arnaud Bailly
Mirko Leschikar [EMAIL PROTECTED] writes: I am pretty confused. What did I make wrong? Any hints? Did you try mvn help:effective-pom for tracing what gets really activated ? -- OQube software engineering \ génie logiciel Arnaud Bailly, Dr. \web http://www.oqube.com

Re: Changing WAR default goal

2006-11-22 Thread Rémy Sanlaville
It does not work for me too. Even if I use this configuration plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0.2-SNAPSHOT/version goals goalexploded/goal /goals /plugin or plugin

Re: Multiple Assemblies via profiles

2006-11-22 Thread Rémy Sanlaville
Just to be sure it is not a typo... profile id profileA/id You have a space before profileA... profile idprofileA/id Rémy

Re: Multiple Assemblies via profiles

2006-11-22 Thread Mirko Leschikar
Rémy Sanlaville schrieb: Just to be sure it is not a typo... profile id profileA/id You have a space before profileA... profile idprofileA/id Yes, unfortunately, it was a just a typo in the mail :-). It is correct in my pom. Regards Mirko

Re: Apply license to all java files?

2006-11-22 Thread emerson cargnin
checkstyle, as its name says, just check... On 21/11/06, Alexandre Russel [EMAIL PROTECTED] wrote: It is a checkstyle feature. It is probably possible to do it with this plugin alex On Tuesday 21 November 2006 12:16, Wim Deblauwe wrote: Hi, does anybody know of a Maven plugin (or some other

Re: Multiple Assemblies via profiles

2006-11-22 Thread Mirko Leschikar
Arnaud Bailly schrieb: Mirko Leschikar [EMAIL PROTECTED] writes: I am pretty confused. What did I make wrong? Any hints? Did you try mvn help:effective-pom for tracing what gets really activated ? Now, I did :-) In the build section of parent project, there is only the assembly

Static content deployement

2006-11-22 Thread Laurent GRANIE
Hi all, There are 3 apache (in front of tomcat instances) that content the static files (images, html files, ...). How can I deploy the static content on this 3 apache with Maven 2? Thanks, Laurent. - To unsubscribe, e-mail:

Re: debian start up

2006-11-22 Thread David J. M. Karlsen
Tony Heal wrote: I am having problems getting continuum (v1.0.3) to start on a debian (sarge v3.1) system. If the server is restarted continuum tries to start up, but receives a shutdown signal from something I can not find. After I log back in I can start up continuum without any problems at

Re: Static content deployement

2006-11-22 Thread Santosh Iralapalle
Hi Laurent, U can metion this in project.xml file under resurces tag e.g. resources resource directory${basedir}/src/main/resources//directory includes include**/*.*/include /includes /resources /resource On

Re: QDox, Maven Plugin and JDK 1.5

2006-11-22 Thread Emmanuel Hugonnet
zze- HUGONNET E ext RD-BIZZ a écrit : zze- HUGONNET E ext RD-BIZZ a écrit : Andrew Williams a écrit : I recommend 1.6.1, as 1.6 depends on Java5 by mistake Emmanuel Hugonnet wrote: zze- HUGONNET E ext RD-BIZZ a écrit : Hi, Is there some way to specify where is the MOJO so that Qdox doesn't

Re: Static content deployement

2006-11-22 Thread Laurent GRANIE
Thanks. In that case, what is the packaging of my project? It can't be jar or war... Laurent. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

eclipse .classpath generation in a multiproject with eclipse:eclipse

2006-11-22 Thread AndreasWuest
hello, i have a question concerning the usage of eclipse in a multiproject build. i have a project that has the following structure : + project + ear + ejb + web The project contains a pom.xml with the defined modules: modules moduleear/module moduleejb/module

Re: different sources for maven compiling and Eclipse building

2006-11-22 Thread Marie Sauvage
Hi, it's me anymore ! I found the exclude directive and try this in my build to exclude the spooned directory from project : resource directory${basedir}/target/spooned/directory excludes exclude**/*/exclude /excludes

Maven and TestNG

2006-11-22 Thread Wim Deblauwe
Hi, what is the current status on Maven2 and TestNG? This blog entry[1] shows me a way to avoid surefire, but this does not feel right. The official TestNG documentation[2] talks about using surefire 2.8-SNAPSHOT, but when I declare this version, all I get from maven is this: [INFO]

Re: Maven and TestNG

2006-11-22 Thread Marco Mistroni
Hello, try with this dependencies dependency groupIdorg.testng/groupId artifactIdtestng/artifactId version5.1/version scopetest/scope classifierjdk15/classifier /dependency /dependencies build plugins plugin

What is Doxia?

2006-11-22 Thread Ole Ersoy
Hi, Does anyone know where I can find some information on Doxia. Based on the name I'm guessing it's for documentation. Are there any resources showing usage examples? Thanks, - Ole Sponsored Link

What happened with java.net's m2 repo?

2006-11-22 Thread David J. M. Karlsen
https://maven2-repository.dev.java.net/ states to use https://maven2-repository.dev.java.net/nonav/repository as url for their maven2 repo - but this fails (404). Anybody got any news on this? David -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com

How to not include POM in packaged artifacts

2006-11-22 Thread Sebastien Brunot
Hi all, jar, war and ear artifacts packages by maven includes the POM (and a pom property file) under META-INF. How to not include the POM files into META-INF ? Thanks for your help, Sebastien

Windows PowerShell

2006-11-22 Thread Martin Gilday
I have begun to use Windows PowerShell on my XP box. Normally Maven usage has been fine and I was using a few of the new shells filtering tools to format the output. Then I tried a slightly more advanced command (although still basic). I tried mvn deploy -Dmaven.test.skip=true. This gives me

Re: Missing Plugin

2006-11-22 Thread Wayne Fay
Are you perhaps behind a proxy? Unless things are configured correctly, proxies can cause some problems. Also, run mvn -X to see more information while Maven is running that might key you into why this problem is happening. Wayne On 11/22/06, Anthony Ryan [EMAIL PROTECTED] wrote: Hi all,

Re: How to not include POM in packaged artifacts

2006-11-22 Thread Wayne Fay
Based on previous emails about this issue, I'm pretty sure this should do it. Of course you'll need to set maven-jar-plugin, maven-war-plugin, or maven-ear-plugin appropriately. build plugins plugin artifactIdmaven-jar-plugin/artifactId configuration archive

Re: eclipse .classpath generation in a multiproject with eclipse:eclipse

2006-11-22 Thread Thomas Recloux
The maven eclipse plugin creates eclipse .project and .classpath files for each maven project ( : pom.xml file). You should read this guide : http://maven.apache.org/guides/mini/guide-ide-eclipse.html 2006/11/22, AndreasWuest [EMAIL PROTECTED]: hello, i have a question concerning the usage of

Windows PowerShell

2006-11-22 Thread Martin Gilday
I have begun to use Windows PowerShell on my XP box. Normally Maven usage has been fine and I was using a few of the new shells filtering tools to format the output. Then I tried a slightly more advanced command (although still basic). I tried mvn deploy -Dmaven.test.skip=true. This gives me

Re: Maven and TestNG

2006-11-22 Thread Wim Deblauwe
Thanks, that runs my tests. It a pity that I have to add all my packages to my testng.xml file. Do you know a way to say: recursively from this one? This is what I got now: suite name=All tests verbose=1 test name=All tests packages package name=net.sourceforge.vigilog/

Re: What happened with java.net's m2 repo?

2006-11-22 Thread Wayne Fay
The bug has already been filed: https://maven2-repository.dev.java.net/issues/show_bug.cgi?id=1 Wayne On 11/22/06, David J. M. Karlsen [EMAIL PROTECTED] wrote: https://maven2-repository.dev.java.net/ states to use https://maven2-repository.dev.java.net/nonav/repository as url for their

Re: Compiler Plugin Extension

2006-11-22 Thread Wayne Fay
I was simply suggesting along these lines: project build plugins plugin ... dependencies dependency ... /dependency /dependencies /plugin /plugins /build /project This allows you to attach an artifact directly to a plugin used

Re: What happened with java.net's m2 repo?

2006-11-22 Thread Aleksei Valikov
Hi. https://maven2-repository.dev.java.net/ states to use https://maven2-repository.dev.java.net/nonav/repository as url for their maven2 repo - but this fails (404). Use this link to browse the repo:

Re: What is Doxia?

2006-11-22 Thread Eric Redmond
You're correct, it is a generic documentation framework, allowing one to write documents in one markup (xdoc, APT, etc) and generate something else (HTML, PDF). It does this through the sink mechanism... any markup can output to the sink API (defined as modules), and thus may render to any

Re: set -source 1.5?

2006-11-22 Thread Eric Redmond
Are you using a compiler other than Sun or IBM? If so, you may have to add this configuration (or whatever arg is speciific to your compiler): compilerArguments resouce1.4/resouce /compilerArguments Eric On 11/ 21/06, jiangshachina [EMAIL PROTECTED] wrote: Hi

Re: Maven and TestNG

2006-11-22 Thread Marco Mistroni
Hello Wim, sorry havent' had a look at TestNG in a bit (i m doing it on my leasure time..which is almost null). I m sure there are parameters in TestNG with which you can configure dynamically the tests that run (for example, by making all tests part of the same group and specifying which test

Re: Archetype Question

2006-11-22 Thread Heinrich Nirschl
On 11/22/06, Wendy Smoak [EMAIL PROTECTED] wrote: Has anyone found a way to escape expressions in Velocity, so it will pass them through? One possibility is to define the property start sequence as velocity macro: #set( $ps = ${ ) ... and later in the file this should remain

Re: eclipse .classpath generation in a multiproject with eclipse:eclipse

2006-11-22 Thread AndreasWuest
i have seen the guide, but it did not really convice me. so this guide tells me that i need at least two eclipse instances. one that only servers as a cvs client, and one which is used as java ide. i can't see the disadvantage of having a .project and a .classpath created in the parent, with

What happened with java.net's m2 repo?

2006-11-22 Thread Jean Deruelle
Hi david, We recently went in trouble with some people from collabnet on the url to use and I guess this one is working for many committers or users. If it does not for you, can you please send me directly the problem output, the log or whatever message you do have on this mailing list : [EMAIL

Re: eclipse .classpath generation in a multiproject with eclipse:eclipse

2006-11-22 Thread Thomas Recloux
i have seen the guide, but it did not really convice me. so this guide tells me that i need at least two eclipse instances. one that only servers as a cvs client, and one which is used as java ide. You can't use an other cvs client for the root pom ? i can't see the disadvantage of having a

How to Release a parent project without releasing each child project

2006-11-22 Thread Dhananjay Nene
The current maven release behaviour seems to force me to release a sub-project and increment its version number even if there is no code change done whatsover for the project. I have a parent project (say A) with child projects (say B and C). The pom for A lists B and C as modules. Let us

Loading a POM Artifact

2006-11-22 Thread Ole Ersoy
Hi, Could someone please give me an idea of how to go about setting the classifier in (Is there a documented API for this?): artifact = factory.createArtifactWithClassifier(groupId, artifactId, version, type, classifier); Thanks again, - Ole

Re: How to Release a parent project without releasing each child project

2006-11-22 Thread Dhananjay Nene
Sorry - I made a mistake - the scenario documented below should've read : If I change only files in the project C (and make no changes whatsoever to any files in B). Dhananjay Nene wrote: The current maven release behaviour seems to force me to release a sub-project and increment its version

Re: Archetype Question

2006-11-22 Thread Michael Schlotfeldt
I found a method that /half-way /seems to work. If you put a \ in-front of an expression it is not processed. But the problem is that the \ is not removed after processing of the document. I would suggest a modification be made to the archetype plugin that removes one \ before any ${blah}

Re: Maven cyclic dependecy issue

2006-11-22 Thread Christian Goetze
It could be told by setting -Dmy_version=version and using ${my_version} in the parent reference. But not even that works. You're missing the point. A child pom MUST be able to know what version its parent is BEFORE it can inherit anything. Wayne is right... it's strickly a

Re: Maven cyclic dependecy issue

2006-11-22 Thread Wendy Smoak
On 11/22/06, Christian Goetze [EMAIL PROTECTED] wrote: The main point here is that one would like to have -exactly- -one- place where version numbers are defined and changed. Forcing people to manually edit dozens of pom.xml files every time the version number changes is just bad design. The

Re: Maven cyclic dependecy issue

2006-11-22 Thread Christian Goetze
Wendy Smoak wrote: On 11/22/06, Christian Goetze [EMAIL PROTECTED] wrote: The main point here is that one would like to have -exactly- -one- place where version numbers are defined and changed. Forcing people to manually edit dozens of pom.xml files every time the version number changes is

Default target

2006-11-22 Thread Allan Valeriano
Hi, I'd like to know if, on a multi-module project, maven uses a target directory for each module separately or if it has just one target directory for the parent project and all the modules save their class files on this default directory. thanks in advance Allan Valeriano

Assembly plugin for multi module project

2006-11-22 Thread Paolo Bacci
Hi, I need to make an assembly of my project to make tests on windows. I read this manual http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html but i keep getting the same error message: [INFO]

Re: set -source 1.5?

2006-11-22 Thread Paolo Bacci
I had problem like this one last week and in my case was that my javac was pointing to 1.5, while my java was pointing to 1.4 Maybe you're having the same problem. Try checking if javac and java are pointing to 1.5. It may be 1.4 as default. Paolo On 11/22/06, Eric Redmond [EMAIL PROTECTED]

Re: What happened with java.net's m2 repo?

2006-11-22 Thread David J. M. Karlsen
Jean Deruelle wrote: Hi david, We recently went in trouble with some people from collabnet on the url to use and I guess this one is working for many committers or users. If it does not for you, can you please send me directly the problem output, the log or whatever message you do have on

Re: What happened with java.net's m2 repo?

2006-11-22 Thread Wayne Fay
Please read this bug report for more information on this problem: https://maven2-repository.dev.java.net/issues/show_bug.cgi?id=1 Wayne On 11/22/06, David J. M. Karlsen [EMAIL PROTECTED] wrote: Jean Deruelle wrote: Hi david, We recently went in trouble with some people from collabnet on the

Re: Default target

2006-11-22 Thread Wayne Fay
Any particular reason you didn't just make a multi-module project and find out for yourself? This is one of those things you can very easily do for yourself... Anyways, Maven uses a target directory per module. And then the packaged modules are included in the parent package according to

Re: eclipse .classpath generation in a multiproject with eclipse:eclipse

2006-11-22 Thread Barrie Treloar
On 11/23/06, AndreasWuest [EMAIL PROTECTED] wrote: i have seen the guide, but it did not really convice me. so this guide tells me that i need at least two eclipse instances. one that only servers as a cvs client, and one which is used as java ide. i can't see the disadvantage of having a

Re: Default target

2006-11-22 Thread Allan Valeriano
I did, but I got confused if they were from maven or eclipse. Thanks for the help Allan Valeriano On 11/22/06, Wayne Fay [EMAIL PROTECTED] wrote: Any particular reason you didn't just make a multi-module project and find out for yourself? This is one of those things you can very easily do for

Re: Maven cyclic dependecy issue

2006-11-22 Thread Eric Redmond
On 11/22/06, Christian Goetze [EMAIL PROTECTED] wrote: It could be told by setting -Dmy_version=version and using ${my_version} in the parent reference. But not even that works. You're missing the point. A child pom MUST be able to know what version its parent is BEFORE it can inherit

Re: Loading a POM Artifact

2006-11-22 Thread Eric Redmond
I'm not sure what you mean here... do you mean how to configure a project's classifier in the POM? Are you building an artifact with a classifier, or are you trying to get one as a dependency? Eric On 11/22/06, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, Could someone please give me an idea of

Re: How to Release a parent project without releasing each child project

2006-11-22 Thread Eric Redmond
Let be clear here... its releasing all of them NOT because it is a parent of the other two, but because they are MODULES of the parent (acutally multi-module). When a project is contains module projects, you are effectively asking Maven to propogate any actions on the multi-module pom to each of

Re: Loading a POM Artifact

2006-11-22 Thread Ole Ersoy
Hi Eric, I'm writing an RPM mojo for the JPackage project. The JPackagers would put the artifactId, groupId, and version of the project they want to package in a configuration file. This lets the mojo know what project they want to package. So the mojo reads those parameters from the

Design Issue with the release plugin (was Re: Maven cyclic dependecy issue)

2006-11-22 Thread Christian Goetze
Maven does several things... one of which is building, but the other is to gently (OK, maybe not THAT gently) push users to adhere to standards. It is not by accident that non-standard behaviors are untenable. The standard in this situation you describe is to use the maven-release-plugin. I

Re: Design Issue with the release plugin (was Re: Maven cyclic dependecy issue)

2006-11-22 Thread Wendy Smoak
On 11/22/06, Christian Goetze [EMAIL PROTECTED] wrote: In order to use the release plugin, I have to decide to go for it, and call a particular source tree releasable. This may sound trivial, but it isn't. How do I decide that? We've been struggling with the same issue inside Apache, where

Using maven and testng

2006-11-22 Thread Lee Bieber
I'm trying to get testng working with maven. I've configured my pom.xml per the documentation .. dependency groupIdorg.testng/groupId artifactIdtestng/artifactId version5.1/version

Re: Design Issue with the release plugin (was Re: Maven cyclic dependecy issue)

2006-11-22 Thread Christian Goetze
Wendy Smoak wrote: On 11/22/06, Christian Goetze [EMAIL PROTECTED] wrote: In order to use the release plugin, I have to decide to go for it, and call a particular source tree releasable. This may sound trivial, but it isn't. How do I decide that? We've been struggling with the same issue

Re: How to Release a parent project without releasing each child project

2006-11-22 Thread Dhananjay Nene
Eric, (and other readers) I am a little confused and maybe I am missing something. Earlier I had a large bunch of leaf projects (basically a large number of logical components) each one of them was an independent CVS module, and they inherited their properties from a separate parents (and these

Re: Design Issue with the release plugin (was Re: Maven cyclic dependecy issue)

2006-11-22 Thread Wendy Smoak
On 11/22/06, Christian Goetze [EMAIL PROTECTED] wrote: In between propose and accept is when your QA department would do their work... and if accepted, the exact artifacts they've tested will be promoted to the release repository. This is I think where the problem is: if the promotion

Re: Maven Plugin Information Report overwrites index.html

2006-11-22 Thread Barrie Treloar
On 11/3/06, Edelson, Justin [EMAIL PROTECTED] wrote: I'm trying to update some inhouse plugins to adhere to the Plugin Documentation Standard (http://maven.apache.org/guides/development/guide-plugin-documentation.h tml) using the docck plugin, but am having a lot of trouble getting the

Re: Problem with site plugin

2006-11-22 Thread Barrie Treloar
On 10/19/06, Manuel Ledesma [EMAIL PROTECTED] wrote: I writing sites for my custom plugins, but I have an issue with index.apt, Maven seems to ignore it, instead it always shows me the list of goals. But if I run it in a non-plugin project, everything works fine. Can someone explain how can i

Re: Checkstyle Behind A Firewall

2006-11-22 Thread Barrie Treloar
On 10/1/06, Craig McClanahan [EMAIL PROTECTED] wrote: In the Maven2 build of Shale, I'm having a problem generating the site when running behind a firewall. A bit of research indicates that the problem relates to the following configuration setting for the Checkstyle plugin. plugin

Re: Loading a POM Artifact

2006-11-22 Thread Eric Redmond
The classifier is an optional extension to the project coordinate -- groupId:artifact:[classifier:]version. Unless your project needs noe (specified in the packaging plugin configuration, such as jar:jar), its not required. You can put in null. On 11/22/06, Ole Ersoy [EMAIL PROTECTED] wrote:

Re: Static content deployement

2006-11-22 Thread Santosh Iralapalle
The packaging of your project is war or any.Since in web page we require these static data. On 11/22/06, Laurent GRANIE [EMAIL PROTECTED] wrote: Thanks. In that case, what is the packaging of my project? It can't be jar or war... Laurent.

[m2] any way to build one apt file from a site?

2006-11-22 Thread Barrie Treloar
Site generation takes 1 minute. But I am working on apt documentation and want to know almost immediately if my stupid typos have been corrected. Does anyone know a faster way to cause a single page to be parsed by apt into html? I'd be happier with an Eclipse APT editor but that's asking too

How to ci Maven2 projects?

2006-11-22 Thread jiangshachina
Hi guys, I'm using CruiseControl 2.5 to continuous integrate Maven2 projects. I'm blocked by the strategy of continuous integration. For example, I have a Web application project and a pom.xml. The POM has set scm element and maven-scm-plugin for CVS. I set the following scripts to CC

Re: Loading a POM Artifact

2006-11-22 Thread Ole Ersoy
Eric, I should have known it would be something straightforward like that. Thanks a gazillion. I can finally get with it now. Cheers, - Ole --- Eric Redmond [EMAIL PROTECTED] wrote: The classifier is an optional extension to the project coordinate --

Re: [m2] any way to build one apt file from a site?

2006-11-22 Thread Wendy Smoak
On 11/22/06, Barrie Treloar [EMAIL PROTECTED] wrote: But I am working on apt documentation and want to know almost immediately if my stupid typos have been corrected. Does anyone know a faster way to cause a single page to be parsed by apt into html? mvn site:run, then visit

Re: [m2] any way to build one apt file from a site?

2006-11-22 Thread Barrie Treloar
On 11/23/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 11/22/06, Barrie Treloar [EMAIL PROTECTED] wrote: But I am working on apt documentation and want to know almost immediately if my stupid typos have been corrected. Does anyone know a faster way to cause a single page to be parsed by apt

Re: [m2] any way to build one apt file from a site?

2006-11-22 Thread Wendy Smoak
On 11/22/06, Barrie Treloar [EMAIL PROTECTED] wrote: Thanks Wendy, site:run starts the site up, which isn't what I am after. I want to parse my_doc.apt into html to check whether it converts correctly. Waiting 1 minute for the entire site to be generated (with 3 lifecycles because of docchk,

Re: How to continuous integrate Maven2 projects?

2006-11-22 Thread Dan Tran
not why you sent it twice within an hour best to ping cruise control list. On 11/22/06, jiangshachina [EMAIL PROTECTED] wrote: Hi guys, I'm using CruiseControl 2.5 to continuous integrate Maven2 projects. I'm blocked by the strategy of continuous integration. For example, I have a Web

Webapp won't start with jetty:run

2006-11-22 Thread Wendy Smoak
$ svn up; mvn clean install $ cd archiva-webapp $ rm derby.log $ mvn jetty:run This was working a couple of weeks ago. Now I get a huge stack trace, which can be seen here: http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven/ArchivaJettyError I think the relevant part is... ... [INFO] Starting jetty

Re: [m2] any way to build one apt file from a site?

2006-11-22 Thread Barrie Treloar
On 11/23/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 11/22/06, Barrie Treloar [EMAIL PROTECTED] wrote: Thanks Wendy, site:run starts the site up, which isn't what I am after. I want to parse my_doc.apt into html to check whether it converts correctly. Waiting 1 minute for the entire site to

[m2] noobie : cobertura problems - not reporting all classes in all packages

2006-11-22 Thread Mark Nicholson
Hi - I set up the following in pom : : build plugins !-- Cobertura Code Coverage -- plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId

How not to deploy a project?

2006-11-22 Thread Jochen Wiedmann
Hi, I have a parent project (Apache XML-RPC) with several childs: common, client, server, and tests. When deploying, they are all transmitted to the server. For obvious reasons, I do not want the tests to be published, so I remove the tests folder from the repository later on. However, the best

Re: Assembly plugin for multi module project

2006-11-22 Thread Timo Wolf
Hi, I have the same problem for some time and cannot find a solution. I found lots of users including me have big problems with the assembly plugin in multi module projects. Please help if possible. Timo On Nov 22, 2006, at 8:53 PM, Paolo Bacci wrote: Hi, I need to make an assembly of my

Shortening command lines with profiles?

2006-11-22 Thread Kevin Jackson
Hi all, I currently have a mvn command line which is fairly long eg: mvn clean compile war:inplace tomcat:inplace Is it possible to use a profile to reduce this to something like: mvn -P local-deploy where I can specify the exact goals in the profile instead of on the command line? Thanks,

Re: Surefire alternative

2006-11-22 Thread Dave Syer
Mirko Nasato wrote: Since I just need support for JUnit 3.8, not TestNG or POJOs, I wondered whether there is an older, stabler plugin somewhere. I was advised here: http://www.nabble.com/Surefire-report-issues-tf2634455s177.html#a7353146 to use the surefire plugin version 2.1.3.

Re: replace surefire with ant task

2006-11-22 Thread Dave Syer
While I agree with Chris Hilton that there is a smell with tests that run in ant but not surefire, surefire clearly isn't all it might be in other areas (e.g. http://jira.codehaus.org/browse/SUREFIRE-52). If anyone has a nice ant plugin recipe for running junit tests in m2 I'd be interested in

Re: Assembly plugin for multi module project

2006-11-22 Thread Barrie Treloar
On 11/23/06, Timo Wolf [EMAIL PROTECTED] wrote: Hi, I have the same problem for some time and cannot find a solution. I found lots of users including me have big problems with the assembly plugin in multi module projects. Search the Nabble archives. I am happily using assembly in