Changing WAR default goal

2005-11-20 Thread Frank Mena
How do I change the default goal of a war so that it produces an exploded war instead of .war file when I run the package goal? Frank

Re: [m2] xdoclet and ear plugin - how to generate .war extension (not .jar)

2005-11-20 Thread Stephane Nicoll
Ashley, I understand what your are trying to achieve. The thing is, changing the extension is not enough. Invoking such goals as 'install, deploy' needs your project to be properly configured. Typically, even if you had the ability to change the extension, the archive would still be deployed as a

Starting HSQL server from a custom goal

2005-11-20 Thread Sebastien Arbogast
I'm still trying to start a test database server just before my Spring+Hibernate unit tests are run. I applied the trick referenced in the FAQ, using j:thread to start the server in another thread. But now I have troubles with what I should put inside my custom start_test_server goal. Here is the

[m2] Facelets and JSF implementation

2005-11-20 Thread Piotr Bzdyl
Hello, I would like to setup my own central repository with Facelets jar and configure its pom with all dependencies. I see that it requires JSF API. I would like to use MyFaces or Sun's Reference Implementation. I think that I should include in the Facelets pom only JSF API dependency since

Re: [m2] Any support for Cruise Control yet?

2005-11-20 Thread Ralph Pöllath
Hi, I'm currently evaluating continuum and like it a lot, but I just read on continuum-users that test reports are currently not displayed (it's a planned feature for 1.1, and 1.0 just came out). I'm wondering whether it might be a little early to recommend continuum over CruiseControl?

[m2] missing dependency features??

2005-11-20 Thread Chris Berry
Greetings, Seems that dependencies should provide two features they do not already; 1) the ability to explicitly specify the URL from which to download an artifact (in m1, if I recall, this was handled by the jar element). This is particularly important when one depends upon interface definitions

Re: [m2] how to define the output HTML's encoding when using site:site?

2005-11-20 Thread Jean-Charles Giardina
this way didn't work with text in site.xml, but really work with all other src/site files ! 2005/10/14, Kenney Westerhof [EMAIL PROTECTED]: On Fri, 14 Oct 2005, Zhong ZHENG wrote: Use this: build plugins plugin artifactIdmaven-site-plugin/artifactId configuration

Re: [m2] missing dependency features??

2005-11-20 Thread Brett Porter
On 11/21/05, Chris Berry [EMAIL PROTECTED] wrote: Greetings, Seems that dependencies should provide two features they do not already; 1) the ability to explicitly specify the URL from which to download an artifact (in m1, if I recall, this was handled by the jar element). Actually, not quite

Re: [m2] Any support for Cruise Control yet?

2005-11-20 Thread Brett Porter
It depends on your required feature set. Continuum has a number of features CC doesn't have, and vice-versa. You can view test reports by browsing the working copy in Continuum, but we aim to have general report integration in the next releases. - Brett On 11/21/05, Ralph Pöllath [EMAIL

Re: Starting HSQL server from a custom goal

2005-11-20 Thread Brett Porter
I think: ant:arg value=-port 1701/ should be: ant:arg value=-port/ ant:arg value=1701/ and so on. - Brett On 11/20/05, Sebastien Arbogast [EMAIL PROTECTED] wrote: I'm still trying to start a test database server just before my Spring+Hibernate unit tests are run. I applied the trick

Configuring Continuum to start automatically on Fedora Core 4

2005-11-20 Thread Oscar Picasso
Hi, I am trying to configure contiuum to start automatically on Fedora Core 4. I have adapted from the documentation because on FC4 we need special comments on the script and FC4 does not have update-rc.d. Here is what I have done: - added the following comments to run.sh # chkconfig:

Re: [m2] parent poms and svn externals

2005-11-20 Thread Brett Porter
Right - though Maven discovers pom's in ../pom.xml, so if your layout is different, you must ensure that the parent is already installed in the repository (mvn install in the build directory in this case, or deployed to a remote repository accessible from the child project). - Brett On 11/20/05,

Re: [m2] parent poms and svn externals

2005-11-20 Thread Wendy Smoak
On 11/20/05, Brett Porter [EMAIL PROTECTED] wrote: Right - though Maven discovers pom's in ../pom.xml, so if your layout is different, you must ensure that the parent is already installed in the repository (mvn install in the build directory in this case, or deployed to a remote repository

Re: [m2] Any support for Cruise Control yet?

2005-11-20 Thread Ralph Pöllath
On 20.11.2005, at 19:18, Brett Porter wrote: It depends on your required feature set. Continuum has a number of features CC doesn't have, and vice-versa. Agreed. You can view test reports by browsing the working copy in Continuum, but we aim to have general report integration in the next

RE: [m2] parent poms and svn externals

2005-11-20 Thread Jeff Jensen
This issue has notes relevant to you too (for one, it must be absolute path; for two, I'm not sure, but it seems they plan to get rid of the feature). Please comment and vote... http://jira.codehaus.org/browse/MNG-1471 -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]

Re: [m2] parent poms and svn externals

2005-11-20 Thread Brett Porter
On 11/21/05, Wendy Smoak [EMAIL PROTECTED] wrote: It seems like we're going to lose that with m2. So far I think the parent tag has to include relativePath../build/pom.xml/relativePath (and everyone will need to know to check out 'build' along with whichever sub-project). And the svn

Re: [m2] parent poms and svn externals

2005-11-20 Thread Brett Porter
This doesn't appear relative to the parent element. - Brett On 11/21/05, Jeff Jensen [EMAIL PROTECTED] wrote: This issue has notes relevant to you too (for one, it must be absolute path; for two, I'm not sure, but it seems they plan to get rid of the feature). Please comment and vote...

