Re: Releasing of Multimodule Projects and CVS

2007-03-22 Thread Christian Sauer
hey emmanuel, thanx for dropping this info and for fixen the problem :o)) do you know when the beta 5 will be released? cheers, chris - Giniality AG - Christian Sauer; Steinenberg 21, CH-4051 Basel Phone: +41 61 226 99 66;

RE: ear plugin usage

2007-03-22 Thread Jörg Schaible
EJ Ciramella wrote on Wednesday, March 21, 2007 7:00 PM: Ok, got that - new question (related), how does one get the ejbs into their ear typically? What does a properly configured ear plugin look like? Simply add them as dependency. - Jörg

JSPC plugin and target version of Tomcat

2007-03-22 Thread Christian Sauer
Hi, Yipie - I can successfully compile JSPs using the JSPC plugin. But the problem is, that the version of the plugin uses the jasper-compiler 5.5.15 by default. Consequently any precompiled JSP will not run in a tomcat 5.0.27! I already tried to override the dependency in my WAR project to be

Re: [ANN] Maven GPG Plugin 1.0-alpha-3 released

2007-03-22 Thread Matthias Wessendorf
anyone seen bad signatures with this particular plugin version? Thx, Matthias On 3/9/07, Daniel Kulp [EMAIL PROTECTED] wrote: The Maven team is pleased to announce the release of Maven GPG Plugin version 1.0-alpha-3. http://maven.apache.org/plugins/maven-gpg-plugin/ Release Notes - Maven

Newby Questions...

2007-03-22 Thread Giuseppe Greco
Hi all, I'm looking at Maven as a replacement for Ant. I was able to create a small test application with Maven and it works fine. I think Maven is really great! Since I'm really new to Maven, I've two questions: 1. How do I generate an application distro (i.e. a JAR that contains all the

[m2] CVS and mave-release-plugin 2.0-beta-5-SNAPSHOT : Wrong Password

2007-03-22 Thread Antonio Parolini
Hello, We are using the mave-release-plugin 2.0-beta-5-SNAPSHOT, since it corrects a lot of bug we had in beta 4. But since a few days, it dosen-t seems to connect to our CVS repo. My pom is ok, cause when I switch to beta-4, it succed to connect. Moreover, when using the SCM plugin, it

How to generate !-- from an XDOC?

2007-03-22 Thread Benoitx
Hi I'm trying to add a script in the footer of my maven site. The script MUST contain !-- 1) If I add this in the navigation.xml, the comment gets ignored in the output. 2) If I put the script with comment between ![CDATA[ ]], the !-- is changed to lt;-- How could I get the xdoc

RE: Newby Questions...

2007-03-22 Thread Phill Moran
I think you are looking for maven 1)release and 2)profiles. The first requires the release plug-in and the second will require a profile for each language/jar -Original Message- From: Giuseppe Greco [mailto:[EMAIL PROTECTED] Sent: March 22, 2007 7:33 AM To: users@maven.apache.org

Re: Can the xDoc plug-in pass the #169; entity into the XHTML without conversion?

2007-03-22 Thread Benoitx
Hi Lance co, Sorry to relaunch this thread. Your workaround is fine but how would you get xdoc to generate a !-- INSIDE a script itself. I need to add this **AS-IS** in a footer... any suggestion? Many thanks script type=text/javascript!-- google_ad_client = pub-XX; google_ad_width =

RE: Newby Questions...

2007-03-22 Thread Giuseppe Greco
Thanks, Is there somewhere a POM example? I'm not able to find any exhaustive example... Where should I put the I16N *.properties files in the project structure? Even if I use a profile, I need to include the default resource bundle... Furthermore, what's about applications supporting more than

Re: [m2] CVS and mave-release-plugin 2.0-beta-5-SNAPSHOT : Wrong Password

2007-03-22 Thread Antonio Parolini
Hello again, I found the problem: It's windows related: The new beta-5 shapshot release is not using the system CVS (cvsnt for me) anymore, but a build-in java cvs client ( from netbeans, as the stack trace shows). The problem is that CVS NT stores the cvs login info into the registry and not

How to disable Super POM

2007-03-22 Thread Aravindhan Damodharan
Hi, I'm using Maven 2.0.5 for dependency management in my Ant script. The ant script is a generic script which can be used to build multiple projects. And the projects share a lot of API's which we have planned to manage using an internal central repository. So I created a Parent POM file for

Maven and Perforce

2007-03-22 Thread Aidan O'Donnell
Hi, I am trying to create a label in perforce as part of my build process. I have come across a maven plugin which should help with this but I have not had much success. Has anyone used this successfully before and if so do you have an example from the POM Kind regards, Aidan

Maven PMD Plugin 2.2 released

2007-03-22 Thread Daniel Kulp
The Maven team is pleased to announce the release of the Maven PMD Plugin version 2.2. http://maven.apache.org/plugins/maven-pmd-plugin/ Release Notes - Maven 2.x Pmd Plugin - Version 2.2 ** Bug * [MPMD-30] - No way to PMD test the test sources in src/test/java * [MPMD-47] - pmd

Re: Maven and Perforce

2007-03-22 Thread Patrick Schneider
At what point in the build are you trying to create the label? During a release? On every build? I assume you are trying to use maven-scm-provider-perforce ? On 3/22/07, Aidan O'Donnell [EMAIL PROTECTED] wrote: Hi, I am trying to create a label in perforce as part of my build process. I

Re: ejb3 on Linux

2007-03-22 Thread Vidya Mahavadi
After struggling for one week, I got to fix this problem by using Jboss 4.0.5.GA instead of 4.0.4.GA. :) Petar Tahchiev [EMAIL PROTECTED] 19/03/2007 16:59 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: ejb3 on Linux

