Re: M2 Cargo Plugin

2008-01-17 Thread amit kumar
Thanks a ton. But using an older version of JBoss would not be a possibility reason being the product already on this version. On Jan 17, 2008 9:35 PM, David J. M. Karlsen <[EMAIL PROTECTED]> wrote: > On Thu, 17 Jan 2008, amit kumar wrote: > > > Hi, > > Anyone aware of any online documentation f

Re: Re: Sending email notification to Owners

2008-01-17 Thread amit kumar
:-). We are as well using continuum 1.1. But isn't there a possibility that something else has failed rather than last commit? Because we are doing daily build ( once). That's why was looking for something with in maven where i could specify all this information in pom.xml only. On Jan 17, 2008 1

Re: Migrate a J2ME Ant build?

2008-01-17 Thread Clifton
I tried the J2ME pluin just the other day and found bugs. I'll try to make time to give it another go to see if I've overlooked something or if they've fixed the issue. Carlos Sanchez-4 wrote: > > http://pyx4me.com/ > http://jira.codehaus.org/browse/MOJO-373 > > > -- Forwarded message

Re: Migrate a J2ME Ant build?

2008-01-17 Thread Carlos Sanchez
http://pyx4me.com/ http://jira.codehaus.org/browse/MOJO-373 -- Forwarded message -- From: Clifton <[EMAIL PROTECTED]> Date: Jan 17, 2008 6:26 PM Subject: Re: Migrate a J2ME Ant build? To: users@maven.apache.org Thanx a bunch! I'll try that! Michael McCallum-3 wrote: > > http:

Re: Migrate a J2ME Ant build?

2008-01-17 Thread Clifton
Thanx a bunch! I'll try that! Michael McCallum-3 wrote: > > http://mojo.codehaus.org/build-helper-maven-plugin/ > > On Fri, 18 Jan 2008 04:26:59 Clifton wrote: >> I'll ask a different question. How do I get Maven to reckognize both a >> jar >> and a jad file as a deployable artifact? > > > >

RE: Is there a way to by-pass "generate-source" phase when using maven javadoc or source plugin?