Re: [m2] creating a par package and including it in an ear

2005-11-20 Thread Adam Hardy
You guys doing EJB3, can you recommend a decent tutorial on the new technology? Did you go to Sun or JBoss? I see with Sun's glassfish EJB3 server, the bundled tutorial is actually a tutorial for Netbeans users, rather than just a pure EJB3 tutorial :( Or are there others? Thanks Adam

Re: [m2] parent poms and svn externals

2005-11-20 Thread Wendy Smoak
On 11/20/05, Brett Porter [EMAIL PROTECTED] wrote: No, that's not the case. Someone just needs to deploy that root project. Relative path is just a hint for using a multiproject checkout structure so that if you edit it locally it gets picked up. It still goes to the repository if it is not

Re: [m2] creating a par package and including it in an ear

2005-11-20 Thread Arik Kfir
yeah that's a known issue with Sun ;-) for a getting-started kind of tutorial - I recommend JBoss's TrailBlazer (can't remember the url - google finds it though). for more in depth info - currently there's only the jcp spec and some material on the net. Oh oracle's OTN (http://otn.oracle.com)

Re: [m2] parent poms and svn externals

2005-11-20 Thread Brett Porter
You've got this corect - the modules are path based (in hindisght, maybe they should be repository references too - we'll look at implementing that in a backwards compatible way in 2.1). - Brett On 11/21/05, Wendy Smoak [EMAIL PROTECTED] wrote: On 11/20/05, Brett Porter [EMAIL PROTECTED] wrote:

[m2] how to use javacc?

2005-11-20 Thread Hubert Iwaniuk
Hi, Please help me getting javacc jjtree generation work in maven. I simply can't figureout how to set properties, so mojo will know where is jjt file, and how to make code generation occure before code compilation. I'm new to maven at all. Thanks for you help, Hubert.

[ANN] maven-tomcat-plugin 1.2.1

2005-11-20 Thread Nathan Coast
Hi, The codeczar team is pleased to announce the bugfix release of the maven-tomcat-plugin http://www.codeczar.com/products/maven-tomcat-plugin/ This build fixes two issues. 1) plugin now compatible with jdk 1.4 2) missing jar resources copied into target directory prior to jspc. maven

Re: Changing WAR default goal

2005-11-20 Thread Edwin Punzalan
Hi. The war:war goal is executed for all projects with packaging=war. I think overriding this default value is not supported yet. However, doing mvn test war:exploded would be a work-around as package is done after tests have passed. Frank Mena wrote: How do I change the default goal

Re: Changing WAR default goal

2005-11-20 Thread John Tolentino
mvn war:exploded Please see http://maven.apache.org/plugins/maven-war-plugin/ Other relevant info about plugins: http://maven.apache.org/plugins/index.html Regards, John Frank Mena wrote: How do I change the default goal of a war so that it produces an exploded war instead of .war file

Re: Changing WAR default goal

2005-11-20 Thread Frank Mena
Thanks. I was looking to stop the war:war from executing, as it takes time. Frank On 11/20/05, Edwin Punzalan [EMAIL PROTECTED] wrote: Hi. The war:war goal is executed for all projects with packaging=war. I think overriding this default value is not supported yet. However, doing mvn test

Re: [m2] how to use javacc?

2005-11-20 Thread Allan Ramirez
Hi Hubert, jjtree is not yet available in the javacc-maven-plugin. But it will have soon. regards, -allan Hubert Iwaniuk wrote: Hi, Please help me getting javacc jjtree generation work in maven. I simply can't figureout how to set properties, so mojo will know where is jjt file, and how to

Re: [m2] how to use javacc?

2005-11-20 Thread clark . rao
Dear Allan, You had better not use javac in maven. To complie a java file, create a jvm compiler is not good. You can read why we need ant and maven. thanks. Tel: (020)36315358-328 Fax: (020)36315170

Re: [m2] can't reach maven-proxy

2005-11-20 Thread Edwin Punzalan
Hi, are you sure its proxy you want? Proxies only forwards requests from private machines to those on the internet. If you want maven to go to your own repository, then setup a repository with id central so that the ibiblio repo will be overridden in your pom.xml. Or if you want to put

Re: [m2] can't reach maven-proxy

2005-11-20 Thread Edwin Punzalan
Also, please see: http://maven.apache.org/guides/introduction/introduction-to-repositories.html Didier BRICHET wrote: Hello, I'm trying maven in a corporate environnement. My problem is to use maven-proxy, to sit on my main server and imitate ibiblio. To do this, on a Windows XP machine

RE: [M2] [M1] Multiproject dependencies question

2005-11-20 Thread Jörg Schaible
Arik Kfir wrote on Friday, November 18, 2005 7:20 PM: in m2 you can define the version once - in the parent POM via a dependencyManagement section. All child POMs just state the group artifact IDs, without the version (they inherit the version from the parent). Well, with exceptions:

variable references for site generation

2005-11-20 Thread Anuerin Diaz
hi, where can i find a listing of the available references that i could use during site generation? the guide in the documentation site only lists ${reports} which inserts all reports included in the reporting/ section of the project. i was wondering if there is a similar mechanism for