Re: Newby Questions...

2007-03-22 Thread Wayne Fay
Your properties files will generally go into src/main/resources. I'm not aware of any existing internationalized Hello World app built with Maven so if you build one, please let us know so others can benefit. Wayne On 3/22/07, Giuseppe Greco [EMAIL PROTECTED] wrote: Thanks, Is there somewhere

[ANN] Maven Remote Resources Plugin 1.0-alpha-4 released

2007-03-22 Thread Daniel Kulp
The Maven team is pleased to announce the release of Maven Remote Resources Plugin version 1.0-alpha-4. http://maven.apache.org/plugins/maven-remote-resources-plugin/ This release is to address two critical issues with 1.0-alpha-3 that could cause builds to completely fail. Release Notes -

RE: Deploying to multiple repositories

2007-03-22 Thread David Jackman
Maven won't deploy to more than one repository at all, let alone having some artifacts go to one repository and a different set go to another. I've created a pom with two profiles indicating a different distributionManagement section and activated both, but the artifact was only deployed to the

Re: Can the xDoc plug-in pass the #169; entity into the XHTML without conversion?

2007-03-22 Thread Lukas Theussl
This reminds me of the same problem I had a long time ago: http://marc.info/?l=turbine-maven-userm=108984870613874w=2 I never figured out a solution... -Lukas Benoitx wrote: Hi Lance co, Sorry to relaunch this thread. Your workaround is fine but how would you get xdoc to generate a !--

Re: How to disable Super POM

2007-03-22 Thread Wayne Fay
Generally people override central by utilizing settings.xml: settings mirrors mirror idmirror-maven-central/id mirrorOfcentral/mirrorOf namelocal corporate repo override for central/name urlurl to your local corporate repo/url /mirror /mirrors /settings Wayne On 3/22/07,

Re: Newby Questions...

2007-03-22 Thread Giuseppe Greco
I've written an application to be used as a tutorial for Maven projects. That application implements a virtual thermometer with a command-line console, and consists of 3 modules: thermota-api (the thermometer interface), thermota-core (the thermometer implementation), and thermota-cli (the

Re: plugin runs multiple times

2007-03-22 Thread Ben Tatham
I have tracked my problem down a bit further...the second lifecycle starts sometime around the package phase in the lifecycle. I think it may have something to do with the fact that during the validate phase, I unpack parent WAR on my own using the dependency-maven-plugin so that I can

Re: [m2] CVS and mave-release-plugin 2.0-beta-5-SNAPSHOT : Wrong Password

2007-03-22 Thread Emmanuel Venisse
We can check the registry, it isn't possible with java without JNI, but you can use the system cvs. You just need to use the maven.scm.provider.cvs.implementation property mvn release:prepare -Dmaven.scm.provider.cvs.implementation=cvsexe I think I'll add a parameter later in release plugin so

Re: Maven and Perforce

2007-03-22 Thread Emmanuel Venisse
you can try the Maven SCM plugin : http://maven.apache.org/scm/ Aidan O'Donnell a écrit : Hi, I am trying to create a label in perforce as part of my build process. I have come across a maven plugin which should help with this but I have not had much success. Has anyone used this successfully

Re: [m2] CVS and mave-release-plugin 2.0-beta-5-SNAPSHOT : Wrong Password