2008-01-17 Thread Brian E. Fox
The plugin itself is asking maven to rerun this phase because it's needed when invoked from the command line. Some plugins provide an alternative goal that doesn't do this when bound to the pom. Check the docs to see if one exists, if not create a jira for it. (it's a simple fix) -Original

Interpolated variable name for reactor project artifactId

2008-01-17 Thread Olivier Dehon
Hi, In my multi-module maven2 project POM, which variable name should I use that interpolates to the artifactId of the root project POM, and not of that of the module which is getting built? For example: proj-parent projGroup 1.0-SNAPSHOT http://proj.mycompany.com/svnrepo/${artifactId}/trunk

Re: Migrate a J2ME Ant build?

2008-01-17 Thread Michael McCallum
http://mojo.codehaus.org/build-helper-maven-plugin/ On Fri, 18 Jan 2008 04:26:59 Clifton wrote: > I'll ask a different question. How do I get Maven to reckognize both a jar > and a jad file as a deployable artifact? -- Michael McCallum Enterprise Engineer mailto:[EMAIL PROTECTED]

Re: how filter not use some properities in pom.xml

2008-01-17 Thread Stephen Connolly
The only bit I have not decided is how to handle webapps currently I end up with src/ main/ webapp/ filtered/ webapp/ but of course that breaks the rule. I'd use the filtered for resources... but then where do the filtered test resources go?!? On Jan 17, 2008 9:25 PM, Stephen Con

Re: how filter not use some properities in pom.xml

2008-01-17 Thread Stephen Connolly
I normally change how the resources folders are set up. I have src/ main/ java/ resources/ filtered/ verbatim/ test/ java/ resources/ filtered/ verbatim/ That way I have the resources with filtering in the filtered directory and without in the verbatim

Re: [m2] How do I get ${basedir} information in junit tests?

2008-01-17 Thread Wayne Fay
Realistically, you shouldn't be doing either of those. Instead, you should use the getResourceAsStream() method of your ClassLoader etc. Since the file is in the src/test/resources, it will be copied to your target/test-classes directory and your code can access it directly from there. We've talke

[m2] cobertura 1.9, how can I ignore private constructors?

2008-01-17 Thread Mick Knutson
how can I ignore private constructors? -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/BLiNCMagazine http://tahoe.baselogic.com ---

[m2] How do I get ${basedir} information in junit tests?

2008-01-17 Thread Mick Knutson
I want to convert: fileString = FileUtils.getStringFromFile( "C:\\viewstore\\esp_lynx_dap\\esp\\dap\\utilities\\common\\common-jar\\src\\test\\resources\\test.txt"); into something like: fileString = FileUtils.getStringFromFile( "${basedir}\\src\\test\\res

Is there a way to by-pass "generate-source" phase when using maven javadoc or source plugin?

2008-01-17 Thread Huang
Hello, I notice that the standard maven2 javadoc or source plugin will invoke "generate-source" phase again. Is there a way to suppress this behavior since I don't want to see it to be called again after compilation. Is there a way to achieve it? Thanks a bunch! Yan

Re: Re: Sending email notification to Owners

2008-01-17 Thread Jeff Mutonho
On Jan 17, 2008 5:16 PM, Martin Alejandro Villalobos < [EMAIL PROTECTED]> wrote: > Jeff, Continuum 1.1 have a new option in the notifiers section named > "Send a mail to latest committers" > I hope that it be helpful. > > Regards. > \Martin. > > Thanks Martin , but I think the "target member of t

Re: [c 1.1] schedule build per svn check-in?

2008-01-17 Thread Mick Knutson
Perfect! On Jan 17, 2008 10:00 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Jan 17, 2008 9:50 AM, Mick Knutson <[EMAIL PROTECTED]> wrote: > > > My SVN lead said he can create a hook easily, but he needs to know what > to > > call? Does anyone have a code snippet I could give him? > > http://ma

Re: [c 1.1] schedule build per svn check-in?

2008-01-17 Thread Wendy Smoak
On Jan 17, 2008 9:50 AM, Mick Knutson <[EMAIL PROTECTED]> wrote: > My SVN lead said he can create a hook easily, but he needs to know what to > call? Does anyone have a code snippet I could give him? http://maven.apache.org/continuum/docs/1.1/developer_guides/xmlrpc.html -- Wendy

Re: JAR file not being deployed during install

2008-01-17 Thread Phil Gibbs
Thank you. Jeff MAURY wrote: > > you must install your jar in your local repository with the install plugin > and not by copying it manually into the folder structure. > > Jeff > > > On Jan 17, 2008 5:50 PM, Phil Gibbs <[EMAIL PROTECTED]> wrote: > >> >> Probably a basic question. I'm trying

Re: JAR file not being deployed during install

2008-01-17 Thread Jeff MAURY
you must install your jar in your local repository with the install plugin and not by copying it manually into the folder structure. Jeff On Jan 17, 2008 5:50 PM, Phil Gibbs <[EMAIL PROTECTED]> wrote: > > Probably a basic question. I'm trying to ensure that a specific jar file > is > added to

Re: [m2] continuum dashboard integration?

2008-01-17 Thread Mick Knutson
Ok, I am switching lists now as I am now into issues with continuum. Issue #1: I followed: http://mojo.codehaus.org/dashboard-maven-plugin/continuum.html Thus I have this setting: clean package site --batch-mode -P documentation -e - Dbuild.type=documentation pom.xml DEFAULT_SCHEDULE

Re: [c 1.1] schedule build per svn check-in?

2008-01-17 Thread Mick Knutson
My SVN lead said he can create a hook easily, but he needs to know what to call? Does anyone have a code snippet I could give him? On Jan 15, 2008 12:44 PM, Jesse McConnell <[EMAIL PROTECTED]> wrote: > you can have svn push a request to continuum to do a build using the > xmlrpc > interface to co

JAR file not being deployed during install

2008-01-17 Thread Phil Gibbs
Probably a basic question. I'm trying to ensure that a specific jar file is added to the /WEB-INF/lib folder of a WAR file. The jar in question is on my local machine, and is not required to build the app. It is only required at runtime. I've specified a dependency in the pom by naming a group

Re: about dependence transfer

2008-01-17 Thread Simon Kitching
Suppose your project depends on class Foo from project p1 (and so declares a compile-scope dependency on p1). But class Foo extends class Base from project p2 (and so p1 has a compile-scope dependency on p2). So project p2 (even though it is a transitive dependency) is needed at compile time fo

Re: [Maven2] Assigning an existing Maven1 local repo to Maven2 local repo

2008-01-17 Thread Wayne Fay
Not that I'm aware of. Maven2 can be configured to use a Maven1 remote repository, but not a M1 local repository. Wayne On 1/17/08, tcs <[EMAIL PROTECTED]> wrote: > > Hi, > > Is it possible to configure maven 2 to see the local maven 1 repository? > > thanks, > > > -- > View this message in conte

RE: Block phase

2008-01-17 Thread Brian E. Fox
Actually the beanshell rule (return false) would be better. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Thursday, January 17, 2008 11:09 AM To: Maven Users List Subject: RE: Block phase You could bind the enforcer to the next phase with a condition that will alw

RE: Block phase

2008-01-17 Thread Brian E. Fox
You could bind the enforcer to the next phase with a condition that will always fail (os=dos for example...). -Original Message- From: John Coleman [mailto:[EMAIL PROTECTED] Sent: Thursday, January 17, 2008 10:12 AM To: Maven Users List Subject: Block phase I there a way to create profil

Re: M2 Cargo Plugin

2008-01-17 Thread David J. M. Karlsen
On Thu, 17 Jan 2008, amit kumar wrote: Hi, Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I tried looking for it ,but in vain. If someone has already worked on it, please guide. I am using maven 2.0.7 Windows XP JBoss 4.2.0GA Try the cargo users/dev list - there's a n

Re: about dependence transfer

2008-01-17 Thread Nick Stolwijk
Then I was wrong there. I thought when maven needs a dependency for compilation, it wouldn't need the transitive dependencies. With regards, Nick Stolwijk Simon Kitching wrote: Nick: for maven2, if a pom declares a dependency on something that itself has non-optional dependencies, then they

maven tomcat:deploy Server redirected too many times (20)

2008-01-17 Thread VanIngen, Erik (ESTG)
Hi all, I am using maven tomcat:deploy to deploy. It worked fine but now I am having this error: Cannot invoke Tomcat manager Embedded error: "Server redirected too many times (20) Does anyone have an idea? Kind Regards, Erik

Re: IBM custom project

2008-01-17 Thread David J. M. Karlsen
On Wed, 16 Jan 2008, Wendy Smoak wrote: Hmm, I'm running just fine with the IBM jdk from WebSphere 6.1: C:\data\felles\spring-utils>java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20060511 (SR2)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Win

Stop/start Archiva from cron

2008-01-17 Thread Ben Lidgey
We need to stop/start Archiva overnight to allow for backups etc. The cron to stop it seems to work OK, but when trying to start Archiva from a cron job we get the following in the wrapper*.log and it fails to start: STATUS | wrapper | 2008/01/17 06:00:01 | --> Wrapper Started as Daemon STATUS

Re: Migrate a J2ME Ant build?

2008-01-17 Thread Clifton
I'll ask a different question. How do I get Maven to reckognize both a jar and a jad file as a deployable artifact? Clifton wrote: > > I'm not new to Maven at all. I'm new to J2ME but not as much anymore. > Basically I'm trying to build a super project that encompasses everything > from the cli

Re: M2 Cargo Plugin

2008-01-17 Thread Clifton
Don't know if it'll help your problem much but try removing the version tag from the cargo plugin declaration. Unless you have a particular reason to use a snapshot version it's generaly best to let maven grab the latest release of a plugin. amit kumar-18 wrote: > > Hi, > I finally got to see t

Re: how filter not use some properities in pom.xml

2008-01-17 Thread Rex Huang
Thanks Jeff, you method is sensible, but I am doing a migration project, I don't wanna to modify the file, because program may use it. So maven do not separate properties and filters, it may cause problem. I don't know whether other properties may affecting my files also. BR//Rex 2008/1/17 Jeff

Re: [Maven2] Assigning an existing Maven1 local repo to Maven2 local repo

2008-01-17 Thread tcs
Hi, Is it possible to configure maven 2 to see the local maven 1 repository? thanks, -- View this message in context: http://www.nabble.com/-Maven2--Assigning-an-existing-Maven1-local-repo-to-Maven2-local-repo-tp7088059s177p14921170.html Sent from the Maven - Users mailing list archive at Na

Re: Re: Sending email notification to Owners

2008-01-17 Thread Martin Alejandro Villalobos
Jeff, Continuum 1.1 have a new option in the notifiers section named "Send a mail to latest committers" I hope that it be helpful. Regards. \Martin. Jeff Mutonho wrote: On Jan 17, 2008 8:57 AM, amit kumar <[EMAIL PROTECTED]> wrote: Hi, I am using Maven 2, I want to send email notification

RE: about dependence transfer

2008-01-17 Thread Simon Kitching
Nick: for maven2, if a pom declares a dependency on something that itself has non-optional dependencies, then they should get *immediately* downloaded. cmd: is the small bit of config you originally posted nested inside a section? If so, that is wrong. Otherwise, please tell us why you think t

Block phase

2008-01-17 Thread John Coleman
I there a way to create profiles that disable the steps beyond compile? John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not neces

Re: M2 Cargo Plugin

2008-01-17 Thread Daniele De Francesco
Hi, there is a known issue about cargo and jboss 4.2.x...I don't know if they have managed to patch it, just 1. Go codehaus-jira and look for cargo and jboss 4.2 2. Give a try to elder versions of jboss (i.e. jboss-4.0.3SP1 or later in the branch 4.0.x) Cheers Daniele On Jan 17, 2008 1

RE: about dependence transfer

2008-01-17 Thread nicklist
You give not so much information, but I think I know why Maven didn't downloaded the dependencies. Because it didn't have to. It wil only download dependencies if it has too. If you specify a dependency and need the transitive dependencies for compile time, you will need to add them yourself. Y

Re: IBM custom project

2008-01-17 Thread Daniele De Francesco
Hi, just a question: what version of WAS have installed? And: have you ever fixed your WAS installation? I had a similar problem with WAS v6.1 until I didn't install the fixpack 6.1.0.7 that solved my specific problem. So if you never ever patched WAS come on and join the club!! :-(( Cheers Dani

about dependence transfer

2008-01-17 Thread cmd
i use maven2 to manage my jars like this org.springframework spring 2.5.1 but springframework depend some jars.Maven has not download the jars automatic. now how can i set the config file? -- View this message in context:

Re: IBM custom project

2008-01-17 Thread Jeff Mutonho
On Jan 17, 2008 4:20 PM, Stephen Coy <[EMAIL PROTECTED]> wrote: > > > > > > > > > On Jan 17, 2008 2:47 PM, Stephen Coy <[EMAIL PROTECTED]> wrote: > > > > > > default > >true > > > /Users/steve/servers/IBM/Websphere/AppServer home> > >

Re: Now what's up with exec-maven-plugin?

2008-01-17 Thread Stephen Coy
The site works for me and I can see the plugin at Maybe you're having issues with your internal proxy? Steve On 18/01/2008, at 12:52 AM, Jeff Mutonho wrote: Why am I getting : [INFO] The plugin 'org.codehaus.moj

Re: Again problem by using "mvn package..."

2008-01-17 Thread Thomas Chang
My case is somewhat stranged. The META-INF I mentioned is not that in webapp but locate unter a package assumed under src/main/java/com.myweb. After I run "mvn clean", "mvn eclipse:eclipse" and "mvn package", I couldn't find it in the classpath. But if I move the META-INF anywhere and move

RE: Maven 2.1 release

2008-01-17 Thread Brian E. Fox
Yes, it still has some weird issues like picking the wrong plugin version and other stuff. -Original Message- From: Graham Leggett [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 11:29 AM To: Maven Users List Cc: Maven Users List Subject: RE: Maven 2.1 release On Sun, January

Re: IBM custom project

2008-01-17 Thread Stephen Coy
On 18/01/2008, at 12:15 AM, Jeff Mutonho wrote: Hi Steve I decided to take this off the list as it may be very trivial.Thanks for responding to my post. I think that was a failure! Anyway, it all finishes up in Google anyway and possibly helps someone else. On Jan 17, 2008 2:47 PM,

Re: how filter not use some properities in pom.xml

2008-01-17 Thread Jeff MAURY
Either you change the name of the property in your file or use the properties tag in your pom but I'm afraid it will affect Maven. Jeff 2008/1/17 Rex Huang <[EMAIL PROTECTED]>: > but I need to use filtering in other files with other properties, > so filtering must be set to true, but is set by

Re: Again problem by using "mvn package..."

2008-01-17 Thread Jeff MAURY
You should look into target/youpomid directory: it is there. Jeff On Jan 17, 2008 2:38 PM, Thomas Chang <[EMAIL PROTECTED]> wrote: > Hi all, > > As I use the "mvn package" to build the war file, I find the directory of > "META-INF" is not contained in the /classes. But when I simple use > "Exp

Now what's up with exec-maven-plugin?

2008-01-17 Thread Jeff Mutonho
Why am I getting : [INFO] The plugin 'org.codehaus.mojo:exec-maven-plugin' does not exist or no val id version could be found Is this no longer available? Has it moved ? I've also noticed the plugin website http://mojo.codehaus.org/exec-maven-plugin/ has mostly broken links( eg Introduction ,Usage

Again problem by using "mvn package..."

2008-01-17 Thread Thomas Chang
Hi all, As I use the "mvn package" to build the war file, I find the directory of "META-INF" is not contained in the /classes. But when I simple use "Export.." in Eclipse, it is OK. Can someone tell me why? Maybe should set another options in the "pom.xml" Regards Thomas

Re: IBM custom project

2008-01-17 Thread Jeff Mutonho
Hi Steve I decided to take this off the list as it may be very trivial.Thanks for responding to my post. On Jan 17, 2008 2:47 PM, Stephen Coy <[EMAIL PROTECTED]> wrote: > Hi, > > Note: > 1. ${was-home} is a property set in the user's settings.xml to suit > May I see how you set this in your set

Mavenide & netbeans

2008-01-17 Thread John Coleman
In a netbeans project you can press F9 to compile a class. In a maven project this seems to be barred. Is there a way to get this functionality back? TIA, John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mail

Re: IBM custom project

2008-01-17 Thread Stephen Coy
Hi, Here is how we invoke the WAS WSDL2Java tool for generating web services. I'm sure that you can use a similar strategy for ejbdeploy: org.codehaus.mojo exec-maven-plugin MyWebServiceWSDL2Java exec

Re: M2 Cargo Plugin

2008-01-17 Thread amit kumar
Hi, I finally got to see the documentation on how to use cargo ( did not find an example for jboss), but when I put the required container configuration ( the most basic one, just as first to test the start of the server). I am seeing the below error at console [INFO] [talledLocalContainer] 18:05:

Problem by deploying WAR to Tomcat by using "mvn deploy:deploy-file..."

2008-01-17 Thread Thomas Chang
Hi all, I have a WAR and I have no problem to deploy it to Tomcat manually. Then I try using "mvn tomcat:stop -Dmaven.tomcat.url=http://localhost:8585/manager"; to deploy it. Normally the WAR and all the directories and files will be copied to the webapps. But it's by me not the case. I ca

Re: how filter not use some properities in pom.xml

2008-01-17 Thread Rex Huang
but I need to use filtering in other files with other properties, so filtering must be set to true, but is set by default, I don't want to use it as filter. BR//Rex 2008/1/17 Jeff MAURY <[EMAIL PROTECTED]>: > Change filtering from true to false. > > On Jan 17, 2008 12:03 PM, Rex Huang <[EMAIL P

M2 Cargo Plugin

2008-01-17 Thread amit kumar
Hi, Anyone aware of any online documentation for M2 Cargo plugin for JBoss. I tried looking for it ,but in vain. If someone has already worked on it, please guide. I am using maven 2.0.7 Windows XP JBoss 4.2.0GA regards, Hemant Malik

[maven-release-plugin] release-perform does not update parent-SNAPSHOT-dependency. issue?

2008-01-17 Thread Daniel Niklas
Hi, i want to release my artefact with maven-release-plugin (2.0-beta7). This project has a parent-pom with an SNAPSHOT-Dependency. The goal "release-perform" asks, if i want to update the SNAPSHOT-dependencies of my project, i answer whith "enter/yes". I'am estimating, that the plugin removes

Re: how filter not use some properities in pom.xml

2008-01-17 Thread Jeff MAURY
Change filtering from true to false. On Jan 17, 2008 12:03 PM, Rex Huang <[EMAIL PROTECTED]> wrote: > by default in pom.xml there has properity > such as: >4.0.0 >com.mycompany.app >my-app >jar >1.1-SNAPSHOT >my-app > > and I use filtering like this: > > >

RE: Deployed artifcat names

2008-01-17 Thread John Coleman
Great, thanks for that tip. We use "always" option for update snapshots, which also still appears to work even when subsequent snapshot builds have the same version. Looks good. :) John > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of nicolas de l

how filter not use some properities in pom.xml

2008-01-17 Thread Rex Huang
by default in pom.xml there has properity such as: 4.0.0 com.mycompany.app my-app jar 1.1-SNAPSHOT my-app and I use filtering like this: src/main/resources true then files in src/main/resources ha

Common compile target area

2008-01-17 Thread John Coleman
Hi, Some of our projects are quite big and we don't want to do a full JAR package each time we want to test a change, because the change may just be a few lines of code to a single class. Is it easy to configure every project to compile to a single target area that we then add to the softwares cl

Re: Error by running "mvn package"

2008-01-17 Thread Thomas Chang
Hi Mark, Many thanks. It runs. :-) Thomas ** Hi Thomas, Do you have the compiler plugin defined in your pom? At a minimum, you need to have this defined. * org.apache.maven.plugins maven-compiler-plugin -verbose 1.5 1.5 * If you ha

Re: Sending email notification to Owners

2008-01-17 Thread amit kumar
Oh okay, yes that sounds pretty genuine. I am using continuum with maven. But I was told by a colleague of mine that there is something in maven as well which would let you add the information about the owner and the email address in the pom.xml, and that information would be used to send a notific

Re: unable to find mojo with hudson CI

2008-01-17 Thread Stephen Connolly
Have you tried using the freestyle project type. If you can reproduce this issue using the freestyle project type, then it is probably a maven issue. If you cannot reproduce this issue using the freestyle project type, then it is most likely a problem with the way the m2 project type uses Maven E

Re: Sending email notification to Owners

2008-01-17 Thread Jeff Mutonho
On Jan 17, 2008 8:57 AM, amit kumar <[EMAIL PROTECTED]> wrote: > Hi, > I am using Maven 2, I want to send email notifications to the respective > owners of the sub modules, if possible with error trace. How do I do that? > > Could someone help on that? > > Regards, > Amit I'm not sure if this is

Re: Strange problems with mvn release:perform when running javadoc:jar on Windows

2008-01-17 Thread Stephen Connolly
Here is the stacktrace: The exact same commands from my machine work with the exact same proxyHost and proxyPort and JDK and Maven version [INFO] [javadoc:jar] [DEBUG] C:\Java\jdk1.6.0_04\jre\..\bin\javadoc.exe -J-DproxyHost=.com -J-DproxyPort= @options @packages Loading source files

Re: IBM custom project

2008-01-17 Thread Jeff Mutonho
On Jan 17, 2008 9:51 AM, Jeff Mutonho <[EMAIL PROTECTED]> wrote: > > > I've commented everything else in the maven-antrun-plugin and only left with : maven-antrun-plugin verify