2007-03-22 Thread Emmanuel Venisse
oops typo error. we can't check the registry. Emmanuel Venisse a écrit : We can check the registry, it isn't possible with java without JNI, but you can use the system cvs. You just need to use the maven.scm.provider.cvs.implementation property mvn release:prepare

eclipse hangs initializing maven

2007-03-22 Thread Hodanics, Charles J.
When starting eclipse, it hangs on Initializing project... This occurs because it takes a long time for each dependency trying to grab the source. Is there a way to have this done in the background? I do not want to turn off java-source download, but this is preventing work. On a 35mb/s

Re: Newby Questions...

2007-03-22 Thread Wayne Fay
This mailing list does not accept most attachments; they are automatically stripped by the email server. Is it possible for you to put a zip somewhere with the code, and then perhaps one or more of us on this list can take a look at it? Wayne On 3/22/07, Giuseppe Greco [EMAIL PROTECTED] wrote:

Re: Newby Questions...

2007-03-22 Thread Giuseppe Greco
OK, I'll put the zip on my server later this evening and I'll provide the URL when done. j3d. This mailing list does not accept most attachments; they are automatically stripped by the email server. Is it possible for you to put a zip somewhere with the code, and then perhaps one or more of

M2 : Maven-changes-plugin : jira MCHANGES-42 fixed 2.0-beta2 ?

2007-03-22 Thread stefaan.desoete
I've migrated some projects from M1 to M2 (maven-2.0.5). For the site generation, I use maven-changes-plugin-2.0-beta2, I see that the add,fix,update,... images are not copied to the site. At jira this bug (http://jira.codehaus.org/browse/MCHANGES-42) should be fixed in version 2.0-beta2. Is

surefire: system properties within execution elements not set

2007-03-22 Thread Valerio Schiavoni
Hello everyone. consider this fairly basic configuration : plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration systemProperties property

Re: Newby Questions...

2007-03-22 Thread Valerio Schiavoni
hello Giuseppe, On 3/22/07, Giuseppe Greco [EMAIL PROTECTED] wrote: 1. How do I generate an application distro (i.e. a JAR that contains all the modules required to run the program)? look at the assembly plugin: http://maven.apache.org/plugins/maven-assembly-plugin/ ciao, valerio --

RE: plugin runs multiple times

2007-03-22 Thread Brian E. Fox
The war doesn't use the dependency plugin (btw you should update to maven-dependency-plugin 2.0-alpha-x since it supereceeds the old mojo one). Do you have assembly:assemble bound to a phase? That forks the entire build and could cause what you see. Pasting your pom would help too. -Original

Re: Deploying to multiple repositories

2007-03-22 Thread Rodrigo Ruiz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mmmm, I think there was a mention in another thread to how to create several artifacts for different configurations in only one call to mvn (I think it was related to create jars with and without debug information, or something like that). Maybe the

Re: [m2] CVS and mave-release-plugin 2.0-beta-5-SNAPSHOT : Wrong Password

2007-03-22 Thread Emmanuel Venisse
I was wrong about the property value, it's cvs_native instead of cvsexe mvn release:prepare -Dmaven.scm.provider.cvs.implementation=cvs_native Emmanuel Venisse a écrit : oops typo error. we can't check the registry. Emmanuel Venisse a écrit : We can check the registry, it isn't possible with

Re: How to disable Super POM

2007-03-22 Thread Aravindhan Damodharan
Hi Wayne, Thanks for the reply. I tried setting up mirrors. But that didn't do. The build script still refers the Maven's default Central repository. One good thing is the script first checks in my internal repository for an artifact. And if it doesn't exit it tries to get it from the Maven

Re: Can the xDoc plug-in pass the #169; entity into the XHTML without conversion?

2007-03-22 Thread Benoitx
Yes... this is exactly my situation! Quite bad that you did not find a solution... Would there be any workaround if the JS was hosted somewhere and that could contain the comment? Benoit ltheussl wrote: This reminds me of the same problem I had a long time ago:

assembly descriptor: to copy readme.txt (or log4j.xml) to a distribution

2007-03-22 Thread Joana
hi, I want include readme.txt (from not maven-standard location) to distrubution's root directory and rename in readme_[versionNR].txt. I describe it in assembly descriptor, but it doesn't work. (Maven doesn't throw an error) myAssemblyDescriptor.xml: files file

Re: How to disable Super POM

2007-03-22 Thread Wayne Fay
First off, you mention the build script -- what exactly are you talking about? Simply the pom.xml files you've created, which Maven uses to create your build -- or do you have some other build script process in addition to Maven. I'd suspect you have a stray repository defined in some random pom

Re: How to run unit-test with different JRE

2007-03-22 Thread JC Walmetz
I had the same problem. I have use the dependency:unpack plugin. http://www.nabble.com/Compile-with-one-JDK-and-tests-with-several-tf3235157s177.html#a9040309 I develop with jdk 1.5 and to execute tests with jdk 1.6 I unpack jar of tests Sean Qiu wrote: Thanks. But it only tell the plugin

Re: plugin runs multiple times

2007-03-22 Thread Ben Tatham
Indeed, I am using assembly:attached goal. I am using this to generate a -jar.jar of my classes so that I can depend on just the classes of the war project. Is there a way to make it not do a fork, but just make the jar for me and install/deploy it? Nothing jumps out at me from the

Re: M2 : Maven-changes-plugin : jira MCHANGES-42 fixed 2.0-beta2 ?

2007-03-22 Thread Dennis Lundberg
[EMAIL PROTECTED] wrote: I've migrated some projects from M1 to M2 (maven-2.0.5). For the site generation, I use maven-changes-plugin-2.0-beta2, I see that the add,fix,update,... images are not copied to the site. At jira this bug (http://jira.codehaus.org/browse/MCHANGES-42) should be fixed in

Re: How to disable Super POM

2007-03-22 Thread Aravindhan Damodharan
The build script I meant is an Ant script. I'm not using Maven for building my project. I'm using Ant for that. Maven is used only for dependency management. And the POM file I'm using only have the dependency information and the repository information. Nothing more than that. The Ant task I'm

Re: plugin runs multiple times

2007-03-22 Thread Ben Tatham
I think it also might be the maven-source-plugin. The source-plugin mojos both have a @execute phase=generate-sources which I think means run that phase again. Is there a way to make it not do that when run from a pom instead of the cmd line? -Ben Brian E. Fox wrote: The war doesn't use

Re: cannot use a samba share as managed repository

2007-03-22 Thread nicolas de loof
Just for info, this issue is documented at http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4723726 Maybe some day will SUN consider windows as a supported platform ;-) 2007/3/20, nicolas de loof [EMAIL PROTECTED]: As tomcat runs as a windows service on an server I can't admin , I cannot

Re: Newby Questions...

2007-03-22 Thread Giuseppe Greco
Hi guys, The source code of Thermota is avaialble at http://developer.agamura.com/resources/thermota-20070322.zip j3d. Wayne Fay wrote: This mailing list does not accept most attachments; they are automatically stripped by the email server. Is it possible for you to put a zip somewhere

Re: [m2] CVS and mave-release-plugin 2.0-beta-5-SNAPSHOT : Wrong Password

2007-03-22 Thread Antonio Parolini
cvs_native works great! Thanks Emmanuel! Hopping beta-5 release will come out soon ! -toni Emmanuel Venisse wrote: I was wrong about the property value, it's cvs_native instead of cvsexe mvn release:prepare -Dmaven.scm.provider.cvs.implementation=cvs_native Emmanuel Venisse a écrit

Re: plugin runs multiple times

2007-03-22 Thread Ben Tatham
OK. I have run some test stuff just to try to figure out how this stuff works... I added this: plugin artifactIdmaven-antrun-plugin/artifactId inheritedfalse/inherited executions execution goalsgoalrun/goal/goals

RE: plugin runs multiple times

2007-03-22 Thread Brian E. Fox
Assembly:attached is the correct one, but you are right, the sources one is probably doing it. I'm using sources and not having that issue. Let me look... artifactIdmaven-source-plugin/artifactId version2.0/version executions execution

Re: Newby Questions...

2007-03-22 Thread Wayne Fay
, The source code of Thermota is avaialble at http://developer.agamura.com/resources/thermota-20070322.zip j3d. Wayne Fay wrote: This mailing list does not accept most attachments; they are automatically stripped by the email server. Is it possible for you to put a zip somewhere with the code

Re: How to disable Super POM

2007-03-22 Thread Wayne Fay
I've never used Maven from Ant like this so I really have no idea what to do at this point. Perhaps someone else on the list can provide more information and assistance. Wayne On 3/22/07, Aravindhan Damodharan [EMAIL PROTECTED] wrote: The build script I meant is an Ant script. I'm not using

Re: plugin runs multiple times

2007-03-22 Thread Ben Tatham
Thanks for looking into it. I've been doing some reading, and according to this: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html if the @execute phase=generate-sources is specified on the Mojo (which it is in this case), you cannot stop the fork from happening.

Re: Can the xDoc plug-in pass the #169; entity into the XHTML without conversion?

2007-03-22 Thread Lukas Theussl
I don't know. One possible workaround I could think of now (I don't remember if I tried at the time) is to use the second approach mentioned in my posting, and filter the output file in a post-goal to replace the escaped html entities, something like: ant:replace file=${file}

Re: Newby Questions...

2007-03-22 Thread Giuseppe Greco
-20070322.zip j3d. Wayne Fay wrote: This mailing list does not accept most attachments; they are automatically stripped by the email server. Is it possible for you to put a zip somewhere with the code, and then perhaps one or more of us on this list can take a look at it? Wayne On 3/22/07

Re: [m2] CVS and mave-release-plugin 2.0-beta-5-SNAPSHOT : Wrong Password

2007-03-22 Thread Emmanuel Venisse
I think it will be 1.0 final and I hope to release it in few days. Emmanuel Antonio Parolini a écrit : cvs_native works great! Thanks Emmanuel! Hopping beta-5 release will come out soon ! -toni Emmanuel Venisse wrote: I was wrong about the property value, it's cvs_native instead of

Re: Can the xDoc plug-in pass the #169; entity into the XHTML without conversion?

2007-03-22 Thread Benoitx
Hi Lukas, Thanks for your reply. We only have 36,356 files... ouch! yes, it is big: www.statsvn.org/demo I'll try to spend some time to investigate... Could a javscript hosted on a site, write the commented out stuff for another javascript? (what a bad way to script by Google Adsense by the

maven-changes-plugin 2.0-beta-2

2007-03-22 Thread Adam Hardy
maven-changes-plugin can generate JIRA reports according to its documentation but I'm having a hard time setting it up - the docs on maven.apache.org specify an issueManagement config node and that's about it. From the mvn output though it looks like there's alot more going on than I know

Re: maven-changes-plugin 2.0-beta-2

2007-03-22 Thread Dennis Lundberg
Adam Hardy wrote: maven-changes-plugin can generate JIRA reports according to its documentation but I'm having a hard time setting it up - the docs on maven.apache.org specify an issueManagement config node and that's about it. See this page for info on all configuration options for the

How to get custom artifact's dependencies on dependent's classpath?

2007-03-22 Thread Tommy Knowlton
I'm trying to use indirection again to implement Don't Repeat Yourself but I'm stuck and need some expert help. I have created a custom artifact type, and now I'm trying to figure out how to get it to behave a little more like the stock jar artifact type. A concrete example of the problem is

Re: How to disable Super POM

2007-03-22 Thread Tommy Knowlton
I solved this problem as follows: repositories repository idcentral/id nameMaven Repository Switchboard/name layoutdefault/layout urlhttp://repo1.maven.org/maven2/url snapshots enabledfalse/enabled /snapshots releases enabledfalse/enabled /releases

Problem with remote resources plugin

2007-03-22 Thread Duda, Rob
I'm trying to create a remote resources bundle but not having any luck. I have attached the pom and currently there is only one file under src/main/resources, when I look into the remote-resources.xml after a package the file looks like the one attached. (There are no entries in it.) What am I

Re: If it's possible to define a goal to choose the step to run

2007-03-22 Thread mavenstart
Thanks Wendy, For example, sometimes I want to do one of the following tasks only (1) build the war file only without doing the JUNIT test (2) just run the JUNIT only to verify the result (I know I can do this in via Eclipse directly) (3) I want to run JMeter test only without going through all

Re: If it's possible to define a goal to choose the step to run

2007-03-22 Thread Napoleon Esmundo Ramirez
A solution for (1) could be doing an `mvn package -Dmaven.test.skip=true`. The '-Dmaven.test.skip=true' skips the test phase. For (2), invoking `mvn test` will run the tests, after compiling the classes of course. I'm not sure about (3), but try invoking `mvn antrun:run`. On 3/23/07,

Create new Java process

2007-03-22 Thread Kevin Menard
Is there a maven analog to ant's org.apache.tools.ant.taskdefs.Java, which is used to easily spawn new java processes? I realize ProcessBuilder could be used, but it can be a little terse for this fairly common case. Thanks, Kevin Kevin Menard Servprise International, Inc. 800.832.3823 x308

Re: Create new Java process

2007-03-22 Thread Jochen Wiedmann
On 3/23/07, Kevin Menard [EMAIL PROTECTED] wrote: Is there a maven analog to ant's org.apache.tools.ant.taskdefs.Java, which is used to easily spawn new java processes? I realize ProcessBuilder could be used, but it can be a little terse for this fairly common case. Yes, it's the